Closed Bug 1748288 Opened 4 years ago Closed 4 years ago

`mach lint -l black` is broken with Pyhon 3.10

Categories

(Developer Infrastructure :: Lint and Formatting, task)

Tracking

(firefox98 fixed)

RESOLVED FIXED
98 Branch
Tracking Status
firefox98 --- fixed

People

(Reporter: saschanaz, Assigned: rjl)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

> ./mach lint --warnings --outgoing -l black
MozillaBuild Install Directory: C:\mozilla-build\
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
unable to start ssh-agent service, error :1058
Error connecting to agent: No such file or directory
  ERROR: Command errored out with exit status 1:
   command: 'C:\Users\Kagami\Documents\GitHub\gecko-dev\obj-x86_64-pc-mingw32\_virtualenvs\common\Scripts\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Kagami\\AppData\\Local\\Temp\\pip-install-1wglpzi8\\typed-ast_286ad9cbb8754758a974d304309ac959\\setup.py'"'"'; __file__='"'"'C:\\Users\\Kagami\\AppData\\Local\\Temp\\pip-install-1wglpzi8\\typed-ast_286ad9cbb8754758a974d304309ac959\\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 'C:\Users\Kagami\AppData\Local\Temp\pip-wheel-qart9xmk'
       cwd: C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\
  Complete output (126 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build\lib.win-amd64-3.10
  creating build\lib.win-amd64-3.10\typed_ast
  copying typed_ast\ast27.py -> build\lib.win-amd64-3.10\typed_ast
  copying typed_ast\ast3.py -> build\lib.win-amd64-3.10\typed_ast
  copying typed_ast\conversions.py -> build\lib.win-amd64-3.10\typed_ast
  copying typed_ast\__init__.py -> build\lib.win-amd64-3.10\typed_ast
  package init file 'ast3\tests\__init__.py' not found (or not a regular file)
  creating build\lib.win-amd64-3.10\typed_ast\tests
  copying ast3\tests\test_basics.py -> build\lib.win-amd64-3.10\typed_ast\tests
  running build_ext
  building '_ast27' extension
  creating build\temp.win-amd64-3.10
  creating build\temp.win-amd64-3.10\Release
  creating build\temp.win-amd64-3.10\Release\ast27
  creating build\temp.win-amd64-3.10\Release\ast27\Custom
  creating build\temp.win-amd64-3.10\Release\ast27\Parser
  creating build\temp.win-amd64-3.10\Release\ast27\Python
  C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Iast27/Include -IC:\Users\Kagami\Documents\GitHub\gecko-dev\obj-x86_64-pc-mingw32\_virtualenvs\common\include -Ic:\mozilla-build\python310\include -Ic:\mozilla-build\python310\Include -IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\ATLMFC\include -IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\include -IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\shared -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\um -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\winrt -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\cppwinrt /Tcast27/Custom/typed_ast.c /Fobuild\temp.win-amd64-3.10\Release\ast27/Custom/typed_ast.obj
  typed_ast.c
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Include\../Include/asdl.h(32): error C2143: syntax error: missing ')' before '*'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Include\../Include/asdl.h(32): error C2081: 'PyArena': name in formal parameter list illegal
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Include\../Include/asdl.h(32): error C2143: syntax error: missing '{' before '*'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Include\../Include/asdl.h(32): error C2059: syntax error: ')'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Include\../Include/asdl.h(33): error C2143: syntax error: missing ')' before '*'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Include\../Include/asdl.h(33): error C2081: 'PyArena': name in formal parameter list illegal
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Include\../Include/asdl.h(33): error C2143: syntax error: missing '{' before '*'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Include\../Include/asdl.h(33): error C2059: syntax error: ')'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(398): error C2143: syntax error: missing ')' before '*'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(398): error C2081: 'PyArena': name in formal parameter list illegal
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(398): error C2143: syntax error: missing '{' before '*'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(398): error C2059: syntax error: ')'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(400): error C2143: syntax error: missing ')' before '*'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(400): error C2081: 'PyArena': name in formal parameter list illegal
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(400): error C2143: syntax error: missing '{' before '*'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(400): error C2059: syntax error: ')'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(402): error C2143: syntax error: missing ')' before '*'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(402): error C2081: 'PyArena': name in formal parameter list illegal
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(402): error C2143: syntax error: missing '{' before '*'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(402): error C2059: syntax error: ')'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(404): error C2143: syntax error: missing ')' before '*'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(404): error C2081: 'PyArena': name in formal parameter list illegal
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(404): error C2143: syntax error: missing '{' before '*'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(404): error C2059: syntax error: ')'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(406): error C2143: syntax error: missing ')' before '*'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(406): error C2081: 'PyArena': name in formal parameter list illegal
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(406): error C2143: syntax error: missing '{' before '*'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(406): error C2059: syntax error: ')'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(410): error C2143: syntax error: missing ')' before '*'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(410): error C2081: 'PyArena': name in formal parameter list illegal
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(410): error C2143: syntax error: missing '{' before '*'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(410): error C2059: syntax error: ')'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(413): error C2143: syntax error: missing ')' before '*'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(413): error C2081: 'PyArena': name in formal parameter list illegal
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(413): error C2143: syntax error: missing '{' before '*'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(413): error C2059: syntax error: ')'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(415): error C2143: syntax error: missing ')' before '*'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(415): error C2081: 'PyArena': name in formal parameter list illegal
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(415): error C2143: syntax error: missing '{' before '*'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(415): error C2059: syntax error: ')'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(417): error C2143: syntax error: missing ')' before '*'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(417): error C2081: 'PyArena': name in formal parameter list illegal
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(417): error C2143: syntax error: missing '{' before '*'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(417): error C2059: syntax error: ')'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(420): error C2143: syntax error: missing ')' before '*'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(420): error C2081: 'PyArena': name in formal parameter list illegal
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(420): error C2143: syntax error: missing '{' before '*'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(420): error C2059: syntax error: ')'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(423): error C2143: syntax error: missing ')' before '*'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(423): error C2081: 'PyArena': name in formal parameter list illegal
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(423): error C2143: syntax error: missing '{' before '*'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(423): error C2059: syntax error: ')'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(426): error C2143: syntax error: missing ')' before '*'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(426): error C2081: 'PyArena': name in formal parameter list illegal
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(426): error C2143: syntax error: missing '{' before '*'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(426): error C2059: syntax error: ')'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(429): error C2143: syntax error: missing ')' before '*'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(429): error C2081: 'PyArena': name in formal parameter list illegal
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(429): error C2143: syntax error: missing '{' before '*'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(429): error C2059: syntax error: ')'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(432): error C2143: syntax error: missing ')' before '*'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(432): error C2081: 'PyArena': name in formal parameter list illegal
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(432): error C2143: syntax error: missing '{' before '*'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(432): error C2059: syntax error: ')'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(435): error C2143: syntax error: missing ')' before '*'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(435): error C2081: 'PyArena': name in formal parameter list illegal
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(435): error C2143: syntax error: missing '{' before '*'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(435): error C2059: syntax error: ')'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(438): error C2143: syntax error: missing ')' before '*'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(438): error C2081: 'PyArena': name in formal parameter list illegal
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(438): error C2143: syntax error: missing '{' before '*'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(438): error C2059: syntax error: ')'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(441): error C2143: syntax error: missing ')' before '*'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(441): error C2081: 'PyArena': name in formal parameter list illegal
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(441): error C2143: syntax error: missing '{' before '*'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(441): error C2059: syntax error: ')'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(444): error C2143: syntax error: missing ')' before '*'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(444): error C2081: 'PyArena': name in formal parameter list illegal
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(444): error C2143: syntax error: missing '{' before '*'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(444): error C2059: syntax error: ')'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(447): error C2143: syntax error: missing ')' before '*'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(447): error C2081: 'PyArena': name in formal parameter list illegal
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(447): error C2143: syntax error: missing '{' before '*'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(447): error C2059: syntax error: ')'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(449): error C2143: syntax error: missing ')' before '*'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(449): error C2081: 'PyArena': name in formal parameter list illegal
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(449): error C2143: syntax error: missing '{' before '*'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(449): error C2059: syntax error: ')'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(451): error C2143: syntax error: missing ')' before '*'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(451): error C2081: 'PyArena': name in formal parameter list illegal
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(451): error C2143: syntax error: missing '{' before '*'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(451): error C2059: syntax error: ')'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(454): error C2143: syntax error: missing ')' before '*'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(454): error C2081: 'PyArena': name in formal parameter list illegal
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(454): error C2143: syntax error: missing '{' before '*'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(454): error C2059: syntax error: ')'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(457): error C2143: syntax error: missing ')' before '*'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(457): error C2081: 'PyArena': name in formal parameter list illegal
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(457): error C2143: syntax error: missing '{' before '*'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(457): error C2059: syntax error: ')'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(459): error C2143: syntax error: missing ')' before '*'
  C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(459): fatal error C1003: error count exceeds 100; stopping compilation
  error: command 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.30.30705\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
  ----------------------------------------
  ERROR: Failed building wheel for typed-ast
    ERROR: Command errored out with exit status 1:
     command: 'C:\Users\Kagami\Documents\GitHub\gecko-dev\obj-x86_64-pc-mingw32\_virtualenvs\common\Scripts\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Kagami\\AppData\\Local\\Temp\\pip-install-1wglpzi8\\typed-ast_286ad9cbb8754758a974d304309ac959\\setup.py'"'"'; __file__='"'"'C:\\Users\\Kagami\\AppData\\Local\\Temp\\pip-install-1wglpzi8\\typed-ast_286ad9cbb8754758a974d304309ac959\\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 'C:\Users\Kagami\AppData\Local\Temp\pip-record-t3wz3hst\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\Kagami\Documents\GitHub\gecko-dev\obj-x86_64-pc-mingw32\_virtualenvs\common\include\site\python3.10\typed-ast'
         cwd: C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\
    Complete output (126 lines):
    running install
    running build
    running build_py
    creating build
    creating build\lib.win-amd64-3.10
    creating build\lib.win-amd64-3.10\typed_ast
    copying typed_ast\ast27.py -> build\lib.win-amd64-3.10\typed_ast
    copying typed_ast\ast3.py -> build\lib.win-amd64-3.10\typed_ast
    copying typed_ast\conversions.py -> build\lib.win-amd64-3.10\typed_ast
    copying typed_ast\__init__.py -> build\lib.win-amd64-3.10\typed_ast
    package init file 'ast3\tests\__init__.py' not found (or not a regular file)
    creating build\lib.win-amd64-3.10\typed_ast\tests
    copying ast3\tests\test_basics.py -> build\lib.win-amd64-3.10\typed_ast\tests
    running build_ext
    building '_ast27' extension
    creating build\temp.win-amd64-3.10
    creating build\temp.win-amd64-3.10\Release
    creating build\temp.win-amd64-3.10\Release\ast27
    creating build\temp.win-amd64-3.10\Release\ast27\Custom
    creating build\temp.win-amd64-3.10\Release\ast27\Parser
    creating build\temp.win-amd64-3.10\Release\ast27\Python
    C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Iast27/Include -IC:\Users\Kagami\Documents\GitHub\gecko-dev\obj-x86_64-pc-mingw32\_virtualenvs\common\include -Ic:\mozilla-build\python310\include -Ic:\mozilla-build\python310\Include -IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\ATLMFC\include -IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\include -IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\shared -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\um -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\winrt -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\cppwinrt /Tcast27/Custom/typed_ast.c /Fobuild\temp.win-amd64-3.10\Release\ast27/Custom/typed_ast.obj
    typed_ast.c
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Include\../Include/asdl.h(32): error C2143: syntax error: missing ')' before '*'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Include\../Include/asdl.h(32): error C2081: 'PyArena': name in formal parameter list illegal
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Include\../Include/asdl.h(32): error C2143: syntax error: missing '{' before '*'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Include\../Include/asdl.h(32): error C2059: syntax error: ')'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Include\../Include/asdl.h(33): error C2143: syntax error: missing ')' before '*'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Include\../Include/asdl.h(33): error C2081: 'PyArena': name in formal parameter list illegal
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Include\../Include/asdl.h(33): error C2143: syntax error: missing '{' before '*'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Include\../Include/asdl.h(33): error C2059: syntax error: ')'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(398): error C2143: syntax error: missing ')' before '*'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(398): error C2081: 'PyArena': name in formal parameter list illegal
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(398): error C2143: syntax error: missing '{' before '*'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(398): error C2059: syntax error: ')'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(400): error C2143: syntax error: missing ')' before '*'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(400): error C2081: 'PyArena': name in formal parameter list illegal
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(400): error C2143: syntax error: missing '{' before '*'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(400): error C2059: syntax error: ')'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(402): error C2143: syntax error: missing ')' before '*'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(402): error C2081: 'PyArena': name in formal parameter list illegal
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(402): error C2143: syntax error: missing '{' before '*'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(402): error C2059: syntax error: ')'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(404): error C2143: syntax error: missing ')' before '*'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(404): error C2081: 'PyArena': name in formal parameter list illegal
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(404): error C2143: syntax error: missing '{' before '*'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(404): error C2059: syntax error: ')'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(406): error C2143: syntax error: missing ')' before '*'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(406): error C2081: 'PyArena': name in formal parameter list illegal
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(406): error C2143: syntax error: missing '{' before '*'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(406): error C2059: syntax error: ')'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(410): error C2143: syntax error: missing ')' before '*'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(410): error C2081: 'PyArena': name in formal parameter list illegal
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(410): error C2143: syntax error: missing '{' before '*'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(410): error C2059: syntax error: ')'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(413): error C2143: syntax error: missing ')' before '*'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(413): error C2081: 'PyArena': name in formal parameter list illegal
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(413): error C2143: syntax error: missing '{' before '*'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(413): error C2059: syntax error: ')'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(415): error C2143: syntax error: missing ')' before '*'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(415): error C2081: 'PyArena': name in formal parameter list illegal
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(415): error C2143: syntax error: missing '{' before '*'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(415): error C2059: syntax error: ')'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(417): error C2143: syntax error: missing ')' before '*'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(417): error C2081: 'PyArena': name in formal parameter list illegal
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(417): error C2143: syntax error: missing '{' before '*'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(417): error C2059: syntax error: ')'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(420): error C2143: syntax error: missing ')' before '*'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(420): error C2081: 'PyArena': name in formal parameter list illegal
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(420): error C2143: syntax error: missing '{' before '*'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(420): error C2059: syntax error: ')'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(423): error C2143: syntax error: missing ')' before '*'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(423): error C2081: 'PyArena': name in formal parameter list illegal
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(423): error C2143: syntax error: missing '{' before '*'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(423): error C2059: syntax error: ')'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(426): error C2143: syntax error: missing ')' before '*'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(426): error C2081: 'PyArena': name in formal parameter list illegal
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(426): error C2143: syntax error: missing '{' before '*'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(426): error C2059: syntax error: ')'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(429): error C2143: syntax error: missing ')' before '*'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(429): error C2081: 'PyArena': name in formal parameter list illegal
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(429): error C2143: syntax error: missing '{' before '*'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(429): error C2059: syntax error: ')'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(432): error C2143: syntax error: missing ')' before '*'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(432): error C2081: 'PyArena': name in formal parameter list illegal
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(432): error C2143: syntax error: missing '{' before '*'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(432): error C2059: syntax error: ')'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(435): error C2143: syntax error: missing ')' before '*'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(435): error C2081: 'PyArena': name in formal parameter list illegal
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(435): error C2143: syntax error: missing '{' before '*'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(435): error C2059: syntax error: ')'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(438): error C2143: syntax error: missing ')' before '*'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(438): error C2081: 'PyArena': name in formal parameter list illegal
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(438): error C2143: syntax error: missing '{' before '*'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(438): error C2059: syntax error: ')'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(441): error C2143: syntax error: missing ')' before '*'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(441): error C2081: 'PyArena': name in formal parameter list illegal
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(441): error C2143: syntax error: missing '{' before '*'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(441): error C2059: syntax error: ')'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(444): error C2143: syntax error: missing ')' before '*'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(444): error C2081: 'PyArena': name in formal parameter list illegal
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(444): error C2143: syntax error: missing '{' before '*'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(444): error C2059: syntax error: ')'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(447): error C2143: syntax error: missing ')' before '*'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(447): error C2081: 'PyArena': name in formal parameter list illegal
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(447): error C2143: syntax error: missing '{' before '*'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(447): error C2059: syntax error: ')'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(449): error C2143: syntax error: missing ')' before '*'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(449): error C2081: 'PyArena': name in formal parameter list illegal
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(449): error C2143: syntax error: missing '{' before '*'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(449): error C2059: syntax error: ')'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(451): error C2143: syntax error: missing ')' before '*'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(451): error C2081: 'PyArena': name in formal parameter list illegal
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(451): error C2143: syntax error: missing '{' before '*'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(451): error C2059: syntax error: ')'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(454): error C2143: syntax error: missing ')' before '*'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(454): error C2081: 'PyArena': name in formal parameter list illegal
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(454): error C2143: syntax error: missing '{' before '*'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(454): error C2059: syntax error: ')'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(457): error C2143: syntax error: missing ')' before '*'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(457): error C2081: 'PyArena': name in formal parameter list illegal
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(457): error C2143: syntax error: missing '{' before '*'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(457): error C2059: syntax error: ')'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(459): error C2143: syntax error: missing ')' before '*'
    C:\Users\Kagami\AppData\Local\Temp\pip-install-1wglpzi8\typed-ast_286ad9cbb8754758a974d304309ac959\ast27\Custom\../Include/Python-ast.h(459): fatal error C1003: error count exceeds 100; stopping compilation
    error: command 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.30.30705\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
    ----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\Kagami\Documents\GitHub\gecko-dev\obj-x86_64-pc-mingw32\_virtualenvs\common\Scripts\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Kagami\\AppData\\Local\\Temp\\pip-install-1wglpzi8\\typed-ast_286ad9cbb8754758a974d304309ac959\\setup.py'"'"'; __file__='"'"'C:\\Users\\Kagami\\AppData\\Local\\Temp\\pip-install-1wglpzi8\\typed-ast_286ad9cbb8754758a974d304309ac959\\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 'C:\Users\Kagami\AppData\Local\Temp\pip-record-t3wz3hst\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\Kagami\Documents\GitHub\gecko-dev\obj-x86_64-pc-mingw32\_virtualenvs\common\include\site\python3.10\typed-ast' Check the logs for full command output.
Unable to install correct version of black
Try to install it manually with:
    $ pip install -U --require-hashes -r C:\Users\Kagami\Documents\GitHub\gecko-dev\tools\lint\python\black_requirements.txt
error: problem with lint setup, skipping black
Error running mach:

    ['lint', '--warnings', '--outgoing', '-l', 'black']

The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.
You can invoke |./mach busted| to check if this issue is already on file. If it
isn't, please use |./mach busted file lint| to report it. If |./mach busted| is
misbehaving, you can also inspect the dependencies of bug 1543241.

If filing a bug, please include the full output of mach, including this error
message.

The details of the failure are as follows:

mozlint.errors.LintersNotConfigured: No linters registered! Use `LintRoller.read` to register a linter.

  File "C:\Users\Kagami\Documents\GitHub\gecko-dev\tools/lint/mach_commands.py", line 99, in lint
    return cli.run(*runargs, **lintargs)
  File "c:\users\kagami\documents\github\gecko-dev\python\mozlint\mozlint\cli.py", line 382, in run
    result = lint.roll(
  File "c:\users\kagami\documents\github\gecko-dev\python\mozlint\mozlint\roller.py", line 299, in roll
    raise LintersNotConfigured

Black and PyLint linters fail to install with Python 3.10 because of typed-ast.
typed-ast 1.4.3 added support for Python 3.10.

Assignee: nobody → rob
Status: NEW → ASSIGNED
Pushed by thunderbird@calypsoblue.org: https://hg.mozilla.org/integration/autoland/rev/34a3fa9bc34f Update typed-ast dependency in pylint and black linters. r=linter-reviewers,ahal
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 98 Branch
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: