composer
Composer's resolver refusing the requirements, with the explanation it prints underneath.
phpdepstoolmatcher
Install: ci-doctor matchers add official/composer
matchers/php/composer/matcher.yaml
id: composerrole: toolclassification: [php, deps]description: Composer's resolver refusing the requirements, with the explanation it prints underneath.pattern: Your requirements could not be resolvedbefore: 1after: 12
In bundles
Fixtures
Framing stripped per provider. Highlighted lines are what this matcher selects; the marked line is the anchor.
composer_conflictOpen in playground
1Current runner version: '2.336.0'
2##[group]Operating System
3Ubuntu
424.04.4
5LTS
6##[endgroup]
7Secret source: Actions
8Prepare workflow directory
9Prepare all required actions
10Complete job name: composer_conflict
11##[group]Set up job
12Image: ubuntu-24.04
13Runner name: 'GitHub Actions 12'
14##[endgroup]
15Download action repository 'actions/checkout@v4'
16Download action repository 'actions/cache@v4'
17##[group]Run actions/checkout@v4
18 with:
19 fetch-depth: 20
20 lfs: false
21##[endgroup]
22Syncing repository: acme/ledger
23##[group]Getting Git version info
24Working directory is '/home/runner/work/ledger/ledger'
25##[endgroup]
26/usr/bin/git checkout --progress --force 8ad41f02
27##[group]Run actions/cache@v4
28 with:
29 path: ~/.cache
30 key: Linux-deps-8ad41f02
31##[endgroup]
32Cache not found for input keys: Linux-deps-8ad41f02
33##[warning]file does not exist
34##[group]Run php --version
35php --version
36composer install --no-interaction --no-progress
37shell: /usr/bin/bash -e {0}
38##[endgroup]
39PHP 8.1.27 (cli) (built: Dec 20 2023 14:02:04) (NTS)
40Loading composer repositories with package information
41Updating dependencies
42Your requirements could not be resolved to an installable set of packages.
43
44 Problem 1
45 - Root composer.json requires symfony/http-kernel ^7.1 -> satisfiable by symfony/http-kernel[v7.1.0].
46 - symfony/http-kernel v7.1.0 requires php >=8.2 -> your php version (8.1.27) does not satisfy that requirement.
47
48To enable extensions, verify that they are enabled in your .ini files.
49##[error]Process completed with exit code 2.
50##[group]Post Run actions/checkout@v4
51##[endgroup]
52/usr/bin/git version
53git version 2.54.0
54##[group]Post Run actions/upload-artifact@v4
55##[endgroup]
56Artifact upload complete.
57##[warning]vendor/: no matching files. Ensure that the artifact path is relative to the working directory
58Post job cleanup.
59Cleaning up orphan processes
1Running with gitlab-runner 16.10.0 (be4e0e33)
2 on php-runner-01 Ph7Yu2Nb, system ID: s_bb88cc77dd66
3Preparing the "docker" executor
4 Using Docker executor with image php:8.1-cli ...
5Using Docker executor with image php:8.1-cli ...
6Using docker image sha256:1a2b3c4d5e6f for php:8.1-cli with digest php@sha256:9c8d...
7Preparing environment
8Running on runner-ph7yu2nb-project-53-concurrent-2...
9Fetching changes...
10Checking out 5da77e31 as detached HEAD...
11Checking cache for composer-8.1-default...
12WARNING: file does not exist
13Failed to extract cache
14$ php --version
15PHP 8.1.27 (cli) (built: Dec 20 2023 14:02:04) (NTS)
16$ composer install --no-interaction --no-progress
17Loading composer repositories with package information
18Updating dependencies
19Your requirements could not be resolved to an installable set of packages.
20
21 Problem 1
22 - Root composer.json requires symfony/http-kernel ^7.1 -> satisfiable by symfony/http-kernel[v7.1.0].
23 - symfony/http-kernel v7.1.0 requires php >=8.2 -> your php version (8.1.27) does not satisfy that requirement.
24
25To enable extensions, verify that they are enabled in your .ini files.
26Running after_script
27$ echo "composer install failed"
28composer install failed
29Uploading artifacts for failed job
30WARNING: vendor/: no matching files. Ensure that the artifact path is relative to the working directory
31ERROR: Job failed: exit code 2