Skip to content

Vercel 近期重新部署报错 #25

@Hirx0x01

Description

@Hirx0x01
Running build in Washington, D.C., USA (East) – iad1
14:56:38.669 | Cloning github.com/binjie09/duckduckgo-api (Branch: main, Commit: cc67c06)
14:56:38.941 | Cloning completed: 272.705ms
14:56:39.080 | Previous build cache not available
14:56:39.370 | Running "vercel build"
14:56:39.966 | Vercel CLI 34.2.0
14:56:40.149 | WARN! Due to `builds` existing in your configuration file, the Build and Development Settings defined in your Project Settings will not apply. Learn More: https://vercel.link/unused-build-settings
14:56:40.178 | Installing required dependencies...
14:56:51.415 | Failed to run "pip3.9 install --disable-pip-version-check --target . --upgrade -r /vercel/path0/requirements.txt"
14:56:51.415 | Error: Command failed: pip3.9 install --disable-pip-version-check --target . --upgrade -r /vercel/path0/requirements.txt
14:56:51.416 | error: subprocess-exited-with-error
14:56:51.416 |  
14:56:51.416 | × Preparing metadata (pyproject.toml) did not run successfully.
14:56:51.416 | │ exit code: 1
14:56:51.416 | ╰─> [6 lines of output]
14:56:51.416 |  
14:56:51.416 | Cargo, the Rust package manager, is not installed or is not on PATH.
14:56:51.416 | This package requires Rust and Cargo to compile extensions. Install it through
14:56:51.416 | the system's package manager or via https://rustup.rs/
14:56:51.416 |  
14:56:51.416 | Checking for Rust toolchain....
14:56:51.416 | [end of output]
14:56:51.416 |  
14:56:51.416 | note: This error originates from a subprocess, and is likely not a problem with pip.
14:56:51.416 | error: metadata-generation-failed
14:56:51.416 |  
14:56:51.416 | × Encountered error while generating package metadata.
14:56:51.416 | ╰─> See above for output.
14:56:51.417 |  
14:56:51.417 | note: This is an issue with the package mentioned above, not pip.
14:56:51.417 | hint: See above for details.
14:56:51.417 |  
14:56:51.417 | Collecting certifi==2022.12.7 (from -r /vercel/path0/requirements.txt (line 1))
14:56:51.417 | Downloading certifi-2022.12.7-py3-none-any.whl.metadata (2.9 kB)
14:56:51.417 | Collecting charset-normalizer==3.1.0 (from -r /vercel/path0/requirements.txt (line 2))
14:56:51.417 | Downloading charset_normalizer-3.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (30 kB)
14:56:51.417 | Collecting click>=8.1.3 (from -r /vercel/path0/requirements.txt (line 3))
14:56:51.417 | Downloading click-8.1.7-py3-none-any.whl.metadata (3.0 kB)
14:56:51.417 | Collecting duckduckgo-search>=3.9.9 (from -r /vercel/path0/requirements.txt (line 4))
14:56:51.417 | Downloading duckduckgo_search-6.1.0-py3-none-any.whl.metadata (18 kB)
14:56:51.417 | Collecting Flask==2.2.3 (from -r /vercel/path0/requirements.txt (line 5))
14:56:51.417 | Downloading Flask-2.2.3-py3-none-any.whl.metadata (3.9 kB)
14:56:51.417 | Collecting gunicorn==20.1.0 (from -r /vercel/path0/requirements.txt (line 6))
14:56:51.417 | Downloading gunicorn-20.1.0-py3-none-any.whl.metadata (3.8 kB)
14:56:51.417 | Collecting idna==3.4 (from -r /vercel/path0/requirements.txt (line 7))
14:56:51.417 | Downloading idna-3.4-py3-none-any.whl.metadata (9.8 kB)
14:56:51.417 | Collecting importlib-metadata==6.1.0 (from -r /vercel/path0/requirements.txt (line 8))
14:56:51.417 | Downloading importlib_metadata-6.1.0-py3-none-any.whl.metadata (5.0 kB)
14:56:51.417 | Collecting itsdangerous==2.1.2 (from -r /vercel/path0/requirements.txt (line 9))
14:56:51.417 | Downloading itsdangerous-2.1.2-py3-none-any.whl.metadata (2.9 kB)
14:56:51.417 | Collecting Jinja2==3.1.2 (from -r /vercel/path0/requirements.txt (line 10))
14:56:51.417 | Downloading Jinja2-3.1.2-py3-none-any.whl.metadata (3.5 kB)
14:56:51.417 | Collecting MarkupSafe==2.1.2 (from -r /vercel/path0/requirements.txt (line 11))
14:56:51.417 | Downloading MarkupSafe-2.1.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.2 kB)
14:56:51.417 | Collecting requests>=2.28.2 (from -r /vercel/path0/requirements.txt (line 12))
14:56:51.417 | Downloading requests-2.31.0-py3-none-any.whl.metadata (4.6 kB)
14:56:51.417 | Collecting urllib3==1.26.15 (from -r /vercel/path0/requirements.txt (line 13))
14:56:51.417 | Downloading urllib3-1.26.15-py2.py3-none-any.whl.metadata (48 kB)
14:56:51.417 | ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.1/48.1 kB 17.0 MB/s eta 0:00:00
14:56:51.418 | Collecting Werkzeug==2.2.3 (from -r /vercel/path0/requirements.txt (line 14))
14:56:51.418 | Downloading Werkzeug-2.2.3-py3-none-any.whl.metadata (4.4 kB)
14:56:51.418 | Collecting zipp==3.15.0 (from -r /vercel/path0/requirements.txt (line 15))
14:56:51.418 | Downloading zipp-3.15.0-py3-none-any.whl.metadata (3.7 kB)
14:56:51.418 | Collecting setuptools>=3.0 (from gunicorn==20.1.0->-r /vercel/path0/requirements.txt (line 6))
14:56:51.418 | Downloading setuptools-69.5.1-py3-none-any.whl.metadata (6.2 kB)
14:56:51.418 | Collecting pyreqwest-impersonate>=0.4.5 (from duckduckgo-search>=3.9.9->-r /vercel/path0/requirements.txt (line 4))
14:56:51.418 | Downloading pyreqwest_impersonate-0.4.5.tar.gz (129 kB)
14:56:51.418 | ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 129.8/129.8 kB 38.1 MB/s eta 0:00:00
14:56:51.418 | Installing build dependencies: started
14:56:51.418 | Installing build dependencies: finished with status 'done'
14:56:51.418 | Getting requirements to build wheel: started
14:56:51.418 | Getting requirements to build wheel: finished with status 'done'
14:56:51.418 | Preparing metadata (pyproject.toml): started
14:56:51.418 | Preparing metadata (pyproject.toml): finished with status 'error'
14:56:51.418 |  
14:56:51.807

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions