Skip to content

Instantly share code, notes, and snippets.

@Nick011
Created February 11, 2022 01:27
Show Gist options
  • Save Nick011/8b96ce44f03ee29ee86a48d596a51435 to your computer and use it in GitHub Desktop.
Save Nick011/8b96ce44f03ee29ee86a48d596a51435 to your computer and use it in GitHub Desktop.
secret-sdk-uv-loop-bug
Package operations: 0 installs, 1 update, 0 removals
• Updating uvloop (0.16.0 -> 0.14.0): Failed
EnvCommandError
Command ['/home/nick/.cache/pypoetry/virtualenvs/secret-sdk-8UUDHvc3-py3.10/bin/pip', 'install', '--no-deps', '-U', 'file:///home/nick/.cache/pypoetry/artifacts/2f/d8/91/ffe1cf49dd337e8b280f0d9a5d19c1928f6f682357602c9c61eaf7fe09/uvloop-0.14.0.tar.gz'] errored with the following return code 1, and output:
Processing /home/nick/.cache/pypoetry/artifacts/2f/d8/91/ffe1cf49dd337e8b280f0d9a5d19c1928f6f682357602c9c61eaf7fe09/uvloop-0.14.0.tar.gz
Building wheels for collected packages: uvloop
Building wheel for uvloop (setup.py): started
Building wheel for uvloop (setup.py): finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /home/nick/.cache/pypoetry/virtualenvs/secret-sdk-8UUDHvc3-py3.10/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-22fgkig0/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-22fgkig0/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-wa4e3ca2
cwd: /tmp/pip-req-build-22fgkig0/
Complete output (453 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.10
creating build/lib.linux-x86_64-3.10/uvloop
copying uvloop/_noop.py -> build/lib.linux-x86_64-3.10/uvloop
copying uvloop/_testbase.py -> build/lib.linux-x86_64-3.10/uvloop
copying uvloop/_patch.py -> build/lib.linux-x86_64-3.10/uvloop
copying uvloop/__init__.py -> build/lib.linux-x86_64-3.10/uvloop
running egg_info
writing uvloop.egg-info/PKG-INFO
writing dependency_links to uvloop.egg-info/dependency_links.txt
writing top-level names to uvloop.egg-info/top_level.txt
reading manifest file 'uvloop.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*' found under directory 'vendor/libuv/.git'
warning: no previously-included files matching '*' found under directory 'vendor/libuv/docs'
warning: no previously-included files matching '*' found under directory 'vendor/libuv/img'
adding license file 'LICENSE-APACHE'
adding license file 'LICENSE-MIT'
writing manifest file 'uvloop.egg-info/SOURCES.txt'
copying uvloop/cbhandles.pxd -> build/lib.linux-x86_64-3.10/uvloop
copying uvloop/cbhandles.pyx -> build/lib.linux-x86_64-3.10/uvloop
copying uvloop/dns.pyx -> build/lib.linux-x86_64-3.10/uvloop
copying uvloop/errors.pyx -> build/lib.linux-x86_64-3.10/uvloop
copying uvloop/loop.c -> build/lib.linux-x86_64-3.10/uvloop
copying uvloop/loop.pxd -> build/lib.linux-x86_64-3.10/uvloop
copying uvloop/loop.pyx -> build/lib.linux-x86_64-3.10/uvloop
copying uvloop/lru.pyx -> build/lib.linux-x86_64-3.10/uvloop
copying uvloop/pseudosock.pyx -> build/lib.linux-x86_64-3.10/uvloop
copying uvloop/request.pxd -> build/lib.linux-x86_64-3.10/uvloop
copying uvloop/request.pyx -> build/lib.linux-x86_64-3.10/uvloop
copying uvloop/server.pxd -> build/lib.linux-x86_64-3.10/uvloop
copying uvloop/server.pyx -> build/lib.linux-x86_64-3.10/uvloop
copying uvloop/sslproto.pxd -> build/lib.linux-x86_64-3.10/uvloop
copying uvloop/sslproto.pyx -> build/lib.linux-x86_64-3.10/uvloop
creating build/lib.linux-x86_64-3.10/uvloop/handles
copying uvloop/handles/async_.pxd -> build/lib.linux-x86_64-3.10/uvloop/handles
copying uvloop/handles/async_.pyx -> build/lib.linux-x86_64-3.10/uvloop/handles
copying uvloop/handles/basetransport.pxd -> build/lib.linux-x86_64-3.10/uvloop/handles
copying uvloop/handles/basetransport.pyx -> build/lib.linux-x86_64-3.10/uvloop/handles
copying uvloop/handles/check.pxd -> build/lib.linux-x86_64-3.10/uvloop/handles
copying uvloop/handles/check.pyx -> build/lib.linux-x86_64-3.10/uvloop/handles
copying uvloop/handles/handle.pxd -> build/lib.linux-x86_64-3.10/uvloop/handles
copying uvloop/handles/handle.pyx -> build/lib.linux-x86_64-3.10/uvloop/handles
copying uvloop/handles/idle.pxd -> build/lib.linux-x86_64-3.10/uvloop/handles
copying uvloop/handles/idle.pyx -> build/lib.linux-x86_64-3.10/uvloop/handles
copying uvloop/handles/pipe.pxd -> build/lib.linux-x86_64-3.10/uvloop/handles
copying uvloop/handles/pipe.pyx -> build/lib.linux-x86_64-3.10/uvloop/handles
copying uvloop/handles/poll.pxd -> build/lib.linux-x86_64-3.10/uvloop/handles
copying uvloop/handles/poll.pyx -> build/lib.linux-x86_64-3.10/uvloop/handles
copying uvloop/handles/process.pxd -> build/lib.linux-x86_64-3.10/uvloop/handles
copying uvloop/handles/process.pyx -> build/lib.linux-x86_64-3.10/uvloop/handles
copying uvloop/handles/stream.pxd -> build/lib.linux-x86_64-3.10/uvloop/handles
copying uvloop/handles/stream.pyx -> build/lib.linux-x86_64-3.10/uvloop/handles
copying uvloop/handles/streamserver.pxd -> build/lib.linux-x86_64-3.10/uvloop/handles
copying uvloop/handles/streamserver.pyx -> build/lib.linux-x86_64-3.10/uvloop/handles
copying uvloop/handles/tcp.pxd -> build/lib.linux-x86_64-3.10/uvloop/handles
copying uvloop/handles/tcp.pyx -> build/lib.linux-x86_64-3.10/uvloop/handles
copying uvloop/handles/timer.pxd -> build/lib.linux-x86_64-3.10/uvloop/handles
copying uvloop/handles/timer.pyx -> build/lib.linux-x86_64-3.10/uvloop/handles
copying uvloop/handles/udp.pxd -> build/lib.linux-x86_64-3.10/uvloop/handles
copying uvloop/handles/udp.pyx -> build/lib.linux-x86_64-3.10/uvloop/handles
creating build/lib.linux-x86_64-3.10/uvloop/includes
copying uvloop/includes/__init__.py -> build/lib.linux-x86_64-3.10/uvloop/includes
copying uvloop/includes/compat.h -> build/lib.linux-x86_64-3.10/uvloop/includes
copying uvloop/includes/consts.pxi -> build/lib.linux-x86_64-3.10/uvloop/includes
copying uvloop/includes/debug.h -> build/lib.linux-x86_64-3.10/uvloop/includes
copying uvloop/includes/debug.pxd -> build/lib.linux-x86_64-3.10/uvloop/includes
copying uvloop/includes/flowcontrol.pxd -> build/lib.linux-x86_64-3.10/uvloop/includes
copying uvloop/includes/fork_handler.h -> build/lib.linux-x86_64-3.10/uvloop/includes
copying uvloop/includes/python.pxd -> build/lib.linux-x86_64-3.10/uvloop/includes
copying uvloop/includes/stdlib.pxi -> build/lib.linux-x86_64-3.10/uvloop/includes
copying uvloop/includes/system.pxd -> build/lib.linux-x86_64-3.10/uvloop/includes
copying uvloop/includes/uv.pxd -> build/lib.linux-x86_64-3.10/uvloop/includes
running build_ext
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking if gcc supports -pedantic flag... yes
checking for gcc way to treat warnings as errors... -Werror
checking if gcc supports -fvisibility=hidden... yes
checking if gcc supports -g flag... yes
checking if gcc supports -std=gnu89 flag... yes
checking if gcc supports -Wall flag... yes
checking if gcc supports -Wextra flag... yes
checking if gcc supports -Wno-long-long flag... yes
checking if gcc supports -Wno-unused-parameter flag... yes
checking if gcc supports -Wstrict-prototypes flag... yes
checking for ar... ar
checking the archiver (ar) interface... ar
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether make supports nested variables... (cached) yes
checking for dlopen in -ldl... yes
checking for kstat_lookup in -lkstat... no
checking for gethostbyname in -lnsl... yes
checking for perfstat_cpu in -lperfstat... no
checking for pthread_mutex_init in -lpthread... yes
checking for clock_gettime in -lrt... yes
checking for sendfile in -lsendfile... no
checking for socket in -lsocket... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking sys/ahafs_evProds.h usability... no
checking sys/ahafs_evProds.h presence... no
checking for sys/ahafs_evProds.h... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libuv.pc
config.status: executing depfiles commands
config.status: executing libtool commands
CC src/libuv_la-fs-poll.lo
CC src/libuv_la-idna.lo
CC src/libuv_la-random.lo
CC src/libuv_la-inet.lo
CC src/libuv_la-strscpy.lo
CC src/libuv_la-timer.lo
CC src/libuv_la-threadpool.lo
CC src/libuv_la-uv-data-getter-setters.lo
CC src/libuv_la-uv-common.lo
CC src/libuv_la-version.lo
CC src/unix/libuv_la-async.lo
CC src/unix/libuv_la-dl.lo
CC src/unix/libuv_la-core.lo
CC src/unix/libuv_la-fs.lo
CC src/unix/libuv_la-getaddrinfo.lo
CC src/unix/libuv_la-getnameinfo.lo
CC src/unix/libuv_la-loop-watcher.lo
CC src/unix/libuv_la-loop.lo
CC src/unix/libuv_la-poll.lo
CC src/unix/libuv_la-pipe.lo
CC src/unix/libuv_la-process.lo
CC src/unix/libuv_la-random-devurandom.lo
CC src/unix/libuv_la-signal.lo
CC src/unix/libuv_la-stream.lo
CC src/unix/libuv_la-tcp.lo
CC src/unix/libuv_la-tty.lo
CC src/unix/libuv_la-thread.lo
CC src/unix/libuv_la-linux-core.lo
CC src/unix/libuv_la-udp.lo
CC src/unix/libuv_la-linux-syscalls.lo
CC src/unix/libuv_la-linux-inotify.lo
CC src/unix/libuv_la-procfs-exepath.lo
CC src/unix/libuv_la-proctitle.lo
CC src/unix/libuv_la-random-getrandom.lo
CC src/unix/libuv_la-sysinfo-loadavg.lo
CC src/unix/libuv_la-random-sysctl.lo
src/unix/linux-core.c: In function 'uv__io_poll':
src/unix/linux-core.c:363:5: warning: converting a packed 'struct epoll_event' pointer (alignment 1) to a 'uv__io_t' {aka 'struct uv__io_s'} pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member]
363 | loop->watchers[loop->nwatchers] = (void*) events;
| ^~~~
In file included from src/unix/linux-core.c:38:
/usr/include/sys/epoll.h:83:8: note: defined here
83 | struct epoll_event
| ^~~~~~~~~~~
In file included from ./include/uv.h:66,
from src/unix/linux-core.c:26:
./include/uv/unix.h:94:8: note: defined here
94 | struct uv__io_s {
| ^~~~~~~~
CCLD libuv.la
ar: `u' modifier ignored since `D' is the default (see `U')
building 'uvloop.loop' extension
creating build/temp.linux-x86_64-3.10
creating build/temp.linux-x86_64-3.10/uvloop
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto -ffat-lto-objects -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto -fPIC -I/home/nick/.cache/pypoetry/virtualenvs/secret-sdk-8UUDHvc3-py3.10/include -I/usr/include/python3.10 -I/tmp/pip-req-build-22fgkig0/vendor/libuv/include -c uvloop/loop.c -o build/temp.linux-x86_64-3.10/uvloop/loop.o -O2
uvloop/loop.c: In function ‘__pyx_tp_dealloc_6uvloop_4loop_UVHandle’:
uvloop/loop.c:144572:5: error: lvalue required as increment operand
144572 | ++Py_REFCNT(o);
| ^~
uvloop/loop.c:144574:5: error: lvalue required as decrement operand
144574 | --Py_REFCNT(o);
| ^~
uvloop/loop.c: In function ‘__pyx_tp_dealloc_6uvloop_4loop_Loop’:
uvloop/loop.c:145376:5: error: lvalue required as increment operand
145376 | ++Py_REFCNT(o);
| ^~
uvloop/loop.c:145378:5: error: lvalue required as decrement operand
145378 | --Py_REFCNT(o);
| ^~
uvloop/loop.c: In function ‘__pyx_tp_dealloc_6uvloop_4loop_Handle’:
uvloop/loop.c:145831:5: error: lvalue required as increment operand
145831 | ++Py_REFCNT(o);
| ^~
uvloop/loop.c:145833:5: error: lvalue required as decrement operand
145833 | --Py_REFCNT(o);
| ^~
uvloop/loop.c: In function ‘__pyx_tp_dealloc_6uvloop_4loop_TimerHandle’:
uvloop/loop.c:146003:5: error: lvalue required as increment operand
146003 | ++Py_REFCNT(o);
| ^~
uvloop/loop.c:146005:5: error: lvalue required as decrement operand
146005 | --Py_REFCNT(o);
| ^~
uvloop/loop.c: In function ‘__pyx_tp_dealloc_6uvloop_4loop_UVProcess’:
uvloop/loop.c:147170:5: error: lvalue required as increment operand
147170 | ++Py_REFCNT(o);
| ^~
uvloop/loop.c:147172:5: error: lvalue required as decrement operand
147172 | --Py_REFCNT(o);
| ^~
uvloop/loop.c: In function ‘__pyx_tp_dealloc_6uvloop_4loop__SSLProtocolTransport’:
uvloop/loop.c:147612:5: error: lvalue required as increment operand
147612 | ++Py_REFCNT(o);
| ^~
uvloop/loop.c:147614:5: error: lvalue required as decrement operand
147614 | --Py_REFCNT(o);
| ^~
uvloop/loop.c: In function ‘__pyx_tp_dealloc_6uvloop_4loop_SSLProtocol’:
uvloop/loop.c:147797:5: error: lvalue required as increment operand
147797 | ++Py_REFCNT(o);
| ^~
uvloop/loop.c:147799:5: error: lvalue required as decrement operand
147799 | --Py_REFCNT(o);
| ^~
uvloop/loop.c: In function ‘__pyx_tp_dealloc_6uvloop_4loop__StreamWriteContext’:
uvloop/loop.c:148673:5: error: lvalue required as increment operand
148673 | ++Py_REFCNT(o);
| ^~
uvloop/loop.c:148675:5: error: lvalue required as decrement operand
148675 | --Py_REFCNT(o);
| ^~
uvloop/loop.c: In function ‘__pyx_tp_dealloc_6uvloop_4loop_AddrInfo’:
uvloop/loop.c:149133:5: error: lvalue required as increment operand
149133 | ++Py_REFCNT(o);
| ^~
uvloop/loop.c:149135:5: error: lvalue required as decrement operand
149135 | --Py_REFCNT(o);
| ^~
uvloop/loop.c: In function ‘__pyx_tp_dealloc_6uvloop_4loop__UDPSendContext’:
uvloop/loop.c:149480:5: error: lvalue required as increment operand
149480 | ++Py_REFCNT(o);
| ^~
uvloop/loop.c:149482:5: error: lvalue required as decrement operand
149482 | --Py_REFCNT(o);
| ^~
uvloop/loop.c: In function ‘__Pyx_decode_c_string’:
uvloop/loop.c:162028:9: warning: ‘PyUnicode_FromUnicode’ is deprecated [-Wdeprecated-declarations]
162028 | return PyUnicode_FromUnicode(NULL, 0);
| ^~~~~~
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from uvloop/loop.c:20:
/usr/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here
551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
| ^~~~~~~~~~~~~~~~~~~~~
uvloop/loop.c: In function ‘__Pyx_ParseOptionalKeywords’:
uvloop/loop.c:163233:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
163233 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from uvloop/loop.c:20:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
uvloop/loop.c:163233:21: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
163233 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from uvloop/loop.c:20:
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
uvloop/loop.c:163233:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
163233 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from uvloop/loop.c:20:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
uvloop/loop.c:163233:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
163233 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from uvloop/loop.c:20:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
uvloop/loop.c:163233:21: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
163233 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from uvloop/loop.c:20:
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
uvloop/loop.c:163233:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
163233 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from uvloop/loop.c:20:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
uvloop/loop.c:163249:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
163249 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from uvloop/loop.c:20:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
uvloop/loop.c:163249:25: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
163249 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from uvloop/loop.c:20:
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
uvloop/loop.c:163249:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
163249 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from uvloop/loop.c:20:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
uvloop/loop.c:163249:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
163249 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from uvloop/loop.c:20:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
uvloop/loop.c:163249:25: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
163249 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from uvloop/loop.c:20:
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
uvloop/loop.c:163249:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
163249 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from uvloop/loop.c:20:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
uvloop/loop.c: In function ‘__Pyx_Coroutine_Send’:
uvloop/loop.c:165292:19: warning: implicit declaration of function ‘_PyGen_Send’; did you mean ‘_PyGen_yf’? [-Wimplicit-function-declaration]
165292 | ret = _PyGen_Send((PyGenObject*)yf, value == Py_None ? NULL : value);
| ^~~~~~~~~~~
| _PyGen_yf
uvloop/loop.c:165292:17: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
165292 | ret = _PyGen_Send((PyGenObject*)yf, value == Py_None ? NULL : value);
| ^
uvloop/loop.c:165297:17: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
165297 | ret = _PyGen_Send((PyGenObject*)yf, value == Py_None ? NULL : value);
| ^
uvloop/loop.c: In function ‘__Pyx_Generator_Next’:
uvloop/loop.c:165381:17: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
165381 | ret = _PyGen_Send((PyGenObject*)yf, NULL);
| ^
uvloop/loop.c: In function ‘__Pyx_decode_c_bytes’:
uvloop/loop.c:167057:9: warning: ‘PyUnicode_FromUnicode’ is deprecated [-Wdeprecated-declarations]
167057 | return PyUnicode_FromUnicode(NULL, 0);
| ^~~~~~
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from uvloop/loop.c:20:
/usr/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here
551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
| ^~~~~~~~~~~~~~~~~~~~~
error: command '/usr/bin/gcc' failed with exit code 1
----------------------------------------
ERROR: Failed building wheel for uvloop
Running setup.py clean for uvloop
Failed to build uvloop
Installing collected packages: uvloop
Attempting uninstall: uvloop
Found existing installation: uvloop 0.16.0
Uninstalling uvloop-0.16.0:
Successfully uninstalled uvloop-0.16.0
Running setup.py install for uvloop: started
Running setup.py install for uvloop: finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /home/nick/.cache/pypoetry/virtualenvs/secret-sdk-8UUDHvc3-py3.10/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-22fgkig0/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-22fgkig0/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-i08fnfh6/install-record.txt --single-version-externally-managed --compile --install-headers /home/nick/.cache/pypoetry/virtualenvs/secret-sdk-8UUDHvc3-py3.10/include/site/python3.10/uvloop
cwd: /tmp/pip-req-build-22fgkig0/
Complete output (295 lines):
running install
running build
running build_py
creating build/lib.linux-x86_64-3.10
creating build/lib.linux-x86_64-3.10/uvloop
copying uvloop/_noop.py -> build/lib.linux-x86_64-3.10/uvloop
copying uvloop/_testbase.py -> build/lib.linux-x86_64-3.10/uvloop
copying uvloop/_patch.py -> build/lib.linux-x86_64-3.10/uvloop
copying uvloop/__init__.py -> build/lib.linux-x86_64-3.10/uvloop
running egg_info
writing uvloop.egg-info/PKG-INFO
writing dependency_links to uvloop.egg-info/dependency_links.txt
writing top-level names to uvloop.egg-info/top_level.txt
reading manifest file 'uvloop.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*' found under directory 'vendor/libuv/.git'
warning: no previously-included files matching '*' found under directory 'vendor/libuv/docs'
warning: no previously-included files matching '*' found under directory 'vendor/libuv/img'
adding license file 'LICENSE-APACHE'
adding license file 'LICENSE-MIT'
writing manifest file 'uvloop.egg-info/SOURCES.txt'
copying uvloop/cbhandles.pxd -> build/lib.linux-x86_64-3.10/uvloop
copying uvloop/cbhandles.pyx -> build/lib.linux-x86_64-3.10/uvloop
copying uvloop/dns.pyx -> build/lib.linux-x86_64-3.10/uvloop
copying uvloop/errors.pyx -> build/lib.linux-x86_64-3.10/uvloop
copying uvloop/loop.c -> build/lib.linux-x86_64-3.10/uvloop
copying uvloop/loop.pxd -> build/lib.linux-x86_64-3.10/uvloop
copying uvloop/loop.pyx -> build/lib.linux-x86_64-3.10/uvloop
copying uvloop/lru.pyx -> build/lib.linux-x86_64-3.10/uvloop
copying uvloop/pseudosock.pyx -> build/lib.linux-x86_64-3.10/uvloop
copying uvloop/request.pxd -> build/lib.linux-x86_64-3.10/uvloop
copying uvloop/request.pyx -> build/lib.linux-x86_64-3.10/uvloop
copying uvloop/server.pxd -> build/lib.linux-x86_64-3.10/uvloop
copying uvloop/server.pyx -> build/lib.linux-x86_64-3.10/uvloop
copying uvloop/sslproto.pxd -> build/lib.linux-x86_64-3.10/uvloop
copying uvloop/sslproto.pyx -> build/lib.linux-x86_64-3.10/uvloop
creating build/lib.linux-x86_64-3.10/uvloop/handles
copying uvloop/handles/async_.pxd -> build/lib.linux-x86_64-3.10/uvloop/handles
copying uvloop/handles/async_.pyx -> build/lib.linux-x86_64-3.10/uvloop/handles
copying uvloop/handles/basetransport.pxd -> build/lib.linux-x86_64-3.10/uvloop/handles
copying uvloop/handles/basetransport.pyx -> build/lib.linux-x86_64-3.10/uvloop/handles
copying uvloop/handles/check.pxd -> build/lib.linux-x86_64-3.10/uvloop/handles
copying uvloop/handles/check.pyx -> build/lib.linux-x86_64-3.10/uvloop/handles
copying uvloop/handles/handle.pxd -> build/lib.linux-x86_64-3.10/uvloop/handles
copying uvloop/handles/handle.pyx -> build/lib.linux-x86_64-3.10/uvloop/handles
copying uvloop/handles/idle.pxd -> build/lib.linux-x86_64-3.10/uvloop/handles
copying uvloop/handles/idle.pyx -> build/lib.linux-x86_64-3.10/uvloop/handles
copying uvloop/handles/pipe.pxd -> build/lib.linux-x86_64-3.10/uvloop/handles
copying uvloop/handles/pipe.pyx -> build/lib.linux-x86_64-3.10/uvloop/handles
copying uvloop/handles/poll.pxd -> build/lib.linux-x86_64-3.10/uvloop/handles
copying uvloop/handles/poll.pyx -> build/lib.linux-x86_64-3.10/uvloop/handles
copying uvloop/handles/process.pxd -> build/lib.linux-x86_64-3.10/uvloop/handles
copying uvloop/handles/process.pyx -> build/lib.linux-x86_64-3.10/uvloop/handles
copying uvloop/handles/stream.pxd -> build/lib.linux-x86_64-3.10/uvloop/handles
copying uvloop/handles/stream.pyx -> build/lib.linux-x86_64-3.10/uvloop/handles
copying uvloop/handles/streamserver.pxd -> build/lib.linux-x86_64-3.10/uvloop/handles
copying uvloop/handles/streamserver.pyx -> build/lib.linux-x86_64-3.10/uvloop/handles
copying uvloop/handles/tcp.pxd -> build/lib.linux-x86_64-3.10/uvloop/handles
copying uvloop/handles/tcp.pyx -> build/lib.linux-x86_64-3.10/uvloop/handles
copying uvloop/handles/timer.pxd -> build/lib.linux-x86_64-3.10/uvloop/handles
copying uvloop/handles/timer.pyx -> build/lib.linux-x86_64-3.10/uvloop/handles
copying uvloop/handles/udp.pxd -> build/lib.linux-x86_64-3.10/uvloop/handles
copying uvloop/handles/udp.pyx -> build/lib.linux-x86_64-3.10/uvloop/handles
creating build/lib.linux-x86_64-3.10/uvloop/includes
copying uvloop/includes/__init__.py -> build/lib.linux-x86_64-3.10/uvloop/includes
copying uvloop/includes/compat.h -> build/lib.linux-x86_64-3.10/uvloop/includes
copying uvloop/includes/consts.pxi -> build/lib.linux-x86_64-3.10/uvloop/includes
copying uvloop/includes/debug.h -> build/lib.linux-x86_64-3.10/uvloop/includes
copying uvloop/includes/debug.pxd -> build/lib.linux-x86_64-3.10/uvloop/includes
copying uvloop/includes/flowcontrol.pxd -> build/lib.linux-x86_64-3.10/uvloop/includes
copying uvloop/includes/fork_handler.h -> build/lib.linux-x86_64-3.10/uvloop/includes
copying uvloop/includes/python.pxd -> build/lib.linux-x86_64-3.10/uvloop/includes
copying uvloop/includes/stdlib.pxi -> build/lib.linux-x86_64-3.10/uvloop/includes
copying uvloop/includes/system.pxd -> build/lib.linux-x86_64-3.10/uvloop/includes
copying uvloop/includes/uv.pxd -> build/lib.linux-x86_64-3.10/uvloop/includes
running build_ext
building 'uvloop.loop' extension
creating build/temp.linux-x86_64-3.10
creating build/temp.linux-x86_64-3.10/uvloop
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto -ffat-lto-objects -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto -fPIC -I/home/nick/.cache/pypoetry/virtualenvs/secret-sdk-8UUDHvc3-py3.10/include -I/usr/include/python3.10 -I/tmp/pip-req-build-22fgkig0/vendor/libuv/include -c uvloop/loop.c -o build/temp.linux-x86_64-3.10/uvloop/loop.o -O2
uvloop/loop.c: In function ‘__pyx_tp_dealloc_6uvloop_4loop_UVHandle’:
uvloop/loop.c:144572:5: error: lvalue required as increment operand
144572 | ++Py_REFCNT(o);
| ^~
uvloop/loop.c:144574:5: error: lvalue required as decrement operand
144574 | --Py_REFCNT(o);
| ^~
uvloop/loop.c: In function ‘__pyx_tp_dealloc_6uvloop_4loop_Loop’:
uvloop/loop.c:145376:5: error: lvalue required as increment operand
145376 | ++Py_REFCNT(o);
| ^~
uvloop/loop.c:145378:5: error: lvalue required as decrement operand
145378 | --Py_REFCNT(o);
| ^~
uvloop/loop.c: In function ‘__pyx_tp_dealloc_6uvloop_4loop_Handle’:
uvloop/loop.c:145831:5: error: lvalue required as increment operand
145831 | ++Py_REFCNT(o);
| ^~
uvloop/loop.c:145833:5: error: lvalue required as decrement operand
145833 | --Py_REFCNT(o);
| ^~
uvloop/loop.c: In function ‘__pyx_tp_dealloc_6uvloop_4loop_TimerHandle’:
uvloop/loop.c:146003:5: error: lvalue required as increment operand
146003 | ++Py_REFCNT(o);
| ^~
uvloop/loop.c:146005:5: error: lvalue required as decrement operand
146005 | --Py_REFCNT(o);
| ^~
uvloop/loop.c: In function ‘__pyx_tp_dealloc_6uvloop_4loop_UVProcess’:
uvloop/loop.c:147170:5: error: lvalue required as increment operand
147170 | ++Py_REFCNT(o);
| ^~
uvloop/loop.c:147172:5: error: lvalue required as decrement operand
147172 | --Py_REFCNT(o);
| ^~
uvloop/loop.c: In function ‘__pyx_tp_dealloc_6uvloop_4loop__SSLProtocolTransport’:
uvloop/loop.c:147612:5: error: lvalue required as increment operand
147612 | ++Py_REFCNT(o);
| ^~
uvloop/loop.c:147614:5: error: lvalue required as decrement operand
147614 | --Py_REFCNT(o);
| ^~
uvloop/loop.c: In function ‘__pyx_tp_dealloc_6uvloop_4loop_SSLProtocol’:
uvloop/loop.c:147797:5: error: lvalue required as increment operand
147797 | ++Py_REFCNT(o);
| ^~
uvloop/loop.c:147799:5: error: lvalue required as decrement operand
147799 | --Py_REFCNT(o);
| ^~
uvloop/loop.c: In function ‘__pyx_tp_dealloc_6uvloop_4loop__StreamWriteContext’:
uvloop/loop.c:148673:5: error: lvalue required as increment operand
148673 | ++Py_REFCNT(o);
| ^~
uvloop/loop.c:148675:5: error: lvalue required as decrement operand
148675 | --Py_REFCNT(o);
| ^~
uvloop/loop.c: In function ‘__pyx_tp_dealloc_6uvloop_4loop_AddrInfo’:
uvloop/loop.c:149133:5: error: lvalue required as increment operand
149133 | ++Py_REFCNT(o);
| ^~
uvloop/loop.c:149135:5: error: lvalue required as decrement operand
149135 | --Py_REFCNT(o);
| ^~
uvloop/loop.c: In function ‘__pyx_tp_dealloc_6uvloop_4loop__UDPSendContext’:
uvloop/loop.c:149480:5: error: lvalue required as increment operand
149480 | ++Py_REFCNT(o);
| ^~
uvloop/loop.c:149482:5: error: lvalue required as decrement operand
149482 | --Py_REFCNT(o);
| ^~
uvloop/loop.c: In function ‘__Pyx_decode_c_string’:
uvloop/loop.c:162028:9: warning: ‘PyUnicode_FromUnicode’ is deprecated [-Wdeprecated-declarations]
162028 | return PyUnicode_FromUnicode(NULL, 0);
| ^~~~~~
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from uvloop/loop.c:20:
/usr/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here
551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
| ^~~~~~~~~~~~~~~~~~~~~
uvloop/loop.c: In function ‘__Pyx_ParseOptionalKeywords’:
uvloop/loop.c:163233:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
163233 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from uvloop/loop.c:20:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
uvloop/loop.c:163233:21: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
163233 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from uvloop/loop.c:20:
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
uvloop/loop.c:163233:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
163233 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from uvloop/loop.c:20:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
uvloop/loop.c:163233:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
163233 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from uvloop/loop.c:20:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
uvloop/loop.c:163233:21: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
163233 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from uvloop/loop.c:20:
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
uvloop/loop.c:163233:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
163233 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from uvloop/loop.c:20:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
uvloop/loop.c:163249:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
163249 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from uvloop/loop.c:20:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
uvloop/loop.c:163249:25: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
163249 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from uvloop/loop.c:20:
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
uvloop/loop.c:163249:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
163249 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from uvloop/loop.c:20:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
uvloop/loop.c:163249:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
163249 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from uvloop/loop.c:20:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
uvloop/loop.c:163249:25: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
163249 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from uvloop/loop.c:20:
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
uvloop/loop.c:163249:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
163249 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from uvloop/loop.c:20:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
uvloop/loop.c: In function ‘__Pyx_Coroutine_Send’:
uvloop/loop.c:165292:19: warning: implicit declaration of function ‘_PyGen_Send’; did you mean ‘_PyGen_yf’? [-Wimplicit-function-declaration]
165292 | ret = _PyGen_Send((PyGenObject*)yf, value == Py_None ? NULL : value);
| ^~~~~~~~~~~
| _PyGen_yf
uvloop/loop.c:165292:17: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
165292 | ret = _PyGen_Send((PyGenObject*)yf, value == Py_None ? NULL : value);
| ^
uvloop/loop.c:165297:17: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
165297 | ret = _PyGen_Send((PyGenObject*)yf, value == Py_None ? NULL : value);
| ^
uvloop/loop.c: In function ‘__Pyx_Generator_Next’:
uvloop/loop.c:165381:17: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
165381 | ret = _PyGen_Send((PyGenObject*)yf, NULL);
| ^
uvloop/loop.c: In function ‘__Pyx_decode_c_bytes’:
uvloop/loop.c:167057:9: warning: ‘PyUnicode_FromUnicode’ is deprecated [-Wdeprecated-declarations]
167057 | return PyUnicode_FromUnicode(NULL, 0);
| ^~~~~~
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from uvloop/loop.c:20:
/usr/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here
551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
| ^~~~~~~~~~~~~~~~~~~~~
error: command '/usr/bin/gcc' failed with exit code 1
----------------------------------------
Rolling back uninstall of uvloop
Moving to /home/nick/.cache/pypoetry/virtualenvs/secret-sdk-8UUDHvc3-py3.10/lib/python3.10/site-packages/uvloop-0.16.0.dist-info/
from /home/nick/.cache/pypoetry/virtualenvs/secret-sdk-8UUDHvc3-py3.10/lib/python3.10/site-packages/~vloop-0.16.0.dist-info
Moving to /home/nick/.cache/pypoetry/virtualenvs/secret-sdk-8UUDHvc3-py3.10/lib/python3.10/site-packages/uvloop/
from /home/nick/.cache/pypoetry/virtualenvs/secret-sdk-8UUDHvc3-py3.10/lib/python3.10/site-packages/~vloop
ERROR: Command errored out with exit status 1: /home/nick/.cache/pypoetry/virtualenvs/secret-sdk-8UUDHvc3-py3.10/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-22fgkig0/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-22fgkig0/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-i08fnfh6/install-record.txt --single-version-externally-managed --compile --install-headers /home/nick/.cache/pypoetry/virtualenvs/secret-sdk-8UUDHvc3-py3.10/include/site/python3.10/uvloop Check the logs for full command output.
WARNING: You are using pip version 21.2.4; however, version 22.0.3 is available.
You should consider upgrading via the '/home/nick/.cache/pypoetry/virtualenvs/secret-sdk-8UUDHvc3-py3.10/bin/python -m pip install --upgrade pip' command.
at ~/.poetry/lib/poetry/utils/env.py:1183 in _run
1179│ output = subprocess.check_output(
1180│ cmd, stderr=subprocess.STDOUT, **kwargs
1181│ )
1182│ except CalledProcessError as e:
→ 1183│ raise EnvCommandError(e, input=input_)
1184│
1185│ return decode(output)
1186│
1187│ def execute(self, bin, *args, **kwargs):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment