Code Monkey home page Code Monkey logo

pycares's Introduction

Looking for new maintainers

#139

pycares: Python interface for c-ares

https://badge.fury.io/py/pycares.png

pycares is a Python module which provides an interface to c-ares. c-ares is a C library that performs DNS requests and name resolutions asynchronously.

Documentation

http://readthedocs.org/docs/pycares/

Bundled c-ares

pycares currently bundles c-ares as a submodule for ease of building. Using the system provided c-ares is possible if the PYCARES_USE_SYSTEM_LIB environment variable is set to 1 when building.

NOTE: Versions prior to 4.0.0 used to embed a modified c-ares with extended TTL support. That is no longer the case and as a result only A and AAAA records will have TTL information. Follow this PR in uppstream c-ares, looks like TTLs will be added: c-ares/c-ares#393

Installation

GNU/Linux, macOS, Windows, others:

pip install pycares

FreeBSD:

cd /usr/ports/dns/py-pycares && make install

IDNA 2008 support

If the idna package is installed, pycares will support IDNA 2008 encoding otherwise the builtin idna codec will be used, which provides IDNA 2003 support.

You can force this at installation time as follows:

pip install pycares[idna]

Running the test suite

From the top level directory, run: python -m unittest -v

NOTE: Running the tests requires internet access and are somewhat environment sensitive because real DNS quesries are made, there is no mocking. If you observe a failure that the CI cannot reproduce, please try to setup an environment as close as the current CI.

Using it from the cli, a la dig

This module can be used directly from the command line in a similar fashion to dig (limited, of course):

$ python -m pycares google.com
;; QUESTION SECTION:
;google.com                  IN      A

;; ANSWER SECTION:
google.com           300     IN      A       172.217.17.142

$ python -m pycares mx google.com
;; QUESTION SECTION:
;google.com                  IN      MX

;; ANSWER SECTION:
google.com           600     IN      MX      50 alt4.aspmx.l.google.com
google.com           600     IN      MX      10 aspmx.l.google.com
google.com           600     IN      MX      40 alt3.aspmx.l.google.com
google.com           600     IN      MX      20 alt1.aspmx.l.google.com
google.com           600     IN      MX      30 alt2.aspmx.l.google.com

Author

Saúl Ibarra Corretgé <[email protected]>

License

Unless stated otherwise on-file pycares uses the MIT license, check LICENSE file.

Supported Python versions

Python >= 3.8 are supported. Both CPython and PyPy are supported.

Contributing

If you'd like to contribute, fork the project, make a patch and send a pull request. Have a look at the surrounding code and please, make yours look alike :-)

pycares's People

Contributors

0mp avatar abaelhe avatar aguinetqb avatar aviadhahami avatar boytm avatar chrislovering avatar danieljakots avatar ekohl avatar fantomfp avatar hassanabouelela avatar huumanoid avatar ilyarepko avatar jackenmen avatar jhart-r7 avatar johnthagen avatar kigawas avatar kxcode avatar linkmauve avatar megahall avatar mgorny avatar nbraud avatar odcat avatar rytilahti avatar saghul avatar snawoot avatar socketpair avatar teafish avatar thedrow avatar wgh- avatar wumpus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pycares's Issues

UTF8 encoding problem

While trying to use Python3 to build pycares.pyd, I get:

F:\MingW32\src\inet\DNS\c-ares\PyCares>python3 setup.py build
  File "setup.py", line 1
SyntaxError: encoding problem: utf8

What could be the reason for this?

I have no problem with Python2. But just moving that line 2 lines further down fixes it:

--- a/setup.py    2015-08-18 15:54:48
+++ b/setup.py 2015-08-18 15:26:35
@@ -1,5 +1,3 @@
-
-
 # coding=utf8

 from distutils.core import setup, Extension

Unable to resolve domains with an ADDITIONAL/AUTHORITY section and an empty answer on a custom nameserver

I'm currently unable to get the glue records for a given domain from the TLD resolvers. This should be possible because resolvers like 8.8.8.8 derive NS values based on the TLD resolvers AUTHORITY SECTION and ADDITIONAL SECTION data.

dig example:

$ dig -t NS google.com @8.8.8.8

; <<>> DiG 9.10.6 <<>> -t NS google.com @8.8.8.8
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: XXXXX
;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;google.com.			IN	NS

;; ANSWER SECTION:
google.com.		21599	IN	NS	ns2.google.com.
google.com.		21599	IN	NS	ns3.google.com.
google.com.		21599	IN	NS	ns1.google.com.
google.com.		21599	IN	NS	ns4.google.com.

;; Query time: 68 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Thu Jun 14 21:52:22 WEST 2018
;; MSG SIZE  rcvd: 111

$ dig -t NS google.com @192.5.6.30 # .COM CCTLD resolver

; <<>> DiG 9.10.6 <<>> -t NS google.com @192.5.6.30
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: XXXXX
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 4, ADDITIONAL: 9
;; WARNING: recursion requested but not available

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;google.com.			IN	NS

;; AUTHORITY SECTION:
google.com.		172800	IN	NS	ns2.google.com.
google.com.		172800	IN	NS	ns1.google.com.
google.com.		172800	IN	NS	ns3.google.com.
google.com.		172800	IN	NS	ns4.google.com.

;; ADDITIONAL SECTION:
ns2.google.com.		172800	IN	AAAA	2001:4860:4802:34::a
ns2.google.com.		172800	IN	A	216.239.34.10
ns1.google.com.		172800	IN	AAAA	2001:4860:4802:32::a
ns1.google.com.		172800	IN	A	216.239.32.10
ns3.google.com.		172800	IN	AAAA	2001:4860:4802:36::a
ns3.google.com.		172800	IN	A	216.239.36.10
ns4.google.com.		172800	IN	AAAA	2001:4860:4802:38::a
ns4.google.com.		172800	IN	A	216.239.38.10

;; Query time: 38 msec
;; SERVER: 192.5.6.30#53(192.5.6.30)
;; WHEN: Thu Jun 14 21:50:41 WEST 2018
;; MSG SIZE  rcvd: 287

pycares example code (adapted to support custom nameservers):

import asyncio
import socket

import pycares


class DNSResolver(object):
    EVENT_READ = 0
    EVENT_WRITE = 1

    def __init__(self, loop=None, nameservers=None):
        self._channel = pycares.Channel(sock_state_cb=self._sock_state_cb, servers=nameservers)
        self._timer = None
        self._fds = set()
        self.loop = loop or asyncio.get_event_loop()

    def _sock_state_cb(self, fd, readable, writable):
        if readable or writable:
            if readable:
                self.loop.add_reader(fd, self._process_events, fd, self.EVENT_READ)
            if writable:
                self.loop.add_writer(fd, self._process_events, fd, self.EVENT_WRITE)
            self._fds.add(fd)
            if self._timer is None:
                self._timer = self.loop.call_later(1.0, self._timer_cb)
        else:
            # socket is now closed
            self._fds.discard(fd)
            if not self._fds:
                self._timer.cancel()
                self._timer = None

    def _timer_cb(self):
        self._channel.process_fd(pycares.ARES_SOCKET_BAD, pycares.ARES_SOCKET_BAD)
        self._timer = self.loop.call_later(1.0, self._timer_cb)

    def _process_events(self, fd, event):
        if event == self.EVENT_READ:
            read_fd = fd
            write_fd = pycares.ARES_SOCKET_BAD
        elif event == self.EVENT_WRITE:
            read_fd = pycares.ARES_SOCKET_BAD
            write_fd = fd
        else:
            read_fd = write_fd = pycares.ARES_SOCKET_BAD
        self._channel.process_fd(read_fd, write_fd)

    def query(self, query_type, name, cb):
        self._channel.query(query_type, name, cb)

    def gethostbyname(self, name, cb):
        self._channel.gethostbyname(name, socket.AF_INET, cb)


def main():
    def cb(result, error):
        print("Result: {}, Error: {}".format(result, error))
    
    loop = asyncio.get_event_loop()
    
    resolver1 = DNSResolver(loop, nameservers=[
        '8.8.8.8'
    ])

    resolver2 = DNSResolver(loop, nameservers=[
        '192.5.6.30'
    ])

    resolver1.query('google.com', pycares.QUERY_TYPE_A, cb)
    resolver1.query('google.com', pycares.QUERY_TYPE_NS, cb)

    resolver2.query('google.com', pycares.QUERY_TYPE_A, cb)
    resolver2.query('google.com', pycares.QUERY_TYPE_NS, cb)
    
    loop.run_forever()

if __name__ == '__main__':
    main()

pycares code output:

Result: [ares_query_simple_result(host='216.58.211.46', ttl=299)], Error: None
Result: [ares_query_ns_result(host='ns1.google.com', ttl=None), ares_query_ns_result(host='ns2.google.com', ttl=None), ares_query_ns_result(host='ns3.google.com', ttl=None), ares_query_ns_result(host='ns4.google.com', ttl=None)], Error: None
Result: None, Error: 1
Result: None, Error: 1

double free or corruption (!prev) bug

Created by request from saghul/pyuv#214.

To your question in that thread:

saghul
Seems to be a pycares issue, can you please open the issue there? The problem seems to be caused by parsing the answer, can you please tell me what domain you're trying to resolve?

Is there a way that I can figure out the domain that crashes it...besides just systematically narrowing down the domains that don't?

Right now I'm just processing a large list of email addresses for many different domains.

Error on Win8.1x64

Hi!

When I run the aiodns example code on Windows 8.1 x64 (Python 3.5.1; pycares 2.0.1, aiodns 1.0.1, cffi 1.6.0) an error occurs:

Fatal Python error: ffi.from_handle() detected that the address passed points to
garbage. If it is really the result of ffi.new_handle(), then the Python object
has already been garbage collected

Thread 0x00000498 (most recent call first):
  File "..\lib\threading.py", line 293 in wait
  File "..\lib\threading.py", line 549 in wait
  File "..\lib\site-packages\IPython\core\history.py", line 804 in run
  File "..\lib\site-packages\IPython\core\history.py", line 68 in needs_sqlite
  File "<decorator-gen-23>", line 2 in run
  File "..\lib\threading.py", line 914 in _bootstrap_inner
  File "..\lib\threading.py", line 882 in _bootstrap

Current thread 0x00000fe8 (most recent call first):
  File "..\lib\site-packages\pycares\_cfficore\__init__.py", line 122 in _sock_state_cb
  File "..\lib\site-packages\pycares\_cfficore\__init__.py", line 455 in process_fd
  File "..\lib\site-packages\pycares\_cfficore\__init__.py", line 113 in wrapper
  File "..\lib\site-packages\aiodns\__init__.py", line 103 in _handle_event
  File "..\lib\asyncio\events.py", line 125 in _run
  File "..\lib\asyncio\base_events.py", line 1254 in _run_once
  File "..\lib\asyncio\base_events.py", line 295 in run_forever
  File "..\lib\asyncio\base_events.py", line 325 in run_until_complete
  ...

Another example of this error.

Also one test is failed:

======================================================================
FAIL: test_query_ns (__main__.DNSTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "..\pycares-master\tests\tests.py", line 162, in test_query_ns
    self.assertEqual(self.errorno, None)
AssertionError: 12 != None

----------------------------------------------------------------------
Ran 25 tests in 3.406s

FAILED (failures=1, skipped=5)

Meanwhile pycares 1.0 works fine and stable.

P.S. thank you very much for aiodns and pycares ;)

Support for multiple PTR records

Hello -

Currently, pycares only returns one result for a PTR query. However, there can be more than one result for such. Or at least, I haven't found any reference in RFCs that limit PTR results to one (1034, 1035) , and have found Bind does support multiple. While I understand the common use case for PTR records is a one-to-one mapping, internally at Spotify we use it to look up microservices:

Expected

# with dig
$ dig +short -t PTR dnsresolver.roles.ash2.spotify.net
ash2-dnsresolver-a3.ash2.spotify.net.
ash2-dnsresolver-a1.ash2.spotify.net.
ash2-dnsresolver-a1926.ash2.spotify.net.
ash2-dnsresolver-a4.ash2.spotify.net.

# with adig
./adig -t PTR dnsresolver.roles.ash2.spotify.net
id: 36244
flags: qr rd ra
opcode: QUERY
rcode: NOERROR
Questions:
	dnsresolver.roles.ash2.spotify.net.		PTR
Answers:
	dnsresolver.roles.ash2.spotify.net.	300	PTR	ash2-dnsresolver-a4.ash2.spotify.net.
	dnsresolver.roles.ash2.spotify.net.	300	PTR	ash2-dnsresolver-a1.ash2.spotify.net.
	dnsresolver.roles.ash2.spotify.net.	300	PTR	ash2-dnsresolver-a1926.ash2.spotify.net.
	dnsresolver.roles.ash2.spotify.net.	300	PTR	ash2-dnsresolver-a3.ash2.spotify.net.
NS records:
	roles.ash2.spotify.net.	300	NS	ns2.spotify.com.
	roles.ash2.spotify.net.	300	NS	ns4.spotify.com.
	roles.ash2.spotify.net.	300	NS	ns3.spotify.com.
	roles.ash2.spotify.net.	300	NS	ns5.spotify.com.
Additional records:

Actual

$ python -m pycares PTR dnsresolver.roles.ash2.spotify.net
ares_query_ptr_result(name='ash2-dnsresolver-a3.ash2.spotify.net', ttl=211)

pycares.Channel's default should be None, not -1

It's unusual to use -1 as a placeholder for default value. Code that wraps pycares has to either explicitly map None to -1 or expose -1 as a default value. Given that None is widely used, mapping is likely inevitable.

Instead, implementation should be adjusted to allow None as a "use default" placeholder along with -1 for backward compatibility.

Documentation does not build

Hello,

While packaging pycares for Debian, I noticed that the documentation does not build. The reason is that the docs/conf.py looks for the version number in setup.py, which fails as it is in fact in pycares/_version.py.

Here is a patch that fixes that. I had to rename it with .txt as GitHub does not accept patches (!), but I will also provide a repository to git pull from it you prefer.

fix-doc-build.txt

Upload Linux wheels to PyPi

We'd like to use pycares on the slim version of the official Python image. The slim version doesn't contain a compiler or Python headers, so a wheel is required.

Exposing channel.rotate

It would be helpful if the rotate variable of the channel class was exposed in the python interface since it would allow load balancing each request between different nameservers that have been provided to the channel.

termux/android: pycares appears to install successfully, fails upon import

Using termux 0.65 on android 8.1.0 pycares appears to build successfully

potter-> pip -v install pycares
Created temporary directory: /data/data/com.termux/files/usr/tmp/pip-ephem-wheel-cache-le5ztkzb
Created temporary directory: /data/data/com.termux/files/usr/tmp/pip-req-tracker-thwzlszv
Created requirements tracker '/data/data/com.termux/files/usr/tmp/pip-req-tracker-thwzlszv'
Created temporary directory: /data/data/com.termux/files/usr/tmp/pip-install-a2tvnnsd
Collecting pycares
  1 location(s) to search for versions of pycares:
  * https://pypi.org/simple/pycares/
  Getting page https://pypi.org/simple/pycares/
  Looking up "https://pypi.org/simple/pycares/" in the cache
  Request header has "max_age" as 0, cache bypassed
  Starting new HTTPS connection (1): pypi.org:443
  https://pypi.org:443 "GET /simple/pycares/ HTTP/1.1" 304 0
  Analyzing links from page https://pypi.org/simple/pycares/
    Found link https://files.pythonhosted.org/packages/56/82/7c74adc06b67a95fad5438af8d8e566cf0cb3ea13e1aaa5343b78512ccd4/pycares-0.1.0.tar.gz#sha256=8d305cd7ab5acaadfcf8bd6e68e2095183c0f548675d6b736a9f5ea8e32301d9 (from https://pypi.org/simple/pycares/), version: 0.1.0
    Found link https://files.pythonhosted.org/packages/f3/a7/2260a936e8831397227c99181bb2b99e9fb9983bc9b393b9bf687439c243/pycares-0.2.0.tar.gz#sha256=7558bcb35a49a0f74606fce627579a2adf9756c812730797f50b26533d6253da (from https://pypi.org/simple/pycares/), version: 0.2.0
    Found link https://files.pythonhosted.org/packages/ae/f5/a893b7f81e3ad1e0ec99dfce17292ac0fdd99973ec5bb10498c49a785219/pycares-0.3.0.tar.gz#sha256=c1f58b05bdd1220faa39d4269bd511e94129dd8e81132eb2aecf182bd4406700 (from https://pypi.org/simple/pycares/), version: 0.3.0
    Found link https://files.pythonhosted.org/packages/4a/a9/c37df2be32458aacbe1b229a54123090c510fc3072446becd01d675f4e48/pycares-0.4.0.tar.gz#sha256=81e237ebaea01dcf466bf3334c7263c5d8b379ec009ab81c753791e94b4d0bbd (from https://pypi.org/simple/pycares/), version: 0.4.0
    Found link https://files.pythonhosted.org/packages/19/77/73e95e9bdbe3cbc500614756687e7b40ec77ad36df1d527c014e705bf74d/pycares-0.5.0.tar.gz#sha256=170421ab68fb3ad580ada6d35503ed0f02fd96d760b2d2df71c978310cd5b934 (from https://pypi.org/simple/pycares/), version: 0.5.0
    Found link https://files.pythonhosted.org/packages/a8/71/ba1fc2026f8c1b5444303934df397f55052d932c1a99401c9c9d0335760e/pycares-0.6.0.tar.gz#sha256=9747eeffeb1509ea946febf886a317f70d8d37a154574c4754e455bc45ebc69c (from https://pypi.org/simple/pycares/), version: 0.6.0
    Found link https://files.pythonhosted.org/packages/72/4c/580a992b5351a1ce7549c8d1ca735276ff3ad17209ffcb745e31c48cedc0/pycares-0.6.1.tar.gz#sha256=b4ef2c057309de9cfc9c31ec6ab3dfc6f7ee409f116ee6e4d7b94afc9398807f (from https://pypi.org/simple/pycares/), version: 0.6.1
    Found link https://files.pythonhosted.org/packages/53/68/a7718b904920c75c74b90aa9239af042a3adc57fed5c7f18294f82aac1ee/pycares-0.6.2.tar.gz#sha256=c368a2fd93afead91b2fd3980870ea4d4f906ebbcb0acb884a666cc5b90d23a9 (from https://pypi.org/simple/pycares/), version: 0.6.2
    Found link https://files.pythonhosted.org/packages/e4/ae/65b46d1aeb8dd84895608867ffc0fcbfd35efa027fb9b4115c3f7b7d0686/pycares-0.6.3.tar.gz#sha256=b9f839866103541077b9a87d615458a975e26b936ec9fe1ba37f3d9b43786a96 (from https://pypi.org/simple/pycares/), version: 0.6.3
    Found link https://files.pythonhosted.org/packages/f2/8c/109152fbe0ac18f612697ac0a2233033bd1ba036731aa8fda52b71c90f38/pycares-0.7.0.tar.gz#sha256=74bff2abcb97786cb0fd1cf220873b63c33d20c37a2c46427515ce63641c9982 (from https://pypi.org/simple/pycares/), version: 0.7.0
    Found link https://files.pythonhosted.org/packages/46/27/7ee723ed870b8aed8e0dbb72ecd210879753fd166984933d7d4c9c39c305/pycares-1.0.0.tar.gz#sha256=a18341ea030e2cc0743acdf4aa72302bdf6b820938b36ce4bd76e43faa2276a3 (from https://pypi.org/simple/pycares/), version: 1.0.0
    Found link https://files.pythonhosted.org/packages/e1/77/c37849bef3c30cb4e5bcabe3857a83e598c6965a240beecab9dea03daa99/pycares-2.0.0.tar.gz#sha256=b132a0b4846dc89b813ec331e2d1b3d29e11697978b2e602269aeb202e6e1f66 (from https://pypi.org/simple/pycares/), version: 2.0.0
    Found link https://files.pythonhosted.org/packages/a2/7a/ff1701b55ef96615fb018bff935a014d76d7daa43d32a1b00bdcef028f97/pycares-2.0.1.tar.gz#sha256=3a684c09b753e143d86190b57d71bd82d24492062d11d6ab6acc21349d2da34d (from https://pypi.org/simple/pycares/), version: 2.0.1
    Found link https://files.pythonhosted.org/packages/b0/18/0ef4bbfe426c1ce44161de78c77b110fb3e3454e89c0f1c547a713d20efa/pycares-2.1.0.tar.gz#sha256=449ad785ecb594ae063c0c86537ef97513385117a2eb172f747ad2a29221e898 (from https://pypi.org/simple/pycares/), version: 2.1.0
    Found link https://files.pythonhosted.org/packages/df/68/44eb34ac59512d7f1901df228433c5e2341a21406348d8bed4b0fbc7cfbb/pycares-2.1.1.tar.gz#sha256=17f06ecc2f7f5950922891dfe179a14382e34d620919c17f18957c6cd319ef43 (from https://pypi.org/simple/pycares/), version: 2.1.1
    Found link https://files.pythonhosted.org/packages/b3/ba/6d59e91566902471d00e3efd477e37d8f4507e3c443a3c354c7622b8c09d/pycares-2.2.0.tar.gz#sha256=d0e53e2aa46867e2493d3858a70ffdec92699c03990aadc7223cf13384f61791 (from https://pypi.org/simple/pycares/), version: 2.2.0
    Found link https://files.pythonhosted.org/packages/89/5c/3a7e1a52d6abb52b9ca1a56d2df699936e89d8b98f75cfd60d03363e7c10/pycares-2.3.0.tar.gz#sha256=36f4c03df57c41a87eb3d642201684eb5a8bc194f4bafaa9f60ee6dc0aef8e40 (from https://pypi.org/simple/pycares/), version: 2.3.0
  Using version 2.3.0 (newest of versions: 0.1.0, 0.2.0, 0.3.0, 0.4.0, 0.5.0, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.7.0, 1.0.0, 2.0.0, 2.0.1, 2.1.0, 2.1.1, 2.2.0, 2.3.0)
  Created temporary directory: /data/data/com.termux/files/usr/tmp/pip-unpack-t135uxzv
  Looking up "https://files.pythonhosted.org/packages/89/5c/3a7e1a52d6abb52b9ca1a56d2df699936e89d8b98f75cfd60d03363e7c10/pycares-2.3.0.tar.gz" in the cache
  Current age based on date: 67108
  Ignoring unknown cache-control directive: immutable
  Freshness lifetime from max-age: 365000000
  The response is "fresh", returning cached response
  365000000 > 67108
  Using cached https://files.pythonhosted.org/packages/89/5c/3a7e1a52d6abb52b9ca1a56d2df699936e89d8b98f75cfd60d03363e7c10/pycares-2.3.0.tar.gz
  Downloading from URL https://files.pythonhosted.org/packages/89/5c/3a7e1a52d6abb52b9ca1a56d2df699936e89d8b98f75cfd60d03363e7c10/pycares-2.3.0.tar.gz#sha256=36f4c03df57c41a87eb3d642201684eb5a8bc194f4bafaa9f60ee6dc0aef8e40 (from https://pypi.org/simple/pycares/)
  Added pycares from https://files.pythonhosted.org/packages/89/5c/3a7e1a52d6abb52b9ca1a56d2df699936e89d8b98f75cfd60d03363e7c10/pycares-2.3.0.tar.gz#sha256=36f4c03df57c41a87eb3d642201684eb5a8bc194f4bafaa9f60ee6dc0aef8e40 to build tracker '/data/data/com.termux/files/usr/tmp/pip-req-tracker-thwzlszv'
  Running setup.py (path:/data/data/com.termux/files/usr/tmp/pip-install-a2tvnnsd/pycares/setup.py) egg_info for package pycares
    Running command python setup.py egg_info
    running egg_info
    creating pip-egg-info/pycares.egg-info
    writing pip-egg-info/pycares.egg-info/PKG-INFO
    writing dependency_links to pip-egg-info/pycares.egg-info/dependency_links.txt
    writing top-level names to pip-egg-info/pycares.egg-info/top_level.txt
    writing manifest file 'pip-egg-info/pycares.egg-info/SOURCES.txt'
    reading manifest file 'pip-egg-info/pycares.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    warning: no previously-included files matching '__pycache__' found under directory '*'
    warning: no previously-included files matching '*.py[co]' found under directory '*'
    warning: no previously-included files matching '*.[ao]' found under directory '*'
    warning: no previously-included files matching '*.so' found under directory '*'
    no previously-included directories found matching 'docs/_build'
    writing manifest file 'pip-egg-info/pycares.egg-info/SOURCES.txt'
  Source in /data/data/com.termux/files/usr/tmp/pip-install-a2tvnnsd/pycares has version 2.3.0, which satisfies requirement pycares from https://files.pythonhosted.org/packages/89/5c/3a7e1a52d6abb52b9ca1a56d2df699936e89d8b98f75cfd60d03363e7c10/pycares-2.3.0.tar.gz#sha256=36f4c03df57c41a87eb3d642201684eb5a8bc194f4bafaa9f60ee6dc0aef8e40
  Removed pycares from https://files.pythonhosted.org/packages/89/5c/3a7e1a52d6abb52b9ca1a56d2df699936e89d8b98f75cfd60d03363e7c10/pycares-2.3.0.tar.gz#sha256=36f4c03df57c41a87eb3d642201684eb5a8bc194f4bafaa9f60ee6dc0aef8e40 from build tracker '/data/data/com.termux/files/usr/tmp/pip-req-tracker-thwzlszv'
Installing collected packages: pycares
  Created temporary directory: /data/data/com.termux/files/usr/tmp/pip-record-q_x6juge
  Running setup.py install for pycares ...     Running command /data/data/com.termux/files/usr/bin/python -u -c "import setuptools, tokenize;__file__='/data/data/com.termux/files/usr/tmp/pip-install-a2tvnnsd/pycares/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /data/data/com.termux/files/usr/tmp/pip-record-q_x6juge/install-record.txt --single-version-externally-managed --compile
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-aarch64-3.7
    creating build/lib.linux-aarch64-3.7/pycares
    copying pycares/__init__.py -> build/lib.linux-aarch64-3.7/pycares
    copying pycares/__main__.py -> build/lib.linux-aarch64-3.7/pycares
    copying pycares/errno.py -> build/lib.linux-aarch64-3.7/pycares
    copying pycares/_version.py -> build/lib.linux-aarch64-3.7/pycares
    running build_ext
    building 'pycares._core' extension
    creating build/temp.linux-aarch64-3.7
    creating build/temp.linux-aarch64-3.7/src
    creating build/temp.linux-aarch64-3.7/deps
    creating build/temp.linux-aarch64-3.7/deps/c-ares
    creating build/temp.linux-aarch64-3.7/deps/c-ares/src
    aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Oz -Oz -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/data/data/com.termux/files/usr/include/python3.7m -Ideps/c-ares/src -Ideps/c-ares/src/config_linux -c src/pycares.c -o build/temp.linux-aarch64-3.7/src/pycares.o
    aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Oz -Oz -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/data/data/com.termux/files/usr/include/python3.7m -Ideps/c-ares/src -Ideps/c-ares/src/config_linux -c deps/c-ares/src/ares__close_sockets.c -o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares__close_sockets.o
    aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Oz -Oz -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/data/data/com.termux/files/usr/include/python3.7m -Ideps/c-ares/src -Ideps/c-ares/src/config_linux -c deps/c-ares/src/ares__get_hostent.c -o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares__get_hostent.o
    aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Oz -Oz -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/data/data/com.termux/files/usr/include/python3.7m -Ideps/c-ares/src -Ideps/c-ares/src/config_linux -c deps/c-ares/src/ares__read_line.c -o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares__read_line.o
    aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Oz -Oz -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/data/data/com.termux/files/usr/include/python3.7m -Ideps/c-ares/src -Ideps/c-ares/src/config_linux -c deps/c-ares/src/ares__timeval.c -o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares__timeval.o
    aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Oz -Oz -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/data/data/com.termux/files/usr/include/python3.7m -Ideps/c-ares/src -Ideps/c-ares/src/config_linux -c deps/c-ares/src/ares_cancel.c -o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_cancel.o
    aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Oz -Oz -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/data/data/com.termux/files/usr/include/python3.7m -Ideps/c-ares/src -Ideps/c-ares/src/config_linux -c deps/c-ares/src/ares_create_query.c -o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_create_query.o
    aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Oz -Oz -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/data/data/com.termux/files/usr/include/python3.7m -Ideps/c-ares/src -Ideps/c-ares/src/config_linux -c deps/c-ares/src/ares_data.c -o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_data.o
    aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Oz -Oz -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/data/data/com.termux/files/usr/include/python3.7m -Ideps/c-ares/src -Ideps/c-ares/src/config_linux -c deps/c-ares/src/ares_destroy.c -o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_destroy.o
    aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Oz -Oz -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/data/data/com.termux/files/usr/include/python3.7m -Ideps/c-ares/src -Ideps/c-ares/src/config_linux -c deps/c-ares/src/ares_expand_name.c -o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_expand_name.o
    aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Oz -Oz -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/data/data/com.termux/files/usr/include/python3.7m -Ideps/c-ares/src -Ideps/c-ares/src/config_linux -c deps/c-ares/src/ares_expand_string.c -o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_expand_string.o
    aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Oz -Oz -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/data/data/com.termux/files/usr/include/python3.7m -Ideps/c-ares/src -Ideps/c-ares/src/config_linux -c deps/c-ares/src/ares_fds.c -o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_fds.o
    aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Oz -Oz -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/data/data/com.termux/files/usr/include/python3.7m -Ideps/c-ares/src -Ideps/c-ares/src/config_linux -c deps/c-ares/src/ares_free_hostent.c -o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_free_hostent.o
    aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Oz -Oz -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/data/data/com.termux/files/usr/include/python3.7m -Ideps/c-ares/src -Ideps/c-ares/src/config_linux -c deps/c-ares/src/ares_free_string.c -o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_free_string.o
    aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Oz -Oz -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/data/data/com.termux/files/usr/include/python3.7m -Ideps/c-ares/src -Ideps/c-ares/src/config_linux -c deps/c-ares/src/ares_gethostbyaddr.c -o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_gethostbyaddr.o
    aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Oz -Oz -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/data/data/com.termux/files/usr/include/python3.7m -Ideps/c-ares/src -Ideps/c-ares/src/config_linux -c deps/c-ares/src/ares_gethostbyname.c -o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_gethostbyname.o
    aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Oz -Oz -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/data/data/com.termux/files/usr/include/python3.7m -Ideps/c-ares/src -Ideps/c-ares/src/config_linux -c deps/c-ares/src/ares_getnameinfo.c -o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_getnameinfo.o
    deps/c-ares/src/ares_getnameinfo.c:306:15: warning: implicit declaration of function 'getservbyport_r' is invalid in C99 [-Wimplicit-function-declaration]
              if (getservbyport_r(port, proto, &se, (void *)tmpbuf,
                  ^
    1 warning generated.
    aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Oz -Oz -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/data/data/com.termux/files/usr/include/python3.7m -Ideps/c-ares/src -Ideps/c-ares/src/config_linux -c deps/c-ares/src/ares_getopt.c -o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_getopt.o
    aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Oz -Oz -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/data/data/com.termux/files/usr/include/python3.7m -Ideps/c-ares/src -Ideps/c-ares/src/config_linux -c deps/c-ares/src/ares_getsock.c -o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_getsock.o
    aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Oz -Oz -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/data/data/com.termux/files/usr/include/python3.7m -Ideps/c-ares/src -Ideps/c-ares/src/config_linux -c deps/c-ares/src/ares_init.c -o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_init.o
    aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Oz -Oz -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/data/data/com.termux/files/usr/include/python3.7m -Ideps/c-ares/src -Ideps/c-ares/src/config_linux -c deps/c-ares/src/ares_library_init.c -o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_library_init.o
    aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Oz -Oz -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/data/data/com.termux/files/usr/include/python3.7m -Ideps/c-ares/src -Ideps/c-ares/src/config_linux -c deps/c-ares/src/ares_llist.c -o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_llist.o
    aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Oz -Oz -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/data/data/com.termux/files/usr/include/python3.7m -Ideps/c-ares/src -Ideps/c-ares/src/config_linux -c deps/c-ares/src/ares_mkquery.c -o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_mkquery.o
    aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Oz -Oz -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/data/data/com.termux/files/usr/include/python3.7m -Ideps/c-ares/src -Ideps/c-ares/src/config_linux -c deps/c-ares/src/ares_nowarn.c -o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_nowarn.o
    aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Oz -Oz -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/data/data/com.termux/files/usr/include/python3.7m -Ideps/c-ares/src -Ideps/c-ares/src/config_linux -c deps/c-ares/src/ares_options.c -o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_options.o
    aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Oz -Oz -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/data/data/com.termux/files/usr/include/python3.7m -Ideps/c-ares/src -Ideps/c-ares/src/config_linux -c deps/c-ares/src/ares_parse_a_reply.c -o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_parse_a_reply.o
    aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Oz -Oz -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/data/data/com.termux/files/usr/include/python3.7m -Ideps/c-ares/src -Ideps/c-ares/src/config_linux -c deps/c-ares/src/ares_parse_aaaa_reply.c -o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_parse_aaaa_reply.o
    aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Oz -Oz -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/data/data/com.termux/files/usr/include/python3.7m -Ideps/c-ares/src -Ideps/c-ares/src/config_linux -c deps/c-ares/src/ares_parse_mx_reply.c -o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_parse_mx_reply.o
    aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Oz -Oz -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/data/data/com.termux/files/usr/include/python3.7m -Ideps/c-ares/src -Ideps/c-ares/src/config_linux -c deps/c-ares/src/ares_parse_naptr_reply.c -o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_parse_naptr_reply.o
    aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Oz -Oz -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/data/data/com.termux/files/usr/include/python3.7m -Ideps/c-ares/src -Ideps/c-ares/src/config_linux -c deps/c-ares/src/ares_parse_ns_reply.c -o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_parse_ns_reply.o
    aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Oz -Oz -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/data/data/com.termux/files/usr/include/python3.7m -Ideps/c-ares/src -Ideps/c-ares/src/config_linux -c deps/c-ares/src/ares_parse_ptr_reply.c -o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_parse_ptr_reply.o
    aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Oz -Oz -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/data/data/com.termux/files/usr/include/python3.7m -Ideps/c-ares/src -Ideps/c-ares/src/config_linux -c deps/c-ares/src/ares_parse_soa_reply.c -o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_parse_soa_reply.o
    aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Oz -Oz -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/data/data/com.termux/files/usr/include/python3.7m -Ideps/c-ares/src -Ideps/c-ares/src/config_linux -c deps/c-ares/src/ares_parse_srv_reply.c -o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_parse_srv_reply.o
    aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Oz -Oz -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/data/data/com.termux/files/usr/include/python3.7m -Ideps/c-ares/src -Ideps/c-ares/src/config_linux -c deps/c-ares/src/ares_parse_txt_reply.c -o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_parse_txt_reply.o
    aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Oz -Oz -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/data/data/com.termux/files/usr/include/python3.7m -Ideps/c-ares/src -Ideps/c-ares/src/config_linux -c deps/c-ares/src/ares_process.c -o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_process.o
    deps/c-ares/src/ares_process.c:339:52: warning: passing 'ares_socklen_t *' (aka 'int *') to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
       return recvfrom(s, data, data_len, flags, from, from_len);
                                                       ^~~~~~~~
    /data/data/com.termux/files/usr/include/sys/socket.h:334:119: note: passing argument to parameter '__src_addr_length' here
    __socketcall ssize_t recvfrom(int __fd, void* __buf, size_t __n, int __flags, struct sockaddr* __src_addr, socklen_t* __src_addr_length);
                                                                                                                          ^
    1 warning generated.
    aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Oz -Oz -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/data/data/com.termux/files/usr/include/python3.7m -Ideps/c-ares/src -Ideps/c-ares/src/config_linux -c deps/c-ares/src/ares_query.c -o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_query.o
    aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Oz -Oz -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/data/data/com.termux/files/usr/include/python3.7m -Ideps/c-ares/src -Ideps/c-ares/src/config_linux -c deps/c-ares/src/ares_search.c -o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_search.o
    aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Oz -Oz -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/data/data/com.termux/files/usr/include/python3.7m -Ideps/c-ares/src -Ideps/c-ares/src/config_linux -c deps/c-ares/src/ares_send.c -o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_send.o
    aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Oz -Oz -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/data/data/com.termux/files/usr/include/python3.7m -Ideps/c-ares/src -Ideps/c-ares/src/config_linux -c deps/c-ares/src/ares_strcasecmp.c -o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_strcasecmp.o
    aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Oz -Oz -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/data/data/com.termux/files/usr/include/python3.7m -Ideps/c-ares/src -Ideps/c-ares/src/config_linux -c deps/c-ares/src/ares_strdup.c -o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_strdup.o
    aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Oz -Oz -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/data/data/com.termux/files/usr/include/python3.7m -Ideps/c-ares/src -Ideps/c-ares/src/config_linux -c deps/c-ares/src/ares_strerror.c -o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_strerror.o
    aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Oz -Oz -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/data/data/com.termux/files/usr/include/python3.7m -Ideps/c-ares/src -Ideps/c-ares/src/config_linux -c deps/c-ares/src/ares_timeout.c -o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_timeout.o
    aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Oz -Oz -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/data/data/com.termux/files/usr/include/python3.7m -Ideps/c-ares/src -Ideps/c-ares/src/config_linux -c deps/c-ares/src/ares_version.c -o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_version.o
    aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Oz -Oz -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/data/data/com.termux/files/usr/include/python3.7m -Ideps/c-ares/src -Ideps/c-ares/src/config_linux -c deps/c-ares/src/ares_writev.c -o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_writev.o
    aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Oz -Oz -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/data/data/com.termux/files/usr/include/python3.7m -Ideps/c-ares/src -Ideps/c-ares/src/config_linux -c deps/c-ares/src/bitncmp.c -o build/temp.linux-aarch64-3.7/deps/c-ares/src/bitncmp.o
    aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Oz -Oz -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/data/data/com.termux/files/usr/include/python3.7m -Ideps/c-ares/src -Ideps/c-ares/src/config_linux -c deps/c-ares/src/inet_net_pton.c -o build/temp.linux-aarch64-3.7/deps/c-ares/src/inet_net_pton.o
    aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Oz -Oz -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/data/data/com.termux/files/usr/include/python3.7m -Ideps/c-ares/src -Ideps/c-ares/src/config_linux -c deps/c-ares/src/inet_ntop.c -o build/temp.linux-aarch64-3.7/deps/c-ares/src/inet_ntop.o
    aarch64-linux-android-clang -shared -L/data/data/com.termux/files/usr/lib -landroid-support -L/home/builder/.termux-build/_cache/18-aarch64-21-v1/sysroot/usr/lib -L/data/data/com.termux/files/usr/lib -landroid-support -L/home/builder/.termux-build/_cache/18-aarch64-21-v1/sysroot/usr/lib build/temp.linux-aarch64-3.7/src/pycares.o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares__close_sockets.o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares__get_hostent.o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares__read_line.o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares__timeval.o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_cancel.o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_create_query.o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_data.o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_destroy.o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_expand_name.o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_expand_string.o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_fds.o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_free_hostent.o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_free_string.o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_gethostbyaddr.o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_gethostbyname.o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_getnameinfo.o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_getopt.o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_getsock.o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_init.o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_library_init.o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_llist.o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_mkquery.o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_nowarn.o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_options.o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_parse_a_reply.o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_parse_aaaa_reply.o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_parse_mx_reply.o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_parse_naptr_reply.o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_parse_ns_reply.o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_parse_ptr_reply.o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_parse_soa_reply.o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_parse_srv_reply.o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_parse_txt_reply.o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_process.o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_query.o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_search.o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_send.o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_strcasecmp.o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_strdup.o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_strerror.o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_timeout.o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_version.o build/temp.linux-aarch64-3.7/deps/c-ares/src/ares_writev.o build/temp.linux-aarch64-3.7/deps/c-ares/src/bitncmp.o build/temp.linux-aarch64-3.7/deps/c-ares/src/inet_net_pton.o build/temp.linux-aarch64-3.7/deps/c-ares/src/inet_ntop.o -L/data/data/com.termux/files/usr/lib -lpython3.7m -ldl -lrt -o build/lib.linux-aarch64-3.7/pycares/_core.cpython-37m.so
    running install_lib
    creating /data/data/com.termux/files/usr/lib/python3.7/site-packages/pycares
    copying build/lib.linux-aarch64-3.7/pycares/__init__.py -> /data/data/com.termux/files/usr/lib/python3.7/site-packages/pycares
    copying build/lib.linux-aarch64-3.7/pycares/__main__.py -> /data/data/com.termux/files/usr/lib/python3.7/site-packages/pycares
    copying build/lib.linux-aarch64-3.7/pycares/errno.py -> /data/data/com.termux/files/usr/lib/python3.7/site-packages/pycares
    copying build/lib.linux-aarch64-3.7/pycares/_version.py -> /data/data/com.termux/files/usr/lib/python3.7/site-packages/pycares
    copying build/lib.linux-aarch64-3.7/pycares/_core.cpython-37m.so -> /data/data/com.termux/files/usr/lib/python3.7/site-packages/pycares
    byte-compiling /data/data/com.termux/files/usr/lib/python3.7/site-packages/pycares/__init__.py to __init__.cpython-37.pyc
    byte-compiling /data/data/com.termux/files/usr/lib/python3.7/site-packages/pycares/__main__.py to __main__.cpython-37.pyc
    byte-compiling /data/data/com.termux/files/usr/lib/python3.7/site-packages/pycares/errno.py to errno.cpython-37.pyc
    byte-compiling /data/data/com.termux/files/usr/lib/python3.7/site-packages/pycares/_version.py to _version.cpython-37.pyc
    running install_egg_info
    running egg_info
    writing pycares.egg-info/PKG-INFO
    writing dependency_links to pycares.egg-info/dependency_links.txt
    writing top-level names to pycares.egg-info/top_level.txt
    reading manifest file 'pycares.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    warning: no previously-included files matching '__pycache__' found under directory '*'
    warning: no previously-included files matching '*.py[co]' found under directory '*'
    warning: no previously-included files matching '*.[ao]' found under directory '*'
    warning: no previously-included files matching '*.so' found under directory '*'
    no previously-included directories found matching 'docs/_build'
    writing manifest file 'pycares.egg-info/SOURCES.txt'
    Copying pycares.egg-info to /data/data/com.termux/files/usr/lib/python3.7/site-packages/pycares-2.3.0-py3.7.egg-info
    running install_scripts
    writing list of installed files to '/data/data/com.termux/files/usr/tmp/pip-record-q_x6juge/install-record.txt'
done
  Removing source in /data/data/com.termux/files/usr/tmp/pip-install-a2tvnnsd/pycares
Successfully installed pycares-2.3.0
Cleaning up...
Removed build tracker '/data/data/com.termux/files/usr/tmp/pip-req-tracker-thwzlszv'

Importing the module fails (cffi 1.11.5 installed)

Python 3.7.1 (default, Oct 21 2018, 18:20:26) 
[Clang 7.0.2 (https://android.googlesource.com/toolchain/clang 003100370607242d on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import cffi
>>> import pycares
Traceback (most recent call last):
  File "/data/data/com.termux/files/usr/lib/python3.7/site-packages/pycares/__init__.py", line 5, in <module>
    from ._core import *
ImportError: dlopen failed: cannot locate symbol "getservbyport_r" referenced by "/data/data/com.termux/files/usr/lib/python3.7/site-packages/pycares/_core.cpython-37m.so"...

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/data/data/com.termux/files/usr/lib/python3.7/site-packages/pycares/__init__.py", line 7, in <module>
    from ._cfficore import *
ModuleNotFoundError: No module named 'pycares._cfficore'

I did notice, however, that no module matching 'pycares._cfficore' appeared to be installed.

potter-> more installed-files.txt 
../pycares/__init__.py
../pycares/__main__.py
../pycares/__pycache__/__init__.cpython-37.pyc
../pycares/__pycache__/__main__.cpython-37.pyc
../pycares/__pycache__/_version.cpython-37.pyc
../pycares/__pycache__/errno.cpython-37.pyc
../pycares/_core.cpython-37m.so
../pycares/_version.py
../pycares/errno.py
PKG-INFO
SOURCES.txt
dependency_links.txt
top_level.txt

Thank you for any help you may be able to provide. Please let me know if you need further information.

Does not build on platforms for which ares_config.h has not been generated

Hello,

After packaging pycares for Debian, I noticed that it failed to build on some non-Linux platforms, namely GNU/kFreeBSD and GNU/Hurd. While there are by no means priority targets, it is nice to have software that can build on these systems.

The reason for the failure is that setup_cares.py defines no include directory where the compiler would find ares_config.h. And, according to what I found, the reason for that is that the ares_config.h was pre-generated for a couple of platforms that does not include GNU/kFreeBSD and GNU/Hurd (which is not really surprising). :-)

If you generated config.h with an unmodified config.h.in and configure script from c-ares, or if you modified it but still have it, I could add it to the Debian package and use it to generate config.h (with some kind of Debian-specific patch). Ideally, that should rather be shipped with pycares itself, but I think you had a reason to pre-generate these ares_config.h. Perhaps you could ship it but leave it to the user or distro maintainer to re-generate them it they want to?

Regards,

Tanguy

Problem in pycares

I can not install the pycares

$ pip install pycares
Collecting pycares
Using cached https://files.pythonhosted.org/packages/89/5c/3a7e1a52d6abb52b9ca1a56d2df699936e89d8b98f75cfd60d03363e7c10/pycares-2.3.0.tar.gz
Installing collected packages: pycares
Running setup.py install for pycares ... error
Complete output from command /data/data/com.termux/files/usr/bin/python -u -c "import setuptools, tokenize;file='/data/data/com.termux/files/usr/tmp/pip-build-rbr2qc0g/pycares/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /data/data/com.termux/files/usr/tmp/pip-g_igq9rt-record/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build/lib.linux-armv7l-3.6
creating build/lib.linux-armv7l-3.6/pycares
copying pycares/init.py -> build/lib.linux-armv7l-3.6/pycares
copying pycares/main.py -> build/lib.linux-armv7l-3.6/pycares
copying pycares/errno.py -> build/lib.linux-armv7l-3.6/pycares
copying pycares/_version.py -> build/lib.linux-armv7l-3.6/pycares
running build_ext
building 'pycares._core' extension
creating build/temp.linux-armv7l-3.6
creating build/temp.linux-armv7l-3.6/src
creating build/temp.linux-armv7l-3.6/deps
creating build/temp.linux-armv7l-3.6/deps/c-ares
creating build/temp.linux-armv7l-3.6/deps/c-ares/src
arm-linux-androideabi-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -Os -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -Os -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/data/data/com.termux/files/usr/include/python3.6m -Ideps/c-ares/src -Ideps/c-ares/src/config_linux -c src/pycares.c -o build/temp.linux-armv7l-3.6/src/pycares.o
In file included from src/pycares.c:2:
src/pycares.h:7:10: fatal error: 'Python.h' file not found
#include "Python.h"
^~~~~~~~~~
1 error generated.
error: command 'arm-linux-androideabi-clang' failed with exit status 1

----------------------------------------

Command "/data/data/com.termux/files/usr/bin/python -u -c "import setuptools, tokenize;file='/data/data/com.termux/files/usr/tmp/pip-build-rbr2qc0g/pycares/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /data/data/com.termux/files/usr/tmp/pip-g_igq9rt-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /data/data/com.termux/files/usr/tmp/pip-build-rbr2qc0g/pycares/

is pypy + gevent supported?

The following code, adopted from https://github.com/slimta/python-slimta/blob/master/slimta/util/dns.py
works well on all platforms except pypy + gevent. The result is actually very strange; the process is blocked on cls._channel.process_fd(fd, pycares.ARES_SOCKET_BAD) and refuses to exit, except when sent a kill -9.

from __future__ import absolute_import
from functools import partial

import pycares
import pycares.errno
import gevent
from gevent import select, sleep
from gevent.event import AsyncResult

class DNSResolver(object):
    channel = None
    _channel = None
    _thread = None

    @classmethod
    def query(cls, name, query_type):
        result = AsyncResult()
        query_type = cls._get_query_type(query_type)
        cls._channel = cls._channel or cls.channel or pycares.Channel()
        cls._channel.query(name, query_type, partial(cls._result_cb, result))
        cls._thread = cls._thread or gevent.spawn(cls._wait_channel)
        return result

    @classmethod
    def _get_query_type(cls, query_type):
        if isinstance(query_type, str):
            type_attr = 'QUERY_TYPE_{0}'.format(query_type.upper())
            return getattr(pycares, type_attr)
        return query_type

    @classmethod
    def _result_cb(cls, result, answer, errno):
        if errno:
            result.set_exception(errno)
        else:
            result.set(answer)

    @classmethod
    def _wait_channel(cls):
        try:
            while True:
                read_fds, write_fds = cls._channel.getsock()
                if not read_fds and not write_fds:
                    break
                timeout = cls._channel.timeout()
                if not timeout:
                    cls._channel.process_fd(pycares.ARES_SOCKET_BAD,
                                            pycares.ARES_SOCKET_BAD)
                    continue
                rlist, wlist, xlist = select.select(
                    read_fds, write_fds, [], timeout)
                for fd in rlist:
                    cls._channel.process_fd(fd, pycares.ARES_SOCKET_BAD)
                for fd in wlist:
                    cls._channel.process_fd(pycares.ARES_SOCKET_BAD, fd)
        except Exception:
            log_exception(__name__)
            cls._channel.cancel()
            cls._channel = None
            raise
        finally:
            cls._thread = None

answer = DNSResolver.query("gmail.com", 'MX').get()
print answer

error: implicit declaration of function 'clock_gettime' is invalid in C99

I get the following error when trying to install pycares. I'm on ubuntu 16.04 using clang 3.8, python 3.5.2

I don't know where to start with this error, any help would be much appreciated.

`Collecting pycares
Using cached pycares-2.1.1.tar.gz
Installing collected packages: pycares
Running setup.py install for pycares ... error
Complete output from command /home/goldielocks/py_environments/scraper_test/bin/python3.5 -u -c "import setuptools, tokenize;file='/tmp/pip-build-r7apa5ce/pycares/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-as4w9efo-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/goldielocks/py_environments/scraper_test/include/site/python3.5/pycares:
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.5
creating build/lib.linux-x86_64-3.5/pycares
copying pycares/errno.py -> build/lib.linux-x86_64-3.5/pycares
copying pycares/init.py -> build/lib.linux-x86_64-3.5/pycares
copying pycares/_version.py -> build/lib.linux-x86_64-3.5/pycares
running build_ext
building 'pycares._core' extension
creating build/temp.linux-x86_64-3.5
creating build/temp.linux-x86_64-3.5/src
creating build/temp.linux-x86_64-3.5/deps
creating build/temp.linux-x86_64-3.5/deps/c-ares
creating build/temp.linux-x86_64-3.5/deps/c-ares/src
clang -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -ggdb3 -O0 -std=c99 -Wall -Werror -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/home/goldielocks/py_environments/scraper_test/include -I/usr/include/python3.5m -Ideps/c-ares/src -Ideps/c-ares/src/config_linux -c src/pycares.c -o build/temp.linux-x86_64-3.5/src/pycares.o
clang -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -ggdb3 -O0 -std=c99 -Wall -Werror -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/home/goldielocks/py_environments/scraper_test/include -I/usr/include/python3.5m -Ideps/c-ares/src -Ideps/c-ares/src/config_linux -c deps/c-ares/src/ares__close_sockets.c -o build/temp.linux-x86_64-3.5/deps/c-ares/src/ares__close_sockets.o
clang -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -ggdb3 -O0 -std=c99 -Wall -Werror -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/home/goldielocks/py_environments/scraper_test/include -I/usr/include/python3.5m -Ideps/c-ares/src -Ideps/c-ares/src/config_linux -c deps/c-ares/src/ares__get_hostent.c -o build/temp.linux-x86_64-3.5/deps/c-ares/src/ares__get_hostent.o
clang -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -ggdb3 -O0 -std=c99 -Wall -Werror -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/home/goldielocks/py_environments/scraper_test/include -I/usr/include/python3.5m -Ideps/c-ares/src -Ideps/c-ares/src/config_linux -c deps/c-ares/src/ares__read_line.c -o build/temp.linux-x86_64-3.5/deps/c-ares/src/ares__read_line.o
clang -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -ggdb3 -O0 -std=c99 -Wall -Werror -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/home/goldielocks/py_environments/scraper_test/include -I/usr/include/python3.5m -Ideps/c-ares/src -Ideps/c-ares/src/config_linux -c deps/c-ares/src/ares__timeval.c -o build/temp.linux-x86_64-3.5/deps/c-ares/src/ares__timeval.o
deps/c-ares/src/ares__timeval.c:48:11: error: implicit declaration of function 'clock_gettime' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if(0 == clock_gettime(CLOCK_MONOTONIC, &tsnow)) {
^
deps/c-ares/src/ares__timeval.c:48:25: error: use of undeclared identifier 'CLOCK_MONOTONIC'
if(0 == clock_gettime(CLOCK_MONOTONIC, &tsnow)) {
^
2 errors generated.
error: command 'clang' failed with exit status 1

----------------------------------------

Command "/home/goldielocks/py_environments/scraper_test/bin/python3.5 -u -c "import setuptools, tokenize;file='/tmp/pip-build-r7apa5ce/pycares/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-as4w9efo-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/goldielocks/py_environments/scraper_test/include/site/python3.5/pycares" failed with error code 1 in /tmp/pip-build-r7apa5ce/pycares/
`

python 3.6

will this work with python 3.6?... I'm getting an error and wondering how others have addressed it

How to know which result is the query answer

Hi, saghul:
im a qestion about how to know the relationship between a request and a result,
there is my code:

def cb(result, error):
        print("Result: {}, Error: {}".format(result, error))

dnsList = getDnsList()
domainName = "www.google.com"
loop = pyuv.Loop.default_loop()
for d_ip in dnsList:
    _d_ip = [d_ip]
    resolver = DNSResolver(loop, servers=_d_ip)
    resolver.gethostbyname(domainName, cb)
loop.run()

the code can asycn run and return result, but I dont know how to tell who is whose result.
how do you know how to do this, thank

install error

os:win10
python:python3.8b4

pip3.8 -install pycares
ERROR: Command errored out with exit status 1:
     command: 'c:\program files\python38\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\shmily\\AppData\\Local\\Temp\\pip-install-kzuqorha\\pycares\\setup.py'"'"'; __file__='"'"'C:\\Users\\shmily\\AppData\\Local\\Temp\\pip-install-kzuqorha\\pycares\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base pip-egg-info
         cwd: C:\Users\shmily\AppData\Local\Temp\pip-install-kzuqorha\pycares\
    Complete output (80 lines):
    Traceback (most recent call last):
      File "c:\program files\python38\lib\site-packages\setuptools\sandbox.py", line 154, in save_modules
        yield saved
      File "c:\program files\python38\lib\site-packages\setuptools\sandbox.py", line 195, in setup_context
        yield
      File "c:\program files\python38\lib\site-packages\setuptools\sandbox.py", line 248, in run_setup
        with DirectorySandbox(setup_dir):
      File "c:\program files\python38\lib\site-packages\setuptools\sandbox.py", line 399, in __init__
        self._exceptions = [
      File "c:\program files\python38\lib\site-packages\setuptools\sandbox.py", line 400, in <listcomp>
        os.path.normcase(os.path.realpath(path))
      File "c:\program files\python38\lib\ntpath.py", line 592, in realpath
        path = _getfinalpathname_nonstrict(path)
      File "c:\program files\python38\lib\ntpath.py", line 566, in _getfinalpathname_nonstrict
        path = _readlink_deep(path, seen)
      File "c:\program files\python38\lib\ntpath.py", line 536, in _readlink_deep
        path = _nt_readlink(path)
    OSError: [WinError 1] 函数不正确。: 'nul'

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\shmily\AppData\Local\Temp\pip-install-kzuqorha\pycares\setup.py", line 15, in <module>
        setup(name             = 'pycares',
      File "c:\program files\python38\lib\site-packages\setuptools\__init__.py", line 144, in setup
        _install_setup_requires(attrs)
      File "c:\program files\python38\lib\site-packages\setuptools\__init__.py", line 139, in _install_setup_requires
        dist.fetch_build_eggs(dist.setup_requires)
      File "c:\program files\python38\lib\site-packages\setuptools\dist.py", line 716, in fetch_build_eggs
        resolved_dists = pkg_resources.working_set.resolve(
      File "c:\program files\python38\lib\site-packages\pkg_resources\__init__.py", line 780, in resolve
        dist = best[req.key] = env.best_match(
      File "c:\program files\python38\lib\site-packages\pkg_resources\__init__.py", line 1065, in best_match
        return self.obtain(req, installer)
      File "c:\program files\python38\lib\site-packages\pkg_resources\__init__.py", line 1077, in obtain
        return installer(requirement)
      File "c:\program files\python38\lib\site-packages\setuptools\dist.py", line 786, in fetch_build_egg
        return cmd.easy_install(req)
      File "c:\program files\python38\lib\site-packages\setuptools\command\easy_install.py", line 679, in easy_install
        return self.install_item(spec, dist.location, tmpdir, deps)
      File "c:\program files\python38\lib\site-packages\setuptools\command\easy_install.py", line 705, in install_item
        dists = self.install_eggs(spec, download, tmpdir)
      File "c:\program files\python38\lib\site-packages\setuptools\command\easy_install.py", line 890, in install_eggs
        return self.build_and_install(setup_script, setup_base)
      File "c:\program files\python38\lib\site-packages\setuptools\command\easy_install.py", line 1158, in build_and_install
        self.run_setup(setup_script, setup_base, args)
      File "c:\program files\python38\lib\site-packages\setuptools\command\easy_install.py", line 1144, in run_setup
        run_setup(setup_script, args)
      File "c:\program files\python38\lib\site-packages\setuptools\sandbox.py", line 253, in run_setup
        raise
      File "c:\program files\python38\lib\contextlib.py", line 131, in __exit__
        self.gen.throw(type, value, traceback)
      File "c:\program files\python38\lib\site-packages\setuptools\sandbox.py", line 195, in setup_context
        yield
      File "c:\program files\python38\lib\contextlib.py", line 131, in __exit__
        self.gen.throw(type, value, traceback)
      File "c:\program files\python38\lib\site-packages\setuptools\sandbox.py", line 166, in save_modules
        saved_exc.resume()
      File "c:\program files\python38\lib\site-packages\setuptools\sandbox.py", line 141, in resume
        six.reraise(type, exc, self._tb)
      File "c:\program files\python38\lib\site-packages\setuptools\_vendor\six.py", line 685, in reraise
        raise value.with_traceback(tb)
      File "c:\program files\python38\lib\site-packages\setuptools\sandbox.py", line 154, in save_modules
        yield saved
      File "c:\program files\python38\lib\site-packages\setuptools\sandbox.py", line 195, in setup_context
        yield
      File "c:\program files\python38\lib\site-packages\setuptools\sandbox.py", line 248, in run_setup
        with DirectorySandbox(setup_dir):
      File "c:\program files\python38\lib\site-packages\setuptools\sandbox.py", line 399, in __init__
        self._exceptions = [
      File "c:\program files\python38\lib\site-packages\setuptools\sandbox.py", line 400, in <listcomp>
        os.path.normcase(os.path.realpath(path))
      File "c:\program files\python38\lib\ntpath.py", line 592, in realpath
        path = _getfinalpathname_nonstrict(path)
      File "c:\program files\python38\lib\ntpath.py", line 566, in _getfinalpathname_nonstrict
        path = _readlink_deep(path, seen)
      File "c:\program files\python38\lib\ntpath.py", line 536, in _readlink_deep
        path = _nt_readlink(path)
    OSError: [Errno 22] 函数不正确。: 'nul'
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Bundled c-ares

Why c-ares is bundled, anyway? Wouldn't it better to use system one?

Additional callback parameters

Hi,

I'm trying to set up a Queue based resolver, running in two threads:

  1. a while loop, reading a Queue(), calling channel.gethostbyname
  2. the DNS resolver thread, running pycares

To identify the original caller in the callback, I need to pass on additional parameters, but currently it's not possible.

It would be nice to have the following:

def cb(result, error, data):
    print result
    print error
    print data

channel.gethostbyname('google.com', socket.AF_INET, cb, data)

Data should be any type of python object, passed to cb as the third argument.

Errno Import errors

Using Python3.5, importing version 2.0.0 of pycares causes import errors with error.py in future module imports. Specifically, python seems to override the global "error.py" with the pycares file of the same name, causing future import errors.

Pip install with pycares not working

Trying to install pycares as part of a dependency for twint. I am using a virtual enviornment in PyCharm with python version 3.6. When I try to install I get this error:

Command "/Users/Eric/PycharmProjects/TwitterAnalytics/venv/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/c0/65zcr9k533j1z2r8wzrl9bv40000gn/T/pip-install-i2vjx9pj/pycares/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /private/var/folders/c0/65zcr9k533j1z2r8wzrl9bv40000gn/T/pip-record-jvuu3k2e/install-record.txt --single-version-externally-managed --compile --install-headers /Users/Eric/PycharmProjects/TwitterAnalytics/venv/include/site/python3.6/pycares --user --prefix=" failed with error code 1 in /private/var/folders/c0/65zcr9k533j1z2r8wzrl9bv40000

Failure in test_query_txt_bytes1

The test/test.py fails on test_query_txt_bytes1 since the domain like.com.ca does not longer exists:

FAIL: test_query_txt_bytes1 (__main__.DNSTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "F:\MingW32\src\inet\DNS\c-ares\PyCares\tests\tests.py", line 206, in test_query_txt_bytes1
    self.assertEqual(self.errorno, None)
AssertionError: 12 != None

12 == ARES_ETIMEOUT.
But changing it to like.com, all seems okay:

--- a/tests/tests.py 2017-11-16 21:09:56
+++ b/tests/tests.py 2018-06-07 16:23:10
@@ -201,7 +201,7 @@
         self.result, self.errorno = None, None
         def cb(result, errorno):
             self.result, self.errorno = result, errorno
-        self.channel.query('like.com.sa', pycares.QUERY_TYPE_TXT, cb)
+        self.channel.query('like.com', pycares.QUERY_TYPE_TXT, cb)
         self.wait()
         self.assertEqual(self.errorno, None)

Install fails with Python 3.6.8 (Pyenv) on MacOs 10.14

I'm using Pyenv, system's version is Python 2.7.10
Install works like a charm using:

  • 2.7.10 both globally and in virtual environnement
  • 3.5.7 in virtualenv
  • 3.7.3 in virtualenv

When installing using 3.6.8 in a clean virtualenv, install fails, please find log below.

2019-07-03T15:30:14   Created temporary directory: /private/var/folders/mg/3tpxy67x2h11z7hq5dfmlx9r0000gn/T/pip-record-yfydsfiz
2019-07-03T15:30:14     Running command /Users/julienkieffer/venv/bin/python3.6 -u -c 'import setuptools, tokenize;__file__='"'"'/private/var/folders/mg/3tpxy67x2h11z7hq5dfmlx9r0000gn/T/pip-install-kb6l3nke/pycares/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/mg/3tpxy67x2h11z7hq5dfmlx9r0000gn/T/pip-record-yfydsfiz/install-record.txt --single-version-externally-managed --compile --install-headers /Users/julienkieffer/venv/include/site/python3.6/pycares
2019-07-03T15:30:14     running install
2019-07-03T15:30:14     running build
2019-07-03T15:30:14     running build_py
2019-07-03T15:30:14     creating build
2019-07-03T15:30:14     creating build/lib.macosx-10.14-x86_64-3.6
2019-07-03T15:30:14     creating build/lib.macosx-10.14-x86_64-3.6/pycares
2019-07-03T15:30:14     copying src/pycares/errno.py -> build/lib.macosx-10.14-x86_64-3.6/pycares
2019-07-03T15:30:14     copying src/pycares/_version.py -> build/lib.macosx-10.14-x86_64-3.6/pycares
2019-07-03T15:30:14     copying src/pycares/__init__.py -> build/lib.macosx-10.14-x86_64-3.6/pycares
2019-07-03T15:30:14     copying src/pycares/utils.py -> build/lib.macosx-10.14-x86_64-3.6/pycares
2019-07-03T15:30:14     copying src/pycares/__main__.py -> build/lib.macosx-10.14-x86_64-3.6/pycares
2019-07-03T15:30:14     running build_ext
2019-07-03T15:30:14     generating cffi module 'build/temp.macosx-10.14-x86_64-3.6/_cares.c'
2019-07-03T15:30:14     creating build/temp.macosx-10.14-x86_64-3.6
2019-07-03T15:30:14     building '_cares' extension
2019-07-03T15:30:14     creating build/temp.macosx-10.14-x86_64-3.6/build
2019-07-03T15:30:14     creating build/temp.macosx-10.14-x86_64-3.6/build/temp.macosx-10.14-x86_64-3.6
2019-07-03T15:30:14     creating build/temp.macosx-10.14-x86_64-3.6/deps
2019-07-03T15:30:14     creating build/temp.macosx-10.14-x86_64-3.6/deps/c-ares
2019-07-03T15:30:14     creating build/temp.macosx-10.14-x86_64-3.6/deps/c-ares/src
2019-07-03T15:30:14     clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_DARWIN_USE_64_BIT_INODE=1 -I/Users/julienkieffer/.pyenv/versions/3.6.8/include/python3.6m -Ideps/c-ares/src -Ideps/c-ares/src/config_darwin -c build/temp.macosx-10.14-x86_64-3.6/_cares.c -o build/temp.macosx-10.14-x86_64-3.6/build/temp.macosx-10.14-x86_64-3.6/_cares.o
2019-07-03T15:30:14     In file included from build/temp.macosx-10.14-x86_64-3.6/_cares.c:28:
2019-07-03T15:30:14     In file included from /Users/julienkieffer/.pyenv/versions/3.6.8/include/python3.6m/Python.h:25:
2019-07-03T15:30:14     In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdio.h:64:
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/_stdio.h:93:16: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14             unsigned char   *_base;
2019-07-03T15:30:14                             ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/_stdio.h:93:16: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14             unsigned char   *_base;
2019-07-03T15:30:14                             ^
2019-07-03T15:30:14                               _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/_stdio.h:93:16: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14             unsigned char   *_base;
2019-07-03T15:30:14                             ^
2019-07-03T15:30:14                               _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/_stdio.h:138:32: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14             int     (* _Nullable _read) (void *, char *, int);
2019-07-03T15:30:14                                               ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/_stdio.h:138:32: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14             int     (* _Nullable _read) (void *, char *, int);
2019-07-03T15:30:14                                               ^
2019-07-03T15:30:14                                                _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/_stdio.h:138:32: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14             int     (* _Nullable _read) (void *, char *, int);
2019-07-03T15:30:14                                               ^
2019-07-03T15:30:14                                                _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/_stdio.h:138:40: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14             int     (* _Nullable _read) (void *, char *, int);
2019-07-03T15:30:14                                                       ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/_stdio.h:138:40: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14             int     (* _Nullable _read) (void *, char *, int);
2019-07-03T15:30:14                                                       ^
2019-07-03T15:30:14                                                        _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/_stdio.h:138:40: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14             int     (* _Nullable _read) (void *, char *, int);
2019-07-03T15:30:14                                                       ^
2019-07-03T15:30:14                                                        _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/_stdio.h:139:35: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14             fpos_t  (* _Nullable _seek) (void *, fpos_t, int);
2019-07-03T15:30:14                                               ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/_stdio.h:139:35: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14             fpos_t  (* _Nullable _seek) (void *, fpos_t, int);
2019-07-03T15:30:14                                               ^
2019-07-03T15:30:14                                                _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/_stdio.h:139:35: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14             fpos_t  (* _Nullable _seek) (void *, fpos_t, int);
2019-07-03T15:30:14                                               ^
2019-07-03T15:30:14                                                _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/_stdio.h:140:32: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14             int     (* _Nullable _write)(void *, const char *, int);
2019-07-03T15:30:14                                               ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/_stdio.h:140:32: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14             int     (* _Nullable _write)(void *, const char *, int);
2019-07-03T15:30:14                                               ^
2019-07-03T15:30:14                                                _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/_stdio.h:140:32: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14             int     (* _Nullable _write)(void *, const char *, int);
2019-07-03T15:30:14                                               ^
2019-07-03T15:30:14                                                _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/_stdio.h:140:46: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14             int     (* _Nullable _write)(void *, const char *, int);
2019-07-03T15:30:14                                                             ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/_stdio.h:140:46: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14             int     (* _Nullable _write)(void *, const char *, int);
2019-07-03T15:30:14                                                             ^
2019-07-03T15:30:14                                                              _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/_stdio.h:140:46: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14             int     (* _Nullable _write)(void *, const char *, int);
2019-07-03T15:30:14                                                             ^
2019-07-03T15:30:14                                                              _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/_stdio.h:144:18: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14             struct __sFILEX *_extra; /* additions to FILE to not break ABI */
2019-07-03T15:30:14                             ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/_stdio.h:144:18: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14             struct __sFILEX *_extra; /* additions to FILE to not break ABI */
2019-07-03T15:30:14                             ^
2019-07-03T15:30:14                               _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/_stdio.h:144:18: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14             struct __sFILEX *_extra; /* additions to FILE to not break ABI */
2019-07-03T15:30:14                             ^
2019-07-03T15:30:14                               _Nonnull
2019-07-03T15:30:14     In file included from build/temp.macosx-10.14-x86_64-3.6/_cares.c:28:
2019-07-03T15:30:14     In file included from /Users/julienkieffer/.pyenv/versions/3.6.8/include/python3.6m/Python.h:25:
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdio.h:67:13: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     extern FILE *__stdinp;
2019-07-03T15:30:14                 ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdio.h:67:13: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     extern FILE *__stdinp;
2019-07-03T15:30:14                 ^
2019-07-03T15:30:14                   _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdio.h:67:13: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     extern FILE *__stdinp;
2019-07-03T15:30:14                 ^
2019-07-03T15:30:14                   _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdio.h:390:41: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14                      int (* _Nullable)(void *, const char *, int),
2019-07-03T15:30:14                                             ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdio.h:390:41: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14                      int (* _Nullable)(void *, const char *, int),
2019-07-03T15:30:14                                             ^
2019-07-03T15:30:14                                              _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdio.h:390:41: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14                      int (* _Nullable)(void *, const char *, int),
2019-07-03T15:30:14                                             ^
2019-07-03T15:30:14                                              _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdio.h:390:55: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14                      int (* _Nullable)(void *, const char *, int),
2019-07-03T15:30:14                                                           ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdio.h:390:55: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14                      int (* _Nullable)(void *, const char *, int),
2019-07-03T15:30:14                                                           ^
2019-07-03T15:30:14                                                            _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdio.h:390:55: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14                      int (* _Nullable)(void *, const char *, int),
2019-07-03T15:30:14                                                           ^
2019-07-03T15:30:14                                                            _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdio.h:391:44: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14                      fpos_t (* _Nullable)(void *, fpos_t, int),
2019-07-03T15:30:14                                                ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdio.h:391:44: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14                      fpos_t (* _Nullable)(void *, fpos_t, int),
2019-07-03T15:30:14                                                ^
2019-07-03T15:30:14                                                 _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdio.h:391:44: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14                      fpos_t (* _Nullable)(void *, fpos_t, int),
2019-07-03T15:30:14                                                ^
2019-07-03T15:30:14                                                 _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdio.h:392:41: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14                      int (* _Nullable)(void *));
2019-07-03T15:30:14                                             ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdio.h:392:41: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14                      int (* _Nullable)(void *));
2019-07-03T15:30:14                                             ^
2019-07-03T15:30:14                                              _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdio.h:392:41: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14                      int (* _Nullable)(void *));
2019-07-03T15:30:14                                             ^
2019-07-03T15:30:14                                              _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdio.h:388:6: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     FILE    *funopen(const void *,
2019-07-03T15:30:14             ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdio.h:388:6: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     FILE    *funopen(const void *,
2019-07-03T15:30:14             ^
2019-07-03T15:30:14               _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdio.h:388:6: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     FILE    *funopen(const void *,
2019-07-03T15:30:14             ^
2019-07-03T15:30:14               _Nonnull
2019-07-03T15:30:14     In file included from build/temp.macosx-10.14-x86_64-3.6/_cares.c:28:
2019-07-03T15:30:14     In file included from /Users/julienkieffer/.pyenv/versions/3.6.8/include/python3.6m/Python.h:34:
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:134:25: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     double   atof(const char *);
2019-07-03T15:30:14                              ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:134:25: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     double   atof(const char *);
2019-07-03T15:30:14                              ^
2019-07-03T15:30:14                               _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:134:25: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     double   atof(const char *);
2019-07-03T15:30:14                              ^
2019-07-03T15:30:14                               _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:135:22: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     int      atoi(const char *);
2019-07-03T15:30:14                              ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:135:22: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     int      atoi(const char *);
2019-07-03T15:30:14                              ^
2019-07-03T15:30:14                               _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:135:22: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     int      atoi(const char *);
2019-07-03T15:30:14                              ^
2019-07-03T15:30:14                               _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:136:23: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     long     atol(const char *);
2019-07-03T15:30:14                              ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:136:23: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     long     atol(const char *);
2019-07-03T15:30:14                              ^
2019-07-03T15:30:14                               _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:136:23: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     long     atol(const char *);
2019-07-03T15:30:14                              ^
2019-07-03T15:30:14                               _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:139:20: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14              atoll(const char *);
2019-07-03T15:30:14                               ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:139:20: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14              atoll(const char *);
2019-07-03T15:30:14                               ^
2019-07-03T15:30:14                                _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:139:20: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14              atoll(const char *);
2019-07-03T15:30:14                               ^
2019-07-03T15:30:14                                _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:141:26: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     void    *bsearch(const void *__key, const void *__base, size_t __nel,
2019-07-03T15:30:14                                 ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:141:26: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     void    *bsearch(const void *__key, const void *__base, size_t __nel,
2019-07-03T15:30:14                                 ^
2019-07-03T15:30:14                                   _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:141:26: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     void    *bsearch(const void *__key, const void *__base, size_t __nel,
2019-07-03T15:30:14                                 ^
2019-07-03T15:30:14                                   _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:141:45: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     void    *bsearch(const void *__key, const void *__base, size_t __nel,
2019-07-03T15:30:14                                                    ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:141:45: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     void    *bsearch(const void *__key, const void *__base, size_t __nel,
2019-07-03T15:30:14                                                    ^
2019-07-03T15:30:14                                                      _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:141:45: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     void    *bsearch(const void *__key, const void *__base, size_t __nel,
2019-07-03T15:30:14                                                    ^
2019-07-03T15:30:14                                                      _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:142:59: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14                 size_t __width, int (* _Nonnull __compar)(const void *, const void *));
2019-07-03T15:30:14                                                                      ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:142:59: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14                 size_t __width, int (* _Nonnull __compar)(const void *, const void *));
2019-07-03T15:30:14                                                                      ^
2019-07-03T15:30:14                                                                       _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:142:59: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14                 size_t __width, int (* _Nonnull __compar)(const void *, const void *));
2019-07-03T15:30:14                                                                      ^
2019-07-03T15:30:14                                                                       _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:142:73: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14                 size_t __width, int (* _Nonnull __compar)(const void *, const void *));
2019-07-03T15:30:14                                                                                    ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:142:73: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14                 size_t __width, int (* _Nonnull __compar)(const void *, const void *));
2019-07-03T15:30:14                                                                                    ^
2019-07-03T15:30:14                                                                                     _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:142:73: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14                 size_t __width, int (* _Nonnull __compar)(const void *, const void *));
2019-07-03T15:30:14                                                                                    ^
2019-07-03T15:30:14                                                                                     _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:141:6: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     void    *bsearch(const void *__key, const void *__base, size_t __nel,
2019-07-03T15:30:14             ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:141:6: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     void    *bsearch(const void *__key, const void *__base, size_t __nel,
2019-07-03T15:30:14             ^
2019-07-03T15:30:14               _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:141:6: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     void    *bsearch(const void *__key, const void *__base, size_t __nel,
2019-07-03T15:30:14             ^
2019-07-03T15:30:14               _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:147:25: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     char    *getenv(const char *);
2019-07-03T15:30:14                                ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:147:25: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     char    *getenv(const char *);
2019-07-03T15:30:14                                ^
2019-07-03T15:30:14                                 _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:147:25: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     char    *getenv(const char *);
2019-07-03T15:30:14                                ^
2019-07-03T15:30:14                                 _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:147:6: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     char    *getenv(const char *);
2019-07-03T15:30:14             ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:147:6: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     char    *getenv(const char *);
2019-07-03T15:30:14             ^
2019-07-03T15:30:14               _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:147:6: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     char    *getenv(const char *);
2019-07-03T15:30:14             ^
2019-07-03T15:30:14               _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:156:23: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     int      mblen(const char *__s, size_t __n);
2019-07-03T15:30:14                               ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:156:23: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     int      mblen(const char *__s, size_t __n);
2019-07-03T15:30:14                               ^
2019-07-03T15:30:14                                 _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:156:23: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     int      mblen(const char *__s, size_t __n);
2019-07-03T15:30:14                               ^
2019-07-03T15:30:14                                 _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:157:26: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     size_t   mbstowcs(wchar_t * __restrict , const char * __restrict, size_t);
2019-07-03T15:30:14                               ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:157:26: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     size_t   mbstowcs(wchar_t * __restrict , const char * __restrict, size_t);
2019-07-03T15:30:14                               ^
2019-07-03T15:30:14                                 _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:157:26: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     size_t   mbstowcs(wchar_t * __restrict , const char * __restrict, size_t);
2019-07-03T15:30:14                               ^
2019-07-03T15:30:14                                 _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:157:52: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     size_t   mbstowcs(wchar_t * __restrict , const char * __restrict, size_t);
2019-07-03T15:30:14                                                         ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:157:52: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     size_t   mbstowcs(wchar_t * __restrict , const char * __restrict, size_t);
2019-07-03T15:30:14                                                         ^
2019-07-03T15:30:14                                                           _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:157:52: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     size_t   mbstowcs(wchar_t * __restrict , const char * __restrict, size_t);
2019-07-03T15:30:14                                                         ^
2019-07-03T15:30:14                                                           _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:158:21: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     int      mbtowc(wchar_t * __restrict, const char * __restrict, size_t);
2019-07-03T15:30:14                             ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:158:21: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     int      mbtowc(wchar_t * __restrict, const char * __restrict, size_t);
2019-07-03T15:30:14                             ^
2019-07-03T15:30:14                               _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:158:21: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     int      mbtowc(wchar_t * __restrict, const char * __restrict, size_t);
2019-07-03T15:30:14                             ^
2019-07-03T15:30:14                               _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:158:46: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     int      mbtowc(wchar_t * __restrict, const char * __restrict, size_t);
2019-07-03T15:30:14                                                      ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:158:46: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     int      mbtowc(wchar_t * __restrict, const char * __restrict, size_t);
2019-07-03T15:30:14                                                      ^
2019-07-03T15:30:14                                                        _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:158:46: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     int      mbtowc(wchar_t * __restrict, const char * __restrict, size_t);
2019-07-03T15:30:14                                                      ^
2019-07-03T15:30:14                                                        _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:160:18: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     void     qsort(void *__base, size_t __nel, size_t __width,
2019-07-03T15:30:14                         ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:160:18: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     void     qsort(void *__base, size_t __nel, size_t __width,
2019-07-03T15:30:14                         ^
2019-07-03T15:30:14                           _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:160:18: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     void     qsort(void *__base, size_t __nel, size_t __width,
2019-07-03T15:30:14                         ^
2019-07-03T15:30:14                           _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:161:43: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14                 int (* _Nonnull __compar)(const void *, const void *));
2019-07-03T15:30:14                                                      ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:161:43: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14                 int (* _Nonnull __compar)(const void *, const void *));
2019-07-03T15:30:14                                                      ^
2019-07-03T15:30:14                                                       _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:161:43: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14                 int (* _Nonnull __compar)(const void *, const void *));
2019-07-03T15:30:14                                                      ^
2019-07-03T15:30:14                                                       _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:161:57: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14                 int (* _Nonnull __compar)(const void *, const void *));
2019-07-03T15:30:14                                                                    ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:161:57: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14                 int (* _Nonnull __compar)(const void *, const void *));
2019-07-03T15:30:14                                                                    ^
2019-07-03T15:30:14                                                                     _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:161:57: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14                 int (* _Nonnull __compar)(const void *, const void *));
2019-07-03T15:30:14                                                                    ^
2019-07-03T15:30:14                                                                     _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:165:27: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     double   strtod(const char *, char **) __DARWIN_ALIAS(strtod);
2019-07-03T15:30:14                                ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:165:27: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     double   strtod(const char *, char **) __DARWIN_ALIAS(strtod);
2019-07-03T15:30:14                                ^
2019-07-03T15:30:14                                 _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:165:27: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     double   strtod(const char *, char **) __DARWIN_ALIAS(strtod);
2019-07-03T15:30:14                                ^
2019-07-03T15:30:14                                 _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:165:35: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     double   strtod(const char *, char **) __DARWIN_ALIAS(strtod);
2019-07-03T15:30:14                                        ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:165:35: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     double   strtod(const char *, char **) __DARWIN_ALIAS(strtod);
2019-07-03T15:30:14                                        ^
2019-07-03T15:30:14                                         _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:165:35: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     double   strtod(const char *, char **) __DARWIN_ALIAS(strtod);
2019-07-03T15:30:14                                        ^
2019-07-03T15:30:14                                         _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:165:36: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     double   strtod(const char *, char **) __DARWIN_ALIAS(strtod);
2019-07-03T15:30:14                                         ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:165:36: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     double   strtod(const char *, char **) __DARWIN_ALIAS(strtod);
2019-07-03T15:30:14                                         ^
2019-07-03T15:30:14                                          _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:165:36: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     double   strtod(const char *, char **) __DARWIN_ALIAS(strtod);
2019-07-03T15:30:14                                         ^
2019-07-03T15:30:14                                          _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:166:26: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     float    strtof(const char *, char **) __DARWIN_ALIAS(strtof);
2019-07-03T15:30:14                                ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:166:26: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     float    strtof(const char *, char **) __DARWIN_ALIAS(strtof);
2019-07-03T15:30:14                                ^
2019-07-03T15:30:14                                 _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:166:26: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     float    strtof(const char *, char **) __DARWIN_ALIAS(strtof);
2019-07-03T15:30:14                                ^
2019-07-03T15:30:14                                 _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:166:34: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     float    strtof(const char *, char **) __DARWIN_ALIAS(strtof);
2019-07-03T15:30:14                                        ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:166:34: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     float    strtof(const char *, char **) __DARWIN_ALIAS(strtof);
2019-07-03T15:30:14                                        ^
2019-07-03T15:30:14                                         _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:166:34: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     float    strtof(const char *, char **) __DARWIN_ALIAS(strtof);
2019-07-03T15:30:14                                        ^
2019-07-03T15:30:14                                         _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:166:35: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     float    strtof(const char *, char **) __DARWIN_ALIAS(strtof);
2019-07-03T15:30:14                                         ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:166:35: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     float    strtof(const char *, char **) __DARWIN_ALIAS(strtof);
2019-07-03T15:30:14                                         ^
2019-07-03T15:30:14                                          _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:166:35: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     float    strtof(const char *, char **) __DARWIN_ALIAS(strtof);
2019-07-03T15:30:14                                         ^
2019-07-03T15:30:14                                          _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:167:25: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     long     strtol(const char *__str, char **__endptr, int __base);
2019-07-03T15:30:14                                ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:167:25: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     long     strtol(const char *__str, char **__endptr, int __base);
2019-07-03T15:30:14                                ^
2019-07-03T15:30:14                                  _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:167:25: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     long     strtol(const char *__str, char **__endptr, int __base);
2019-07-03T15:30:14                                ^
2019-07-03T15:30:14                                  _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:167:38: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     long     strtol(const char *__str, char **__endptr, int __base);
2019-07-03T15:30:14                                             ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:167:38: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     long     strtol(const char *__str, char **__endptr, int __base);
2019-07-03T15:30:14                                             ^
2019-07-03T15:30:14                                              _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:167:38: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     long     strtol(const char *__str, char **__endptr, int __base);
2019-07-03T15:30:14                                             ^
2019-07-03T15:30:14                                              _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:167:39: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     long     strtol(const char *__str, char **__endptr, int __base);
2019-07-03T15:30:14                                              ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:167:39: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     long     strtol(const char *__str, char **__endptr, int __base);
2019-07-03T15:30:14                                              ^
2019-07-03T15:30:14                                                _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:167:39: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     long     strtol(const char *__str, char **__endptr, int __base);
2019-07-03T15:30:14                                              ^
2019-07-03T15:30:14                                                _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:169:22: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14              strtold(const char *, char **);
2019-07-03T15:30:14                                 ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:169:22: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14              strtold(const char *, char **);
2019-07-03T15:30:14                                 ^
2019-07-03T15:30:14                                  _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:169:22: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14              strtold(const char *, char **);
2019-07-03T15:30:14                                 ^
2019-07-03T15:30:14                                  _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:169:30: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14              strtold(const char *, char **);
2019-07-03T15:30:14                                         ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:169:30: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14              strtold(const char *, char **);
2019-07-03T15:30:14                                         ^
2019-07-03T15:30:14                                          _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:169:30: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14              strtold(const char *, char **);
2019-07-03T15:30:14                                         ^
2019-07-03T15:30:14                                          _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:169:31: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14              strtold(const char *, char **);
2019-07-03T15:30:14                                          ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:169:31: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14              strtold(const char *, char **);
2019-07-03T15:30:14                                          ^
2019-07-03T15:30:14                                           _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:169:31: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14              strtold(const char *, char **);
2019-07-03T15:30:14                                          ^
2019-07-03T15:30:14                                           _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:172:22: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14              strtoll(const char *__str, char **__endptr, int __base);
2019-07-03T15:30:14                                 ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:172:22: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14              strtoll(const char *__str, char **__endptr, int __base);
2019-07-03T15:30:14                                 ^
2019-07-03T15:30:14                                   _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:172:22: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14              strtoll(const char *__str, char **__endptr, int __base);
2019-07-03T15:30:14                                 ^
2019-07-03T15:30:14                                   _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:172:35: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14              strtoll(const char *__str, char **__endptr, int __base);
2019-07-03T15:30:14                                              ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:172:35: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14              strtoll(const char *__str, char **__endptr, int __base);
2019-07-03T15:30:14                                              ^
2019-07-03T15:30:14                                               _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:172:35: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14              strtoll(const char *__str, char **__endptr, int __base);
2019-07-03T15:30:14                                              ^
2019-07-03T15:30:14                                               _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:172:36: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14              strtoll(const char *__str, char **__endptr, int __base);
2019-07-03T15:30:14                                               ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:172:36: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14              strtoll(const char *__str, char **__endptr, int __base);
2019-07-03T15:30:14                                               ^
2019-07-03T15:30:14                                                 _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:172:36: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14              strtoll(const char *__str, char **__endptr, int __base);
2019-07-03T15:30:14                                               ^
2019-07-03T15:30:14                                                 _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:175:22: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14              strtoul(const char *__str, char **__endptr, int __base);
2019-07-03T15:30:14                                 ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:175:22: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14              strtoul(const char *__str, char **__endptr, int __base);
2019-07-03T15:30:14                                 ^
2019-07-03T15:30:14                                   _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:175:22: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14              strtoul(const char *__str, char **__endptr, int __base);
2019-07-03T15:30:14                                 ^
2019-07-03T15:30:14                                   _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:175:35: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14              strtoul(const char *__str, char **__endptr, int __base);
2019-07-03T15:30:14                                              ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:175:35: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14              strtoul(const char *__str, char **__endptr, int __base);
2019-07-03T15:30:14                                              ^
2019-07-03T15:30:14                                               _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:175:35: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14              strtoul(const char *__str, char **__endptr, int __base);
2019-07-03T15:30:14                                              ^
2019-07-03T15:30:14                                               _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:175:36: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14              strtoul(const char *__str, char **__endptr, int __base);
2019-07-03T15:30:14                                               ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:175:36: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14              strtoul(const char *__str, char **__endptr, int __base);
2019-07-03T15:30:14                                               ^
2019-07-03T15:30:14                                                 _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:175:36: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14              strtoul(const char *__str, char **__endptr, int __base);
2019-07-03T15:30:14                                               ^
2019-07-03T15:30:14                                                 _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:178:23: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14              strtoull(const char *__str, char **__endptr, int __base);
2019-07-03T15:30:14                                  ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:178:23: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14              strtoull(const char *__str, char **__endptr, int __base);
2019-07-03T15:30:14                                  ^
2019-07-03T15:30:14                                    _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:178:23: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14              strtoull(const char *__str, char **__endptr, int __base);
2019-07-03T15:30:14                                  ^
2019-07-03T15:30:14                                    _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:178:36: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14              strtoull(const char *__str, char **__endptr, int __base);
2019-07-03T15:30:14                                               ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:178:36: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14              strtoull(const char *__str, char **__endptr, int __base);
2019-07-03T15:30:14                                               ^
2019-07-03T15:30:14                                                _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:178:36: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14              strtoull(const char *__str, char **__endptr, int __base);
2019-07-03T15:30:14                                               ^
2019-07-03T15:30:14                                                _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:178:37: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14              strtoull(const char *__str, char **__endptr, int __base);
2019-07-03T15:30:14                                                ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:178:37: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14              strtoull(const char *__str, char **__endptr, int __base);
2019-07-03T15:30:14                                                ^
2019-07-03T15:30:14                                                  _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:178:37: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14              strtoull(const char *__str, char **__endptr, int __base);
2019-07-03T15:30:14                                                ^
2019-07-03T15:30:14                                                  _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:190:24: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     int      system(const char *) __DARWIN_ALIAS_C(system);
2019-07-03T15:30:14                                ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:190:24: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     int      system(const char *) __DARWIN_ALIAS_C(system);
2019-07-03T15:30:14                                ^
2019-07-03T15:30:14                                 _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:190:24: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     int      system(const char *) __DARWIN_ALIAS_C(system);
2019-07-03T15:30:14                                ^
2019-07-03T15:30:14                                 _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:194:23: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     size_t   wcstombs(char * __restrict, const wchar_t * __restrict, size_t);
2019-07-03T15:30:14                            ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:194:23: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     size_t   wcstombs(char * __restrict, const wchar_t * __restrict, size_t);
2019-07-03T15:30:14                            ^
2019-07-03T15:30:14                              _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:194:23: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     size_t   wcstombs(char * __restrict, const wchar_t * __restrict, size_t);
2019-07-03T15:30:14                            ^
2019-07-03T15:30:14                              _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:194:51: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     size_t   wcstombs(char * __restrict, const wchar_t * __restrict, size_t);
2019-07-03T15:30:14                                                        ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:194:51: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     size_t   wcstombs(char * __restrict, const wchar_t * __restrict, size_t);
2019-07-03T15:30:14                                                        ^
2019-07-03T15:30:14                                                          _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:194:51: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     size_t   wcstombs(char * __restrict, const wchar_t * __restrict, size_t);
2019-07-03T15:30:14                                                        ^
2019-07-03T15:30:14                                                          _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:195:18: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     int      wctomb(char *, wchar_t);
2019-07-03T15:30:14                          ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:195:18: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     int      wctomb(char *, wchar_t);
2019-07-03T15:30:14                          ^
2019-07-03T15:30:14                           _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:195:18: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     int      wctomb(char *, wchar_t);
2019-07-03T15:30:14                          ^
2019-07-03T15:30:14                           _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:199:23: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     long     a64l(const char *);
2019-07-03T15:30:14                              ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:199:23: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     long     a64l(const char *);
2019-07-03T15:30:14                              ^
2019-07-03T15:30:14                               _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:199:23: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     long     a64l(const char *);
2019-07-03T15:30:14                              ^
2019-07-03T15:30:14                               _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:201:29: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     char    *ecvt(double, int, int *__restrict, int *__restrict); /* LEGACY */
2019-07-03T15:30:14                                    ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:201:29: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     char    *ecvt(double, int, int *__restrict, int *__restrict); /* LEGACY */
2019-07-03T15:30:14                                    ^
2019-07-03T15:30:14                                      _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:201:29: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     char    *ecvt(double, int, int *__restrict, int *__restrict); /* LEGACY */
2019-07-03T15:30:14                                    ^
2019-07-03T15:30:14                                      _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:201:46: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     char    *ecvt(double, int, int *__restrict, int *__restrict); /* LEGACY */
2019-07-03T15:30:14                                                     ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:201:46: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     char    *ecvt(double, int, int *__restrict, int *__restrict); /* LEGACY */
2019-07-03T15:30:14                                                     ^
2019-07-03T15:30:14                                                       _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:201:46: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     char    *ecvt(double, int, int *__restrict, int *__restrict); /* LEGACY */
2019-07-03T15:30:14                                                     ^
2019-07-03T15:30:14                                                       _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:201:6: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     char    *ecvt(double, int, int *__restrict, int *__restrict); /* LEGACY */
2019-07-03T15:30:14             ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:201:6: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     char    *ecvt(double, int, int *__restrict, int *__restrict); /* LEGACY */
2019-07-03T15:30:14             ^
2019-07-03T15:30:14               _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:201:6: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     char    *ecvt(double, int, int *__restrict, int *__restrict); /* LEGACY */
2019-07-03T15:30:14             ^
2019-07-03T15:30:14               _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:202:31: warning: array parameter is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness-on-arrays]
2019-07-03T15:30:14     double   erand48(unsigned short[3]);
2019-07-03T15:30:14                                    ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:202:31: note: insert '_Nullable' if the array parameter may be null
2019-07-03T15:30:14     double   erand48(unsigned short[3]);
2019-07-03T15:30:14                                    ^
2019-07-03T15:30:14                                     _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:202:31: note: insert '_Nonnull' if the array parameter should never be null
2019-07-03T15:30:14     double   erand48(unsigned short[3]);
2019-07-03T15:30:14                                    ^
2019-07-03T15:30:14                                     _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:203:29: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     char    *fcvt(double, int, int *__restrict, int *__restrict); /* LEGACY */
2019-07-03T15:30:14                                    ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:203:29: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     char    *fcvt(double, int, int *__restrict, int *__restrict); /* LEGACY */
2019-07-03T15:30:14                                    ^
2019-07-03T15:30:14                                      _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:203:29: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     char    *fcvt(double, int, int *__restrict, int *__restrict); /* LEGACY */
2019-07-03T15:30:14                                    ^
2019-07-03T15:30:14                                      _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:203:46: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     char    *fcvt(double, int, int *__restrict, int *__restrict); /* LEGACY */
2019-07-03T15:30:14                                                     ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:203:46: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     char    *fcvt(double, int, int *__restrict, int *__restrict); /* LEGACY */
2019-07-03T15:30:14                                                     ^
2019-07-03T15:30:14                                                       _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:203:46: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     char    *fcvt(double, int, int *__restrict, int *__restrict); /* LEGACY */
2019-07-03T15:30:14                                                     ^
2019-07-03T15:30:14                                                       _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:203:6: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     char    *fcvt(double, int, int *__restrict, int *__restrict); /* LEGACY */
2019-07-03T15:30:14             ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:203:6: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     char    *fcvt(double, int, int *__restrict, int *__restrict); /* LEGACY */
2019-07-03T15:30:14             ^
2019-07-03T15:30:14               _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:203:6: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     char    *fcvt(double, int, int *__restrict, int *__restrict); /* LEGACY */
2019-07-03T15:30:14             ^
2019-07-03T15:30:14               _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:204:30: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     char    *gcvt(double, int, char *); /* LEGACY */
2019-07-03T15:30:14                                     ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:204:30: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     char    *gcvt(double, int, char *); /* LEGACY */
2019-07-03T15:30:14                                     ^
2019-07-03T15:30:14                                      _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:204:30: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     char    *gcvt(double, int, char *); /* LEGACY */
2019-07-03T15:30:14                                     ^
2019-07-03T15:30:14                                      _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:204:6: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     char    *gcvt(double, int, char *); /* LEGACY */
2019-07-03T15:30:14             ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:204:6: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     char    *gcvt(double, int, char *); /* LEGACY */
2019-07-03T15:30:14             ^
2019-07-03T15:30:14               _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:204:6: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     char    *gcvt(double, int, char *); /* LEGACY */
2019-07-03T15:30:14             ^
2019-07-03T15:30:14               _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:205:21: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     int      getsubopt(char **, char * const *, char **);
2019-07-03T15:30:14                             ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:205:21: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     int      getsubopt(char **, char * const *, char **);
2019-07-03T15:30:14                             ^
2019-07-03T15:30:14                              _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:205:21: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     int      getsubopt(char **, char * const *, char **);
2019-07-03T15:30:14                             ^
2019-07-03T15:30:14                              _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:205:22: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     int      getsubopt(char **, char * const *, char **);
2019-07-03T15:30:14                              ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:205:22: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     int      getsubopt(char **, char * const *, char **);
2019-07-03T15:30:14                              ^
2019-07-03T15:30:14                               _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:205:22: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     int      getsubopt(char **, char * const *, char **);
2019-07-03T15:30:14                              ^
2019-07-03T15:30:14                               _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:205:30: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     int      getsubopt(char **, char * const *, char **);
2019-07-03T15:30:14                                      ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:205:30: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     int      getsubopt(char **, char * const *, char **);
2019-07-03T15:30:14                                      ^
2019-07-03T15:30:14                                        _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:205:30: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     int      getsubopt(char **, char * const *, char **);
2019-07-03T15:30:14                                      ^
2019-07-03T15:30:14                                        _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:205:38: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     int      getsubopt(char **, char * const *, char **);
2019-07-03T15:30:14                                              ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:205:38: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     int      getsubopt(char **, char * const *, char **);
2019-07-03T15:30:14                                              ^
2019-07-03T15:30:14                                               _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:205:38: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     int      getsubopt(char **, char * const *, char **);
2019-07-03T15:30:14                                              ^
2019-07-03T15:30:14                                               _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:205:46: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     int      getsubopt(char **, char * const *, char **);
2019-07-03T15:30:14                                                      ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:205:46: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     int      getsubopt(char **, char * const *, char **);
2019-07-03T15:30:14                                                      ^
2019-07-03T15:30:14                                                       _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:205:46: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     int      getsubopt(char **, char * const *, char **);
2019-07-03T15:30:14                                                      ^
2019-07-03T15:30:14                                                       _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:205:47: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     int      getsubopt(char **, char * const *, char **);
2019-07-03T15:30:14                                                       ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:205:47: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     int      getsubopt(char **, char * const *, char **);
2019-07-03T15:30:14                                                       ^
2019-07-03T15:30:14                                                        _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:205:47: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     int      getsubopt(char **, char * const *, char **);
2019-07-03T15:30:14                                                       ^
2019-07-03T15:30:14                                                        _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:208:32: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     char    *initstate(unsigned, char *, size_t); /* no  __DARWIN_ALIAS needed */
2019-07-03T15:30:14                                       ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:208:32: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     char    *initstate(unsigned, char *, size_t); /* no  __DARWIN_ALIAS needed */
2019-07-03T15:30:14                                       ^
2019-07-03T15:30:14                                        _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:208:32: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     char    *initstate(unsigned, char *, size_t); /* no  __DARWIN_ALIAS needed */
2019-07-03T15:30:14                                       ^
2019-07-03T15:30:14                                        _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:208:6: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     char    *initstate(unsigned, char *, size_t); /* no  __DARWIN_ALIAS needed */
2019-07-03T15:30:14             ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:208:6: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     char    *initstate(unsigned, char *, size_t); /* no  __DARWIN_ALIAS needed */
2019-07-03T15:30:14             ^
2019-07-03T15:30:14               _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:208:6: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     char    *initstate(unsigned, char *, size_t); /* no  __DARWIN_ALIAS needed */
2019-07-03T15:30:14             ^
2019-07-03T15:30:14               _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.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]
2019-07-03T15:30:14     long     jrand48(unsigned short[3]) __swift_unavailable("Use arc4random instead.");
2019-07-03T15:30:14                                    ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:212:29: note: insert '_Nullable' if the array parameter may be null
2019-07-03T15:30:14     long     jrand48(unsigned short[3]) __swift_unavailable("Use arc4random instead.");
2019-07-03T15:30:14                                    ^
2019-07-03T15:30:14                                     _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:212:29: note: insert '_Nonnull' if the array parameter should never be null
2019-07-03T15:30:14     long     jrand48(unsigned short[3]) __swift_unavailable("Use arc4random instead.");
2019-07-03T15:30:14                                    ^
2019-07-03T15:30:14                                     _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:213:6: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     char    *l64a(long);
2019-07-03T15:30:14             ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:213:6: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     char    *l64a(long);
2019-07-03T15:30:14             ^
2019-07-03T15:30:14               _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:213:6: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     char    *l64a(long);
2019-07-03T15:30:14             ^
2019-07-03T15:30:14               _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:214:29: warning: array parameter is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness-on-arrays]
2019-07-03T15:30:14     void     lcong48(unsigned short[7]);
2019-07-03T15:30:14                                    ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:214:29: note: insert '_Nullable' if the array parameter may be null
2019-07-03T15:30:14     void     lcong48(unsigned short[7]);
2019-07-03T15:30:14                                    ^
2019-07-03T15:30:14                                     _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:214:29: note: insert '_Nonnull' if the array parameter should never be null
2019-07-03T15:30:14     void     lcong48(unsigned short[7]);
2019-07-03T15:30:14                                    ^
2019-07-03T15:30:14                                     _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:216:19: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     char    *mktemp(char *);
2019-07-03T15:30:14                          ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:216:19: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     char    *mktemp(char *);
2019-07-03T15:30:14                          ^
2019-07-03T15:30:14                           _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:216:19: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     char    *mktemp(char *);
2019-07-03T15:30:14                          ^
2019-07-03T15:30:14                           _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:216:6: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     char    *mktemp(char *);
2019-07-03T15:30:14             ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:216:6: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     char    *mktemp(char *);
2019-07-03T15:30:14             ^
2019-07-03T15:30:14               _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:216:6: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     char    *mktemp(char *);
2019-07-03T15:30:14             ^
2019-07-03T15:30:14               _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:217:19: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     int      mkstemp(char *);
2019-07-03T15:30:14                           ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:217:19: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     int      mkstemp(char *);
2019-07-03T15:30:14                           ^
2019-07-03T15:30:14                            _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:217:19: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     int      mkstemp(char *);
2019-07-03T15:30:14                           ^
2019-07-03T15:30:14                            _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:219:29: warning: array parameter is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness-on-arrays]
2019-07-03T15:30:14     long     nrand48(unsigned short[3]) __swift_unavailable("Use arc4random instead.");
2019-07-03T15:30:14                                    ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:219:29: note: insert '_Nullable' if the array parameter may be null
2019-07-03T15:30:14     long     nrand48(unsigned short[3]) __swift_unavailable("Use arc4random instead.");
2019-07-03T15:30:14                                    ^
2019-07-03T15:30:14                                     _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:219:29: note: insert '_Nonnull' if the array parameter should never be null
2019-07-03T15:30:14     long     nrand48(unsigned short[3]) __swift_unavailable("Use arc4random instead.");
2019-07-03T15:30:14                                    ^
2019-07-03T15:30:14                                     _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:221:6: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     char    *ptsname(int);
2019-07-03T15:30:14             ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:221:6: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     char    *ptsname(int);
2019-07-03T15:30:14             ^
2019-07-03T15:30:14               _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:221:6: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     char    *ptsname(int);
2019-07-03T15:30:14             ^
2019-07-03T15:30:14               _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:224:32: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     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));
2019-07-03T15:30:14                                    ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:224:32: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     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));
2019-07-03T15:30:14                                    ^
2019-07-03T15:30:14                                      _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:224:32: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     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));
2019-07-03T15:30:14                                    ^
2019-07-03T15:30:14                                      _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:227:18: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     int      putenv(char *) __DARWIN_ALIAS(putenv);
2019-07-03T15:30:14                          ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:227:18: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     int      putenv(char *) __DARWIN_ALIAS(putenv);
2019-07-03T15:30:14                          ^
2019-07-03T15:30:14                           _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:227:18: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     int      putenv(char *) __DARWIN_ALIAS(putenv);
2019-07-03T15:30:14                          ^
2019-07-03T15:30:14                           _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:229:22: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     int      rand_r(unsigned *) __swift_unavailable("Use arc4random instead.");
2019-07-03T15:30:14                              ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:229:22: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     int      rand_r(unsigned *) __swift_unavailable("Use arc4random instead.");
2019-07-03T15:30:14                              ^
2019-07-03T15:30:14                               _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:229:22: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     int      rand_r(unsigned *) __swift_unavailable("Use arc4random instead.");
2019-07-03T15:30:14                              ^
2019-07-03T15:30:14                               _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:231:27: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     char    *realpath(const char * __restrict, char * __restrict) __DARWIN_EXTSN(realpath);
2019-07-03T15:30:14                                  ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:231:27: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     char    *realpath(const char * __restrict, char * __restrict) __DARWIN_EXTSN(realpath);
2019-07-03T15:30:14                                  ^
2019-07-03T15:30:14                                    _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:231:27: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     char    *realpath(const char * __restrict, char * __restrict) __DARWIN_EXTSN(realpath);
2019-07-03T15:30:14                                  ^
2019-07-03T15:30:14                                    _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:231:46: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     char    *realpath(const char * __restrict, char * __restrict) __DARWIN_EXTSN(realpath);
2019-07-03T15:30:14                                                     ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:231:46: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     char    *realpath(const char * __restrict, char * __restrict) __DARWIN_EXTSN(realpath);
2019-07-03T15:30:14                                                     ^
2019-07-03T15:30:14                                                       _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:231:46: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     char    *realpath(const char * __restrict, char * __restrict) __DARWIN_EXTSN(realpath);
2019-07-03T15:30:14                                                     ^
2019-07-03T15:30:14                                                       _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:231:6: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     char    *realpath(const char * __restrict, char * __restrict) __DARWIN_EXTSN(realpath);
2019-07-03T15:30:14             ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:231:6: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     char    *realpath(const char * __restrict, char * __restrict) __DARWIN_EXTSN(realpath);
2019-07-03T15:30:14             ^
2019-07-03T15:30:14               _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:231:6: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     char    *realpath(const char * __restrict, char * __restrict) __DARWIN_EXTSN(realpath);
2019-07-03T15:30:14             ^
2019-07-03T15:30:14               _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:236:24: warning: array parameter is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness-on-arrays]
2019-07-03T15:30:14             *seed48(unsigned short[3]);
2019-07-03T15:30:14                                   ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:236:24: note: insert '_Nullable' if the array parameter may be null
2019-07-03T15:30:14             *seed48(unsigned short[3]);
2019-07-03T15:30:14                                   ^
2019-07-03T15:30:14                                    _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:236:24: note: insert '_Nonnull' if the array parameter should never be null
2019-07-03T15:30:14             *seed48(unsigned short[3]);
2019-07-03T15:30:14                                   ^
2019-07-03T15:30:14                                    _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:236:2: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14             *seed48(unsigned short[3]);
2019-07-03T15:30:14             ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:236:2: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14             *seed48(unsigned short[3]);
2019-07-03T15:30:14             ^
2019-07-03T15:30:14               _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:236:2: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14             *seed48(unsigned short[3]);
2019-07-03T15:30:14             ^
2019-07-03T15:30:14               _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:237:24: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
2019-07-03T15:30:14                                ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:237:24: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
2019-07-03T15:30:14                                ^
2019-07-03T15:30:14                                  _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:237:24: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
2019-07-03T15:30:14                                ^
2019-07-03T15:30:14                                  _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:237:45: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
2019-07-03T15:30:14                                                     ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:237:45: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
2019-07-03T15:30:14                                                     ^
2019-07-03T15:30:14                                                       _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:237:45: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
2019-07-03T15:30:14                                                     ^
2019-07-03T15:30:14                                                       _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:239:25: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     void     setkey(const char *) __DARWIN_ALIAS(setkey);
2019-07-03T15:30:14                                ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:239:25: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     void     setkey(const char *) __DARWIN_ALIAS(setkey);
2019-07-03T15:30:14                                ^
2019-07-03T15:30:14                                 _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:239:25: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     void     setkey(const char *) __DARWIN_ALIAS(setkey);
2019-07-03T15:30:14                                ^
2019-07-03T15:30:14                                 _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:243:27: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     char    *setstate(const char *);
2019-07-03T15:30:14                                  ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:243:27: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     char    *setstate(const char *);
2019-07-03T15:30:14                                  ^
2019-07-03T15:30:14                                   _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:243:27: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     char    *setstate(const char *);
2019-07-03T15:30:14                                  ^
2019-07-03T15:30:14                                   _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:243:6: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     char    *setstate(const char *);
2019-07-03T15:30:14             ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:243:6: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     char    *setstate(const char *);
2019-07-03T15:30:14             ^
2019-07-03T15:30:14               _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:243:6: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     char    *setstate(const char *);
2019-07-03T15:30:14             ^
2019-07-03T15:30:14               _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:252:26: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     int      unsetenv(const char *) __DARWIN_ALIAS(unsetenv);
2019-07-03T15:30:14                                  ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:252:26: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     int      unsetenv(const char *) __DARWIN_ALIAS(unsetenv);
2019-07-03T15:30:14                                  ^
2019-07-03T15:30:14                                   _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:252:26: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     int      unsetenv(const char *) __DARWIN_ALIAS(unsetenv);
2019-07-03T15:30:14                                  ^
2019-07-03T15:30:14                                   _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:266:42: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     void     arc4random_addrandom(unsigned char * /*dat*/, int /*datlen*/)
2019-07-03T15:30:14                                                 ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:266:42: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     void     arc4random_addrandom(unsigned char * /*dat*/, int /*datlen*/)
2019-07-03T15:30:14                                                 ^
2019-07-03T15:30:14                                                   _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:266:42: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     void     arc4random_addrandom(unsigned char * /*dat*/, int /*datlen*/)
2019-07-03T15:30:14                                                 ^
2019-07-03T15:30:14                                                   _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:271:27: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     void     arc4random_buf(void * __buf, size_t __nbytes) __OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_4_3);
2019-07-03T15:30:14                                  ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:271:27: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     void     arc4random_buf(void * __buf, size_t __nbytes) __OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_4_3);
2019-07-03T15:30:14                                  ^
2019-07-03T15:30:14                                    _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:271:27: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     void     arc4random_buf(void * __buf, size_t __nbytes) __OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_4_3);
2019-07-03T15:30:14                                  ^
2019-07-03T15:30:14                                    _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:277:28: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     void    *bsearch_b(const void *__key, const void *__base, size_t __nel,
2019-07-03T15:30:14                                   ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:277:28: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     void    *bsearch_b(const void *__key, const void *__base, size_t __nel,
2019-07-03T15:30:14                                   ^
2019-07-03T15:30:14                                     _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:277:28: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     void    *bsearch_b(const void *__key, const void *__base, size_t __nel,
2019-07-03T15:30:14                                   ^
2019-07-03T15:30:14                                     _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:277:47: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     void    *bsearch_b(const void *__key, const void *__base, size_t __nel,
2019-07-03T15:30:14                                                      ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:277:47: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     void    *bsearch_b(const void *__key, const void *__base, size_t __nel,
2019-07-03T15:30:14                                                      ^
2019-07-03T15:30:14                                                        _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:277:47: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     void    *bsearch_b(const void *__key, const void *__base, size_t __nel,
2019-07-03T15:30:14                                                      ^
2019-07-03T15:30:14                                                        _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:278:59: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14                 size_t __width, int (^ _Nonnull __compar)(const void *, const void *)) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
2019-07-03T15:30:14                                                                      ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:278:59: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14                 size_t __width, int (^ _Nonnull __compar)(const void *, const void *)) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
2019-07-03T15:30:14                                                                      ^
2019-07-03T15:30:14                                                                       _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:278:59: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14                 size_t __width, int (^ _Nonnull __compar)(const void *, const void *)) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
2019-07-03T15:30:14                                                                      ^
2019-07-03T15:30:14                                                                       _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:278:73: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14                 size_t __width, int (^ _Nonnull __compar)(const void *, const void *)) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
2019-07-03T15:30:14                                                                                    ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:278:73: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14                 size_t __width, int (^ _Nonnull __compar)(const void *, const void *)) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
2019-07-03T15:30:14                                                                                    ^
2019-07-03T15:30:14                                                                                     _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:278:73: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14                 size_t __width, int (^ _Nonnull __compar)(const void *, const void *)) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
2019-07-03T15:30:14                                                                                    ^
2019-07-03T15:30:14                                                                                     _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:277:6: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     void    *bsearch_b(const void *__key, const void *__base, size_t __nel,
2019-07-03T15:30:14             ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:277:6: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     void    *bsearch_b(const void *__key, const void *__base, size_t __nel,
2019-07-03T15:30:14             ^
2019-07-03T15:30:14               _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:277:6: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     void    *bsearch_b(const void *__key, const void *__base, size_t __nel,
2019-07-03T15:30:14             ^
2019-07-03T15:30:14               _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:282:20: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     char    *cgetcap(char *, const char *, int);
2019-07-03T15:30:14                           ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:282:20: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     char    *cgetcap(char *, const char *, int);
2019-07-03T15:30:14                           ^
2019-07-03T15:30:14                            _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:282:20: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     char    *cgetcap(char *, const char *, int);
2019-07-03T15:30:14                           ^
2019-07-03T15:30:14                            _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:282:34: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     char    *cgetcap(char *, const char *, int);
2019-07-03T15:30:14                                         ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:282:34: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     char    *cgetcap(char *, const char *, int);
2019-07-03T15:30:14                                         ^
2019-07-03T15:30:14                                          _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:282:34: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     char    *cgetcap(char *, const char *, int);
2019-07-03T15:30:14                                         ^
2019-07-03T15:30:14                                          _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:282:6: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     char    *cgetcap(char *, const char *, int);
2019-07-03T15:30:14             ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:282:6: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     char    *cgetcap(char *, const char *, int);
2019-07-03T15:30:14             ^
2019-07-03T15:30:14               _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:282:6: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     char    *cgetcap(char *, const char *, int);
2019-07-03T15:30:14             ^
2019-07-03T15:30:14               _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:284:19: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     int      cgetent(char **, char **, const char *);
2019-07-03T15:30:14                           ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:284:19: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     int      cgetent(char **, char **, const char *);
2019-07-03T15:30:14                           ^
2019-07-03T15:30:14                            _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:284:19: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     int      cgetent(char **, char **, const char *);
2019-07-03T15:30:14                           ^
2019-07-03T15:30:14                            _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:284:20: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     int      cgetent(char **, char **, const char *);
2019-07-03T15:30:14                            ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:284:20: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     int      cgetent(char **, char **, const char *);
2019-07-03T15:30:14                            ^
2019-07-03T15:30:14                             _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:284:20: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     int      cgetent(char **, char **, const char *);
2019-07-03T15:30:14                            ^
2019-07-03T15:30:14                             _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:284:28: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     int      cgetent(char **, char **, const char *);
2019-07-03T15:30:14                                    ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:284:28: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     int      cgetent(char **, char **, const char *);
2019-07-03T15:30:14                                    ^
2019-07-03T15:30:14                                     _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:284:28: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     int      cgetent(char **, char **, const char *);
2019-07-03T15:30:14                                    ^
2019-07-03T15:30:14                                     _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:284:29: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     int      cgetent(char **, char **, const char *);
2019-07-03T15:30:14                                     ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:284:29: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     int      cgetent(char **, char **, const char *);
2019-07-03T15:30:14                                     ^
2019-07-03T15:30:14                                      _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:284:29: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     int      cgetent(char **, char **, const char *);
2019-07-03T15:30:14                                     ^
2019-07-03T15:30:14                                      _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:284:43: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     int      cgetent(char **, char **, const char *);
2019-07-03T15:30:14                                                   ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:284:43: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     int      cgetent(char **, char **, const char *);
2019-07-03T15:30:14                                                   ^
2019-07-03T15:30:14                                                    _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:284:43: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     int      cgetent(char **, char **, const char *);
2019-07-03T15:30:14                                                   ^
2019-07-03T15:30:14                                                    _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:285:21: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     int      cgetfirst(char **, char **);
2019-07-03T15:30:14                             ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:285:21: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     int      cgetfirst(char **, char **);
2019-07-03T15:30:14                             ^
2019-07-03T15:30:14                              _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:285:21: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     int      cgetfirst(char **, char **);
2019-07-03T15:30:14                             ^
2019-07-03T15:30:14                              _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:285:22: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     int      cgetfirst(char **, char **);
2019-07-03T15:30:14                              ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:285:22: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     int      cgetfirst(char **, char **);
2019-07-03T15:30:14                              ^
2019-07-03T15:30:14                               _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:285:22: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     int      cgetfirst(char **, char **);
2019-07-03T15:30:14                              ^
2019-07-03T15:30:14                               _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:285:30: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     int      cgetfirst(char **, char **);
2019-07-03T15:30:14                                      ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:285:30: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     int      cgetfirst(char **, char **);
2019-07-03T15:30:14                                      ^
2019-07-03T15:30:14                                       _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:285:30: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     int      cgetfirst(char **, char **);
2019-07-03T15:30:14                                      ^
2019-07-03T15:30:14                                       _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:285:31: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     int      cgetfirst(char **, char **);
2019-07-03T15:30:14                                       ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:285:31: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     int      cgetfirst(char **, char **);
2019-07-03T15:30:14                                       ^
2019-07-03T15:30:14                                        _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:285:31: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     int      cgetfirst(char **, char **);
2019-07-03T15:30:14                                       ^
2019-07-03T15:30:14                                        _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:286:27: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     int      cgetmatch(const char *, const char *);
2019-07-03T15:30:14                                   ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:286:27: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     int      cgetmatch(const char *, const char *);
2019-07-03T15:30:14                                   ^
2019-07-03T15:30:14                                    _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:286:27: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     int      cgetmatch(const char *, const char *);
2019-07-03T15:30:14                                   ^
2019-07-03T15:30:14                                    _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:286:41: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     int      cgetmatch(const char *, const char *);
2019-07-03T15:30:14                                                 ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:286:41: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     int      cgetmatch(const char *, const char *);
2019-07-03T15:30:14                                                 ^
2019-07-03T15:30:14                                                  _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:286:41: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     int      cgetmatch(const char *, const char *);
2019-07-03T15:30:14                                                 ^
2019-07-03T15:30:14                                                  _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:287:20: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     int      cgetnext(char **, char **);
2019-07-03T15:30:14                            ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:287:20: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     int      cgetnext(char **, char **);
2019-07-03T15:30:14                            ^
2019-07-03T15:30:14                             _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:287:20: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     int      cgetnext(char **, char **);
2019-07-03T15:30:14                            ^
2019-07-03T15:30:14                             _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:287:21: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     int      cgetnext(char **, char **);
2019-07-03T15:30:14                             ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:287:21: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     int      cgetnext(char **, char **);
2019-07-03T15:30:14                             ^
2019-07-03T15:30:14                              _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:287:21: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     int      cgetnext(char **, char **);
2019-07-03T15:30:14                             ^
2019-07-03T15:30:14                              _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:287:29: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     int      cgetnext(char **, char **);
2019-07-03T15:30:14                                     ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:287:29: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     int      cgetnext(char **, char **);
2019-07-03T15:30:14                                     ^
2019-07-03T15:30:14                                      _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:287:29: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     int      cgetnext(char **, char **);
2019-07-03T15:30:14                                     ^
2019-07-03T15:30:14                                      _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:287:30: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     int      cgetnext(char **, char **);
2019-07-03T15:30:14                                      ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:287:30: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     int      cgetnext(char **, char **);
2019-07-03T15:30:14                                      ^
2019-07-03T15:30:14                                       _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:287:30: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     int      cgetnext(char **, char **);
2019-07-03T15:30:14                                      ^
2019-07-03T15:30:14                                       _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:288:19: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     int      cgetnum(char *, const char *, long *);
2019-07-03T15:30:14                           ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:288:19: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     int      cgetnum(char *, const char *, long *);
2019-07-03T15:30:14                           ^
2019-07-03T15:30:14                            _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:288:19: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     int      cgetnum(char *, const char *, long *);
2019-07-03T15:30:14                           ^
2019-07-03T15:30:14                            _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:288:33: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     int      cgetnum(char *, const char *, long *);
2019-07-03T15:30:14                                         ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:288:33: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     int      cgetnum(char *, const char *, long *);
2019-07-03T15:30:14                                         ^
2019-07-03T15:30:14                                          _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:288:33: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     int      cgetnum(char *, const char *, long *);
2019-07-03T15:30:14                                         ^
2019-07-03T15:30:14                                          _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:288:41: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     int      cgetnum(char *, const char *, long *);
2019-07-03T15:30:14                                                 ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:288:41: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     int      cgetnum(char *, const char *, long *);
2019-07-03T15:30:14                                                 ^
2019-07-03T15:30:14                                                  _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:288:41: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     int      cgetnum(char *, const char *, long *);
2019-07-03T15:30:14                                                 ^
2019-07-03T15:30:14                                                  _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:289:25: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     int      cgetset(const char *);
2019-07-03T15:30:14                                 ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:289:25: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     int      cgetset(const char *);
2019-07-03T15:30:14                                 ^
2019-07-03T15:30:14                                  _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:289:25: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     int      cgetset(const char *);
2019-07-03T15:30:14                                 ^
2019-07-03T15:30:14                                  _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:290:19: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     int      cgetstr(char *, const char *, char **);
2019-07-03T15:30:14                           ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:290:19: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     int      cgetstr(char *, const char *, char **);
2019-07-03T15:30:14                           ^
2019-07-03T15:30:14                            _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:290:19: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     int      cgetstr(char *, const char *, char **);
2019-07-03T15:30:14                           ^
2019-07-03T15:30:14                            _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:290:33: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     int      cgetstr(char *, const char *, char **);
2019-07-03T15:30:14                                         ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:290:33: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     int      cgetstr(char *, const char *, char **);
2019-07-03T15:30:14                                         ^
2019-07-03T15:30:14                                          _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:290:33: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     int      cgetstr(char *, const char *, char **);
2019-07-03T15:30:14                                         ^
2019-07-03T15:30:14                                          _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:290:41: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     int      cgetstr(char *, const char *, char **);
2019-07-03T15:30:14                                                 ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:290:41: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     int      cgetstr(char *, const char *, char **);
2019-07-03T15:30:14                                                 ^
2019-07-03T15:30:14                                                  _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:290:41: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     int      cgetstr(char *, const char *, char **);
2019-07-03T15:30:14                                                 ^
2019-07-03T15:30:14                                                  _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:290:42: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     int      cgetstr(char *, const char *, char **);
2019-07-03T15:30:14                                                  ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:290:42: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     int      cgetstr(char *, const char *, char **);
2019-07-03T15:30:14                                                  ^
2019-07-03T15:30:14                                                   _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:290:42: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     int      cgetstr(char *, const char *, char **);
2019-07-03T15:30:14                                                  ^
2019-07-03T15:30:14                                                   _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:291:20: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     int      cgetustr(char *, const char *, char **);
2019-07-03T15:30:14                            ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:291:20: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     int      cgetustr(char *, const char *, char **);
2019-07-03T15:30:14                            ^
2019-07-03T15:30:14                             _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:291:20: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     int      cgetustr(char *, const char *, char **);
2019-07-03T15:30:14                            ^
2019-07-03T15:30:14                             _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:291:34: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     int      cgetustr(char *, const char *, char **);
2019-07-03T15:30:14                                          ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:291:34: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     int      cgetustr(char *, const char *, char **);
2019-07-03T15:30:14                                          ^
2019-07-03T15:30:14                                           _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:291:34: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     int      cgetustr(char *, const char *, char **);
2019-07-03T15:30:14                                          ^
2019-07-03T15:30:14                                           _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:291:42: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     int      cgetustr(char *, const char *, char **);
2019-07-03T15:30:14                                                  ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:291:42: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     int      cgetustr(char *, const char *, char **);
2019-07-03T15:30:14                                                  ^
2019-07-03T15:30:14                                                   _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:291:42: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     int      cgetustr(char *, const char *, char **);
2019-07-03T15:30:14                                                  ^
2019-07-03T15:30:14                                                   _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:291:43: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     int      cgetustr(char *, const char *, char **);
2019-07-03T15:30:14                                                   ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:291:43: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     int      cgetustr(char *, const char *, char **);
2019-07-03T15:30:14                                                   ^
2019-07-03T15:30:14                                                    _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:291:43: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     int      cgetustr(char *, const char *, char **);
2019-07-03T15:30:14                                                   ^
2019-07-03T15:30:14                                                    _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:294:6: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     char    *devname(dev_t, mode_t);
2019-07-03T15:30:14             ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:294:6: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     char    *devname(dev_t, mode_t);
2019-07-03T15:30:14             ^
2019-07-03T15:30:14               _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:294:6: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     char    *devname(dev_t, mode_t);
2019-07-03T15:30:14             ^
2019-07-03T15:30:14               _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:295:37: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     char    *devname_r(dev_t, mode_t, char *buf, int len);
2019-07-03T15:30:14                                            ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:295:37: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     char    *devname_r(dev_t, mode_t, char *buf, int len);
2019-07-03T15:30:14                                            ^
2019-07-03T15:30:14                                              _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:295:37: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     char    *devname_r(dev_t, mode_t, char *buf, int len);
2019-07-03T15:30:14                                            ^
2019-07-03T15:30:14                                              _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:295:6: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     char    *devname_r(dev_t, mode_t, char *buf, int len);
2019-07-03T15:30:14             ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:295:6: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     char    *devname_r(dev_t, mode_t, char *buf, int len);
2019-07-03T15:30:14             ^
2019-07-03T15:30:14               _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:295:6: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     char    *devname_r(dev_t, mode_t, char *buf, int len);
2019-07-03T15:30:14             ^
2019-07-03T15:30:14               _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:296:20: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     char    *getbsize(int *, long *);
2019-07-03T15:30:14                           ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:296:20: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     char    *getbsize(int *, long *);
2019-07-03T15:30:14                           ^
2019-07-03T15:30:14                            _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:296:20: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     char    *getbsize(int *, long *);
2019-07-03T15:30:14                           ^
2019-07-03T15:30:14                            _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:296:28: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     char    *getbsize(int *, long *);
2019-07-03T15:30:14                                   ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:296:28: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     char    *getbsize(int *, long *);
2019-07-03T15:30:14                                   ^
2019-07-03T15:30:14                                    _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:296:28: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     char    *getbsize(int *, long *);
2019-07-03T15:30:14                                   ^
2019-07-03T15:30:14                                    _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:296:6: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     char    *getbsize(int *, long *);
2019-07-03T15:30:14             ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:296:6: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     char    *getbsize(int *, long *);
2019-07-03T15:30:14             ^
2019-07-03T15:30:14               _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:296:6: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     char    *getbsize(int *, long *);
2019-07-03T15:30:14             ^
2019-07-03T15:30:14               _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:297:24: warning: array parameter is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness-on-arrays]
2019-07-03T15:30:14     int      getloadavg(double [], int);
2019-07-03T15:30:14                                ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:297:24: note: insert '_Nullable' if the array parameter may be null
2019-07-03T15:30:14     int      getloadavg(double [], int);
2019-07-03T15:30:14                                ^
2019-07-03T15:30:14                                 _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:297:24: note: insert '_Nonnull' if the array parameter should never be null
2019-07-03T15:30:14     int      getloadavg(double [], int);
2019-07-03T15:30:14                                ^
2019-07-03T15:30:14                                 _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:299:2: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14             *getprogname(void);
2019-07-03T15:30:14             ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:299:2: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14             *getprogname(void);
2019-07-03T15:30:14             ^
2019-07-03T15:30:14               _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:299:2: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14             *getprogname(void);
2019-07-03T15:30:14             ^
2019-07-03T15:30:14               _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:301:20: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     int      heapsort(void *__base, size_t __nel, size_t __width,
2019-07-03T15:30:14                            ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:301:20: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     int      heapsort(void *__base, size_t __nel, size_t __width,
2019-07-03T15:30:14                            ^
2019-07-03T15:30:14                              _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:301:20: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     int      heapsort(void *__base, size_t __nel, size_t __width,
2019-07-03T15:30:14                            ^
2019-07-03T15:30:14                              _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:302:43: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14                 int (* _Nonnull __compar)(const void *, const void *));
2019-07-03T15:30:14                                                      ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:302:43: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14                 int (* _Nonnull __compar)(const void *, const void *));
2019-07-03T15:30:14                                                      ^
2019-07-03T15:30:14                                                       _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:302:43: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14                 int (* _Nonnull __compar)(const void *, const void *));
2019-07-03T15:30:14                                                      ^
2019-07-03T15:30:14                                                       _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:302:57: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14                 int (* _Nonnull __compar)(const void *, const void *));
2019-07-03T15:30:14                                                                    ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:302:57: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14                 int (* _Nonnull __compar)(const void *, const void *));
2019-07-03T15:30:14                                                                    ^
2019-07-03T15:30:14                                                                     _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:302:57: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14                 int (* _Nonnull __compar)(const void *, const void *));
2019-07-03T15:30:14                                                                    ^
2019-07-03T15:30:14                                                                     _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:304:22: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     int      heapsort_b(void *__base, size_t __nel, size_t __width,
2019-07-03T15:30:14                              ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:304:22: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     int      heapsort_b(void *__base, size_t __nel, size_t __width,
2019-07-03T15:30:14                              ^
2019-07-03T15:30:14                                _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:304:22: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     int      heapsort_b(void *__base, size_t __nel, size_t __width,
2019-07-03T15:30:14                              ^
2019-07-03T15:30:14                                _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:305:43: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14                 int (^ _Nonnull __compar)(const void *, const void *)) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
2019-07-03T15:30:14                                                      ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:305:43: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14                 int (^ _Nonnull __compar)(const void *, const void *)) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
2019-07-03T15:30:14                                                      ^
2019-07-03T15:30:14                                                       _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:305:43: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14                 int (^ _Nonnull __compar)(const void *, const void *)) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
2019-07-03T15:30:14                                                      ^
2019-07-03T15:30:14                                                       _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:305:57: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14                 int (^ _Nonnull __compar)(const void *, const void *)) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
2019-07-03T15:30:14                                                                    ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:305:57: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14                 int (^ _Nonnull __compar)(const void *, const void *)) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
2019-07-03T15:30:14                                                                    ^
2019-07-03T15:30:14                                                                     _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:305:57: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14                 int (^ _Nonnull __compar)(const void *, const void *)) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
2019-07-03T15:30:14                                                                    ^
2019-07-03T15:30:14                                                                     _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:307:21: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     int      mergesort(void *__base, size_t __nel, size_t __width,
2019-07-03T15:30:14                             ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:307:21: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     int      mergesort(void *__base, size_t __nel, size_t __width,
2019-07-03T15:30:14                             ^
2019-07-03T15:30:14                               _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:307:21: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     int      mergesort(void *__base, size_t __nel, size_t __width,
2019-07-03T15:30:14                             ^
2019-07-03T15:30:14                               _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:308:43: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14                 int (* _Nonnull __compar)(const void *, const void *));
2019-07-03T15:30:14                                                      ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:308:43: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14                 int (* _Nonnull __compar)(const void *, const void *));
2019-07-03T15:30:14                                                      ^
2019-07-03T15:30:14                                                       _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:308:43: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14                 int (* _Nonnull __compar)(const void *, const void *));
2019-07-03T15:30:14                                                      ^
2019-07-03T15:30:14                                                       _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:308:57: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14                 int (* _Nonnull __compar)(const void *, const void *));
2019-07-03T15:30:14                                                                    ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:308:57: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14                 int (* _Nonnull __compar)(const void *, const void *));
2019-07-03T15:30:14                                                                    ^
2019-07-03T15:30:14                                                                     _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:308:57: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14                 int (* _Nonnull __compar)(const void *, const void *));
2019-07-03T15:30:14                                                                    ^
2019-07-03T15:30:14                                                                     _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:310:23: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     int      mergesort_b(void *__base, size_t __nel, size_t __width,
2019-07-03T15:30:14                               ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:310:23: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     int      mergesort_b(void *__base, size_t __nel, size_t __width,
2019-07-03T15:30:14                               ^
2019-07-03T15:30:14                                 _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:310:23: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     int      mergesort_b(void *__base, size_t __nel, size_t __width,
2019-07-03T15:30:14                               ^
2019-07-03T15:30:14                                 _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:311:43: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14                 int (^ _Nonnull __compar)(const void *, const void *)) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
2019-07-03T15:30:14                                                      ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:311:43: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14                 int (^ _Nonnull __compar)(const void *, const void *)) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
2019-07-03T15:30:14                                                      ^
2019-07-03T15:30:14                                                       _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:311:43: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14                 int (^ _Nonnull __compar)(const void *, const void *)) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
2019-07-03T15:30:14                                                      ^
2019-07-03T15:30:14                                                       _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:311:57: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14                 int (^ _Nonnull __compar)(const void *, const void *)) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
2019-07-03T15:30:14                                                                    ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:311:57: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14                 int (^ _Nonnull __compar)(const void *, const void *)) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
2019-07-03T15:30:14                                                                    ^
2019-07-03T15:30:14                                                                     _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:311:57: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14                 int (^ _Nonnull __compar)(const void *, const void *)) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
2019-07-03T15:30:14                                                                    ^
2019-07-03T15:30:14                                                                     _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:313:18: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     void     psort(void *__base, size_t __nel, size_t __width,
2019-07-03T15:30:14                         ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:313:18: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     void     psort(void *__base, size_t __nel, size_t __width,
2019-07-03T15:30:14                         ^
2019-07-03T15:30:14                           _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:313:18: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     void     psort(void *__base, size_t __nel, size_t __width,
2019-07-03T15:30:14                         ^
2019-07-03T15:30:14                           _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:314:43: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14                 int (* _Nonnull __compar)(const void *, const void *)) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
2019-07-03T15:30:14                                                      ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:314:43: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14                 int (* _Nonnull __compar)(const void *, const void *)) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
2019-07-03T15:30:14                                                      ^
2019-07-03T15:30:14                                                       _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:314:43: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14                 int (* _Nonnull __compar)(const void *, const void *)) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
2019-07-03T15:30:14                                                      ^
2019-07-03T15:30:14                                                       _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:314:57: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14                 int (* _Nonnull __compar)(const void *, const void *)) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
2019-07-03T15:30:14                                                                    ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:314:57: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14                 int (* _Nonnull __compar)(const void *, const void *)) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
2019-07-03T15:30:14                                                                    ^
2019-07-03T15:30:14                                                                     _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:314:57: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14                 int (* _Nonnull __compar)(const void *, const void *)) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
2019-07-03T15:30:14                                                                    ^
2019-07-03T15:30:14                                                                     _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:316:20: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     void     psort_b(void *__base, size_t __nel, size_t __width,
2019-07-03T15:30:14                           ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:316:20: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     void     psort_b(void *__base, size_t __nel, size_t __width,
2019-07-03T15:30:14                           ^
2019-07-03T15:30:14                             _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:316:20: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     void     psort_b(void *__base, size_t __nel, size_t __width,
2019-07-03T15:30:14                           ^
2019-07-03T15:30:14                             _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:317:43: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14                 int (^ _Nonnull __compar)(const void *, const void *)) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
2019-07-03T15:30:14                                                      ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:317:43: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14                 int (^ _Nonnull __compar)(const void *, const void *)) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
2019-07-03T15:30:14                                                      ^
2019-07-03T15:30:14                                                       _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:317:43: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14                 int (^ _Nonnull __compar)(const void *, const void *)) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
2019-07-03T15:30:14                                                      ^
2019-07-03T15:30:14                                                       _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:317:57: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14                 int (^ _Nonnull __compar)(const void *, const void *)) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
2019-07-03T15:30:14                                                                    ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:317:57: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14                 int (^ _Nonnull __compar)(const void *, const void *)) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
2019-07-03T15:30:14                                                                    ^
2019-07-03T15:30:14                                                                     _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:317:57: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14                 int (^ _Nonnull __compar)(const void *, const void *)) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
2019-07-03T15:30:14                                                                    ^
2019-07-03T15:30:14                                                                     _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:319:20: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     void     psort_r(void *__base, size_t __nel, size_t __width, void *,
2019-07-03T15:30:14                           ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:319:20: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     void     psort_r(void *__base, size_t __nel, size_t __width, void *,
2019-07-03T15:30:14                           ^
2019-07-03T15:30:14                             _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:319:20: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     void     psort_r(void *__base, size_t __nel, size_t __width, void *,
2019-07-03T15:30:14                           ^
2019-07-03T15:30:14                             _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:319:64: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     void     psort_r(void *__base, size_t __nel, size_t __width, void *,
2019-07-03T15:30:14                                                                       ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:319:64: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     void     psort_r(void *__base, size_t __nel, size_t __width, void *,
2019-07-03T15:30:14                                                                       ^
2019-07-03T15:30:14                                                                        _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:319:64: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     void     psort_r(void *__base, size_t __nel, size_t __width, void *,
2019-07-03T15:30:14                                                                       ^
2019-07-03T15:30:14                                                                        _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:320:37: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14                 int (* _Nonnull __compar)(void *, const void *, const void *))  __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
2019-07-03T15:30:14                                                ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:320:37: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14                 int (* _Nonnull __compar)(void *, const void *, const void *))  __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
2019-07-03T15:30:14                                                ^
2019-07-03T15:30:14                                                 _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:320:37: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14                 int (* _Nonnull __compar)(void *, const void *, const void *))  __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
2019-07-03T15:30:14                                                ^
2019-07-03T15:30:14                                                 _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:320:51: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14                 int (* _Nonnull __compar)(void *, const void *, const void *))  __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
2019-07-03T15:30:14                                                              ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:320:51: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14                 int (* _Nonnull __compar)(void *, const void *, const void *))  __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
2019-07-03T15:30:14                                                              ^
2019-07-03T15:30:14                                                               _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:320:51: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14                 int (* _Nonnull __compar)(void *, const void *, const void *))  __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
2019-07-03T15:30:14                                                              ^
2019-07-03T15:30:14                                                               _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:320:65: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14                 int (* _Nonnull __compar)(void *, const void *, const void *))  __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
2019-07-03T15:30:14                                                                            ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:320:65: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14                 int (* _Nonnull __compar)(void *, const void *, const void *))  __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
2019-07-03T15:30:14                                                                            ^
2019-07-03T15:30:14                                                                             _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:320:65: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14                 int (* _Nonnull __compar)(void *, const void *, const void *))  __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
2019-07-03T15:30:14                                                                            ^
2019-07-03T15:30:14                                                                             _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:322:20: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     void     qsort_b(void *__base, size_t __nel, size_t __width,
2019-07-03T15:30:14                           ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:322:20: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     void     qsort_b(void *__base, size_t __nel, size_t __width,
2019-07-03T15:30:14                           ^
2019-07-03T15:30:14                             _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:322:20: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     void     qsort_b(void *__base, size_t __nel, size_t __width,
2019-07-03T15:30:14                           ^
2019-07-03T15:30:14                             _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:323:43: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14                 int (^ _Nonnull __compar)(const void *, const void *)) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
2019-07-03T15:30:14                                                      ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:323:43: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14                 int (^ _Nonnull __compar)(const void *, const void *)) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
2019-07-03T15:30:14                                                      ^
2019-07-03T15:30:14                                                       _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:323:43: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14                 int (^ _Nonnull __compar)(const void *, const void *)) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
2019-07-03T15:30:14                                                      ^
2019-07-03T15:30:14                                                       _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:323:57: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14                 int (^ _Nonnull __compar)(const void *, const void *)) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
2019-07-03T15:30:14                                                                    ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:323:57: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14                 int (^ _Nonnull __compar)(const void *, const void *)) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
2019-07-03T15:30:14                                                                    ^
2019-07-03T15:30:14                                                                     _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:323:57: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14                 int (^ _Nonnull __compar)(const void *, const void *)) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
2019-07-03T15:30:14                                                                    ^
2019-07-03T15:30:14                                                                     _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:325:20: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     void     qsort_r(void *__base, size_t __nel, size_t __width, void *,
2019-07-03T15:30:14                           ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:325:20: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     void     qsort_r(void *__base, size_t __nel, size_t __width, void *,
2019-07-03T15:30:14                           ^
2019-07-03T15:30:14                             _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:325:20: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     void     qsort_r(void *__base, size_t __nel, size_t __width, void *,
2019-07-03T15:30:14                           ^
2019-07-03T15:30:14                             _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:325:64: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     void     qsort_r(void *__base, size_t __nel, size_t __width, void *,
2019-07-03T15:30:14                                                                       ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:325:64: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     void     qsort_r(void *__base, size_t __nel, size_t __width, void *,
2019-07-03T15:30:14                                                                       ^
2019-07-03T15:30:14                                                                        _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:325:64: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     void     qsort_r(void *__base, size_t __nel, size_t __width, void *,
2019-07-03T15:30:14                                                                       ^
2019-07-03T15:30:14                                                                        _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:326:37: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14                 int (* _Nonnull __compar)(void *, const void *, const void *));
2019-07-03T15:30:14                                                ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:326:37: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14                 int (* _Nonnull __compar)(void *, const void *, const void *));
2019-07-03T15:30:14                                                ^
2019-07-03T15:30:14                                                 _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:326:37: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14                 int (* _Nonnull __compar)(void *, const void *, const void *));
2019-07-03T15:30:14                                                ^
2019-07-03T15:30:14                                                 _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:326:51: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14                 int (* _Nonnull __compar)(void *, const void *, const void *));
2019-07-03T15:30:14                                                              ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:326:51: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14                 int (* _Nonnull __compar)(void *, const void *, const void *));
2019-07-03T15:30:14                                                              ^
2019-07-03T15:30:14                                                               _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:326:51: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14                 int (* _Nonnull __compar)(void *, const void *, const void *));
2019-07-03T15:30:14                                                              ^
2019-07-03T15:30:14                                                               _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:326:65: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14                 int (* _Nonnull __compar)(void *, const void *, const void *));
2019-07-03T15:30:14                                                                            ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:326:65: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14                 int (* _Nonnull __compar)(void *, const void *, const void *));
2019-07-03T15:30:14                                                                            ^
2019-07-03T15:30:14                                                                             _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:326:65: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14                 int (* _Nonnull __compar)(void *, const void *, const void *));
2019-07-03T15:30:14                                                                            ^
2019-07-03T15:30:14                                                                             _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:327:36: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     int      radixsort(const unsigned char **__base, int __nel, const unsigned char *__table,
2019-07-03T15:30:14                                            ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:327:36: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     int      radixsort(const unsigned char **__base, int __nel, const unsigned char *__table,
2019-07-03T15:30:14                                            ^
2019-07-03T15:30:14                                             _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:327:36: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     int      radixsort(const unsigned char **__base, int __nel, const unsigned char *__table,
2019-07-03T15:30:14                                            ^
2019-07-03T15:30:14                                             _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:327:37: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     int      radixsort(const unsigned char **__base, int __nel, const unsigned char *__table,
2019-07-03T15:30:14                                             ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:327:37: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     int      radixsort(const unsigned char **__base, int __nel, const unsigned char *__table,
2019-07-03T15:30:14                                             ^
2019-07-03T15:30:14                                               _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:327:37: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     int      radixsort(const unsigned char **__base, int __nel, const unsigned char *__table,
2019-07-03T15:30:14                                             ^
2019-07-03T15:30:14                                               _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:327:77: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     int      radixsort(const unsigned char **__base, int __nel, const unsigned char *__table,
2019-07-03T15:30:14                                                                                     ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:327:77: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     int      radixsort(const unsigned char **__base, int __nel, const unsigned char *__table,
2019-07-03T15:30:14                                                                                     ^
2019-07-03T15:30:14                                                                                       _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:327:77: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     int      radixsort(const unsigned char **__base, int __nel, const unsigned char *__table,
2019-07-03T15:30:14                                                                                     ^
2019-07-03T15:30:14                                                                                       _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:329:30: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     void     setprogname(const char *);
2019-07-03T15:30:14                                     ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:329:30: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     void     setprogname(const char *);
2019-07-03T15:30:14                                     ^
2019-07-03T15:30:14                                      _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:329:30: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     void     setprogname(const char *);
2019-07-03T15:30:14                                     ^
2019-07-03T15:30:14                                      _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:330:37: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     int      sradixsort(const unsigned char **__base, int __nel, const unsigned char *__table,
2019-07-03T15:30:14                                             ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:330:37: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     int      sradixsort(const unsigned char **__base, int __nel, const unsigned char *__table,
2019-07-03T15:30:14                                             ^
2019-07-03T15:30:14                                              _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:330:37: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     int      sradixsort(const unsigned char **__base, int __nel, const unsigned char *__table,
2019-07-03T15:30:14                                             ^
2019-07-03T15:30:14                                              _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:330:38: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     int      sradixsort(const unsigned char **__base, int __nel, const unsigned char *__table,
2019-07-03T15:30:14                                              ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:330:38: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     int      sradixsort(const unsigned char **__base, int __nel, const unsigned char *__table,
2019-07-03T15:30:14                                              ^
2019-07-03T15:30:14                                                _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:330:38: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     int      sradixsort(const unsigned char **__base, int __nel, const unsigned char *__table,
2019-07-03T15:30:14                                              ^
2019-07-03T15:30:14                                                _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:330:78: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     int      sradixsort(const unsigned char **__base, int __nel, const unsigned char *__table,
2019-07-03T15:30:14                                                                                      ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:330:78: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     int      sradixsort(const unsigned char **__base, int __nel, const unsigned char *__table,
2019-07-03T15:30:14                                                                                      ^
2019-07-03T15:30:14                                                                                        _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:330:78: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     int      sradixsort(const unsigned char **__base, int __nel, const unsigned char *__table,
2019-07-03T15:30:14                                                                                      ^
2019-07-03T15:30:14                                                                                        _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:334:21: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     void    *reallocf(void *__ptr, size_t __size) __alloc_size(2);
2019-07-03T15:30:14                            ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:334:21: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     void    *reallocf(void *__ptr, size_t __size) __alloc_size(2);
2019-07-03T15:30:14                            ^
2019-07-03T15:30:14                              _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:334:21: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     void    *reallocf(void *__ptr, size_t __size) __alloc_size(2);
2019-07-03T15:30:14                            ^
2019-07-03T15:30:14                              _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:334:6: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     void    *reallocf(void *__ptr, size_t __size) __alloc_size(2);
2019-07-03T15:30:14             ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:334:6: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     void    *reallocf(void *__ptr, size_t __size) __alloc_size(2);
2019-07-03T15:30:14             ^
2019-07-03T15:30:14               _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:334:6: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     void    *reallocf(void *__ptr, size_t __size) __alloc_size(2);
2019-07-03T15:30:14             ^
2019-07-03T15:30:14               _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:337:21: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14              strtoq(const char *__str, char **__endptr, int __base);
2019-07-03T15:30:14                                ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:337:21: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14              strtoq(const char *__str, char **__endptr, int __base);
2019-07-03T15:30:14                                ^
2019-07-03T15:30:14                                  _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:337:21: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14              strtoq(const char *__str, char **__endptr, int __base);
2019-07-03T15:30:14                                ^
2019-07-03T15:30:14                                  _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:337:34: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14              strtoq(const char *__str, char **__endptr, int __base);
2019-07-03T15:30:14                                             ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:337:34: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14              strtoq(const char *__str, char **__endptr, int __base);
2019-07-03T15:30:14                                             ^
2019-07-03T15:30:14                                              _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:337:34: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14              strtoq(const char *__str, char **__endptr, int __base);
2019-07-03T15:30:14                                             ^
2019-07-03T15:30:14                                              _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:337:35: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14              strtoq(const char *__str, char **__endptr, int __base);
2019-07-03T15:30:14                                              ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:337:35: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14              strtoq(const char *__str, char **__endptr, int __base);
2019-07-03T15:30:14                                              ^
2019-07-03T15:30:14                                                _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:337:35: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14              strtoq(const char *__str, char **__endptr, int __base);
2019-07-03T15:30:14                                              ^
2019-07-03T15:30:14                                                _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:339:22: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14              strtouq(const char *__str, char **__endptr, int __base);
2019-07-03T15:30:14                                 ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:339:22: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14              strtouq(const char *__str, char **__endptr, int __base);
2019-07-03T15:30:14                                 ^
2019-07-03T15:30:14                                   _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:339:22: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14              strtouq(const char *__str, char **__endptr, int __base);
2019-07-03T15:30:14                                 ^
2019-07-03T15:30:14                                   _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:339:35: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14              strtouq(const char *__str, char **__endptr, int __base);
2019-07-03T15:30:14                                              ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:339:35: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14              strtouq(const char *__str, char **__endptr, int __base);
2019-07-03T15:30:14                                              ^
2019-07-03T15:30:14                                               _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:339:35: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14              strtouq(const char *__str, char **__endptr, int __base);
2019-07-03T15:30:14                                              ^
2019-07-03T15:30:14                                               _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:339:36: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14              strtouq(const char *__str, char **__endptr, int __base);
2019-07-03T15:30:14                                               ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:339:36: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14              strtouq(const char *__str, char **__endptr, int __base);
2019-07-03T15:30:14                                               ^
2019-07-03T15:30:14                                                 _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:339:36: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14              strtouq(const char *__str, char **__endptr, int __base);
2019-07-03T15:30:14                                               ^
2019-07-03T15:30:14                                                 _Nonnull
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:341:13: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
2019-07-03T15:30:14     extern char *suboptarg;         /* getsubopt(3) external variable */
2019-07-03T15:30:14                 ^
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:341:13: note: insert '_Nullable' if the pointer may be null
2019-07-03T15:30:14     extern char *suboptarg;         /* getsubopt(3) external variable */
2019-07-03T15:30:14                 ^
2019-07-03T15:30:14                   _Nullable
2019-07-03T15:30:14     /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:341:13: note: insert '_Nonnull' if the pointer should never be null
2019-07-03T15:30:14     extern char *suboptarg;         /* getsubopt(3) external variable */
2019-07-03T15:30:14                 ^
2019-07-03T15:30:14                   _Nonnull
2019-07-03T15:30:14     build/temp.macosx-10.14-x86_64-3.6/_cares.c:4172:12: error: use of undeclared identifier 'C_IN'
2019-07-03T15:30:14       int n = (C_IN) <= 0;
2019-07-03T15:30:14                ^
2019-07-03T15:30:14     build/temp.macosx-10.14-x86_64-3.6/_cares.c:4173:30: error: use of undeclared identifier 'C_IN'
2019-07-03T15:30:14       *o = (unsigned long long)((C_IN) | 0);  /* check that C_IN is an integer */
2019-07-03T15:30:14                                  ^
2019-07-03T15:30:14     build/temp.macosx-10.14-x86_64-3.6/_cares.c:4193:12: error: use of undeclared identifier 'T_A'
2019-07-03T15:30:14       int n = (T_A) <= 0;
2019-07-03T15:30:14                ^
2019-07-03T15:30:14     build/temp.macosx-10.14-x86_64-3.6/_cares.c:4194:30: error: use of undeclared identifier 'T_A'
2019-07-03T15:30:14       *o = (unsigned long long)((T_A) | 0);  /* check that T_A is an integer */
2019-07-03T15:30:14                                  ^
2019-07-03T15:30:14     build/temp.macosx-10.14-x86_64-3.6/_cares.c:4200:12: error: use of undeclared identifier 'T_AAAA'
2019-07-03T15:30:14       int n = (T_AAAA) <= 0;
2019-07-03T15:30:14                ^
2019-07-03T15:30:14     build/temp.macosx-10.14-x86_64-3.6/_cares.c:4201:30: error: use of undeclared identifier 'T_AAAA'
2019-07-03T15:30:14       *o = (unsigned long long)((T_AAAA) | 0);  /* check that T_AAAA is an integer */
2019-07-03T15:30:14                                  ^
2019-07-03T15:30:14     build/temp.macosx-10.14-x86_64-3.6/_cares.c:4207:12: error: use of undeclared identifier 'T_ANY'
2019-07-03T15:30:14       int n = (T_ANY) <= 0;
2019-07-03T15:30:14                ^
2019-07-03T15:30:14     build/temp.macosx-10.14-x86_64-3.6/_cares.c:4208:30: error: use of undeclared identifier 'T_ANY'
2019-07-03T15:30:14       *o = (unsigned long long)((T_ANY) | 0);  /* check that T_ANY is an integer */
2019-07-03T15:30:14                                  ^
2019-07-03T15:30:14     build/temp.macosx-10.14-x86_64-3.6/_cares.c:4214:12: error: use of undeclared identifier 'T_CNAME'
2019-07-03T15:30:14       int n = (T_CNAME) <= 0;
2019-07-03T15:30:14                ^
2019-07-03T15:30:14     build/temp.macosx-10.14-x86_64-3.6/_cares.c:4215:30: error: use of undeclared identifier 'T_CNAME'
2019-07-03T15:30:14       *o = (unsigned long long)((T_CNAME) | 0);  /* check that T_CNAME is an integer */
2019-07-03T15:30:14                                  ^
2019-07-03T15:30:14     build/temp.macosx-10.14-x86_64-3.6/_cares.c:4221:12: error: use of undeclared identifier 'T_MX'
2019-07-03T15:30:14       int n = (T_MX) <= 0;
2019-07-03T15:30:14                ^
2019-07-03T15:30:14     build/temp.macosx-10.14-x86_64-3.6/_cares.c:4222:30: error: use of undeclared identifier 'T_MX'
2019-07-03T15:30:14       *o = (unsigned long long)((T_MX) | 0);  /* check that T_MX is an integer */
2019-07-03T15:30:14                                  ^
2019-07-03T15:30:14     build/temp.macosx-10.14-x86_64-3.6/_cares.c:4228:12: error: use of undeclared identifier 'T_NAPTR'
2019-07-03T15:30:14       int n = (T_NAPTR) <= 0;
2019-07-03T15:30:14                ^
2019-07-03T15:30:14     build/temp.macosx-10.14-x86_64-3.6/_cares.c:4229:30: error: use of undeclared identifier 'T_NAPTR'
2019-07-03T15:30:14       *o = (unsigned long long)((T_NAPTR) | 0);  /* check that T_NAPTR is an integer */
2019-07-03T15:30:14                                  ^
2019-07-03T15:30:14     build/temp.macosx-10.14-x86_64-3.6/_cares.c:4235:12: error: use of undeclared identifier 'T_NS'
2019-07-03T15:30:14       int n = (T_NS) <= 0;
2019-07-03T15:30:14                ^
2019-07-03T15:30:14     build/temp.macosx-10.14-x86_64-3.6/_cares.c:4236:30: error: use of undeclared identifier 'T_NS'
2019-07-03T15:30:14       *o = (unsigned long long)((T_NS) | 0);  /* check that T_NS is an integer */
2019-07-03T15:30:14                                  ^
2019-07-03T15:30:14     build/temp.macosx-10.14-x86_64-3.6/_cares.c:4242:12: error: use of undeclared identifier 'T_PTR'
2019-07-03T15:30:14       int n = (T_PTR) <= 0;
2019-07-03T15:30:14                ^
2019-07-03T15:30:14     build/temp.macosx-10.14-x86_64-3.6/_cares.c:4243:30: error: use of undeclared identifier 'T_PTR'
2019-07-03T15:30:14       *o = (unsigned long long)((T_PTR) | 0);  /* check that T_PTR is an integer */
2019-07-03T15:30:14                                  ^
2019-07-03T15:30:14     build/temp.macosx-10.14-x86_64-3.6/_cares.c:4249:12: error: use of undeclared identifier 'T_SOA'
2019-07-03T15:30:14       int n = (T_SOA) <= 0;
2019-07-03T15:30:14                ^
2019-07-03T15:30:14     fatal error: too many errors emitted, stopping now [-ferror-limit=]
2019-07-03T15:30:14     189 warnings and 20 errors generated.
2019-07-03T15:30:14     error: command 'clang' failed with exit status 1
2019-07-03T15:30:14 Cleaning up...
2019-07-03T15:30:14   Removing source in /private/var/folders/mg/3tpxy67x2h11z7hq5dfmlx9r0000gn/T/pip-install-kb6l3nke/pycares
2019-07-03T15:30:14 Removed build tracker '/private/var/folders/mg/3tpxy67x2h11z7hq5dfmlx9r0000gn/T/pip-req-tracker-ryn0iifr'
2019-07-03T15:30:14 ERROR: Command "/Users/julienkieffer/venv/bin/python3.6 -u -c 'import setuptools, tokenize;__file__='"'"'/private/var/folders/mg/3tpxy67x2h11z7hq5dfmlx9r0000gn/T/pip-install-kb6l3nke/pycares/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/mg/3tpxy67x2h11z7hq5dfmlx9r0000gn/T/pip-record-yfydsfiz/install-record.txt --single-version-externally-managed --compile --install-headers /Users/julienkieffer/venv/include/site/python3.6/pycares" failed with error code 1 in /private/var/folders/mg/3tpxy67x2h11z7hq5dfmlx9r0000gn/T/pip-install-kb6l3nke/pycares/
2019-07-03T15:30:14 Exception information:
2019-07-03T15:30:14 Traceback (most recent call last):
2019-07-03T15:30:14   File "/Users/julienkieffer/venv/lib/python3.6/site-packages/pip/_internal/cli/base_command.py", line 178, in main
2019-07-03T15:30:14     status = self.run(options, args)
2019-07-03T15:30:14   File "/Users/julienkieffer/venv/lib/python3.6/site-packages/pip/_internal/commands/install.py", line 414, in run
2019-07-03T15:30:14     use_user_site=options.use_user_site,
2019-07-03T15:30:14   File "/Users/julienkieffer/venv/lib/python3.6/site-packages/pip/_internal/req/__init__.py", line 58, in install_given_reqs
2019-07-03T15:30:14     **kwargs
2019-07-03T15:30:14   File "/Users/julienkieffer/venv/lib/python3.6/site-packages/pip/_internal/req/req_install.py", line 951, in install
2019-07-03T15:30:14     spinner=spinner,
2019-07-03T15:30:14   File "/Users/julienkieffer/venv/lib/python3.6/site-packages/pip/_internal/utils/misc.py", line 776, in call_subprocess
2019-07-03T15:30:14     % (command_desc, proc.returncode, cwd))
2019-07-03T15:30:14 pip._internal.exceptions.InstallationError: Command "/Users/julienkieffer/venv/bin/python3.6 -u -c 'import setuptools, tokenize;__file__='"'"'/private/var/folders/mg/3tpxy67x2h11z7hq5dfmlx9r0000gn/T/pip-install-kb6l3nke/pycares/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/mg/3tpxy67x2h11z7hq5dfmlx9r0000gn/T/pip-record-yfydsfiz/install-record.txt --single-version-externally-managed --compile --install-headers /Users/julienkieffer/venv/include/site/python3.6/pycares" failed with error code 1 in /private/var/folders/mg/3tpxy67x2h11z7hq5dfmlx9r0000gn/T/pip-install-kb6l3nke/pycares/

MacOS / Python 3.7 installation error

Hello there!

I've tried to install pycares on my Macbook Pro running macOS 10.14.14, using pip and Python 3.7.3. Though I could solve some problems in the past, I am still beginner and do not know whether this is a bug or what I can do to fix it and to be able to install pycares again.

Thank you for your help in advance!

--- HERE IS THE ERROR MESSAGE (always the same) ---

pip3 install pycares
Collecting pycares
Using cached https://files.pythonhosted.org/packages/85/de/cd46a73e43e206a6ad1e9cf9cc893c3ed1b21caf57f1e0a8d9a119d290eb/pycares-3.0.0.tar.gz
Requirement already satisfied: cffi>=1.5.0 in /usr/local/lib/python3.7/site-packages (from pycares) (1.12.3)
Requirement already satisfied: pycparser in /usr/local/lib/python3.7/site-packages (from cffi>=1.5.0->pycares) (2.19)
Building wheels for collected packages: pycares
Building wheel for pycares (setup.py) ... error
Complete output from command /usr/local/opt/python/bin/python3.7 -u -c "import setuptools, tokenize;file='/private/var/folders/n_/c7qs2z2d7cnb677d6dxfmbzm0000gn/T/pip-install-2uumrdil/pycares/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d /private/var/folders/n_/c7qs2z2d7cnb677d6dxfmbzm0000gn/T/pip-wheel-_rxg3cbv --python-tag cp37:
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.14-x86_64-3.7
creating build/lib.macosx-10.14-x86_64-3.7/pycares
copying src/pycares/errno.py -> build/lib.macosx-10.14-x86_64-3.7/pycares
copying src/pycares/_version.py -> build/lib.macosx-10.14-x86_64-3.7/pycares
copying src/pycares/init.py -> build/lib.macosx-10.14-x86_64-3.7/pycares
copying src/pycares/utils.py -> build/lib.macosx-10.14-x86_64-3.7/pycares
copying src/pycares/main.py -> build/lib.macosx-10.14-x86_64-3.7/pycares
running build_ext
generating cffi module 'build/temp.macosx-10.14-x86_64-3.7/_cares.c'
creating build/temp.macosx-10.14-x86_64-3.7
building '_cares' extension
creating build/temp.macosx-10.14-x86_64-3.7/build
creating build/temp.macosx-10.14-x86_64-3.7/build/temp.macosx-10.14-x86_64-3.7
creating build/temp.macosx-10.14-x86_64-3.7/deps
creating build/temp.macosx-10.14-x86_64-3.7/deps/c-ares
creating build/temp.macosx-10.14-x86_64-3.7/deps/c-ares/src
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -I/usr/local/opt/zlib/include -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_DARWIN_USE_64_BIT_INODE=1 -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/include/python3.7m -Ideps/c-ares/src -Ideps/c-ares/src/config_darwin -c build/temp.macosx-10.14-x86_64-3.7/_cares.c -o build/temp.macosx-10.14-x86_64-3.7/build/temp.macosx-10.14-x86_64-3.7/_cares.o
build/temp.macosx-10.14-x86_64-3.7/_cares.c:2573:55: error: too many arguments to function call, expected 6, have 7
return ares_parse_ptr_reply(x0, x1, x2, x3, x4, x5, x6);
~~~~~~~~~~~~~~~~~~~~ ^~
/usr/local/include/ares.h:581:14: note: 'ares_parse_ptr_reply' declared here
CARES_EXTERN int ares_parse_ptr_reply(const unsigned char *abuf,
^
build/temp.macosx-10.14-x86_64-3.7/_cares.c:2657:59: error: too many arguments to function call, expected 6, have 7
{ result = ares_parse_ptr_reply(x0, x1, x2, x3, x4, x5, x6); }
~~~~~~~~~~~~~~~~~~~~ ^~
/usr/local/include/ares.h:581:14: note: 'ares_parse_ptr_reply' declared here
CARES_EXTERN int ares_parse_ptr_reply(const unsigned char abuf,
^
build/temp.macosx-10.14-x86_64-3.7/_cares.c:4316:14: error: no member named 'ttl' in 'struct ares_mx_reply'
(void)((p->ttl) | 0); /
check that 'struct ares_mx_reply.ttl' is an integer /
~ ^
build/temp.macosx-10.14-x86_64-3.7/_cares.c:4332:14: error: no member named 'ttl' in 'struct ares_naptr_reply'
(void)((p->ttl) | 0); /
check that 'struct ares_naptr_reply.ttl' is an integer /
~ ^
build/temp.macosx-10.14-x86_64-3.7/_cares.c:4372:14: error: no member named 'ttl' in 'struct ares_soa_reply'
(void)((p->ttl) | 0); /
check that 'struct ares_soa_reply.ttl' is an integer /
~ ^
build/temp.macosx-10.14-x86_64-3.7/_cares.c:4386:14: error: no member named 'ttl' in 'struct ares_srv_reply'
(void)((p->ttl) | 0); /
check that 'struct ares_srv_reply.ttl' is an integer /
~ ^
build/temp.macosx-10.14-x86_64-3.7/_cares.c:4399:14: error: no member named 'ttl' in 'struct ares_txt_ext'
(void)((p->ttl) | 0); /
check that 'struct ares_txt_ext.ttl' is an integer /
~ ^
build/temp.macosx-10.14-x86_64-3.7/_cares.c:4411:14: error: no member named 'ttl' in 'struct ares_txt_reply'
(void)((p->ttl) | 0); /
check that 'struct ares_txt_reply.ttl' is an integer */
~ ^
build/temp.macosx-10.14-x86_64-3.7/_cares.c:4666:12: error: no member named 'ttl' in 'ares_mx_reply'
{ "ttl", offsetof(struct ares_mx_reply, ttl),
^ ~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.1/include/stddef.h:120:24: note: expanded from macro 'offsetof'
#define offsetof(t, d) __builtin_offsetof(t, d)
^ ~
build/temp.macosx-10.14-x86_64-3.7/_cares.c:4667:48: error: no member named 'ttl' in 'struct ares_mx_reply'
sizeof(((struct ares_mx_reply *)0)->ttl),
~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
build/temp.macosx-10.14-x86_64-3.7/_cares.c:4690:12: error: no member named 'ttl' in 'ares_naptr_reply'
{ "ttl", offsetof(struct ares_naptr_reply, ttl),
^ ~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.1/include/stddef.h:120:24: note: expanded from macro 'offsetof'
#define offsetof(t, d) __builtin_offsetof(t, d)
^ ~
build/temp.macosx-10.14-x86_64-3.7/_cares.c:4691:51: error: no member named 'ttl' in 'struct ares_naptr_reply'
sizeof(((struct ares_naptr_reply *)0)->ttl),
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
build/temp.macosx-10.14-x86_64-3.7/_cares.c:4762:12: error: no member named 'ttl' in 'ares_soa_reply'
{ "ttl", offsetof(struct ares_soa_reply, ttl),
^ ~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.1/include/stddef.h:120:24: note: expanded from macro 'offsetof'
#define offsetof(t, d) __builtin_offsetof(t, d)
^ ~
build/temp.macosx-10.14-x86_64-3.7/_cares.c:4763:49: error: no member named 'ttl' in 'struct ares_soa_reply'
sizeof(((struct ares_soa_reply *)0)->ttl),
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
build/temp.macosx-10.14-x86_64-3.7/_cares.c:4780:12: error: no member named 'ttl' in 'ares_srv_reply'
{ "ttl", offsetof(struct ares_srv_reply, ttl),
^ ~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.1/include/stddef.h:120:24: note: expanded from macro 'offsetof'
#define offsetof(t, d) __builtin_offsetof(t, d)
^ ~
build/temp.macosx-10.14-x86_64-3.7/_cares.c:4781:49: error: no member named 'ttl' in 'struct ares_srv_reply'
sizeof(((struct ares_srv_reply *)0)->ttl),
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
build/temp.macosx-10.14-x86_64-3.7/_cares.c:4795:12: error: no member named 'ttl' in 'ares_txt_ext'
{ "ttl", offsetof(struct ares_txt_ext, ttl),
^ ~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.1/include/stddef.h:120:24: note: expanded from macro 'offsetof'
#define offsetof(t, d) __builtin_offsetof(t, d)
^ ~
build/temp.macosx-10.14-x86_64-3.7/_cares.c:4796:47: error: no member named 'ttl' in 'struct ares_txt_ext'
sizeof(((struct ares_txt_ext *)0)->ttl),
~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
build/temp.macosx-10.14-x86_64-3.7/_cares.c:4807:12: error: no member named 'ttl' in 'ares_txt_reply'
{ "ttl", offsetof(struct ares_txt_reply, ttl),
^ ~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.1/include/stddef.h:120:24: note: expanded from macro 'offsetof'
#define offsetof(t, d) __builtin_offsetof(t, d)
^ ~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
error: command 'clang' failed with exit status 1


Failed building wheel for pycares
Running setup.py clean for pycares
Failed to build pycares
Installing collected packages: pycares
Running setup.py install for pycares ... error
Complete output from command /usr/local/opt/python/bin/python3.7 -u -c "import setuptools, tokenize;file='/private/var/folders/n_/c7qs2z2d7cnb677d6dxfmbzm0000gn/T/pip-install-2uumrdil/pycares/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /private/var/folders/n_/c7qs2z2d7cnb677d6dxfmbzm0000gn/T/pip-record-9oz9ht4c/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build/lib.macosx-10.14-x86_64-3.7
creating build/lib.macosx-10.14-x86_64-3.7/pycares
copying src/pycares/errno.py -> build/lib.macosx-10.14-x86_64-3.7/pycares
copying src/pycares/_version.py -> build/lib.macosx-10.14-x86_64-3.7/pycares
copying src/pycares/init.py -> build/lib.macosx-10.14-x86_64-3.7/pycares
copying src/pycares/utils.py -> build/lib.macosx-10.14-x86_64-3.7/pycares
copying src/pycares/main.py -> build/lib.macosx-10.14-x86_64-3.7/pycares
running build_ext
generating cffi module 'build/temp.macosx-10.14-x86_64-3.7/_cares.c'
creating build/temp.macosx-10.14-x86_64-3.7
building '_cares' extension
creating build/temp.macosx-10.14-x86_64-3.7/build
creating build/temp.macosx-10.14-x86_64-3.7/build/temp.macosx-10.14-x86_64-3.7
creating build/temp.macosx-10.14-x86_64-3.7/deps
creating build/temp.macosx-10.14-x86_64-3.7/deps/c-ares
creating build/temp.macosx-10.14-x86_64-3.7/deps/c-ares/src
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -I/usr/local/opt/zlib/include -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_DARWIN_USE_64_BIT_INODE=1 -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/include/python3.7m -Ideps/c-ares/src -Ideps/c-ares/src/config_darwin -c build/temp.macosx-10.14-x86_64-3.7/_cares.c -o build/temp.macosx-10.14-x86_64-3.7/build/temp.macosx-10.14-x86_64-3.7/_cares.o
build/temp.macosx-10.14-x86_64-3.7/_cares.c:2573:55: error: too many arguments to function call, expected 6, have 7
return ares_parse_ptr_reply(x0, x1, x2, x3, x4, x5, x6);
~~~~~~~~~~~~~~~~~~~~ ^~
/usr/local/include/ares.h:581:14: note: 'ares_parse_ptr_reply' declared here
CARES_EXTERN int ares_parse_ptr_reply(const unsigned char *abuf,
^
build/temp.macosx-10.14-x86_64-3.7/_cares.c:2657:59: error: too many arguments to function call, expected 6, have 7
{ result = ares_parse_ptr_reply(x0, x1, x2, x3, x4, x5, x6); }
~~~~~~~~~~~~~~~~~~~~ ^~
/usr/local/include/ares.h:581:14: note: 'ares_parse_ptr_reply' declared here
CARES_EXTERN int ares_parse_ptr_reply(const unsigned char abuf,
^
build/temp.macosx-10.14-x86_64-3.7/_cares.c:4316:14: error: no member named 'ttl' in 'struct ares_mx_reply'
(void)((p->ttl) | 0); /
check that 'struct ares_mx_reply.ttl' is an integer /
~ ^
build/temp.macosx-10.14-x86_64-3.7/_cares.c:4332:14: error: no member named 'ttl' in 'struct ares_naptr_reply'
(void)((p->ttl) | 0); /
check that 'struct ares_naptr_reply.ttl' is an integer /
~ ^
build/temp.macosx-10.14-x86_64-3.7/_cares.c:4372:14: error: no member named 'ttl' in 'struct ares_soa_reply'
(void)((p->ttl) | 0); /
check that 'struct ares_soa_reply.ttl' is an integer /
~ ^
build/temp.macosx-10.14-x86_64-3.7/_cares.c:4386:14: error: no member named 'ttl' in 'struct ares_srv_reply'
(void)((p->ttl) | 0); /
check that 'struct ares_srv_reply.ttl' is an integer /
~ ^
build/temp.macosx-10.14-x86_64-3.7/_cares.c:4399:14: error: no member named 'ttl' in 'struct ares_txt_ext'
(void)((p->ttl) | 0); /
check that 'struct ares_txt_ext.ttl' is an integer /
~ ^
build/temp.macosx-10.14-x86_64-3.7/_cares.c:4411:14: error: no member named 'ttl' in 'struct ares_txt_reply'
(void)((p->ttl) | 0); /
check that 'struct ares_txt_reply.ttl' is an integer */
~ ^
build/temp.macosx-10.14-x86_64-3.7/_cares.c:4666:12: error: no member named 'ttl' in 'ares_mx_reply'
{ "ttl", offsetof(struct ares_mx_reply, ttl),
^ ~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.1/include/stddef.h:120:24: note: expanded from macro 'offsetof'
#define offsetof(t, d) __builtin_offsetof(t, d)
^ ~
build/temp.macosx-10.14-x86_64-3.7/_cares.c:4667:48: error: no member named 'ttl' in 'struct ares_mx_reply'
sizeof(((struct ares_mx_reply *)0)->ttl),
~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
build/temp.macosx-10.14-x86_64-3.7/_cares.c:4690:12: error: no member named 'ttl' in 'ares_naptr_reply'
{ "ttl", offsetof(struct ares_naptr_reply, ttl),
^ ~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.1/include/stddef.h:120:24: note: expanded from macro 'offsetof'
#define offsetof(t, d) __builtin_offsetof(t, d)
^ ~
build/temp.macosx-10.14-x86_64-3.7/_cares.c:4691:51: error: no member named 'ttl' in 'struct ares_naptr_reply'
sizeof(((struct ares_naptr_reply *)0)->ttl),
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
build/temp.macosx-10.14-x86_64-3.7/_cares.c:4762:12: error: no member named 'ttl' in 'ares_soa_reply'
{ "ttl", offsetof(struct ares_soa_reply, ttl),
^ ~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.1/include/stddef.h:120:24: note: expanded from macro 'offsetof'
#define offsetof(t, d) __builtin_offsetof(t, d)
^ ~
build/temp.macosx-10.14-x86_64-3.7/_cares.c:4763:49: error: no member named 'ttl' in 'struct ares_soa_reply'
sizeof(((struct ares_soa_reply *)0)->ttl),
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
build/temp.macosx-10.14-x86_64-3.7/_cares.c:4780:12: error: no member named 'ttl' in 'ares_srv_reply'
{ "ttl", offsetof(struct ares_srv_reply, ttl),
^ ~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.1/include/stddef.h:120:24: note: expanded from macro 'offsetof'
#define offsetof(t, d) __builtin_offsetof(t, d)
^ ~
build/temp.macosx-10.14-x86_64-3.7/_cares.c:4781:49: error: no member named 'ttl' in 'struct ares_srv_reply'
sizeof(((struct ares_srv_reply *)0)->ttl),
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
build/temp.macosx-10.14-x86_64-3.7/_cares.c:4795:12: error: no member named 'ttl' in 'ares_txt_ext'
{ "ttl", offsetof(struct ares_txt_ext, ttl),
^ ~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.1/include/stddef.h:120:24: note: expanded from macro 'offsetof'
#define offsetof(t, d) __builtin_offsetof(t, d)
^ ~
build/temp.macosx-10.14-x86_64-3.7/_cares.c:4796:47: error: no member named 'ttl' in 'struct ares_txt_ext'
sizeof(((struct ares_txt_ext *)0)->ttl),
~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
build/temp.macosx-10.14-x86_64-3.7/_cares.c:4807:12: error: no member named 'ttl' in 'ares_txt_reply'
{ "ttl", offsetof(struct ares_txt_reply, ttl),
^ ~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.1/include/stddef.h:120:24: note: expanded from macro 'offsetof'
#define offsetof(t, d) __builtin_offsetof(t, d)
^ ~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
error: command 'clang' failed with exit status 1

----------------------------------------

Command "/usr/local/opt/python/bin/python3.7 -u -c "import setuptools, tokenize;file='/private/var/folders/n_/c7qs2z2d7cnb677d6dxfmbzm0000gn/T/pip-install-2uumrdil/pycares/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /private/var/folders/n_/c7qs2z2d7cnb677d6dxfmbzm0000gn/T/pip-record-9oz9ht4c/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/n_/c7qs2z2d7cnb677d6dxfmbzm0000gn/T/pip-install-2uumrdil/pycares/

Does not build on Mac

I'm trying to compile pycares 2.1.0 on Mac, pip3 install fails and so does the build_inplace script,
Both resulting in an error like this,

src/cares.c:302:72: error: no member named 'ttl' in 'struct ares_mx_reply'
        PyStructSequence_SET_ITEM(tmp, 2, PyInt_FromLong((long)mx_ptr->ttl));

screen 2016-09-27 at 17 09 38 1

more kwargs?

I'm using aiohttp which uses aiodns which uses pycares, and I'd like to use multiple source IP addresses. If I was using pycares directly I'd call pycares.channel.set_local_ip(), but, from aiohttp the easiest way for me to configure pycares.Channel is via kwargs, which get passed through.

According to your docs, most pycares.Channel options can be set by kwargs, but it appears that local_ip() and local_dev() are the exceptions. Are you open to a patch?

error: no member named 'ttl' in 'struct ares_mx_reply'

I'm using mac OS X 10.11 and python3.5.2, and I encounter Failed building wheel for pycares.

$ pip3 install -r requirements-dev.txt
.....
Building wheels for collected packages: pycares
  Running setup.py bdist_wheel for pycares ... error
  Complete output from command /usr/local/opt/python3/bin/python3.5 -u -c "import setuptools, tokenize;__file__='/private/var/folders/73/7vxr7kzs09ndh3kwzw9zpdj80000gn/T/pip-build-o7kfog25/pycares/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /var/folders/73/7vxr7kzs09ndh3kwzw9zpdj80000gn/T/tmphkb_jkbepip-wheel- --python-tag cp35:
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.macosx-10.11-x86_64-3.5
  creating build/lib.macosx-10.11-x86_64-3.5/pycares
  copying pycares/__init__.py -> build/lib.macosx-10.11-x86_64-3.5/pycares
  copying pycares/_version.py -> build/lib.macosx-10.11-x86_64-3.5/pycares
  copying pycares/errno.py -> build/lib.macosx-10.11-x86_64-3.5/pycares
  running build_ext
  building 'pycares._core' extension
  creating build/temp.macosx-10.11-x86_64-3.5
  creating build/temp.macosx-10.11-x86_64-3.5/src
  creating build/temp.macosx-10.11-x86_64-3.5/deps
  creating build/temp.macosx-10.11-x86_64-3.5/deps/c-ares
  creating build/temp.macosx-10.11-x86_64-3.5/deps/c-ares/src
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -I/usr/local/opt/icu4c/include -arch x86_64 -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_DARWIN_USE_64_BIT_INODE=1 -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python3/3.5.2_1/Frameworks/Python.framework/Versions/3.5/include/python3.5m -Ideps/c-ares/src -Ideps/c-ares/src/config_darwin -c src/pycares.c -o build/temp.macosx-10.11-x86_64-3.5/src/pycares.o
  In file included from src/pycares.c:4:
  src/cares.c:302:72: error: no member named 'ttl' in 'struct ares_mx_reply'
          PyStructSequence_SET_ITEM(tmp, 2, PyInt_FromLong((long)mx_ptr->ttl));
                                                                 ~~~~~~  ^
  /usr/local/Cellar/python3/3.5.2_1/Frameworks/Python.framework/Versions/3.5/include/python3.5m/structseq.h:38:69: note: expanded from macro 'PyStructSequence_SET_ITEM'
  #define PyStructSequence_SET_ITEM(op, i, v) PyTuple_SET_ITEM(op, i, v)
                                                                      ^
  /usr/local/Cellar/python3/3.5.2_1/Frameworks/Python.framework/Versions/3.5/include/python3.5m/tupleobject.h:62:75: note: expanded from macro 'PyTuple_SET_ITEM'
  #define PyTuple_SET_ITEM(op, i, v) (((PyTupleObject *)(op))->ob_item[i] = v)
                                                                            ^
  In file included from src/pycares.c:4:
  src/cares.c:473:20: warning: implicit declaration of function 'ares_parse_txt_reply_ext' is invalid in C99 [-Wimplicit-function-declaration]
      parse_status = ares_parse_txt_reply_ext(answer_buf, answer_len, &txt_reply);
                     ^
  src/cares.c:495:39: error: incomplete definition of type 'struct ares_txt_ext'
          if (txt_ptr == NULL || txt_ptr->record_start == 1) {
                                 ~~~~~~~^
  src/cares.c:458:12: note: forward declaration of 'struct ares_txt_ext'
      struct ares_txt_ext *txt_reply, *txt_ptr;
             ^
  src/cares.c:508:20: error: incomplete definition of type 'struct ares_txt_ext'
          if (txt_ptr->record_start == 1) {
              ~~~~~~~^
  src/cares.c:458:12: note: forward declaration of 'struct ares_txt_ext'
      struct ares_txt_ext *txt_reply, *txt_ptr;
             ^
  src/cares.c:515:79: error: incomplete definition of type 'struct ares_txt_ext'
              PyStructSequence_SET_ITEM(tmp_obj, 1, PyInt_FromLong((long)txt_ptr->ttl));
                                                                         ~~~~~~~^
  /usr/local/Cellar/python3/3.5.2_1/Frameworks/Python.framework/Versions/3.5/include/python3.5m/structseq.h:38:69: note: expanded from macro 'PyStructSequence_SET_ITEM'
  #define PyStructSequence_SET_ITEM(op, i, v) PyTuple_SET_ITEM(op, i, v)
                                                                      ^
  /usr/local/Cellar/python3/3.5.2_1/Frameworks/Python.framework/Versions/3.5/include/python3.5m/tupleobject.h:62:75: note: expanded from macro 'PyTuple_SET_ITEM'
  #define PyTuple_SET_ITEM(op, i, v) (((PyTupleObject *)(op))->ob_item[i] = v)
                                                                            ^
  src/cares.c:458:12: note: forward declaration of 'struct ares_txt_ext'
      struct ares_txt_ext *txt_reply, *txt_ptr;
             ^
  src/cares.c:519:79: error: incomplete definition of type 'struct ares_txt_ext'
          PyBytes_ConcatAndDel(&assembled_txt, PyBytes_FromString((char*)txt_ptr->txt));
                                                                         ~~~~~~~^
  src/cares.c:458:12: note: forward declaration of 'struct ares_txt_ext'
      struct ares_txt_ext *txt_reply, *txt_ptr;
             ^
  src/cares.c:525:26: error: incomplete definition of type 'struct ares_txt_ext'
          txt_ptr = txt_ptr->next;
                    ~~~~~~~^
  src/cares.c:458:12: note: forward declaration of 'struct ares_txt_ext'
      struct ares_txt_ext *txt_reply, *txt_ptr;
             ^
  src/cares.c:590:78: error: no member named 'ttl' in 'struct ares_soa_reply'
      PyStructSequence_SET_ITEM(dns_result, 7, PyInt_FromLong((long)soa_reply->ttl));
                                                                    ~~~~~~~~~  ^
  /usr/local/Cellar/python3/3.5.2_1/Frameworks/Python.framework/Versions/3.5/include/python3.5m/structseq.h:38:69: note: expanded from macro 'PyStructSequence_SET_ITEM'
  #define PyStructSequence_SET_ITEM(op, i, v) PyTuple_SET_ITEM(op, i, v)
                                                                      ^
  /usr/local/Cellar/python3/3.5.2_1/Frameworks/Python.framework/Versions/3.5/include/python3.5m/tupleobject.h:62:75: note: expanded from macro 'PyTuple_SET_ITEM'
  #define PyTuple_SET_ITEM(op, i, v) (((PyTupleObject *)(op))->ob_item[i] = v)
                                                                            ^
  In file included from src/pycares.c:4:
  src/cares.c:657:73: error: no member named 'ttl' in 'struct ares_srv_reply'
          PyStructSequence_SET_ITEM(tmp, 4, PyInt_FromLong((long)srv_ptr->ttl));
                                                                 ~~~~~~~  ^
  /usr/local/Cellar/python3/3.5.2_1/Frameworks/Python.framework/Versions/3.5/include/python3.5m/structseq.h:38:69: note: expanded from macro 'PyStructSequence_SET_ITEM'
  #define PyStructSequence_SET_ITEM(op, i, v) PyTuple_SET_ITEM(op, i, v)
                                                                      ^
  /usr/local/Cellar/python3/3.5.2_1/Frameworks/Python.framework/Versions/3.5/include/python3.5m/tupleobject.h:62:75: note: expanded from macro 'PyTuple_SET_ITEM'
  #define PyTuple_SET_ITEM(op, i, v) (((PyTupleObject *)(op))->ob_item[i] = v)
                                                                            ^
  In file included from src/pycares.c:4:
  src/cares.c:728:75: error: no member named 'ttl' in 'struct ares_naptr_reply'
          PyStructSequence_SET_ITEM(tmp, 6, PyInt_FromLong((long)naptr_ptr->ttl));
                                                                 ~~~~~~~~~  ^
  /usr/local/Cellar/python3/3.5.2_1/Frameworks/Python.framework/Versions/3.5/include/python3.5m/structseq.h:38:69: note: expanded from macro 'PyStructSequence_SET_ITEM'
  #define PyStructSequence_SET_ITEM(op, i, v) PyTuple_SET_ITEM(op, i, v)
                                                                      ^
  /usr/local/Cellar/python3/3.5.2_1/Frameworks/Python.framework/Versions/3.5/include/python3.5m/tupleobject.h:62:75: note: expanded from macro 'PyTuple_SET_ITEM'
  #define PyTuple_SET_ITEM(op, i, v) (((PyTupleObject *)(op))->ob_item[i] = v)
                                                                            ^
  1 warning and 9 errors generated.
  error: command 'clang' failed with exit status 1

  ----------------------------------------
  Failed building wheel for pycares

Wrong interpretation of DNS response

Here is the place where TXT reponse starts with empty string:
https://github.com/saghul/pycares/blob/master/src/cares.c#L523

Consider the following:

$ dig -t TXT  no-such-domain-trash.awtomatika.com

; <<>> DiG 9.10.3-P4-Ubuntu <<>> -t TXT no-such-domain-trash.awtomatika.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 39390
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 65494
;; QUESTION SECTION:
;no-such-domain-trash.awtomatika.com. IN	TXT

;; ANSWER SECTION:
no-such-domain-trash.awtomatika.com. 86400 IN CNAME mail.awtomatika.com.

;; Query time: 35 msec
;; SERVER: 127.0.0.53#53(127.0.0.53)
;; WHEN: Wed Dec 06 13:09:58 +05 2017
;; MSG SIZE  rcvd: 83

As you can see, DNS server reponds with CNAME type instead of TXT. So, in general, pycares MUST check response type before building of response object.

The problem is that in provided case response[0].text will be empty string, it is inditinguishable from really empty TXT record (don't know if it is possible), and so error is not detected, but should be. This is clearly error in API design. As I think, libraries should return some error in such cases instead of empty string.

Installation fails on python3.3

When I try to install pycares on python 3.3 (via tox), it fails with the following message. 3.2 works fine.

Downloading/unpacking pycares
  Using download cache from /Users/bdarnell/work/tornado/.tox/_download/http%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2Fp%2Fpycares%2Fpycares-0.4.0.tar.gz
  Running setup.py egg_info for package pycares
    Traceback (most recent call last):
      File "<string>", line 16, in <module>
      File "/Users/bdarnell/work/tornado/.tox/py33-caresresolver/bin/../lib/python3.3/encodings/ascii.py", line 26, in decode
        return codecs.ascii_decode(input, self.errors)[0]
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 226: ordinal not in range(128)
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 16, in <module>

  File "/Users/bdarnell/work/tornado/.tox/py33-caresresolver/bin/../lib/python3.3/encodings/ascii.py", line 26, in decode

    return codecs.ascii_decode(input, self.errors)[0]

UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 226: ordinal not in range(128)

----------------------------------------
Command python setup.py egg_info failed with error code 1 in /Users/bdarnell/work/tornado/.tox/py33-caresresolver/build/pycares
Storing complete log in /Users/bdarnell/.pip/pip.log

ERROR: could not install deps [pycares]

trouble using with pypy

    answer = DNSResolver.query(self.domain, 'MX').get()
  File "/root/venv_smtpout/site-packages/slimta/util/dns.py", line 90, in query
    cls._channel.query(name, query_type, partial(cls._result_cb, result))
  File "/root/venv_smtpout/site-packages/pycares/_cfficore/__init__.py", line 524, in query
    _lib.ares_query(self.channel, s2b(name), _lib.C_IN, query_type, _query_cb, userdata)
TypeError: initializer for ctype 'char *' must be a str or list or tuple, not unicode

pypy -V
Python 2.7.12 (5.6.0+dfsg-0~ppa2~ubuntu16.04, Nov 11 2016, 16:31:26)
[PyPy 5.6.0 with GCC 5.4.0 20160609]

pip freeze | grep cffi
cffi==1.9.0

pip install pycares doesn't work as expected from pypy

I'm on

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.1 LTS"

apt-add-repository ppa:pypy/ppa
apt-get update
apt-get install libffi-dev python-dev pypy pypy-dev

pypy -V
Python 2.7.10 (5.4.1+dfsg-1~ppa1~ubuntu16.04, Sep 06 2016, 23:12:02)
[PyPy 5.4.1 with GCC 5.4.0 20160609]

virtualenv -p pypy venv_pypy
source ~/venv_pypy/bin/activate

And

pip install pycares

pip install pycares
Downloading/unpacking pycares
  Downloading pycares-2.1.0.tar.gz (226kB): 226kB downloaded
  Running setup.py (path:/root/venv_pypy/build/pycares/setup.py) egg_info for package pycares

    warning: no previously-included files matching '__pycache__' found under directory '*'
    warning: no previously-included files matching '*.py[co]' found under directory '*'
    warning: no previously-included files matching '*.[ao]' found under directory '*'
    warning: no previously-included files matching '*.so' found under directory '*'
    no previously-included directories found matching 'docs/_build'
Requirement already satisfied (use --upgrade to upgrade): cffi>=1.5.0 in /usr/lib/pypy/lib_pypy (from pycares)
Installing collected packages: pycares
  Running setup.py install for pycares
    generating cffi module 'build/temp.linux-x86_64-2.7/_pycares_cffi.c'
    Traceback (most recent call last):
      File "<module>", line 1, in <module>
      File "/root/venv_pypy/build/pycares/setup.py", line 55, in <module>
        **kwargs
      File "/usr/lib/pypy/lib-python/2.7/distutils/core.py", line 151, in setup
        dist.run_commands()
      File "/usr/lib/pypy/lib-python/2.7/distutils/dist.py", line 953, in run_commands
        self.run_command(cmd)
      File "/usr/lib/pypy/lib-python/2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
      File "/root/venv_pypy/site-packages/setuptools/command/install.py", line 54, in run
        return _install.run(self)
      File "/usr/lib/pypy/lib-python/2.7/distutils/command/install.py", line 613, in run
        self.run_command('build')
      File "/usr/lib/pypy/lib-python/2.7/distutils/cmd.py", line 334, in run_command
        self.distribution.run_command(command)
      File "/usr/lib/pypy/lib-python/2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
      File "/usr/lib/pypy/lib-python/2.7/distutils/command/build.py", line 127, in run
        self.run_command(cmd_name)
      File "/usr/lib/pypy/lib-python/2.7/distutils/cmd.py", line 334, in run_command
        self.distribution.run_command(command)
      File "/usr/lib/pypy/lib-python/2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
      File "/usr/lib/pypy/lib_pypy/cffi/setuptools_ext.py", line 128, in run
        ext.sources[0] = make_mod(self.build_temp, pre_run)
      File "/usr/lib/pypy/lib_pypy/cffi/setuptools_ext.py", line 114, in make_mod
        updated = recompiler.make_c_source(ffi, module_name, source, c_file)
      File "/usr/lib/pypy/lib_pypy/cffi/recompiler.py", line 1365, in make_c_source
        verbose)
      File "/usr/lib/pypy/lib_pypy/cffi/recompiler.py", line 1340, in _make_c_or_py_source
        recompiler.collect_step_tables()
      File "/usr/lib/pypy/lib_pypy/cffi/recompiler.py", line 233, in collect_step_tables
        self._generate("ctx")
      File "/usr/lib/pypy/lib_pypy/cffi/recompiler.py", line 218, in _generate
        method(tp, realname)
      File "/usr/lib/pypy/lib_pypy/cffi/recompiler.py", line 962, in _generate_cpy_struct_ctx
        self._struct_ctx(tp, *self._struct_names(tp))
      File "/usr/lib/pypy/lib_pypy/cffi/recompiler.py", line 866, in _struct_ctx
        "field '%s.%s'" % (tp.name, fldname))
      File "/usr/lib/pypy/lib_pypy/cffi/recompiler.py", line 921, in _check_not_opaque
        "%s is of an opaque type (not declared in cdef())" % location)
    TypeError: struct sockaddr_in6: field 'sockaddr_in6.sin6_addr' is of an opaque type (not declared in cdef())
    Complete output from command /root/venv_pypy/bin/pypy -c "import setuptools, tokenize;__file__='/root/venv_pypy/build/pycares/setup.py';exec(compile(getattr(tokenize, 'open',:

This works tho:

git clone https://github.com/boytm/pycares.git
cd pycares
git checkout master
./build_inplace
python setup.py install

Non-ascii TXT records, again

Hey there @saghul and thank you for your effort in maintaining such a great projects as pycares and aiodns.

Sorry to say, but bytes vs str issue comes back.

Similar issues: saghul/aiodns#32 and saghul/aiodns#37

Issue

This domain contains a pretty long TXT record with non-ascii symbols in the middle:

import asyncio
from aiodns import DNSResolver

r = DNSResolver()
query = r.query('txt-non-ascii.dns-test.hmnid.ru', 'TXT')
asyncio.get_event_loop().run_until_complete(query)

Corresponding traceback:

From cffi callback <function _query_cb at 0x7f8e95935400>:
Traceback (most recent call last):
  File "/lib/python3.6/site-packages/pycares/__init__.py", line 140, in _query_cb
    result, status = parse_result(query_type, abuf, alen)
  File "/lib/python3.6/site-packages/pycares/__init__.py", line 283, in parse_result
    tmp_obj.text += new_chunk.text
TypeError: must be str, not bytes

Reason

  1. The reply from ares_parse_txt_reply_ext comes in multiple parts
  2. One long separate TXT record is split by four parts
  3. The first part contains only ascii characters, but the seconds one has some non-ascii octets.
  4. maybe_str converts the first part to str
  5. maybe_str is unable to decode the second part, so returns bytes
  6. Unable to concatenate str and bytes
  7. Boom
  8. The corresponding future is never resolved.

Solution

One of the ways to fix it: do not apply maybe_str inside of ares_query_txt_result, but instead apply maybe_str after all results are collected. What do you think? Thanks!

Build on Solaris failed

Hi saghul,

i tried to build for solaris11. But the build failed because of two issues in setup_cares.py

$ python3 setup.py build
creating build/temp.solaris-2.11-sun4v.32bit-3.6/deps/c-ares/src
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -m32 -I/usr/include/ncurses -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/opt/OLBpython/include/python3.6m -Ideps/c-ares/src -c src/pycares.c -o build/temp.solaris-2.11-sun4v.32bit-3.6/src/pycares.o
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -m32 -I/usr/include/ncurses -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/opt/OLBpython/include/python3.6m -Ideps/c-ares/src -c deps/c-ares/src/ares__close_sockets.c -o build/temp.solaris-2.11-sun4v.32bit-3.6/deps/c-ares/src/ares__close_sockets.o
In file included from deps/c-ares/src/ares__close_sockets.c:17:0:
deps/c-ares/src/ares_setup.h:32:25: fatal error: ares_config.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1

diff -u setup_cares_orig.py setup_cares.py
--- setup_cares_orig.py Mon Aug 13 08:08:32 2018
+++ setup_cares.py Mon Aug 13 08:09:59 2018
@@ -85,9 +85,10 @@
elif sys.platform.startswith('openbsd'):
self.compiler.add_include_dir(os.path.join(self.cares_dir, 'src/config_openbsd'))
elif sys.platform.startswith('sunos'):

  •        self.compiler.add_include_dir(os.path.join(self.cares_dir, 'src/config_sunos'))
           self.compiler.add_library('socket')
           self.compiler.add_library('nsl')
    
  •        self.compiler.add_library('lkstat')
    
  •        self.compiler.add_library('kstat')
       elif sys.platform == 'win32':
           self.compiler.add_include_dir(os.path.join(self.cares_dir, 'src/config_win32'))
           self.extensions[0].extra_link_args = ['/NODEFAULTLIB:libcmt']
    

Invalid unicode in author email field of README.rst

Python 3.4.x is unable to build / install the latest version of this library due to incompatiable unicode used in the authors name/email field. Removal of this line or usage of conversion tools such as iconv fix the issue.

Here is a repro from my environment:

docker container: running ubuntu 14.04
docker host: ubuntu 14.04
env vars: no custom env vars, all locale settings default
python: 3.4.3 built from source with no additional flags
pip install of pycares 0.6.3

Traceback (most recent call last):
File "setup.py", line 15, in
long_description = open("README.rst").read(),
File "/usr/local/lib/python3.4/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1428: ordinal not in range(128)

The same can be seen if attempted to build from source.

Running the following on the source copy will fix the issue:

iconv -c -f utf-8 -t ascii README.rst > README.rst.new
mv README.rst.new README.rst
python3 setup.py install

New Release

Could you please release a new version with all changes from master until now?
I would prefer to install from a published version than from directly a branch (with pip)

formatted error messages class differs in version 3

Hello
with pycares 2.4

>>> pycares.errno.strerror(pycares.errno.ARES_ENOTFOUND)
'Domain name not found'

with pycares 3.0

>>> pycares.errno.strerror(pycares.errno.ARES_ENOTFOUND)
b'Domain name not found'

is that intended ? Feels strange to get bytes as an error message using python 3.6 or 3.7 while old version was returning a string.
Not a huge problem in real life of course but breakage are sometimes made of stuff like that (a test coverage in my case)

cffi port

I have create a cffi port of pycares due to pypy 5.0.1 cpyext cannot work with pycares . Code should be merged into pycares or leave it as a seperate project pycares.cffi ? https://github.com/boytm/pycares

Can't install Pycares get too many args

I get this when I try to install Pycares:

pip install pycares
Looking in indexes: https://pypi.org/simple, http://pip.pixsystem.net/pypi
Collecting pycares
Using cached https://files.pythonhosted.org/packages/85/de/cd46a73e43e206a6ad1e9cf9cc893c3ed1b21caf57f1e0a8d9a119d290eb/pycares-3.0.0.tar.gz
Requirement already satisfied: cffi>=1.5.0 in /Users/ddow/venv_charlotte/lib/python3.7/site-packages (from pycares) (1.12.3)
Requirement already satisfied: pycparser in /Users/ddow/venv_charlotte/lib/python3.7/site-packages (from cffi>=1.5.0->pycares) (2.19)
Installing collected packages: pycares
Running setup.py install for pycares ... error
ERROR: Complete output from command /Users/ddow/venv_charlotte/bin/python3 -u -c 'import setuptools, tokenize;file='"'"'/private/var/folders/91/bp9g84s13w52zcknh20r_whx45fs5x/T/pip-install-ixs6_34z/pycares/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/var/folders/91/bp9g84s13w52zcknh20r_whx45fs5x/T/pip-record-bhzi7e0b/install-record.txt --single-version-externally-managed --compile --install-headers /Users/ddow/venv_charlotte/include/site/python3.7/pycares:
ERROR: running install
running build
running build_py
creating build
creating build/lib.macosx-10.14-x86_64-3.7
creating build/lib.macosx-10.14-x86_64-3.7/pycares
copying src/pycares/errno.py -> build/lib.macosx-10.14-x86_64-3.7/pycares
copying src/pycares/_version.py -> build/lib.macosx-10.14-x86_64-3.7/pycares
copying src/pycares/init.py -> build/lib.macosx-10.14-x86_64-3.7/pycares
copying src/pycares/utils.py -> build/lib.macosx-10.14-x86_64-3.7/pycares
copying src/pycares/main.py -> build/lib.macosx-10.14-x86_64-3.7/pycares
running build_ext
generating cffi module 'build/temp.macosx-10.14-x86_64-3.7/_cares.c'
creating build/temp.macosx-10.14-x86_64-3.7
building '_cares' extension
creating build/temp.macosx-10.14-x86_64-3.7/build
creating build/temp.macosx-10.14-x86_64-3.7/build/temp.macosx-10.14-x86_64-3.7
creating build/temp.macosx-10.14-x86_64-3.7/deps
creating build/temp.macosx-10.14-x86_64-3.7/deps/c-ares
creating build/temp.macosx-10.14-x86_64-3.7/deps/c-ares/src
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_DARWIN_USE_64_BIT_INODE=1 -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I/Users/ddow/venv_charlotte/include -I/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/include/python3.7m -Ideps/c-ares/src -Ideps/c-ares/src/config_darwin -c build/temp.macosx-10.14-x86_64-3.7/_cares.c -o build/temp.macosx-10.14-x86_64-3.7/build/temp.macosx-10.14-x86_64-3.7/_cares.o
build/temp.macosx-10.14-x86_64-3.7/_cares.c:2573:55: error: too many arguments to function call, expected 6, have 7
return ares_parse_ptr_reply(x0, x1, x2, x3, x4, x5, x6);
~~~~~~~~~~~~~~~~~~~~ ^~
/usr/local/include/ares.h:581:14: note: 'ares_parse_ptr_reply' declared here
CARES_EXTERN int ares_parse_ptr_reply(const unsigned char *abuf,
^
build/temp.macosx-10.14-x86_64-3.7/_cares.c:2657:59: error: too many arguments to function call, expected 6, have 7
{ result = ares_parse_ptr_reply(x0, x1, x2, x3, x4, x5, x6); }
~~~~~~~~~~~~~~~~~~~~ ^~
/usr/local/include/ares.h:581:14: note: 'ares_parse_ptr_reply' declared here
CARES_EXTERN int ares_parse_ptr_reply(const unsigned char abuf,
^
build/temp.macosx-10.14-x86_64-3.7/_cares.c:4316:14: error: no member named 'ttl' in 'struct ares_mx_reply'
(void)((p->ttl) | 0); /
check that 'struct ares_mx_reply.ttl' is an integer /
~ ^
build/temp.macosx-10.14-x86_64-3.7/_cares.c:4332:14: error: no member named 'ttl' in 'struct ares_naptr_reply'
(void)((p->ttl) | 0); /
check that 'struct ares_naptr_reply.ttl' is an integer /
~ ^
build/temp.macosx-10.14-x86_64-3.7/_cares.c:4372:14: error: no member named 'ttl' in 'struct ares_soa_reply'
(void)((p->ttl) | 0); /
check that 'struct ares_soa_reply.ttl' is an integer /
~ ^
build/temp.macosx-10.14-x86_64-3.7/_cares.c:4386:14: error: no member named 'ttl' in 'struct ares_srv_reply'
(void)((p->ttl) | 0); /
check that 'struct ares_srv_reply.ttl' is an integer /
~ ^
build/temp.macosx-10.14-x86_64-3.7/_cares.c:4399:14: error: no member named 'ttl' in 'struct ares_txt_ext'
(void)((p->ttl) | 0); /
check that 'struct ares_txt_ext.ttl' is an integer /
~ ^
build/temp.macosx-10.14-x86_64-3.7/_cares.c:4411:14: error: no member named 'ttl' in 'struct ares_txt_reply'
(void)((p->ttl) | 0); /
check that 'struct ares_txt_reply.ttl' is an integer */
~ ^
build/temp.macosx-10.14-x86_64-3.7/_cares.c:4666:12: error: no member named 'ttl' in 'ares_mx_reply'
{ "ttl", offsetof(struct ares_mx_reply, ttl),
^ ~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.1/include/stddef.h:120:24: note: expanded from macro 'offsetof'
#define offsetof(t, d) __builtin_offsetof(t, d)
^ ~
build/temp.macosx-10.14-x86_64-3.7/_cares.c:4667:48: error: no member named 'ttl' in 'struct ares_mx_reply'
sizeof(((struct ares_mx_reply *)0)->ttl),
~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
build/temp.macosx-10.14-x86_64-3.7/_cares.c:4690:12: error: no member named 'ttl' in 'ares_naptr_reply'
{ "ttl", offsetof(struct ares_naptr_reply, ttl),
^ ~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.1/include/stddef.h:120:24: note: expanded from macro 'offsetof'
#define offsetof(t, d) __builtin_offsetof(t, d)
^ ~
build/temp.macosx-10.14-x86_64-3.7/_cares.c:4691:51: error: no member named 'ttl' in 'struct ares_naptr_reply'
sizeof(((struct ares_naptr_reply *)0)->ttl),
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
build/temp.macosx-10.14-x86_64-3.7/_cares.c:4762:12: error: no member named 'ttl' in 'ares_soa_reply'
{ "ttl", offsetof(struct ares_soa_reply, ttl),
^ ~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.1/include/stddef.h:120:24: note: expanded from macro 'offsetof'
#define offsetof(t, d) __builtin_offsetof(t, d)
^ ~
build/temp.macosx-10.14-x86_64-3.7/_cares.c:4763:49: error: no member named 'ttl' in 'struct ares_soa_reply'
sizeof(((struct ares_soa_reply *)0)->ttl),
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
build/temp.macosx-10.14-x86_64-3.7/_cares.c:4780:12: error: no member named 'ttl' in 'ares_srv_reply'
{ "ttl", offsetof(struct ares_srv_reply, ttl),
^ ~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.1/include/stddef.h:120:24: note: expanded from macro 'offsetof'
#define offsetof(t, d) __builtin_offsetof(t, d)
^ ~
build/temp.macosx-10.14-x86_64-3.7/_cares.c:4781:49: error: no member named 'ttl' in 'struct ares_srv_reply'
sizeof(((struct ares_srv_reply *)0)->ttl),
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
build/temp.macosx-10.14-x86_64-3.7/_cares.c:4795:12: error: no member named 'ttl' in 'ares_txt_ext'
{ "ttl", offsetof(struct ares_txt_ext, ttl),
^ ~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.1/include/stddef.h:120:24: note: expanded from macro 'offsetof'
#define offsetof(t, d) __builtin_offsetof(t, d)
^ ~
build/temp.macosx-10.14-x86_64-3.7/_cares.c:4796:47: error: no member named 'ttl' in 'struct ares_txt_ext'
sizeof(((struct ares_txt_ext *)0)->ttl),
~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
build/temp.macosx-10.14-x86_64-3.7/_cares.c:4807:12: error: no member named 'ttl' in 'ares_txt_reply'
{ "ttl", offsetof(struct ares_txt_reply, ttl),
^ ~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.1/include/stddef.h:120:24: note: expanded from macro 'offsetof'
#define offsetof(t, d) __builtin_offsetof(t, d)
^ ~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
error: command 'clang' failed with exit status 1
----------------------------------------
ERROR: Command "/Users/ddow/venv_charlotte/bin/python3 -u -c 'import setuptools, tokenize;file='"'"'/private/var/folders/91/bp9g84s13w52zcknh20r_whx45fs5x/T/pip-install-ixs6_34z/pycares/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/var/folders/91/bp9g84s13w52zcknh20r_whx45fs5x/T/pip-record-bhzi7e0b/install-record.txt --single-version-externally-managed --compile --install-headers /Users/ddow/venv_charlotte/include/site/python3.7/pycares" failed with error code 1 in /private/var/folders/91/bp9g84s13w52zcknh20r_whx45fs5x/T/pip-install-ixs6_34z/pycares/

Missing wheels for 3.7

Hello,

Missing wheels for Windows and 3.7 makes installation very complicated:

Installing collected packages: pycares, aiodns
  Running setup.py install for pycares ... error
    Complete output from command d:\vsprojects\msrest-for-python\.venv\scripts\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\lmazuel\\AppData\\Local\\Temp\\pip-install-b8yrho71\\pycares\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\lmazuel\AppData\Local\Temp\pip-record-zp8xc_a1\install-record.txt --single-version-externally-managed --compile --install-headers d:\vsprojects\msrest-for-python\.venv\include\site\python3.7\pycares:
    running install
    running build
    running build_py
    creating build
    creating build\lib.win-amd64-3.7
    creating build\lib.win-amd64-3.7\pycares
    copying pycares\errno.py -> build\lib.win-amd64-3.7\pycares
    copying pycares\_version.py -> build\lib.win-amd64-3.7\pycares
    copying pycares\__init__.py -> build\lib.win-amd64-3.7\pycares
    copying pycares\__main__.py -> build\lib.win-amd64-3.7\pycares
    running build_ext
    building 'pycares._core' extension
    error: [WinError 3] The system cannot find the path specified: 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\PlatformSDK\\lib'

Since this package is a dependency of aiodns, which is highly recommended to use by aiohttp, this ends up messing up my aiohttp installation on Windows :(

Just FYI, since I can use 3.6 in the meantime. Thank you for your time!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.