Skip to content

Conversation

@flutter-pub-roller-bot
Copy link
Contributor

This PR was generated by flutter update-packages --force-upgrade.

@flutter-pub-roller-bot flutter-pub-roller-bot added tool Affects the "flutter" command-line tool. See also t: labels. autosubmit Merge PR when tree becomes green via auto submit App labels May 22, 2024
@auto-submit auto-submit bot removed the autosubmit Merge PR when tree becomes green via auto submit App label May 22, 2024
@auto-submit
Copy link
Contributor

auto-submit bot commented May 22, 2024

auto label is removed for flutter/flutter/148911, due to - The status or check suite Mac_arm64 build_tests_1_4 has failed. Please fix the issues identified (or deflake) before re-applying this label.

@goderbauer
Copy link
Member

@andrewkolos It looks like the flutter tools tests are failing on this version roll. Could you take a look and unblock this?

@andrewkolos
Copy link
Contributor

Looking at the logs of one of the failing checks, it looks like there is some native dependency conflict caused by upgrading camera_android_camerax from 0.6.5+1 to 0.6.2+2. This version upgraded its native dependency on the core camerax library.

stderr from native compilation
FAILURE: Build failed with an exception.
            [        ] * What went wrong:
            [        ] Execution failed for task ':camera_android_camerax:compileDebugJavaWithJavac'.
            [        ] > Could not resolve all files for configuration ':camera_android_camerax:debugCompileClasspath'.
            [        ]    > Could not resolve androidx.camera:camera-core:1.3.3.
            [        ]      Required by:
            [        ]          project :camera_android_camerax
            [        ]          project :camera_android_camerax > androidx.camera:camera-camera2:1.3.3
            [        ]          project :camera_android_camerax > androidx.camera:camera-lifecycle:1.3.3
            [        ]          project :camera_android_camerax > androidx.camera:camera-video:1.3.3
            [        ]       > Cannot find a version of 'androidx.camera:camera-core' that satisfies the version constraints:
            [        ]            Dependency path 'io.flutter.plugins.camerax:camera_android_camerax:1.0' --> 'androidx.camera:camera-core:1.3.3'
            [        ]            Constraint path 'io.flutter.plugins.camerax:camera_android_camerax:1.0' --> 'androidx.camera:camera-core:{strictly 1.3.0-beta01}' because of the following reason: dependency was locked to version '1.3.0-beta01'
            [        ]            Dependency path 'io.flutter.plugins.camerax:camera_android_camerax:1.0' --> 'androidx.camera:camera-camera2:1.3.3' (releaseVariantReleaseApiPublication) --> 'androidx.camera:camera-core:1.3.3' because of the following reasons: camera-camera2 is in atomic group androidx.camera, camera-lifecycle is in atomic group androidx.camera, camera-video is in atomic group androidx.camera
            [        ]            Dependency path 'io.flutter.plugins.camerax:camera_android_camerax:1.0' --> 'androidx.camera:camera-camera2:1.3.3' (releaseVariantReleaseApiPublication) --> 'androidx.camera:camera-core:1.3.3' because of the following reasons: camera-camera2 is in atomic group androidx.camera, camera-lifecycle is in atomic group androidx.camera, camera-video is in atomic group androidx.camera
            [        ]            Dependency path 'io.flutter.plugins.camerax:camera_android_camerax:1.0' --> 'androidx.camera:camera-lifecycle:1.3.3' (releaseVariantReleaseApiPublication) --> 'androidx.camera:camera-core:1.3.3' because of the following reasons: camera-camera2 is in atomic group androidx.camera, camera-lifecycle is in atomic group androidx.camera, camera-video is in atomic group androidx.camera
            [        ]            Dependency path 'io.flutter.plugins.camerax:camera_android_camerax:1.0' --> 'androidx.camera:camera-lifecycle:1.3.3' (releaseVariantReleaseApiPublication) --> 'androidx.camera:camera-core:1.3.3' because of the following reasons: camera-camera2 is in atomic group androidx.camera, camera-lifecycle is in atomic group androidx.camera, camera-video is in atomic group androidx.camera
            [        ]            Dependency path 'io.flutter.plugins.camerax:camera_android_camerax:1.0' --> 'androidx.camera:camera-video:1.3.3' (releaseVariantReleaseApiPublication) --> 'androidx.camera:camera-core:1.3.3' because of the following reasons: camera-camera2 is in atomic group androidx.camera, camera-lifecycle is in atomic group androidx.camera, camera-video is in atomic group androidx.camera
            [        ]            Dependency path 'io.flutter.plugins.camerax:camera_android_camerax:1.0' --> 'androidx.camera:camera-video:1.3.3' (releaseVariantReleaseApiPublication) --> 'androidx.camera:camera-core:1.3.3' because of the following reasons: camera-camera2 is in atomic group androidx.camera, camera-lifecycle is in atomic group androidx.camera, camera-video is in atomic group androidx.camera
            [        ]    > Could not resolve androidx.camera:camera-camera2:1.3.3.
            [        ]      Required by:
            [        ]          project :camera_android_camerax
            [        ]          project :camera_android_camerax > androidx.camera:camera-core:1.3.3
            [        ]          project :camera_android_camerax > androidx.camera:camera-lifecycle:1.3.3
            [        ]          project :camera_android_camerax > androidx.camera:camera-video:1.3.3
            [        ]       > Cannot find a version of 'androidx.camera:camera-camera2' that satisfies the version constraints:
            [        ]            Dependency path 'io.flutter.plugins.camerax:camera_android_camerax:1.0' --> 'androidx.camera:camera-camera2:1.3.3'
            [        ]            Constraint path 'io.flutter.plugins.camerax:camera_android_camerax:1.0' --> 'androidx.camera:camera-camera2:{strictly 1.3.0-beta01}' because of the following reason: dependency was locked to version '1.3.0-beta01'
            [        ]            Constraint path 'io.flutter.plugins.camerax:camera_android_camerax:1.0' --> 'androidx.camera:camera-core:1.3.3' (releaseVariantReleaseApiPublication) --> 'androidx.camera:camera-camera2:1.3.3' because of the following reasons: camera-core is in atomic group androidx.camera, camera-lifecycle is in atomic group androidx.camera, camera-video is in atomic group androidx.camera
            [        ]            Constraint path 'io.flutter.plugins.camerax:camera_android_camerax:1.0' --> 'androidx.camera:camera-lifecycle:1.3.3' (releaseVariantReleaseApiPublication) --> 'androidx.camera:camera-camera2:1.3.3' because of the following reasons: camera-core is in atomic group androidx.camera, camera-lifecycle is in atomic group androidx.camera, camera-video is in atomic group androidx.camera
            [        ]            Constraint path 'io.flutter.plugins.camerax:camera_android_camerax:1.0' --> 'androidx.camera:camera-video:1.3.3' (releaseVariantReleaseApiPublication) --> 'androidx.camera:camera-camera2:1.3.3' because of the following reasons: camera-core is in atomic group androidx.camera, camera-lifecycle is in atomic group androidx.camera, camera-video is in atomic group androidx.camera
            [        ]    > Could not resolve androidx.camera:camera-lifecycle:1.3.3.
            [        ]      Required by:
            [        ]          project :camera_android_camerax
            [        ]          project :camera_android_camerax > androidx.camera:camera-core:1.3.3
            [        ]          project :camera_android_camerax > androidx.camera:camera-camera2:1.3.3
            [        ]          project :camera_android_camerax > androidx.camera:camera-video:1.3.3
            [        ]       > Cannot find a version of 'androidx.camera:camera-lifecycle' that satisfies the version constraints:
            [        ]            Dependency path 'io.flutter.plugins.camerax:camera_android_camerax:1.0' --> 'androidx.camera:camera-lifecycle:1.3.3'
            [        ]            Constraint path 'io.flutter.plugins.camerax:camera_android_camerax:1.0' --> 'androidx.camera:camera-lifecycle:{strictly 1.3.0-beta01}' because of the following reason: dependency was locked to version '1.3.0-beta01'
            [        ]            Constraint path 'io.flutter.plugins.camerax:camera_android_camerax:1.0' --> 'androidx.camera:camera-core:1.3.3' (releaseVariantReleaseApiPublication) --> 'androidx.camera:camera-lifecycle:1.3.3' because of the following reasons: camera-core is in atomic group androidx.camera, camera-camera2 is in atomic group androidx.camera, camera-video is in atomic group androidx.camera
            [        ]            Constraint path 'io.flutter.plugins.camerax:camera_android_camerax:1.0' --> 'androidx.camera:camera-camera2:1.3.3' (releaseVariantReleaseApiPublication) --> 'androidx.camera:camera-lifecycle:1.3.3' because of the following reasons: camera-core is in atomic group androidx.camera, camera-camera2 is in atomic group androidx.camera, camera-video is in atomic group androidx.camera
            [        ]            Constraint path 'io.flutter.plugins.camerax:camera_android_camerax:1.0' --> 'androidx.camera:camera-video:1.3.3' (releaseVariantReleaseApiPublication) --> 'androidx.camera:camera-lifecycle:1.3.3' because of the following reasons: camera-core is in atomic group androidx.camera, camera-camera2 is in atomic group androidx.camera, camera-video is in atomic group androidx.camera
            [        ]    > Could not resolve androidx.camera:camera-video:1.3.3.
            [        ]      Required by:
            [        ]          project :camera_android_camerax
            [        ]          project :camera_android_camerax > androidx.camera:camera-core:1.3.3
            [        ]          project :camera_android_camerax > androidx.camera:camera-camera2:1.3.3
            [        ]          project :camera_android_camerax > androidx.camera:camera-lifecycle:1.3.3
            [        ]       > Cannot find a version of 'androidx.camera:camera-video' that satisfies the version constraints:
            [        ]            Dependency path 'io.flutter.plugins.camerax:camera_android_camerax:1.0' --> 'androidx.camera:camera-video:1.3.3'
            [        ]            Constraint path 'io.flutter.plugins.camerax:camera_android_camerax:1.0' --> 'androidx.camera:camera-video:{strictly 1.3.0-beta01}' because of the following reason: dependency was locked to version '1.3.0-beta01'
            [        ]            Constraint path 'io.flutter.plugins.camerax:camera_android_camerax:1.0' --> 'androidx.camera:camera-core:1.3.3' (releaseVariantReleaseApiPublication) --> 'androidx.camera:camera-video:1.3.3' because of the following reasons: camera-core is in atomic group androidx.camera, camera-camera2 is in atomic group androidx.camera, camera-lifecycle is in atomic group androidx.camera
            [        ]            Constraint path 'io.flutter.plugins.camerax:camera_android_camerax:1.0' --> 'androidx.camera:camera-camera2:1.3.3' (releaseVariantReleaseApiPublication) --> 'androidx.camera:camera-video:1.3.3' because of the following reasons: camera-core is in atomic group androidx.camera, camera-camera2 is in atomic group androidx.camera, camera-lifecycle is in atomic group androidx.camera
            [        ]            Constraint path 'io.flutter.plugins.camerax:camera_android_camerax:1.0' --> 'androidx.camera:camera-lifecycle:1.3.3' (releaseVariantReleaseApiPublication) --> 'androidx.camera:camera-video:1.3.3' because of the following reasons: camera-core is in atomic group androidx.camera, camera-camera2 is in atomic group androidx.camera, camera-lifecycle is in atomic group androidx.camera
            [        ]    > Could not resolve androidx.camera:camera-video:{strictly 1.3.0-beta01}.
            [        ]      Required by:
            [        ]          project :camera_android_camerax
            [        ]       > Cannot find a version of 'androidx.camera:camera-video' that satisfies the version constraints:
            [        ]            Dependency path 'io.flutter.plugins.camerax:camera_android_camerax:1.0' --> 'androidx.camera:camera-video:1.3.3'
            [        ]            Constraint path 'io.flutter.plugins.camerax:camera_android_camerax:1.0' --> 'androidx.camera:camera-video:{strictly 1.3.0-beta01}' because of the following reason: dependency was locked to version '1.3.0-beta01'
            [        ]            Constraint path 'io.flutter.plugins.camerax:camera_android_camerax:1.0' --> 'androidx.camera:camera-core:1.3.3' (releaseVariantReleaseApiPublication) --> 'androidx.camera:camera-video:1.3.3' because of the following reasons: camera-core is in atomic group androidx.camera, camera-camera2 is in atomic group androidx.camera, camera-lifecycle is in atomic group androidx.camera
            [        ]            Constraint path 'io.flutter.plugins.camerax:camera_android_camerax:1.0' --> 'androidx.camera:camera-camera2:1.3.3' (releaseVariantReleaseApiPublication) --> 'androidx.camera:camera-video:1.3.3' because of the following reasons: camera-core is in atomic group androidx.camera, camera-camera2 is in atomic group androidx.camera, camera-lifecycle is in atomic group androidx.camera
            [        ]            Constraint path 'io.flutter.plugins.camerax:camera_android_camerax:1.0' --> 'androidx.camera:camera-lifecycle:1.3.3' (releaseVariantReleaseApiPublication) --> 'androidx.camera:camera-video:1.3.3' because of the following reasons: camera-core is in atomic group androidx.camera, camera-camera2 is in atomic group androidx.camera, camera-lifecycle is in atomic group androidx.camera
            [        ]    > Could not resolve androidx.camera:camera-core:{strictly 1.3.0-beta01}.
            [        ]      Required by:
            [        ]          project :camera_android_camerax
            [        ]       > Cannot find a version of 'androidx.camera:camera-core' that satisfies the version constraints:
            [        ]            Dependency path 'io.flutter.plugins.camerax:camera_android_camerax:1.0' --> 'androidx.camera:camera-core:1.3.3'
            [        ]            Constraint path 'io.flutter.plugins.camerax:camera_android_camerax:1.0' --> 'androidx.camera:camera-core:{strictly 1.3.0-beta01}' because of the following reason: dependency was locked to version '1.3.0-beta01'
            [        ]            Dependency path 'io.flutter.plugins.camerax:camera_android_camerax:1.0' --> 'androidx.camera:camera-camera2:1.3.3' (releaseVariantReleaseApiPublication) --> 'androidx.camera:camera-core:1.3.3' because of the following reasons: camera-camera2 is in atomic group androidx.camera, camera-lifecycle is in atomic group androidx.camera, camera-video is in atomic group androidx.camera
            [        ]            Dependency path 'io.flutter.plugins.camerax:camera_android_camerax:1.0' --> 'androidx.camera:camera-camera2:1.3.3' (releaseVariantReleaseApiPublication) --> 'androidx.camera:camera-core:1.3.3' because of the following reasons: camera-camera2 is in atomic group androidx.camera, camera-lifecycle is in atomic group androidx.camera, camera-video is in atomic group androidx.camera
            [        ]            Dependency path 'io.flutter.plugins.camerax:camera_android_camerax:1.0' --> 'androidx.camera:camera-lifecycle:1.3.3' (releaseVariantReleaseApiPublication) --> 'androidx.camera:camera-core:1.3.3' because of the following reasons: camera-camera2 is in atomic group androidx.camera, camera-lifecycle is in atomic group androidx.camera, camera-video is in atomic group androidx.camera
            [        ]            Dependency path 'io.flutter.plugins.camerax:camera_android_camerax:1.0' --> 'androidx.camera:camera-lifecycle:1.3.3' (releaseVariantReleaseApiPublication) --> 'androidx.camera:camera-core:1.3.3' because of the following reasons: camera-camera2 is in atomic group androidx.camera, camera-lifecycle is in atomic group androidx.camera, camera-video is in atomic group androidx.camera
            [        ]            Dependency path 'io.flutter.plugins.camerax:camera_android_camerax:1.0' --> 'androidx.camera:camera-video:1.3.3' (releaseVariantReleaseApiPublication) --> 'androidx.camera:camera-core:1.3.3' because of the following reasons: camera-camera2 is in atomic group androidx.camera, camera-lifecycle is in atomic group androidx.camera, camera-video is in atomic group androidx.camera
            [        ]            Dependency path 'io.flutter.plugins.camerax:camera_android_camerax:1.0' --> 'androidx.camera:camera-video:1.3.3' (releaseVariantReleaseApiPublication) --> 'androidx.camera:camera-core:1.3.3' because of the following reasons: camera-camera2 is in atomic group androidx.camera, camera-lifecycle is in atomic group androidx.camera, camera-video is in atomic group androidx.camera
            [        ]    > Could not resolve androidx.camera:camera-camera2:{strictly 1.3.0-beta01}.
            [        ]      Required by:
            [        ]          project :camera_android_camerax
            [        ]       > Cannot find a version of 'androidx.camera:camera-camera2' that satisfies the version constraints:
            [        ]            Dependency path 'io.flutter.plugins.camerax:camera_android_camerax:1.0' --> 'androidx.camera:camera-camera2:1.3.3'
            [        ]            Constraint path 'io.flutter.plugins.camerax:camera_android_camerax:1.0' --> 'androidx.camera:camera-camera2:{strictly 1.3.0-beta01}' because of the following reason: dependency was locked to version '1.3.0-beta01'
            [        ]            Constraint path 'io.flutter.plugins.camerax:camera_android_camerax:1.0' --> 'androidx.camera:camera-core:1.3.3' (releaseVariantReleaseApiPublication) --> 'androidx.camera:camera-camera2:1.3.3' because of the following reasons: camera-core is in atomic group androidx.camera, camera-lifecycle is in atomic group androidx.camera, camera-video is in atomic group androidx.camera
            [        ]            Constraint path 'io.flutter.plugins.camerax:camera_android_camerax:1.0' --> 'androidx.camera:camera-lifecycle:1.3.3' (releaseVariantReleaseApiPublication) --> 'androidx.camera:camera-camera2:1.3.3' because of the following reasons: camera-core is in atomic group androidx.camera, camera-lifecycle is in atomic group androidx.camera, camera-video is in atomic group androidx.camera
            [        ]            Constraint path 'io.flutter.plugins.camerax:camera_android_camerax:1.0' --> 'androidx.camera:camera-video:1.3.3' (releaseVariantReleaseApiPublication) --> 'androidx.camera:camera-camera2:1.3.3' because of the following reasons: camera-core is in atomic group androidx.camera, camera-lifecycle is in atomic group androidx.camera, camera-video is in atomic group androidx.camera
            [        ]    > Could not resolve androidx.camera:camera-lifecycle:{strictly 1.3.0-beta01}.
            [        ]      Required by:
            [        ]          project :camera_android_camerax
            [        ]       > Cannot find a version of 'androidx.camera:camera-lifecycle' that satisfies the version constraints:
            [        ]            Dependency path 'io.flutter.plugins.camerax:camera_android_camerax:1.0' --> 'androidx.camera:camera-lifecycle:1.3.3'
            [        ]            Constraint path 'io.flutter.plugins.camerax:camera_android_camerax:1.0' --> 'androidx.camera:camera-lifecycle:{strictly 1.3.0-beta01}' because of the following reason: dependency was locked to version '1.3.0-beta01'
            [        ]            Constraint path 'io.flutter.plugins.camerax:camera_android_camerax:1.0' --> 'androidx.camera:camera-core:1.3.3' (releaseVariantReleaseApiPublication) --> 'androidx.camera:camera-lifecycle:1.3.3' because of the following reasons: camera-core is in atomic group androidx.camera, camera-camera2 is in atomic group androidx.camera, camera-video is in atomic group androidx.camera
            [        ]            Constraint path 'io.flutter.plugins.camerax:camera_android_camerax:1.0' --> 'androidx.camera:camera-camera2:1.3.3' (releaseVariantReleaseApiPublication) --> 'androidx.camera:camera-lifecycle:1.3.3' because of the following reasons: camera-core is in atomic group androidx.camera, camera-camera2 is in atomic group androidx.camera, camera-video is in atomic group androidx.camera
            [        ]            Constraint path 'io.flutter.plugins.camerax:camera_android_camerax:1.0' --> 'androidx.camera:camera-video:1.3.3' (releaseVariantReleaseApiPublication) --> 'androidx.camera:camera-lifecycle:1.3.3' because of the following reasons: camera-core is in atomic group androidx.camera, camera-camera2 is in atomic group androidx.camera, camera-video is in atomic group androidx.camera

I need to figure out how to decipher this.

@andrewkolos
Copy link
Contributor

@gmackall I was told you might know what's going on here. Something about a lock file needing to be updated?

@gmackall
Copy link
Member

gmackall commented May 30, 2024

@gmackall I was told you might know what's going on here. Something about a lock file needing to be updated?

Yes, typically we just need to re-generate gradle lockfiles. I'll take over this PR - it would also be good to make the bot itself re-generate the lockfiles as part of its workflow.

Do you (or maybe cc @christopherfujino) know where the bots code lives? I'd be happy to try to make the change myself.

@christopherfujino
Copy link
Contributor

Do you (or maybe cc @christopherfujino) know where the bots code lives? I'd be happy to try to make the change myself.

For somewhat arbitrary reasons, it lives here: https://github.com/flutter/flutter/blob/master/dev/conductor/core/bin/packages_autoroller.dart

I would call out to the generate gradle lockfile script somewhere in here: https://github.com/flutter/flutter/blob/master/dev/conductor/core/lib/src/packages_autoroller.dart#L83-L103

@andrewkolos
Copy link
Contributor

Closing as superseded by #149342

auto-submit bot pushed a commit that referenced this pull request May 30, 2024
Manual recreation of #148911

Entire PR is just the output of 
```
flutter update-packages --force-upgrade
```
followed by (run from the root of the flutter repo)
```
find . -type d -name 'android' | dart dev/tools/bin/generate_gradle_lockfiles.dart --no-gradle-generation --no-exclusion
```
victorsanni pushed a commit to victorsanni/flutter that referenced this pull request May 31, 2024
Manual recreation of flutter#148911

Entire PR is just the output of 
```
flutter update-packages --force-upgrade
```
followed by (run from the root of the flutter repo)
```
find . -type d -name 'android' | dart dev/tools/bin/generate_gradle_lockfiles.dart --no-gradle-generation --no-exclusion
```
@andrewkolos andrewkolos mentioned this pull request Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants