anchore / anchore-cli

Simple command-line client to the Anchore Engine service
Apache License 2.0
114 stars 54 forks source link

WARNING: Executing a script that is loading libcrypto in an unsafe way. This will fail in a future version of macOS. Set the LIBRESSL_REDIRECT_STUB_ABORT=1 in the environment to force this into an error. #74

Closed thamaraiselvam closed 4 years ago

thamaraiselvam commented 4 years ago

WARNING: Executing a script that is loading libcrypto in an unsafe way. This will fail in a future version of macOS. Set the LIBRESSL_REDIRECT_STUB_ABORT=1 in the environment to force this into an error.

getting this warning on every command

Mac Catalina 10.15.3 anchore-cli, version 0.7.0

alfredodeza commented 4 years ago

I am currently on 10.15.3 as well and I can't seem to replicate this behavior at all:

LIBRESSL_REDIRECT_STUB_ABORT=1 anchore-cli --debug --u admin --p foobar system status
DEBUG:anchorecli.clients.apiexternal:As Account = None
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): localhost:8228
DEBUG:urllib3.connectionpool:http://localhost:8228 "GET /v1 HTTP/1.1" 200 5
DEBUG:anchorecli.clients.apiexternal:As Account = None
DEBUG:anchorecli.clients.apiexternal:GET url=http://localhost:8228/v1/system
DEBUG:anchorecli.clients.apiexternal:GET insecure=True
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): localhost:8228
DEBUG:urllib3.connectionpool:http://localhost:8228 "GET /v1/system HTTP/1.1" 200 3951
DEBUG:anchorecli.cli.utils:fetched httpcode from response: 200
Service policy_engine (anchore-quickstart, http://engine-policy-engine:8228): up
Service simplequeue (anchore-quickstart, http://engine-simpleq:8228): up
Service reports (anchore-quickstart, http://enterprise-reports:8228): up
Service rbac_authorizer (anchore-quickstart, http://enterprise-rbac-authorizer:8228): up
Service notifications (anchore-quickstart, http://enterprise-reports:8228): up
Service apiext (anchore-quickstart, http://engine-api:8228): up
Service rbac_manager (anchore-quickstart, http://enterprise-rbac-manager:8228): up
Service catalog (anchore-quickstart, http://engine-catalog:8228): up
Service analyzer (anchore-quickstart, http://engine-analyzer:8228): up

Engine DB Version: 0.0.13
Engine Code Version: 0.7.0

I even tried with Python 2.7 without luck. Is it possible that you aren't using a virtualenv or that you are using system packages?

Do you have pyOpenSSL or cryptography installed? I don't, but other issues similar to this might suggest those are a problem.

Can you replicate this issue if you create a new virtual environment, install the tool and run it?

thamaraiselvam commented 4 years ago

seems like you have set env LIBRESSL_REDIRECT_STUB_ABORT=1 is that recommended to hide this warning by enabling this env?

alfredodeza commented 4 years ago

seems like you have set env LIBRESSL_REDIRECT_STUB_ABORT=1 is that recommended to hide this warning by enabling this env?

No. I am trying with it to force a failure, I wasn't able to get an error at all. With or without the environment variable.

Could you please let me know if:

alfredodeza commented 4 years ago

@thamaraiselvam any updates?

thamaraiselvam commented 4 years ago

And sure i will give a try with virtualenv and let you know.

alfredodeza commented 4 years ago

To find out if you are using cryptography and/or pyOpenSSL, with the virtualenv activated do:

$ pip freeze | grep -i openssl
$ pip freeze | grep -i cryptography

And also, try to replicate the behavior, all the way from the beginning:

  1. Deactivate and remove current virtualenv
  2. Create new virtualenv and activate it
  3. Install anchore-cli and report what the output looks like and if the warnings are still there
alfredodeza commented 4 years ago

@thamaraiselvam any updates?

thamaraiselvam commented 4 years ago

@alfredodeza yes I am using openssl and cryptography. Reinstalled as your requested and still facing the issue.

[ 08:59:13.448 PM] ➜ pip freeze | grep -i openssl
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
pyOpenSSL==19.0.0
~
[ 08:59:16.758 PM] ➜ pip freeze | grep -i cryptography
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
cryptography==2.7
~
[ 08:59:19.502 PM] ➜ virtualenv --version
16.7.5
~
[ 08:59:54.745 PM] ➜ anchore-cli --version
WARNING: Executing a script that is loading libcrypto in an unsafe way. This will fail in a future version of macOS. Set the LIBRESSL_REDIRECT_STUB_ABORT=1 in the environment to force this into an error.
anchore-cli, version 0.7.0
alfredodeza commented 4 years ago

@thamaraiselvam I am not sure how you are getting cryptography or openssl installed in a new virtualenv. I can't replicate this problem at all from scratch. After installing anchore-cli, there is no cryptography or openssl installed which I'm thinking is causing your problem.

New virtualenv, and cloning anchore-cli:

$ source anchore-cli/bin/activate
(anchore-cli) $ python --version
Python 2.7.16
(anchore-cli) $ cd anchore-cli
(anchore-cli) $ git clone https://github.com/anchore/anchore-cli
Cloning into 'anchore-cli'...
warning: templates not found in /Users/alfredo/.git_template
remote: Enumerating objects: 64, done.
remote: Counting objects: 100% (64/64), done.
remote: Compressing objects: 100% (42/42), done.
remote: Total 1785 (delta 29), reused 46 (delta 22), pack-reused 1721
Receiving objects: 100% (1785/1785), 390.68 KiB | 5.43 MiB/s, done.
Resolving deltas: 100% (995/995), done.

Installing anchore-cli:

(anchore-cli) $ cd anchore-cli
(anchore-cli) $ python setup.py install
running install
running bdist_egg
running egg_info
creating anchorecli.egg-info
writing requirements to anchorecli.egg-info/requires.txt
writing anchorecli.egg-info/PKG-INFO
writing top-level names to anchorecli.egg-info/top_level.txt
writing dependency_links to anchorecli.egg-info/dependency_links.txt
writing entry points to anchorecli.egg-info/entry_points.txt
writing manifest file 'anchorecli.egg-info/SOURCES.txt'
reading manifest file 'anchorecli.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'anchorecli.egg-info/SOURCES.txt'
installing library code to build/bdist.macosx-10.15-x86_64/egg
running install_lib
running build_py
creating build
creating build/lib
creating build/lib/anchorecli
copying anchorecli/version.py -> build/lib/anchorecli
copying anchorecli/__init__.py -> build/lib/anchorecli
copying anchorecli/__main__.py -> build/lib/anchorecli
creating build/lib/anchorecli/clients
copying anchorecli/clients/__init__.py -> build/lib/anchorecli/clients
copying anchorecli/clients/hub.py -> build/lib/anchorecli/clients
copying anchorecli/clients/common.py -> build/lib/anchorecli/clients
copying anchorecli/clients/apiexternal.py -> build/lib/anchorecli/clients
creating build/lib/anchorecli/cli
copying anchorecli/cli/system.py -> build/lib/anchorecli/cli
copying anchorecli/cli/event.py -> build/lib/anchorecli/cli
copying anchorecli/cli/query.py -> build/lib/anchorecli/cli
copying anchorecli/cli/subscription.py -> build/lib/anchorecli/cli
copying anchorecli/cli/registry.py -> build/lib/anchorecli/cli
copying anchorecli/cli/policy.py -> build/lib/anchorecli/cli
copying anchorecli/cli/__init__.py -> build/lib/anchorecli/cli
copying anchorecli/cli/archives.py -> build/lib/anchorecli/cli
copying anchorecli/cli/utils.py -> build/lib/anchorecli/cli
copying anchorecli/cli/repo.py -> build/lib/anchorecli/cli
copying anchorecli/cli/evaluate.py -> build/lib/anchorecli/cli
copying anchorecli/cli/image.py -> build/lib/anchorecli/cli
copying anchorecli/cli/account.py -> build/lib/anchorecli/cli
creating build/bdist.macosx-10.15-x86_64
creating build/bdist.macosx-10.15-x86_64/egg
creating build/bdist.macosx-10.15-x86_64/egg/anchorecli
creating build/bdist.macosx-10.15-x86_64/egg/anchorecli/clients
copying build/lib/anchorecli/clients/__init__.py -> build/bdist.macosx-10.15-x86_64/egg/anchorecli/clients
copying build/lib/anchorecli/clients/hub.py -> build/bdist.macosx-10.15-x86_64/egg/anchorecli/clients
copying build/lib/anchorecli/clients/common.py -> build/bdist.macosx-10.15-x86_64/egg/anchorecli/clients
copying build/lib/anchorecli/clients/apiexternal.py -> build/bdist.macosx-10.15-x86_64/egg/anchorecli/clients
copying build/lib/anchorecli/version.py -> build/bdist.macosx-10.15-x86_64/egg/anchorecli
copying build/lib/anchorecli/__init__.py -> build/bdist.macosx-10.15-x86_64/egg/anchorecli
creating build/bdist.macosx-10.15-x86_64/egg/anchorecli/cli
copying build/lib/anchorecli/cli/system.py -> build/bdist.macosx-10.15-x86_64/egg/anchorecli/cli
copying build/lib/anchorecli/cli/event.py -> build/bdist.macosx-10.15-x86_64/egg/anchorecli/cli
copying build/lib/anchorecli/cli/query.py -> build/bdist.macosx-10.15-x86_64/egg/anchorecli/cli
copying build/lib/anchorecli/cli/subscription.py -> build/bdist.macosx-10.15-x86_64/egg/anchorecli/cli
copying build/lib/anchorecli/cli/registry.py -> build/bdist.macosx-10.15-x86_64/egg/anchorecli/cli
copying build/lib/anchorecli/cli/policy.py -> build/bdist.macosx-10.15-x86_64/egg/anchorecli/cli
copying build/lib/anchorecli/cli/__init__.py -> build/bdist.macosx-10.15-x86_64/egg/anchorecli/cli
copying build/lib/anchorecli/cli/archives.py -> build/bdist.macosx-10.15-x86_64/egg/anchorecli/cli
copying build/lib/anchorecli/cli/utils.py -> build/bdist.macosx-10.15-x86_64/egg/anchorecli/cli
copying build/lib/anchorecli/cli/repo.py -> build/bdist.macosx-10.15-x86_64/egg/anchorecli/cli
copying build/lib/anchorecli/cli/evaluate.py -> build/bdist.macosx-10.15-x86_64/egg/anchorecli/cli
copying build/lib/anchorecli/cli/image.py -> build/bdist.macosx-10.15-x86_64/egg/anchorecli/cli
copying build/lib/anchorecli/cli/account.py -> build/bdist.macosx-10.15-x86_64/egg/anchorecli/cli
copying build/lib/anchorecli/__main__.py -> build/bdist.macosx-10.15-x86_64/egg/anchorecli
byte-compiling build/bdist.macosx-10.15-x86_64/egg/anchorecli/clients/__init__.py to __init__.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/anchorecli/clients/hub.py to hub.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/anchorecli/clients/common.py to common.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/anchorecli/clients/apiexternal.py to apiexternal.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/anchorecli/version.py to version.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/anchorecli/__init__.py to __init__.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/anchorecli/cli/system.py to system.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/anchorecli/cli/event.py to event.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/anchorecli/cli/query.py to query.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/anchorecli/cli/subscription.py to subscription.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/anchorecli/cli/registry.py to registry.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/anchorecli/cli/policy.py to policy.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/anchorecli/cli/__init__.py to __init__.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/anchorecli/cli/archives.py to archives.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/anchorecli/cli/utils.py to utils.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/anchorecli/cli/repo.py to repo.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/anchorecli/cli/evaluate.py to evaluate.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/anchorecli/cli/image.py to image.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/anchorecli/cli/account.py to account.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/anchorecli/__main__.py to __main__.pyc
creating build/bdist.macosx-10.15-x86_64/egg/EGG-INFO
copying anchorecli.egg-info/PKG-INFO -> build/bdist.macosx-10.15-x86_64/egg/EGG-INFO
copying anchorecli.egg-info/SOURCES.txt -> build/bdist.macosx-10.15-x86_64/egg/EGG-INFO
copying anchorecli.egg-info/dependency_links.txt -> build/bdist.macosx-10.15-x86_64/egg/EGG-INFO
copying anchorecli.egg-info/entry_points.txt -> build/bdist.macosx-10.15-x86_64/egg/EGG-INFO
copying anchorecli.egg-info/requires.txt -> build/bdist.macosx-10.15-x86_64/egg/EGG-INFO
copying anchorecli.egg-info/top_level.txt -> build/bdist.macosx-10.15-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating dist
creating 'dist/anchorecli-0.7.1-py2.7.egg' and adding 'build/bdist.macosx-10.15-x86_64/egg' to it
removing 'build/bdist.macosx-10.15-x86_64/egg' (and everything under it)
Processing anchorecli-0.7.1-py2.7.egg
Copying anchorecli-0.7.1-py2.7.egg to /private/tmp/anchore-cli/lib/python2.7/site-packages
Adding anchorecli 0.7.1 to easy-install.pth file
Installing anchore-cli script to /private/tmp/anchore-cli/bin

Installed /private/tmp/anchore-cli/lib/python2.7/site-packages/anchorecli-0.7.1-py2.7.egg
Processing dependencies for anchorecli==0.7.1
Searching for urllib3==1.25.8
Reading https://pypi.org/simple/urllib3/
Downloading https://files.pythonhosted.org/packages/e8/74/6e4f91745020f967d09332bb2b8b9b10090957334692eb88ea4afe91b77f/urllib3-1.25.8-py2.py3-none-any.whl#sha256=2f3db8b19923a873b3e5256dc9c2dedfa883e33d87c690d9c7913e1f40673cdc
Best match: urllib3 1.25.8
Processing urllib3-1.25.8-py2.py3-none-any.whl
Installing urllib3-1.25.8-py2.py3-none-any.whl to /private/tmp/anchore-cli/lib/python2.7/site-packages
Adding urllib3 1.25.8 to easy-install.pth file

Installed /private/tmp/anchore-cli/lib/python2.7/site-packages/urllib3-1.25.8-py2.7.egg
Searching for six==1.14.0
Reading https://pypi.org/simple/six/
Downloading https://files.pythonhosted.org/packages/65/eb/1f97cb97bfc2390a276969c6fae16075da282f5058082d4cb10c6c5c1dba/six-1.14.0-py2.py3-none-any.whl#sha256=8f3cd2e254d8f793e7f3d6d9df77b92252b52637291d0f0da013c76ea2724b6c
Best match: six 1.14.0
Processing six-1.14.0-py2.py3-none-any.whl
Installing six-1.14.0-py2.py3-none-any.whl to /private/tmp/anchore-cli/lib/python2.7/site-packages
Adding six 1.14.0 to easy-install.pth file

Installed /private/tmp/anchore-cli/lib/python2.7/site-packages/six-1.14.0-py2.7.egg
Searching for requests==2.23.0
Reading https://pypi.org/simple/requests/
Downloading https://files.pythonhosted.org/packages/1a/70/1935c770cb3be6e3a8b78ced23d7e0f3b187f5cbfab4749523ed65d7c9b1/requests-2.23.0-py2.py3-none-any.whl#sha256=43999036bfa82904b6af1d99e4882b560e5e2c68e5c4b0aa03b655f3d7d73fee
Best match: requests 2.23.0
Processing requests-2.23.0-py2.py3-none-any.whl
Installing requests-2.23.0-py2.py3-none-any.whl to /private/tmp/anchore-cli/lib/python2.7/site-packages
Adding requests 2.23.0 to easy-install.pth file

Installed /private/tmp/anchore-cli/lib/python2.7/site-packages/requests-2.23.0-py2.7.egg
Searching for PyYAML==5.3
Reading https://pypi.org/simple/PyYAML/
Downloading https://files.pythonhosted.org/packages/3d/d9/ea9816aea31beeadccd03f1f8b625ecf8f645bd66744484d162d84803ce5/PyYAML-5.3.tar.gz#sha256=e9f45bd5b92c7974e59bcd2dcc8631a6b6cc380a904725fce7bc08872e691615
Best match: PyYAML 5.3
Processing PyYAML-5.3.tar.gz
Writing /var/folders/pz/vqrg684d10n8jmv6fz60kxjw0000gn/T/easy_install-HDeSQj/PyYAML-5.3/setup.cfg
Running PyYAML-5.3/setup.py -q bdist_egg --dist-dir /var/folders/pz/vqrg684d10n8jmv6fz60kxjw0000gn/T/easy_install-HDeSQj/PyYAML-5.3/egg-dist-tmp-BL1Opj
In file included from ext/_yaml.c:596:
ext/_yaml.h:6:9: warning: 'PyUnicode_FromString' macro redefined [-Wmacro-redefined]
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
        ^
/private/tmp/anchore-cli/include/python2.7/unicodeobject.h:194:10: note: previous definition is here
# define PyUnicode_FromString PyUnicodeUCS2_FromString
         ^
ext/_yaml.c:1891:17: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
  __pyx_v_value = yaml_get_version_string();
                ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:3391:52: warning: incompatible pointer types passing 'int (void *, char *, size_t, size_t *)' (aka 'int (void *, char *, unsigned long, unsigned long *)') to parameter of type 'yaml_read_handler_t *'
      (aka 'int (*)(void *, unsigned char *, unsigned long, unsigned long *)') [-Wincompatible-pointer-types]
    yaml_parser_set_input((&__pyx_v_self->parser), __pyx_f_5_yaml_input_handler, ((void *)__pyx_v_self));
                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/yaml.h:1370:30: note: passing argument to parameter 'handler' here
        yaml_read_handler_t *handler, void *data);
                             ^
ext/_yaml.c:3632:59: warning: passing 'char [1]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    yaml_parser_set_input_string((&__pyx_v_self->parser), PyString_AS_STRING(__pyx_v_stream), PyString_GET_SIZE(__pyx_v_stream));
                                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/private/tmp/anchore-cli/include/python2.7/stringobject.h:91:32: note: expanded from macro 'PyString_AS_STRING'
#define PyString_AS_STRING(op) (((PyStringObject *)(op))->ob_sval)
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/yaml.h:1344:30: note: passing argument to parameter 'input' here
        const unsigned char *input, size_t size);
                             ^
ext/_yaml.c:5466:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.tag_directive.handle); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 417, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
ext/_yaml.c:5466:17: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.tag_directive.handle); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 417, __pyx_L1_error)
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                     ^~~
/private/tmp/anchore-cli/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here
    const char *string,         /* UTF-8 encoded string */
                ^
ext/_yaml.c:5478:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.tag_directive.prefix); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 418, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
ext/_yaml.c:5478:17: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.tag_directive.prefix); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 418, __pyx_L1_error)
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                     ^~~
/private/tmp/anchore-cli/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here
    const char *string,         /* UTF-8 encoded string */
                ^
ext/_yaml.c:6480:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.alias.value); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 448, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
ext/_yaml.c:6480:17: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.alias.value); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 448, __pyx_L1_error)
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                     ^~~
/private/tmp/anchore-cli/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here
    const char *string,         /* UTF-8 encoded string */
                ^
ext/_yaml.c:6564:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.anchor.value); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 451, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
ext/_yaml.c:6564:17: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.anchor.value); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 451, __pyx_L1_error)
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                     ^~~
/private/tmp/anchore-cli/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here
    const char *string,         /* UTF-8 encoded string */
                ^
ext/_yaml.c:6648:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.tag.handle); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 454, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
ext/_yaml.c:6648:17: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.tag.handle); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 454, __pyx_L1_error)
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                     ^~~
/private/tmp/anchore-cli/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here
    const char *string,         /* UTF-8 encoded string */
                ^
ext/_yaml.c:6660:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.tag.suffix); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 455, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
ext/_yaml.c:6660:17: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.tag.suffix); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 455, __pyx_L1_error)
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                     ^~~
/private/tmp/anchore-cli/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here
    const char *string,         /* UTF-8 encoded string */
                ^
ext/_yaml.c:6784:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = PyUnicode_DecodeUTF8(__pyx_v_token->data.scalar.value, __pyx_v_token->data.scalar.length, ((char *)"strict")); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 460, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/private/tmp/anchore-cli/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here
    const char *string,         /* UTF-8 encoded string */
                ^
ext/_yaml.c:8465:42: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        __pyx_t_4 = PyUnicode_FromString(__pyx_v_tag_directive->handle); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 574, __pyx_L1_error)
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
ext/_yaml.c:8465:21: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        __pyx_t_4 = PyUnicode_FromString(__pyx_v_tag_directive->handle); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 574, __pyx_L1_error)
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                     ^~~
/private/tmp/anchore-cli/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here
    const char *string,         /* UTF-8 encoded string */
                ^
ext/_yaml.c:8477:42: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        __pyx_t_4 = PyUnicode_FromString(__pyx_v_tag_directive->prefix); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 575, __pyx_L1_error)
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
ext/_yaml.c:8477:21: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        __pyx_t_4 = PyUnicode_FromString(__pyx_v_tag_directive->prefix); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 575, __pyx_L1_error)
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                     ^~~
/private/tmp/anchore-cli/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here
    const char *string,         /* UTF-8 encoded string */
                ^
ext/_yaml.c:8720:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.alias.anchor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 586, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
ext/_yaml.c:8720:17: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.alias.anchor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 586, __pyx_L1_error)
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                     ^~~
/private/tmp/anchore-cli/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here
    const char *string,         /* UTF-8 encoded string */
                ^
ext/_yaml.c:8824:40: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.scalar.anchor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 591, __pyx_L1_error)
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
ext/_yaml.c:8824:19: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.scalar.anchor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 591, __pyx_L1_error)
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                     ^~~
/private/tmp/anchore-cli/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here
    const char *string,         /* UTF-8 encoded string */
                ^
ext/_yaml.c:8865:40: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.scalar.tag); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 594, __pyx_L1_error)
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
ext/_yaml.c:8865:19: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.scalar.tag); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 594, __pyx_L1_error)
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                     ^~~
/private/tmp/anchore-cli/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here
    const char *string,         /* UTF-8 encoded string */
                ^
ext/_yaml.c:8886:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_4 = PyUnicode_DecodeUTF8(__pyx_v_event->data.scalar.value, __pyx_v_event->data.scalar.length, ((char *)"strict")); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 595, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/private/tmp/anchore-cli/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here
    const char *string,         /* UTF-8 encoded string */
                ^
ext/_yaml.c:9227:40: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.sequence_start.anchor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 620, __pyx_L1_error)
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
ext/_yaml.c:9227:19: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.sequence_start.anchor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 620, __pyx_L1_error)
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                     ^~~
/private/tmp/anchore-cli/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here
    const char *string,         /* UTF-8 encoded string */
                ^
ext/_yaml.c:9268:40: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.sequence_start.tag); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 623, __pyx_L1_error)
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
ext/_yaml.c:9268:19: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.sequence_start.tag); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 623, __pyx_L1_error)
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                     ^~~
/private/tmp/anchore-cli/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here
    const char *string,         /* UTF-8 encoded string */
                ^
ext/_yaml.c:9500:40: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.mapping_start.anchor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 637, __pyx_L1_error)
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
ext/_yaml.c:9500:19: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.mapping_start.anchor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 637, __pyx_L1_error)
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                     ^~~
/private/tmp/anchore-cli/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here
    const char *string,         /* UTF-8 encoded string */
                ^
ext/_yaml.c:9541:40: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.mapping_start.tag); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 640, __pyx_L1_error)
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
ext/_yaml.c:9541:19: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.mapping_start.tag); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 640, __pyx_L1_error)
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                     ^~~
/private/tmp/anchore-cli/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here
    const char *string,         /* UTF-8 encoded string */
                ^
ext/_yaml.c:11214:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_3 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.alias.anchor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 734, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
ext/_yaml.c:11214:17: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_3 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.alias.anchor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 734, __pyx_L1_error)
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                     ^~~
/private/tmp/anchore-cli/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here
    const char *string,         /* UTF-8 encoded string */
                ^
ext/_yaml.c:11534:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_6 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.scalar.anchor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 750, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
ext/_yaml.c:11534:17: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_6 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.scalar.anchor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 750, __pyx_L1_error)
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                     ^~~
/private/tmp/anchore-cli/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here
    const char *string,         /* UTF-8 encoded string */
                ^
ext/_yaml.c:11590:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_6 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.sequence_start.anchor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 753, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
ext/_yaml.c:11590:17: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_6 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.sequence_start.anchor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 753, __pyx_L1_error)
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                     ^~~
/private/tmp/anchore-cli/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here
    const char *string,         /* UTF-8 encoded string */
                ^
ext/_yaml.c:11646:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_6 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.mapping_start.anchor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 756, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
ext/_yaml.c:11646:17: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_6 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.mapping_start.anchor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 756, __pyx_L1_error)
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                     ^~~
/private/tmp/anchore-cli/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here
    const char *string,         /* UTF-8 encoded string */
                ^
ext/_yaml.c:12304:36: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  __pyx_t_2 = PyUnicode_DecodeUTF8(__pyx_v_self->parsed_event.data.scalar.value, __pyx_v_self->parsed_event.data.scalar.length, ((char *)"strict")); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 791, __pyx_L1_error)
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/private/tmp/anchore-cli/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here
    const char *string,         /* UTF-8 encoded string */
                ^
ext/_yaml.c:12527:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.scalar.tag); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 804, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
ext/_yaml.c:12527:17: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.scalar.tag); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 804, __pyx_L1_error)
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                     ^~~
/private/tmp/anchore-cli/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here
    const char *string,         /* UTF-8 encoded string */
                ^
ext/_yaml.c:13065:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_3 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.sequence_start.tag); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 837, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
ext/_yaml.c:13065:17: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_3 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.sequence_start.tag); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 837, __pyx_L1_error)
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                     ^~~
/private/tmp/anchore-cli/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here
    const char *string,         /* UTF-8 encoded string */
                ^
ext/_yaml.c:13690:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_3 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.mapping_start.tag); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 876, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
ext/_yaml.c:13690:17: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_3 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.mapping_start.tag); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 876, __pyx_L1_error)
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                     ^~~
/private/tmp/anchore-cli/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here
    const char *string,         /* UTF-8 encoded string */
                ^
ext/_yaml.c:15021:53: warning: incompatible pointer types passing 'int (void *, char *, size_t)' (aka 'int (void *, char *, unsigned long)') to parameter of type 'yaml_write_handler_t *' (aka 'int (*)(void *, unsigned char *, unsigned long)')
      [-Wincompatible-pointer-types]
  yaml_emitter_set_output((&__pyx_v_self->emitter), __pyx_f_5_yaml_output_handler, ((void *)__pyx_v_self));
                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/yaml.h:1837:31: note: passing argument to parameter 'handler' here
        yaml_write_handler_t *handler, void *data);
                              ^
ext/_yaml.c:16373:44: warning: assigning to 'yaml_char_t *' (aka 'unsigned char *') from 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign]
        __pyx_v_tag_directives_end->handle = PyString_AS_STRING(__pyx_v_handle);
                                           ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:16488:44: warning: assigning to 'yaml_char_t *' (aka 'unsigned char *') from 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign]
        __pyx_v_tag_directives_end->prefix = PyString_AS_STRING(__pyx_v_prefix);
                                           ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:16825:62: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = ((yaml_alias_event_initialize(__pyx_v_event, __pyx_v_anchor) == 0) != 0);
                                                             ^~~~~~~~~~~~~~
/usr/local/include/yaml.h:555:63: note: passing argument to parameter 'anchor' here
yaml_alias_event_initialize(yaml_event_t *event, yaml_char_t *anchor);
                                                              ^
ext/_yaml.c:17540:63: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = ((yaml_scalar_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_value, __pyx_v_length, __pyx_v_plain_implicit, __pyx_v_quoted_implicit, __pyx_v_scalar_style) == 0) != 0);
                                                              ^~~~~~~~~~~~~~
/usr/local/include/yaml.h:581:22: note: passing argument to parameter 'anchor' here
        yaml_char_t *anchor, yaml_char_t *tag,
                     ^
ext/_yaml.c:17540:79: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = ((yaml_scalar_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_value, __pyx_v_length, __pyx_v_plain_implicit, __pyx_v_quoted_implicit, __pyx_v_scalar_style) == 0) != 0);
                                                                              ^~~~~~~~~~~
/usr/local/include/yaml.h:581:43: note: passing argument to parameter 'tag' here
        yaml_char_t *anchor, yaml_char_t *tag,
                                          ^
ext/_yaml.c:17540:92: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = ((yaml_scalar_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_value, __pyx_v_length, __pyx_v_plain_implicit, __pyx_v_quoted_implicit, __pyx_v_scalar_style) == 0) != 0);
                                                                                           ^~~~~~~~~~~~~
/usr/local/include/yaml.h:582:22: note: passing argument to parameter 'value' here
        yaml_char_t *value, int length,
                     ^
ext/_yaml.c:17974:71: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_3 = ((yaml_sequence_start_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_sequence_style) == 0) != 0);
                                                                      ^~~~~~~~~~~~~~
/usr/local/include/yaml.h:604:22: note: passing argument to parameter 'anchor' here
        yaml_char_t *anchor, yaml_char_t *tag, int implicit,
                     ^
ext/_yaml.c:17974:87: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_3 = ((yaml_sequence_start_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_sequence_style) == 0) != 0);
                                                                                      ^~~~~~~~~~~
/usr/local/include/yaml.h:604:43: note: passing argument to parameter 'tag' here
        yaml_char_t *anchor, yaml_char_t *tag, int implicit,
                                          ^
ext/_yaml.c:18408:70: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = ((yaml_mapping_start_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_mapping_style) == 0) != 0);
                                                                     ^~~~~~~~~~~~~~
/usr/local/include/yaml.h:636:22: note: passing argument to parameter 'anchor' here
        yaml_char_t *anchor, yaml_char_t *tag, int implicit,
                     ^
ext/_yaml.c:18408:86: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = ((yaml_mapping_start_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_mapping_style) == 0) != 0);
                                                                                     ^~~~~~~~~~~
/usr/local/include/yaml.h:636:43: note: passing argument to parameter 'tag' here
        yaml_char_t *anchor, yaml_char_t *tag, int implicit,
                                          ^
ext/_yaml.c:19978:42: warning: assigning to 'yaml_char_t *' (aka 'unsigned char *') from 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_v_tag_directives_end->handle = PyString_AS_STRING(__pyx_v_handle);
                                         ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:20093:42: warning: assigning to 'yaml_char_t *' (aka 'unsigned char *') from 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_v_tag_directives_end->prefix = PyString_AS_STRING(__pyx_v_prefix);
                                         ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:20950:65: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = ((yaml_alias_event_initialize((&__pyx_v_event), __pyx_v_anchor) == 0) != 0);
                                                                ^~~~~~~~~~~~~~
/usr/local/include/yaml.h:555:63: note: passing argument to parameter 'anchor' here
yaml_alias_event_initialize(yaml_event_t *event, yaml_char_t *anchor);
                                                              ^
ext/_yaml.c:21761:68: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_t_2 = ((yaml_scalar_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_value, __pyx_v_length, __pyx_v_plain_implicit, __pyx_v_quoted_implicit, __pyx_v_scalar_style) == 0) != 0);
                                                                   ^~~~~~~~~~~~~~
/usr/local/include/yaml.h:581:22: note: passing argument to parameter 'anchor' here
        yaml_char_t *anchor, yaml_char_t *tag,
                     ^
ext/_yaml.c:21761:84: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_t_2 = ((yaml_scalar_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_value, __pyx_v_length, __pyx_v_plain_implicit, __pyx_v_quoted_implicit, __pyx_v_scalar_style) == 0) != 0);
                                                                                   ^~~~~~~~~~~
/usr/local/include/yaml.h:581:43: note: passing argument to parameter 'tag' here
        yaml_char_t *anchor, yaml_char_t *tag,
                                          ^
ext/_yaml.c:21761:97: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_t_2 = ((yaml_scalar_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_value, __pyx_v_length, __pyx_v_plain_implicit, __pyx_v_quoted_implicit, __pyx_v_scalar_style) == 0) != 0);
                                                                                                ^~~~~~~~~~~~~
/usr/local/include/yaml.h:582:22: note: passing argument to parameter 'value' here
        yaml_char_t *value, int length,
                     ^
ext/_yaml.c:22148:76: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_t_2 = ((yaml_sequence_start_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_sequence_style) == 0) != 0);
                                                                           ^~~~~~~~~~~~~~
/usr/local/include/yaml.h:604:22: note: passing argument to parameter 'anchor' here
        yaml_char_t *anchor, yaml_char_t *tag, int implicit,
                     ^
ext/_yaml.c:22148:92: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_t_2 = ((yaml_sequence_start_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_sequence_style) == 0) != 0);
                                                                                           ^~~~~~~~~~~
/usr/local/include/yaml.h:604:43: note: passing argument to parameter 'tag' here
        yaml_char_t *anchor, yaml_char_t *tag, int implicit,
                                          ^
ext/_yaml.c:22678:75: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_t_2 = ((yaml_mapping_start_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_mapping_style) == 0) != 0);
                                                                          ^~~~~~~~~~~~~~
/usr/local/include/yaml.h:636:22: note: passing argument to parameter 'anchor' here
        yaml_char_t *anchor, yaml_char_t *tag, int implicit,
                     ^
ext/_yaml.c:22678:91: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_t_2 = ((yaml_mapping_start_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_mapping_style) == 0) != 0);
                                                                                          ^~~~~~~~~~~
/usr/local/include/yaml.h:636:43: note: passing argument to parameter 'tag' here
        yaml_char_t *anchor, yaml_char_t *tag, int implicit,
                                          ^
72 warnings generated.
In file included from ext/_yaml.c:596:
ext/_yaml.h:6:9: warning: 'PyUnicode_FromString' macro redefined [-Wmacro-redefined]
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
        ^
/private/tmp/anchore-cli/include/python2.7/unicodeobject.h:194:10: note: previous definition is here
# define PyUnicode_FromString PyUnicodeUCS2_FromString
         ^
ext/_yaml.c:1891:17: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
  __pyx_v_value = yaml_get_version_string();
                ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:3391:52: warning: incompatible pointer types passing 'int (void *, char *, size_t, size_t *)' (aka 'int (void *, char *, unsigned long, unsigned long *)') to parameter of type 'yaml_read_handler_t *'
      (aka 'int (*)(void *, unsigned char *, unsigned long, unsigned long *)') [-Wincompatible-pointer-types]
    yaml_parser_set_input((&__pyx_v_self->parser), __pyx_f_5_yaml_input_handler, ((void *)__pyx_v_self));
                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/yaml.h:1370:30: note: passing argument to parameter 'handler' here
        yaml_read_handler_t *handler, void *data);
                             ^
ext/_yaml.c:3632:59: warning: passing 'char [1]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    yaml_parser_set_input_string((&__pyx_v_self->parser), PyString_AS_STRING(__pyx_v_stream), PyString_GET_SIZE(__pyx_v_stream));
                                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/private/tmp/anchore-cli/include/python2.7/stringobject.h:91:32: note: expanded from macro 'PyString_AS_STRING'
#define PyString_AS_STRING(op) (((PyStringObject *)(op))->ob_sval)
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/yaml.h:1344:30: note: passing argument to parameter 'input' here
        const unsigned char *input, size_t size);
                             ^
ext/_yaml.c:5466:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.tag_directive.handle); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 417, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
ext/_yaml.c:5466:17: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.tag_directive.handle); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 417, __pyx_L1_error)
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                     ^~~
/private/tmp/anchore-cli/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here
    const char *string,         /* UTF-8 encoded string */
                ^
ext/_yaml.c:5478:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.tag_directive.prefix); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 418, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
ext/_yaml.c:5478:17: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.tag_directive.prefix); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 418, __pyx_L1_error)
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                     ^~~
/private/tmp/anchore-cli/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here
    const char *string,         /* UTF-8 encoded string */
                ^
ext/_yaml.c:6480:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.alias.value); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 448, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
ext/_yaml.c:6480:17: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.alias.value); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 448, __pyx_L1_error)
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                     ^~~
/private/tmp/anchore-cli/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here
    const char *string,         /* UTF-8 encoded string */
                ^
ext/_yaml.c:6564:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.anchor.value); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 451, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
ext/_yaml.c:6564:17: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.anchor.value); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 451, __pyx_L1_error)
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                     ^~~
/private/tmp/anchore-cli/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here
    const char *string,         /* UTF-8 encoded string */
                ^
ext/_yaml.c:6648:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.tag.handle); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 454, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
ext/_yaml.c:6648:17: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.tag.handle); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 454, __pyx_L1_error)
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                     ^~~
/private/tmp/anchore-cli/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here
    const char *string,         /* UTF-8 encoded string */
                ^
ext/_yaml.c:6660:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.tag.suffix); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 455, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
ext/_yaml.c:6660:17: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.tag.suffix); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 455, __pyx_L1_error)
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                     ^~~
/private/tmp/anchore-cli/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here
    const char *string,         /* UTF-8 encoded string */
                ^
ext/_yaml.c:6784:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = PyUnicode_DecodeUTF8(__pyx_v_token->data.scalar.value, __pyx_v_token->data.scalar.length, ((char *)"strict")); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 460, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/private/tmp/anchore-cli/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here
    const char *string,         /* UTF-8 encoded string */
                ^
ext/_yaml.c:8465:42: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        __pyx_t_4 = PyUnicode_FromString(__pyx_v_tag_directive->handle); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 574, __pyx_L1_error)
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
ext/_yaml.c:8465:21: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        __pyx_t_4 = PyUnicode_FromString(__pyx_v_tag_directive->handle); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 574, __pyx_L1_error)
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                     ^~~
/private/tmp/anchore-cli/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here
    const char *string,         /* UTF-8 encoded string */
                ^
ext/_yaml.c:8477:42: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        __pyx_t_4 = PyUnicode_FromString(__pyx_v_tag_directive->prefix); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 575, __pyx_L1_error)
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
ext/_yaml.c:8477:21: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        __pyx_t_4 = PyUnicode_FromString(__pyx_v_tag_directive->prefix); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 575, __pyx_L1_error)
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                     ^~~
/private/tmp/anchore-cli/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here
    const char *string,         /* UTF-8 encoded string */
                ^
ext/_yaml.c:8720:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.alias.anchor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 586, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
ext/_yaml.c:8720:17: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.alias.anchor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 586, __pyx_L1_error)
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                     ^~~
/private/tmp/anchore-cli/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here
    const char *string,         /* UTF-8 encoded string */
                ^
ext/_yaml.c:8824:40: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.scalar.anchor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 591, __pyx_L1_error)
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
ext/_yaml.c:8824:19: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.scalar.anchor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 591, __pyx_L1_error)
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                     ^~~
/private/tmp/anchore-cli/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here
    const char *string,         /* UTF-8 encoded string */
                ^
ext/_yaml.c:8865:40: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.scalar.tag); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 594, __pyx_L1_error)
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
ext/_yaml.c:8865:19: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.scalar.tag); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 594, __pyx_L1_error)
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                     ^~~
/private/tmp/anchore-cli/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here
    const char *string,         /* UTF-8 encoded string */
                ^
ext/_yaml.c:8886:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_4 = PyUnicode_DecodeUTF8(__pyx_v_event->data.scalar.value, __pyx_v_event->data.scalar.length, ((char *)"strict")); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 595, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/private/tmp/anchore-cli/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here
    const char *string,         /* UTF-8 encoded string */
                ^
ext/_yaml.c:9227:40: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.sequence_start.anchor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 620, __pyx_L1_error)
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
ext/_yaml.c:9227:19: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.sequence_start.anchor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 620, __pyx_L1_error)
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                     ^~~
/private/tmp/anchore-cli/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here
    const char *string,         /* UTF-8 encoded string */
                ^
ext/_yaml.c:9268:40: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.sequence_start.tag); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 623, __pyx_L1_error)
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
ext/_yaml.c:9268:19: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.sequence_start.tag); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 623, __pyx_L1_error)
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                     ^~~
/private/tmp/anchore-cli/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here
    const char *string,         /* UTF-8 encoded string */
                ^
ext/_yaml.c:9500:40: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.mapping_start.anchor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 637, __pyx_L1_error)
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
ext/_yaml.c:9500:19: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.mapping_start.anchor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 637, __pyx_L1_error)
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                     ^~~
/private/tmp/anchore-cli/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here
    const char *string,         /* UTF-8 encoded string */
                ^
ext/_yaml.c:9541:40: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.mapping_start.tag); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 640, __pyx_L1_error)
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
ext/_yaml.c:9541:19: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.mapping_start.tag); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 640, __pyx_L1_error)
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                     ^~~
/private/tmp/anchore-cli/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here
    const char *string,         /* UTF-8 encoded string */
                ^
ext/_yaml.c:11214:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_3 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.alias.anchor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 734, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
ext/_yaml.c:11214:17: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_3 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.alias.anchor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 734, __pyx_L1_error)
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                     ^~~
/private/tmp/anchore-cli/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here
    const char *string,         /* UTF-8 encoded string */
                ^
ext/_yaml.c:11534:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_6 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.scalar.anchor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 750, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
ext/_yaml.c:11534:17: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_6 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.scalar.anchor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 750, __pyx_L1_error)
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                     ^~~
/private/tmp/anchore-cli/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here
    const char *string,         /* UTF-8 encoded string */
                ^
ext/_yaml.c:11590:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_6 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.sequence_start.anchor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 753, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
ext/_yaml.c:11590:17: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_6 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.sequence_start.anchor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 753, __pyx_L1_error)
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                     ^~~
/private/tmp/anchore-cli/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here
    const char *string,         /* UTF-8 encoded string */
                ^
ext/_yaml.c:11646:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_6 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.mapping_start.anchor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 756, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
ext/_yaml.c:11646:17: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_6 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.mapping_start.anchor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 756, __pyx_L1_error)
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                     ^~~
/private/tmp/anchore-cli/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here
    const char *string,         /* UTF-8 encoded string */
                ^
ext/_yaml.c:12304:36: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  __pyx_t_2 = PyUnicode_DecodeUTF8(__pyx_v_self->parsed_event.data.scalar.value, __pyx_v_self->parsed_event.data.scalar.length, ((char *)"strict")); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 791, __pyx_L1_error)
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/private/tmp/anchore-cli/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here
    const char *string,         /* UTF-8 encoded string */
                ^
ext/_yaml.c:12527:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.scalar.tag); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 804, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
ext/_yaml.c:12527:17: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.scalar.tag); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 804, __pyx_L1_error)
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                     ^~~
/private/tmp/anchore-cli/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here
    const char *string,         /* UTF-8 encoded string */
                ^
ext/_yaml.c:13065:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_3 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.sequence_start.tag); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 837, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
ext/_yaml.c:13065:17: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_3 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.sequence_start.tag); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 837, __pyx_L1_error)
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                     ^~~
/private/tmp/anchore-cli/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here
    const char *string,         /* UTF-8 encoded string */
                ^
ext/_yaml.c:13690:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_3 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.mapping_start.tag); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 876, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
ext/_yaml.c:13690:17: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_3 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.mapping_start.tag); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 876, __pyx_L1_error)
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
                                                     ^~~
/private/tmp/anchore-cli/include/python2.7/unicodeobject.h:751:17: note: passing argument to parameter 'string' here
    const char *string,         /* UTF-8 encoded string */
                ^
ext/_yaml.c:14484:40: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
    __pyx_v_parser->stream_cache_len = PyString_GET_SIZE(__pyx_v_value);
                                     ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/private/tmp/anchore-cli/include/python2.7/stringobject.h:92:32: note: expanded from macro 'PyString_GET_SIZE'
#define PyString_GET_SIZE(op)  Py_SIZE(op)
                               ^~~~~~~~~~~
/private/tmp/anchore-cli/include/python2.7/object.h:116:56: note: expanded from macro 'Py_SIZE'
#define Py_SIZE(ob)             (((PyVarObject*)(ob))->ob_size)
                                 ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
ext/_yaml.c:14578:72: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
  __pyx_v_parser->stream_cache_pos = (__pyx_v_parser->stream_cache_pos + __pyx_v_size);
                                   ~  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
ext/_yaml.c:15021:53: warning: incompatible pointer types passing 'int (void *, char *, size_t)' (aka 'int (void *, char *, unsigned long)') to parameter of type 'yaml_write_handler_t *' (aka 'int (*)(void *, unsigned char *, unsigned long)')
      [-Wincompatible-pointer-types]
  yaml_emitter_set_output((&__pyx_v_self->emitter), __pyx_f_5_yaml_output_handler, ((void *)__pyx_v_self));
                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/yaml.h:1837:31: note: passing argument to parameter 'handler' here
        yaml_write_handler_t *handler, void *data);
                              ^
ext/_yaml.c:16373:44: warning: assigning to 'yaml_char_t *' (aka 'unsigned char *') from 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign]
        __pyx_v_tag_directives_end->handle = PyString_AS_STRING(__pyx_v_handle);
                                           ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:16488:44: warning: assigning to 'yaml_char_t *' (aka 'unsigned char *') from 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign]
        __pyx_v_tag_directives_end->prefix = PyString_AS_STRING(__pyx_v_prefix);
                                           ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:16825:62: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = ((yaml_alias_event_initialize(__pyx_v_event, __pyx_v_anchor) == 0) != 0);
                                                             ^~~~~~~~~~~~~~
/usr/local/include/yaml.h:555:63: note: passing argument to parameter 'anchor' here
yaml_alias_event_initialize(yaml_event_t *event, yaml_char_t *anchor);
                                                              ^
ext/_yaml.c:17540:63: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = ((yaml_scalar_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_value, __pyx_v_length, __pyx_v_plain_implicit, __pyx_v_quoted_implicit, __pyx_v_scalar_style) == 0) != 0);
                                                              ^~~~~~~~~~~~~~
/usr/local/include/yaml.h:581:22: note: passing argument to parameter 'anchor' here
        yaml_char_t *anchor, yaml_char_t *tag,
                     ^
ext/_yaml.c:17540:79: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = ((yaml_scalar_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_value, __pyx_v_length, __pyx_v_plain_implicit, __pyx_v_quoted_implicit, __pyx_v_scalar_style) == 0) != 0);
                                                                              ^~~~~~~~~~~
/usr/local/include/yaml.h:581:43: note: passing argument to parameter 'tag' here
        yaml_char_t *anchor, yaml_char_t *tag,
                                          ^
ext/_yaml.c:17540:92: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = ((yaml_scalar_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_value, __pyx_v_length, __pyx_v_plain_implicit, __pyx_v_quoted_implicit, __pyx_v_scalar_style) == 0) != 0);
                                                                                           ^~~~~~~~~~~~~
/usr/local/include/yaml.h:582:22: note: passing argument to parameter 'value' here
        yaml_char_t *value, int length,
                     ^
ext/_yaml.c:17974:71: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_3 = ((yaml_sequence_start_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_sequence_style) == 0) != 0);
                                                                      ^~~~~~~~~~~~~~
/usr/local/include/yaml.h:604:22: note: passing argument to parameter 'anchor' here
        yaml_char_t *anchor, yaml_char_t *tag, int implicit,
                     ^
ext/_yaml.c:17974:87: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_3 = ((yaml_sequence_start_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_sequence_style) == 0) != 0);
                                                                                      ^~~~~~~~~~~
/usr/local/include/yaml.h:604:43: note: passing argument to parameter 'tag' here
        yaml_char_t *anchor, yaml_char_t *tag, int implicit,
                                          ^
ext/_yaml.c:18408:70: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = ((yaml_mapping_start_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_mapping_style) == 0) != 0);
                                                                     ^~~~~~~~~~~~~~
/usr/local/include/yaml.h:636:22: note: passing argument to parameter 'anchor' here
        yaml_char_t *anchor, yaml_char_t *tag, int implicit,
                     ^
ext/_yaml.c:18408:86: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = ((yaml_mapping_start_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_mapping_style) == 0) != 0);
                                                                                     ^~~~~~~~~~~
/usr/local/include/yaml.h:636:43: note: passing argument to parameter 'tag' here
        yaml_char_t *anchor, yaml_char_t *tag, int implicit,
                                          ^
ext/_yaml.c:17289:22: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
    __pyx_v_length = PyString_GET_SIZE(__pyx_v_value_object);
                   ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/private/tmp/anchore-cli/include/python2.7/stringobject.h:92:32: note: expanded from macro 'PyString_GET_SIZE'
#define PyString_GET_SIZE(op)  Py_SIZE(op)
                               ^~~~~~~~~~~
/private/tmp/anchore-cli/include/python2.7/object.h:116:56: note: expanded from macro 'Py_SIZE'
#define Py_SIZE(ob)             (((PyVarObject*)(ob))->ob_size)
                                 ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
ext/_yaml.c:19978:42: warning: assigning to 'yaml_char_t *' (aka 'unsigned char *') from 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_v_tag_directives_end->handle = PyString_AS_STRING(__pyx_v_handle);
                                         ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:20093:42: warning: assigning to 'yaml_char_t *' (aka 'unsigned char *') from 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_v_tag_directives_end->prefix = PyString_AS_STRING(__pyx_v_prefix);
                                         ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:20950:65: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = ((yaml_alias_event_initialize((&__pyx_v_event), __pyx_v_anchor) == 0) != 0);
                                                                ^~~~~~~~~~~~~~
/usr/local/include/yaml.h:555:63: note: passing argument to parameter 'anchor' here
yaml_alias_event_initialize(yaml_event_t *event, yaml_char_t *anchor);
                                                              ^
ext/_yaml.c:21761:68: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_t_2 = ((yaml_scalar_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_value, __pyx_v_length, __pyx_v_plain_implicit, __pyx_v_quoted_implicit, __pyx_v_scalar_style) == 0) != 0);
                                                                   ^~~~~~~~~~~~~~
/usr/local/include/yaml.h:581:22: note: passing argument to parameter 'anchor' here
        yaml_char_t *anchor, yaml_char_t *tag,
                     ^
ext/_yaml.c:21761:84: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_t_2 = ((yaml_scalar_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_value, __pyx_v_length, __pyx_v_plain_implicit, __pyx_v_quoted_implicit, __pyx_v_scalar_style) == 0) != 0);
                                                                                   ^~~~~~~~~~~
/usr/local/include/yaml.h:581:43: note: passing argument to parameter 'tag' here
        yaml_char_t *anchor, yaml_char_t *tag,
                                          ^
ext/_yaml.c:21761:97: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_t_2 = ((yaml_scalar_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_value, __pyx_v_length, __pyx_v_plain_implicit, __pyx_v_quoted_implicit, __pyx_v_scalar_style) == 0) != 0);
                                                                                                ^~~~~~~~~~~~~
/usr/local/include/yaml.h:582:22: note: passing argument to parameter 'value' here
        yaml_char_t *value, int length,
                     ^
ext/_yaml.c:22148:76: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_t_2 = ((yaml_sequence_start_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_sequence_style) == 0) != 0);
                                                                           ^~~~~~~~~~~~~~
/usr/local/include/yaml.h:604:22: note: passing argument to parameter 'anchor' here
        yaml_char_t *anchor, yaml_char_t *tag, int implicit,
                     ^
ext/_yaml.c:22148:92: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_t_2 = ((yaml_sequence_start_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_sequence_style) == 0) != 0);
                                                                                           ^~~~~~~~~~~
/usr/local/include/yaml.h:604:43: note: passing argument to parameter 'tag' here
        yaml_char_t *anchor, yaml_char_t *tag, int implicit,
                                          ^
ext/_yaml.c:22678:75: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_t_2 = ((yaml_mapping_start_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_mapping_style) == 0) != 0);
                                                                          ^~~~~~~~~~~~~~
/usr/local/include/yaml.h:636:22: note: passing argument to parameter 'anchor' here
        yaml_char_t *anchor, yaml_char_t *tag, int implicit,
                     ^
ext/_yaml.c:22678:91: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_t_2 = ((yaml_mapping_start_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_mapping_style) == 0) != 0);
                                                                                          ^~~~~~~~~~~
/usr/local/include/yaml.h:636:43: note: passing argument to parameter 'tag' here
        yaml_char_t *anchor, yaml_char_t *tag, int implicit,
                                          ^
ext/_yaml.c:21583:24: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
      __pyx_v_length = PyString_GET_SIZE(__pyx_v_value_object);
                     ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/private/tmp/anchore-cli/include/python2.7/stringobject.h:92:32: note: expanded from macro 'PyString_GET_SIZE'
#define PyString_GET_SIZE(op)  Py_SIZE(op)
                               ^~~~~~~~~~~
/private/tmp/anchore-cli/include/python2.7/object.h:116:56: note: expanded from macro 'Py_SIZE'
#define Py_SIZE(ob)             (((PyVarObject*)(ob))->ob_size)
                                 ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
76 warnings generated.
ld: warning: directory not found for option '-L/BuildRoot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.Internal.sdk/usr/local/libressl/lib'
ld: warning: The i386 architecture is deprecated for macOS (remove from the Xcode build setting: ARCHS)
ld: warning: ignoring file /usr/local/lib/libyaml.dylib, building for macOS-i386 but attempting to link with file built for macOS-x86_64
ld: warning: ignoring file /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd, missing required architecture i386 in file /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd
ld: warning: directory not found for option '-L/BuildRoot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.Internal.sdk/usr/local/libressl/lib'
zip_safe flag not set; analyzing archive contents...
Copying PyYAML-5.3-py2.7-macosx-10.15-x86_64.egg to /private/tmp/anchore-cli/lib/python2.7/site-packages
Adding PyYAML 5.3 to easy-install.pth file

Installed /private/tmp/anchore-cli/lib/python2.7/site-packages/PyYAML-5.3-py2.7-macosx-10.15-x86_64.egg
Searching for python-dateutil==2.8.1
Reading https://pypi.org/simple/python-dateutil/
Downloading https://files.pythonhosted.org/packages/d4/70/d60450c3dd48ef87586924207ae8907090de0b306af2bce5d134d78615cb/python_dateutil-2.8.1-py2.py3-none-any.whl#sha256=75bb3f31ea686f1197762692a9ee6a7550b59fc6ca3a1f4b5d7e32fb98e2da2a
Best match: python-dateutil 2.8.1
Processing python_dateutil-2.8.1-py2.py3-none-any.whl
Installing python_dateutil-2.8.1-py2.py3-none-any.whl to /private/tmp/anchore-cli/lib/python2.7/site-packages
Adding python-dateutil 2.8.1 to easy-install.pth file

Installed /private/tmp/anchore-cli/lib/python2.7/site-packages/python_dateutil-2.8.1-py2.7.egg
Searching for prettytable==0.7.2
Reading https://pypi.org/simple/prettytable/
Downloading https://files.pythonhosted.org/packages/ef/30/4b0746848746ed5941f052479e7c23d2b56d174b82f4fd34a25e389831f5/prettytable-0.7.2.tar.bz2#sha256=853c116513625c738dc3ce1aee148b5b5757a86727e67eff6502c7ca59d43c36
Best match: prettytable 0.7.2
Processing prettytable-0.7.2.tar.bz2
Writing /var/folders/pz/vqrg684d10n8jmv6fz60kxjw0000gn/T/easy_install-wVtD0p/prettytable-0.7.2/setup.cfg
Running prettytable-0.7.2/setup.py -q bdist_egg --dist-dir /var/folders/pz/vqrg684d10n8jmv6fz60kxjw0000gn/T/easy_install-wVtD0p/prettytable-0.7.2/egg-dist-tmp-SD2F6D
zip_safe flag not set; analyzing archive contents...
Copying prettytable-0.7.2-py2.7.egg to /private/tmp/anchore-cli/lib/python2.7/site-packages
Adding prettytable 0.7.2 to easy-install.pth file

Installed /private/tmp/anchore-cli/lib/python2.7/site-packages/prettytable-0.7.2-py2.7.egg
Searching for Click==7.0
Reading https://pypi.org/simple/Click/
Downloading https://files.pythonhosted.org/packages/fa/37/45185cb5abbc30d7257104c434fe0b07e5a195a6847506c074527aa599ec/Click-7.0-py2.py3-none-any.whl#sha256=2335065e6395b9e67ca716de5f7526736bfa6ceead690adf616d925bdc622b13
Best match: Click 7.0
Processing Click-7.0-py2.py3-none-any.whl
Installing Click-7.0-py2.py3-none-any.whl to /private/tmp/anchore-cli/lib/python2.7/site-packages
Adding Click 7.0 to easy-install.pth file

Installed /private/tmp/anchore-cli/lib/python2.7/site-packages/Click-7.0-py2.7.egg
Searching for idna<3,>=2.5
Reading https://pypi.org/simple/idna/
Downloading https://files.pythonhosted.org/packages/89/e3/afebe61c546d18fb1709a61bee788254b40e736cff7271c7de5de2dc4128/idna-2.9-py2.py3-none-any.whl#sha256=a068a21ceac8a4d63dbfd964670474107f541babbd2250d61922f029858365fa
Best match: idna 2.9
Processing idna-2.9-py2.py3-none-any.whl
Installing idna-2.9-py2.py3-none-any.whl to /private/tmp/anchore-cli/lib/python2.7/site-packages
Adding idna 2.9 to easy-install.pth file

Installed /private/tmp/anchore-cli/lib/python2.7/site-packages/idna-2.9-py2.7.egg
Searching for chardet<4,>=3.0.2
Reading https://pypi.org/simple/chardet/
Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl#sha256=fc323ffcaeaed0e0a02bf4d117757b98aed530d9ed4531e3e15460124c106691
Best match: chardet 3.0.4
Processing chardet-3.0.4-py2.py3-none-any.whl
Installing chardet-3.0.4-py2.py3-none-any.whl to /private/tmp/anchore-cli/lib/python2.7/site-packages
Adding chardet 3.0.4 to easy-install.pth file
Installing chardetect script to /private/tmp/anchore-cli/bin

Installed /private/tmp/anchore-cli/lib/python2.7/site-packages/chardet-3.0.4-py2.7.egg
Searching for certifi>=2017.4.17
Reading https://pypi.org/simple/certifi/
Downloading https://files.pythonhosted.org/packages/57/2b/26e37a4b034800c960a00c4e1b3d9ca5d7014e983e6e729e33ea2f36426c/certifi-2020.4.5.1-py2.py3-none-any.whl#sha256=1d987a998c75633c40847cc966fcf5904906c920a7f17ef374f5aa4282abd304
Best match: certifi 2020.4.5.1
Processing certifi-2020.4.5.1-py2.py3-none-any.whl
Installing certifi-2020.4.5.1-py2.py3-none-any.whl to /private/tmp/anchore-cli/lib/python2.7/site-packages
Adding certifi 2020.4.5.1 to easy-install.pth file

Installed /private/tmp/anchore-cli/lib/python2.7/site-packages/certifi-2020.4.5.1-py2.7.egg
Finished processing dependencies for anchorecli==0.7.1

Checking if cryptography or openssl is installed yields no results:

(anchore-cli) $ pip freeze | grep cryptography
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
(anchore-cli) $ pip freeze | grep ssl
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support

Can you try debugging this a little bit further? I think this is related to your specific environment. Again, not sure how you end up with both openssl and cryptography installed on a new virtualenv - which I think are the source of your issues.

alfredodeza commented 4 years ago

@thamaraiselvam I'm closing this for now since I haven't been able to replicate this at all, and what you are describing looks like a polluted virtualenv that has dependencies that are causing the problem. Feel free to re-open if you are able to debug why is openssl and cryptography getting into that virtualenv.