oss-review-toolkit / ort

A suite of tools to automate software compliance checks.
https://oss-review-toolkit.org
Apache License 2.0
1.57k stars 308 forks source link

Simple Flutter Project crashes at analyze with "The project 'Pub:demo:demo:1.0.0+1' from definition file '' uses the wrong package manager 'Pub', expected is 'Gradle'." #6457

Closed ibelz closed 11 months ago

ibelz commented 1 year ago

Hi, a simple and small Flutter test app crashes at analyze with: The project 'Pub:demo:demo:1.0.0+1' from definition file '' uses the wrong package manager 'Pub', expected is 'Gradle'.

I have tried a lot, but I have no clue, what the issue could be. Maybe something with the empty lines in "pubspec.yaml"?

Steps to reproduce:

1) Create new Flutter Project 2) Use this pubspec.yaml

name: demo
description: A new Flutter project.

# The following line prevents the package from being accidentally published to
# pub.dev using `flutter pub publish`. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev

# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively.
# In Android, build-name is used as versionName while build-number used as versionCode.
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
# In iOS, build-name is used as CFBundleShortVersionString while build-number is used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix.
version: 1.0.0+1

environment:
  sdk: '>=2.18.6 <3.0.0'

# Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions
# consider running `flutter pub upgrade --major-versions`. Alternatively,
# dependencies can be manually updated by changing the version numbers below to
# the latest version available on pub.dev. To see which dependencies have newer
# versions available, run `flutter pub outdated`.
dependencies:
  flutter:
    sdk: flutter
  flutter_localizations:
    sdk: flutter
  logging: ^1.1.1

  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^1.0.5

dev_dependencies:
  flutter_test:
    sdk: flutter
  freezed: ^2.3.2

  # The "flutter_lints" package below contains a set of recommended lints to
  # encourage good coding practices. The lint set provided by the package is
  # activated in the `analysis_options.yaml` file located at the root of your
  # package. See that file for information about deactivating specific lint
  # rules and activating additional ones.
  flutter_lints: ^2.0.0

# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec

# The following section is specific to Flutter packages.
flutter:
  generate: true

  # The following line ensures that the Material Icons font is
  # included with your application, so that you can use the icons in
  # the material Icons class.
  uses-material-design: true

  # To add assets to your application, add an assets section, like this:
  # assets:
  #   - images/a_dot_burr.jpeg
  #   - images/a_dot_ham.jpeg

  # An image asset can refer to one or more resolution-specific "variants", see
  # https://flutter.dev/assets-and-images/#resolution-aware

  # For details regarding adding assets from package dependencies, see
  # https://flutter.dev/assets-and-images/#from-packages

  # To add custom fonts to your application, add a fonts section here,
  # in this "flutter" section. Each entry in this list should have a
  # "family" key with the font family name, and a "fonts" key with a
  # list giving the asset and other descriptors for the font. For
  # example:
  # fonts:
  #   - family: Schyler
  #     fonts:
  #       - asset: fonts/Schyler-Regular.ttf
  #       - asset: fonts/Schyler-Italic.ttf
  #         style: italic
  #   - family: Trajan Pro
  #     fonts:
  #       - asset: fonts/TrajanPro.ttf
  #       - asset: fonts/TrajanPro_Bold.ttf
  #         weight: 700
  #
  # For details regarding fonts from package dependencies,
  # see https://flutter.dev/custom-fonts/#from-packages

3) And this main.dart

import 'package:flutter/material.dart';
import 'package:logging/logging.dart';

final log = Logger('ExampleLogger');

void main() {
  Logger.root.level = Level.ALL;
  Logger.root.onRecord.listen((record) {
    print('${record.level.name}: ${record.time}: ${record.message}');
  });

  log.shout('AppStart');
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        // This is the theme of your application.
        //
        // Try running your application with "flutter run". You'll see the
        // application has a blue toolbar. Then, without quitting the app, try
        // changing the primarySwatch below to Colors.green and then invoke
        // "hot reload" (press "r" in the console where you ran "flutter run",
        // or simply save your changes to "hot reload" in a Flutter IDE).
        // Notice that the counter didn't reset back to zero; the application
        // is not restarted.
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});

  // This widget is the home page of your application. It is stateful, meaning
  // that it has a State object (defined below) that contains fields that affect
  // how it looks.

  // This class is the configuration for the state. It holds the values (in this
  // case the title) provided by the parent (in this case the App widget) and
  // used by the build method of the State. Fields in a Widget subclass are
  // always marked "final".

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  int _counter = 0;

  void _incrementCounter() {
    log.shout('Increment');

    setState(() {
      // This call to setState tells the Flutter framework that something has
      // changed in this State, which causes it to rerun the build method below
      // so that the display can reflect the updated values. If we changed
      // _counter without calling setState(), then the build method would not be
      // called again, and so nothing would appear to happen.
      _counter++;
    });
  }

  @override
  Widget build(BuildContext context) {
    // This method is rerun every time setState is called, for instance as done
    // by the _incrementCounter method above.
    //
    // The Flutter framework has been optimized to make rerunning build methods
    // fast, so that you can just rebuild anything that needs updating rather
    // than having to individually change instances of widgets.
    return Scaffold(
      appBar: AppBar(
        // Here we take the value from the MyHomePage object that was created by
        // the App.build method, and use it to set our appbar title.
        title: Text(widget.title),
      ),
      body: Center(
        // Center is a layout widget. It takes a single child and positions it
        // in the middle of the parent.
        child: Column(
          // Column is also a layout widget. It takes a list of children and
          // arranges them vertically. By default, it sizes itself to fit its
          // children horizontally, and tries to be as tall as its parent.
          //
          // Invoke "debug painting" (press "p" in the console, choose the
          // "Toggle Debug Paint" action from the Flutter Inspector in Android
          // Studio, or the "Toggle Debug Paint" command in Visual Studio Code)
          // to see the wireframe for each widget.
          //
          // Column has various properties to control how it sizes itself and
          // how it positions its children. Here we use mainAxisAlignment to
          // center the children vertically; the main axis here is the vertical
          // axis because Columns are vertical (the cross axis would be
          // horizontal).
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            const Text(
              'You have pushed the button this many times:',
            ),
            Text(
              '$_counter',
              style: Theme.of(context).textTheme.headline4,
            ),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: const Icon(Icons.add),
      ), // This trailing comma makes auto-formatting nicer for build methods.
    );
  }
}

4) ORT Config:

# Copyright (C) 2022 The ORT Project Authors (see <https://github.com/oss-review-toolkit/ort/blob/main/NOTICE>)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0
# License-Filename: LICENSE

# A reference configuration file containing all possible ORT configuration options. Some of those options are mutually
# exclusive, so this file is only used to show all options and to validate the configuration.

ort:
  licenseFilePatterns:
    licenseFilenames: ['license*']
    patentFilenames: [patents]
    rootLicenseFilenames: ['readme*']

  severeIssueThreshold: ERROR
  severeRuleViolationThreshold: ERROR

  enableRepositoryPackageCurations: true
  enableRepositoryPackageConfigurations: true

  deniedProcessEnvironmentVariablesSubstrings:
    - PASS
    - SECRET
    - TOKEN
    - USER
  allowedProcessEnvironmentVariableNames:
    - PASSPORT
    - USER_HOME

  analyzer:
    allowDynamicVersions: true

    # A list of enabled package managers.
    enabledPackageManagers: [DotNet, Gradle, Maven, NPM, CocoaPods, Pub]

    # A list of disabled package managers. Disabling a package manager here overrides enabling it in
    # `enabledPackageManagers`.
    disabledPackageManagers: []

    packageManagers:
      Gradle:
        # A list of package manager names that this package manager must run after. For example, this can be used if
        # another package manager generates files that this package manager requires to run correctly.
        mustRunAfter: []

      # Some package managers provide custom configuration options that are documented in the package manager class. At
      # the example of DotNet, these can be set like:
      DotNet:
        options:
          directDependenciesOnly: true

      Yarn2:
        options:
          # If set to true, disable verification of HTTPS certificate of remote registries. Useful when using a proxy to
          # intercept requests to the registry.
          disableRegistryCertificateVerification: false

    sw360Configuration:
      restUrl: 'https://your-sw360-rest-url'
      authUrl: 'https://your-authentication-url'
      username: username
      password: password
      clientId: clientId
      clientPassword: clientPassword
      token: token

  advisor:
    nexusIq:
      serverUrl: 'https://rest-api-url-of-your-nexus-iq-server'
      browseUrl: 'https://web-browsing-url-of-your-nexus-iq-server'
      username: username
      password: password

    vulnerableCode:
      serverUrl: 'http://localhost:8000'
      apiKey: 0123456789012345678901234567890123456789

    gitHubDefects:
      token: githubAccessToken
      labelFilter: ['!duplicate', '!enhancement', '!invalid', '!question', '!documentation', '*']
      maxNumberOfIssuesPerRepository: 50
      parallelRequests: 5

    osv:
      serverUrl: 'https://api.osv.dev'

    options:
      # A map of maps from advice provider names to provider-specific key-value pairs. This map can be used to provide
      # configuration information for external advisor plugins.
      CustomAdvisor:
        apiKey: '<some_api_key>'

  downloader:
    allowMovingRevisions: true

    # Only used if the '--license-classifications-file' option is specified.
    includedLicenseCategories:
      - 'category-a'
      - 'category-b'

    sourceCodeOrigins: [VCS, ARTIFACT]

  scanner:
    skipConcluded: true

    archive:
      enabled: true

      fileStorage:
        localFileStorage:
          directory: /Users/belz/Documents/Develop/playground/ort_tool/scanner/archive
          compression: false

    createMissingArchives: false

    # Map scanner license findings to valid SPDX licenses. Note that these mappings are only applied in new scans,
    # stored scan results are not affected.
    detectedLicenseMapping:
      BSD (Three Clause License): 'BSD-3-clause'
      LicenseRef-scancode-generic-cla: 'NOASSERTION'

    options:
      # A map of maps from scanner class names to scanner-specific key-value pairs.
      ScanCode:
        commandLine: '--copyright --license --info --strip-root --timeout 300'
        parseLicenseExpressions: true

        # Criteria for matching stored scan results. These can be configured for any scanner that uses semantic
        # versioning. Note that the 'maxVersion' is exclusive and not part of the range of accepted versions.
        minVersion: '3.2.1-rc2'
        maxVersion: '32.0.0'

    storages:
      local:
        backend:
          localFileStorage:
            directory: /Users/belz/Documents/Develop/playground/ort_tool/scanner/results
            compression: false

    storageReaders: [local]

    storageWriters: [local]

    ignorePatterns: ['**/META-INF/DEPENDENCIES']

    provenanceStorage:
      fileStorage:
        localFileStorage:
          directory: /Users/belz/Documents/Develop/playground/ort_tool/scanner/provenance
          compression: false

5) Then analyze ort --info analyze -f JSON -i . -o ./ort/analyze

Error

11:52:46.105 [main] INFO  org.ossreviewtoolkit.model.config.OrtConfiguration - Using ORT configuration file '/Users/belz/Documents/Develop/Playground/ort_tool/data/config/config.yml'.
11:52:46.333 [main] INFO  org.ossreviewtoolkit.utils.common.EnvironmentVariableFilter - EnvironmentVariableFilter initialized with denySubstrings = [PASS, SECRET, TOKEN, USER] and allowNames = [PASSPORT, USER_HOME].
 ______________________________
/        \_______   \__    ___/ The OSS Review Toolkit, version 8d1bcbe409.
|    |   | |       _/ |    |
|    |   | |    |   \ |    |    Running 'analyze' as 'belz' under Java 17.0.5 on Mac OS X
\________/ |____|___/ |____|    with 10 CPUs and a maximum of 4096 MiB of memory.

Environment variables:
ORT_CONFIG_DIR = /Users/belz/Documents/Develop/Playground/ort_tool/data/config
ORT_DATA_DIR = /Users/belz/Documents/Develop/Playground/ort_tool/data
SHELL = /bin/zsh
TERM = xterm-256color

Looking for ORT configuration in the following file:
        /Users/belz/Documents/Develop/Playground/ort_tool/data/config/config.yml

Looking for analyzer-specific configuration in the following files and directories:
        /Users/belz/Documents/Develop/playground/ort_tool/sample_projects/demo/.ort.yml (does not exist)
        /Users/belz/Documents/Develop/Playground/ort_tool/data/config/resolutions.yml (does not exist)
The following package managers are enabled:
        DotNet, Gradle, Maven, NPM, CocoaPods, Pub
The following package curation providers are enabled:
        RepositoryConfiguration, DefaultDir, DefaultFile
Analyzing project path:
        /Users/belz/Documents/Develop/playground/ort_tool/sample_projects/demo
11:52:46.411 [main] INFO  org.ossreviewtoolkit.analyzer.PackageManager - Not analyzing directory '/Users/belz/Documents/Develop/playground/ort_tool/sample_projects/demo/android/.gradle' as it is hard-coded to be ignored.
11:52:47.102 [main] INFO  org.ossreviewtoolkit.utils.ort.OrtAuthenticator - Authenticator was successfully installed.
11:52:47.110 [main] INFO  org.ossreviewtoolkit.utils.ort.OrtProxySelector - Proxy selector was successfully installed.
Found 2 CocoaPods definition file(s) at:
        macos/Podfile
        ios/Podfile
Found 2 Gradle definition file(s) at:
        android/build.gradle
        android/app/build.gradle
Found 1 Pub definition file(s) at:
        pubspec.yaml
Found 5 definition file(s) from 3 package manager(s) in total.
11:52:47.159 [main] INFO  org.ossreviewtoolkit.analyzer.PackageManager - Not analyzing directory '/Users/belz/Documents/Develop/playground/ort_tool/sample_projects/demo/android/.gradle' as it is hard-coded to be ignored.
11:52:47.398 [main] INFO  org.ossreviewtoolkit.analyzer.Analyzer - Starting Pub analysis.
11:52:47.401 [main] INFO  org.ossreviewtoolkit.analyzer.Analyzer - Starting CocoaPods analysis.
11:52:47.402 [main] INFO  org.ossreviewtoolkit.analyzer.Analyzer - Gradle is waiting for the following package managers to complete: Pub.
11:52:47.420 [DefaultDispatcher-worker-3] INFO  org.ossreviewtoolkit.utils.common.ProcessCapture - Running 'pod --version --allow-root' in '/Users/belz/Documents/Develop/playground/ort_tool/sample_projects/demo'...
11:52:47.421 [DefaultDispatcher-worker-1] INFO  org.ossreviewtoolkit.analyzer.PackageManager - Not analyzing directory '/Users/belz/Documents/Develop/playground/ort_tool/sample_projects/demo/android/.gradle' as it is hard-coded to be ignored.
11:52:47.581 [DefaultDispatcher-worker-1] INFO  org.ossreviewtoolkit.analyzer.managers.Pub - Found 2 Gradle project(s).
11:52:47.581 [DefaultDispatcher-worker-1] INFO  org.ossreviewtoolkit.analyzer.managers.Pub - - pubspec.yaml
11:52:47.584 [DefaultDispatcher-worker-1] INFO  org.ossreviewtoolkit.analyzer.managers.Pub -   - android/build.gradle
11:52:47.584 [DefaultDispatcher-worker-1] INFO  org.ossreviewtoolkit.analyzer.managers.Pub -   - android/app/build.gradle
11:52:47.586 [DefaultDispatcher-worker-1] INFO  org.ossreviewtoolkit.analyzer.managers.Pub - Skipping to bootstrap flutter as it was found in /Users/belz/fvm/versions/stable/bin.
11:52:47.586 [DefaultDispatcher-worker-1] INFO  org.ossreviewtoolkit.analyzer.PackageManager - Resolving Pub dependencies for path 'pubspec.yaml'...
11:52:47.593 [DefaultDispatcher-worker-1] INFO  org.ossreviewtoolkit.utils.common.ProcessCapture - Running '/Users/belz/fvm/versions/stable/bin/flutter pub get' in '/Users/belz/Documents/Develop/playground/ort_tool/sample_projects/demo'...
11:52:49.189 [DefaultDispatcher-worker-1] INFO  org.ossreviewtoolkit.analyzer.managers.Pub - Reading pubspec.lock file in /Users/belz/Documents/Develop/playground/ort_tool/sample_projects/demo.
11:52:49.193 [DefaultDispatcher-worker-1] INFO  org.ossreviewtoolkit.analyzer.managers.Pub - Successfully read lockfile.
11:52:49.193 [DefaultDispatcher-worker-1] INFO  org.ossreviewtoolkit.analyzer.managers.Pub - Parsing installed Pub packages...
11:52:49.740 [DefaultDispatcher-worker-1] INFO  org.ossreviewtoolkit.analyzer.managers.Pub - Successfully parsed installed packages.
11:52:49.741 [DefaultDispatcher-worker-1] INFO  org.ossreviewtoolkit.analyzer.managers.Pub - Parsing scope 'dependencies' for package 'demo'.
11:52:49.743 [DefaultDispatcher-worker-1] INFO  org.ossreviewtoolkit.analyzer.managers.Pub - Parsing scope 'dev_dependencies' for package 'demo'.
11:52:49.811 [DefaultDispatcher-worker-1] INFO  org.ossreviewtoolkit.analyzer.PackageManager - Resolving Pub dependencies for path 'pubspec.yaml' took 2.223116625s.
11:52:49.811 [DefaultDispatcher-worker-1] INFO  org.ossreviewtoolkit.analyzer.Analyzer - Finished Pub analysis.
11:52:49.813 [main] INFO  org.ossreviewtoolkit.analyzer.Analyzer - Starting Gradle analysis.
11:52:49.813 [DefaultDispatcher-worker-2] INFO  org.ossreviewtoolkit.analyzer.PackageManager - Resolving Gradle dependencies for path 'android/build.gradle'...
11:52:53.398 [DefaultDispatcher-worker-3] INFO  org.ossreviewtoolkit.analyzer.PackageManager - Resolving CocoaPods dependencies for path 'macos/Podfile'...
11:52:53.405 [DefaultDispatcher-worker-3] INFO  org.ossreviewtoolkit.utils.common.ProcessCapture - Running 'pod repo add-cdn trunk https://cdn.cocoapods.org --allow-root' in '/Users/belz/Documents/Develop/playground/ort_tool/sample_projects/demo/android'...
11:52:54.000 [DefaultDispatcher-worker-3] ERROR org.ossreviewtoolkit.analyzer.managers.CocoaPods - Missing lockfile 'macos/Podfile.lock' for definition file 'macos/Podfile'. The analysis of a Podfile without a lockfile is not supported at all.
11:52:54.013 [DefaultDispatcher-worker-3] INFO  org.ossreviewtoolkit.analyzer.PackageManager - Resolving CocoaPods dependencies for path 'macos/Podfile' took 614.948375ms.
11:52:54.013 [DefaultDispatcher-worker-3] INFO  org.ossreviewtoolkit.analyzer.PackageManager - Resolving CocoaPods dependencies for path 'ios/Podfile'...
11:52:54.019 [DefaultDispatcher-worker-3] INFO  org.ossreviewtoolkit.utils.common.ProcessCapture - Running 'pod repo add-cdn trunk https://cdn.cocoapods.org --allow-root' in '/Users/belz/Documents/Develop/playground/ort_tool/sample_projects/demo/android'...
11:52:54.508 [DefaultDispatcher-worker-3] ERROR org.ossreviewtoolkit.analyzer.managers.CocoaPods - Missing lockfile 'ios/Podfile.lock' for definition file 'ios/Podfile'. The analysis of a Podfile without a lockfile is not supported at all.
11:52:54.520 [DefaultDispatcher-worker-3] INFO  org.ossreviewtoolkit.analyzer.PackageManager - Resolving CocoaPods dependencies for path 'ios/Podfile' took 507.091416ms.
11:52:54.521 [DefaultDispatcher-worker-3] INFO  org.ossreviewtoolkit.analyzer.Analyzer - Finished CocoaPods analysis.
11:52:57.997 [DefaultDispatcher-worker-2] INFO  org.ossreviewtoolkit.analyzer.PackageManager - Resolving Gradle dependencies for path 'android/build.gradle' took 8.183275084s.
11:52:57.997 [DefaultDispatcher-worker-2] INFO  org.ossreviewtoolkit.analyzer.PackageManager - Resolving Gradle dependencies for path 'android/app/build.gradle'...
11:53:08.797 [DefaultDispatcher-worker-2] WARN  org.ossreviewtoolkit.analyzer.managers.utils.MavenSupport - Unable to download 'io.flutter:flutter_embedding_debug::1.0.0-800594f1f4a6674010a6f1603c07a919b4d7ebd7' from any of [https://repo.maven.apache.org/maven2/io/flutter/flutter_embedding_debug/1.0.0-800594f1f4a6674010a6f1603c07a919b4d7ebd7/flutter_embedding_debug-1.0.0-800594f1f4a6674010a6f1603c07a919b4d7ebd7, https://dl.google.com/dl/android/maven2/io/flutter/flutter_embedding_debug/1.0.0-800594f1f4a6674010a6f1603c07a919b4d7ebd7/flutter_embedding_debug-1.0.0-800594f1f4a6674010a6f1603c07a919b4d7ebd7, https://storage.googleapis.com/download.flutter.io/io/flutter/flutter_embedding_debug/1.0.0-800594f1f4a6674010a6f1603c07a919b4d7ebd7/flutter_embedding_debug-1.0.0-800594f1f4a6674010a6f1603c07a919b4d7ebd7].
11:53:09.378 [DefaultDispatcher-worker-2] WARN  org.ossreviewtoolkit.analyzer.managers.utils.MavenSupport - Could not get checksum for 'io.flutter:flutter_embedding_debug:jar:sources:1.0.0-800594f1f4a6674010a6f1603c07a919b4d7ebd7': HttpResponseException: status code: 404, reason phrase: Not Found (404)
11:53:10.081 [DefaultDispatcher-worker-2] WARN  org.ossreviewtoolkit.analyzer.managers.utils.MavenSupport - Unable to download 'androidx.lifecycle:lifecycle-common::2.2.0' from any of [https://repo.maven.apache.org/maven2/androidx/lifecycle/lifecycle-common/2.2.0/lifecycle-common-2.2.0, https://dl.google.com/dl/android/maven2/androidx/lifecycle/lifecycle-common/2.2.0/lifecycle-common-2.2.0, https://storage.googleapis.com/download.flutter.io/androidx/lifecycle/lifecycle-common/2.2.0/lifecycle-common-2.2.0].
11:53:10.718 [DefaultDispatcher-worker-2] WARN  org.ossreviewtoolkit.analyzer.managers.utils.MavenSupport - Unable to download 'androidx.annotation:annotation::1.2.0' from any of [https://repo.maven.apache.org/maven2/androidx/annotation/annotation/1.2.0/annotation-1.2.0, https://dl.google.com/dl/android/maven2/androidx/annotation/annotation/1.2.0/annotation-1.2.0, https://storage.googleapis.com/download.flutter.io/androidx/annotation/annotation/1.2.0/annotation-1.2.0].
11:53:11.262 [DefaultDispatcher-worker-2] WARN  org.ossreviewtoolkit.analyzer.managers.utils.MavenSupport - Unable to download 'androidx.lifecycle:lifecycle-common-java8::2.2.0' from any of [https://repo.maven.apache.org/maven2/androidx/lifecycle/lifecycle-common-java8/2.2.0/lifecycle-common-java8-2.2.0, https://dl.google.com/dl/android/maven2/androidx/lifecycle/lifecycle-common-java8/2.2.0/lifecycle-common-java8-2.2.0, https://storage.googleapis.com/download.flutter.io/androidx/lifecycle/lifecycle-common-java8/2.2.0/lifecycle-common-java8-2.2.0].
11:53:12.014 [DefaultDispatcher-worker-2] WARN  org.ossreviewtoolkit.analyzer.managers.utils.MavenSupport - Unable to download 'androidx.lifecycle:lifecycle-runtime::2.2.0' from any of [https://repo.maven.apache.org/maven2/androidx/lifecycle/lifecycle-runtime/2.2.0/lifecycle-runtime-2.2.0, https://dl.google.com/dl/android/maven2/androidx/lifecycle/lifecycle-runtime/2.2.0/lifecycle-runtime-2.2.0, https://storage.googleapis.com/download.flutter.io/androidx/lifecycle/lifecycle-runtime/2.2.0/lifecycle-runtime-2.2.0].
11:53:12.588 [DefaultDispatcher-worker-2] WARN  org.ossreviewtoolkit.analyzer.managers.utils.MavenSupport - Unable to download 'androidx.arch.core:core-common::2.1.0' from any of [https://repo.maven.apache.org/maven2/androidx/arch/core/core-common/2.1.0/core-common-2.1.0, https://dl.google.com/dl/android/maven2/androidx/arch/core/core-common/2.1.0/core-common-2.1.0, https://storage.googleapis.com/download.flutter.io/androidx/arch/core/core-common/2.1.0/core-common-2.1.0].
11:53:13.085 [DefaultDispatcher-worker-2] WARN  org.ossreviewtoolkit.analyzer.managers.utils.MavenSupport - Unable to download 'androidx.fragment:fragment::1.1.0' from any of [https://repo.maven.apache.org/maven2/androidx/fragment/fragment/1.1.0/fragment-1.1.0, https://dl.google.com/dl/android/maven2/androidx/fragment/fragment/1.1.0/fragment-1.1.0, https://storage.googleapis.com/download.flutter.io/androidx/fragment/fragment/1.1.0/fragment-1.1.0].
11:53:13.831 [DefaultDispatcher-worker-2] WARN  org.ossreviewtoolkit.analyzer.managers.utils.MavenSupport - Unable to download 'androidx.core:core::1.6.0' from any of [https://repo.maven.apache.org/maven2/androidx/core/core/1.6.0/core-1.6.0, https://dl.google.com/dl/android/maven2/androidx/core/core/1.6.0/core-1.6.0, https://storage.googleapis.com/download.flutter.io/androidx/core/core/1.6.0/core-1.6.0].
11:53:14.460 [DefaultDispatcher-worker-2] WARN  org.ossreviewtoolkit.analyzer.managers.utils.MavenSupport - Unable to download 'androidx.annotation:annotation-experimental::1.1.0' from any of [https://repo.maven.apache.org/maven2/androidx/annotation/annotation-experimental/1.1.0/annotation-experimental-1.1.0, https://dl.google.com/dl/android/maven2/androidx/annotation/annotation-experimental/1.1.0/annotation-experimental-1.1.0, https://storage.googleapis.com/download.flutter.io/androidx/annotation/annotation-experimental/1.1.0/annotation-experimental-1.1.0].
11:53:15.076 [DefaultDispatcher-worker-2] WARN  org.ossreviewtoolkit.analyzer.managers.utils.MavenSupport - Unable to download 'androidx.versionedparcelable:versionedparcelable::1.1.1' from any of [https://repo.maven.apache.org/maven2/androidx/versionedparcelable/versionedparcelable/1.1.1/versionedparcelable-1.1.1, https://dl.google.com/dl/android/maven2/androidx/versionedparcelable/versionedparcelable/1.1.1/versionedparcelable-1.1.1, https://storage.googleapis.com/download.flutter.io/androidx/versionedparcelable/versionedparcelable/1.1.1/versionedparcelable-1.1.1].
11:53:15.632 [DefaultDispatcher-worker-2] WARN  org.ossreviewtoolkit.analyzer.managers.utils.MavenSupport - Unable to download 'androidx.collection:collection::1.1.0' from any of [https://repo.maven.apache.org/maven2/androidx/collection/collection/1.1.0/collection-1.1.0, https://dl.google.com/dl/android/maven2/androidx/collection/collection/1.1.0/collection-1.1.0, https://storage.googleapis.com/download.flutter.io/androidx/collection/collection/1.1.0/collection-1.1.0].
11:53:16.187 [DefaultDispatcher-worker-2] WARN  org.ossreviewtoolkit.analyzer.managers.utils.MavenSupport - Unable to download 'androidx.viewpager:viewpager::1.0.0' from any of [https://repo.maven.apache.org/maven2/androidx/viewpager/viewpager/1.0.0/viewpager-1.0.0, https://dl.google.com/dl/android/maven2/androidx/viewpager/viewpager/1.0.0/viewpager-1.0.0, https://storage.googleapis.com/download.flutter.io/androidx/viewpager/viewpager/1.0.0/viewpager-1.0.0].
11:53:16.696 [DefaultDispatcher-worker-2] WARN  org.ossreviewtoolkit.analyzer.managers.utils.MavenSupport - Unable to download 'androidx.customview:customview::1.0.0' from any of [https://repo.maven.apache.org/maven2/androidx/customview/customview/1.0.0/customview-1.0.0, https://dl.google.com/dl/android/maven2/androidx/customview/customview/1.0.0/customview-1.0.0, https://storage.googleapis.com/download.flutter.io/androidx/customview/customview/1.0.0/customview-1.0.0].
11:53:17.271 [DefaultDispatcher-worker-2] WARN  org.ossreviewtoolkit.analyzer.managers.utils.MavenSupport - Unable to download 'androidx.loader:loader::1.0.0' from any of [https://repo.maven.apache.org/maven2/androidx/loader/loader/1.0.0/loader-1.0.0, https://dl.google.com/dl/android/maven2/androidx/loader/loader/1.0.0/loader-1.0.0, https://storage.googleapis.com/download.flutter.io/androidx/loader/loader/1.0.0/loader-1.0.0].
11:53:17.806 [DefaultDispatcher-worker-2] WARN  org.ossreviewtoolkit.analyzer.managers.utils.MavenSupport - Unable to download 'androidx.lifecycle:lifecycle-livedata::2.0.0' from any of [https://repo.maven.apache.org/maven2/androidx/lifecycle/lifecycle-livedata/2.0.0/lifecycle-livedata-2.0.0, https://dl.google.com/dl/android/maven2/androidx/lifecycle/lifecycle-livedata/2.0.0/lifecycle-livedata-2.0.0, https://storage.googleapis.com/download.flutter.io/androidx/lifecycle/lifecycle-livedata/2.0.0/lifecycle-livedata-2.0.0].
11:53:18.321 [DefaultDispatcher-worker-2] WARN  org.ossreviewtoolkit.analyzer.managers.utils.MavenSupport - Unable to download 'androidx.arch.core:core-runtime::2.0.0' from any of [https://repo.maven.apache.org/maven2/androidx/arch/core/core-runtime/2.0.0/core-runtime-2.0.0, https://dl.google.com/dl/android/maven2/androidx/arch/core/core-runtime/2.0.0/core-runtime-2.0.0, https://storage.googleapis.com/download.flutter.io/androidx/arch/core/core-runtime/2.0.0/core-runtime-2.0.0].
11:53:18.968 [DefaultDispatcher-worker-2] WARN  org.ossreviewtoolkit.analyzer.managers.utils.MavenSupport - Unable to download 'androidx.lifecycle:lifecycle-livedata-core::2.0.0' from any of [https://repo.maven.apache.org/maven2/androidx/lifecycle/lifecycle-livedata-core/2.0.0/lifecycle-livedata-core-2.0.0, https://dl.google.com/dl/android/maven2/androidx/lifecycle/lifecycle-livedata-core/2.0.0/lifecycle-livedata-core-2.0.0, https://storage.googleapis.com/download.flutter.io/androidx/lifecycle/lifecycle-livedata-core/2.0.0/lifecycle-livedata-core-2.0.0].
11:53:19.501 [DefaultDispatcher-worker-2] WARN  org.ossreviewtoolkit.analyzer.managers.utils.MavenSupport - Unable to download 'androidx.lifecycle:lifecycle-viewmodel::2.1.0' from any of [https://repo.maven.apache.org/maven2/androidx/lifecycle/lifecycle-viewmodel/2.1.0/lifecycle-viewmodel-2.1.0, https://dl.google.com/dl/android/maven2/androidx/lifecycle/lifecycle-viewmodel/2.1.0/lifecycle-viewmodel-2.1.0, https://storage.googleapis.com/download.flutter.io/androidx/lifecycle/lifecycle-viewmodel/2.1.0/lifecycle-viewmodel-2.1.0].
11:53:20.059 [DefaultDispatcher-worker-2] WARN  org.ossreviewtoolkit.analyzer.managers.utils.MavenSupport - Unable to download 'androidx.activity:activity::1.0.0' from any of [https://repo.maven.apache.org/maven2/androidx/activity/activity/1.0.0/activity-1.0.0, https://dl.google.com/dl/android/maven2/androidx/activity/activity/1.0.0/activity-1.0.0, https://storage.googleapis.com/download.flutter.io/androidx/activity/activity/1.0.0/activity-1.0.0].
11:53:20.609 [DefaultDispatcher-worker-2] WARN  org.ossreviewtoolkit.analyzer.managers.utils.MavenSupport - Unable to download 'androidx.savedstate:savedstate::1.0.0' from any of [https://repo.maven.apache.org/maven2/androidx/savedstate/savedstate/1.0.0/savedstate-1.0.0, https://dl.google.com/dl/android/maven2/androidx/savedstate/savedstate/1.0.0/savedstate-1.0.0, https://storage.googleapis.com/download.flutter.io/androidx/savedstate/savedstate/1.0.0/savedstate-1.0.0].
11:53:21.220 [DefaultDispatcher-worker-2] WARN  org.ossreviewtoolkit.analyzer.managers.utils.MavenSupport - Unable to download 'androidx.tracing:tracing::1.0.0' from any of [https://repo.maven.apache.org/maven2/androidx/tracing/tracing/1.0.0/tracing-1.0.0, https://dl.google.com/dl/android/maven2/androidx/tracing/tracing/1.0.0/tracing-1.0.0, https://storage.googleapis.com/download.flutter.io/androidx/tracing/tracing/1.0.0/tracing-1.0.0].
11:53:21.888 [DefaultDispatcher-worker-2] WARN  org.ossreviewtoolkit.analyzer.managers.utils.MavenSupport - Unable to download 'androidx.window:window-java::1.0.0-beta04' from any of [https://repo.maven.apache.org/maven2/androidx/window/window-java/1.0.0-beta04/window-java-1.0.0-beta04, https://dl.google.com/dl/android/maven2/androidx/window/window-java/1.0.0-beta04/window-java-1.0.0-beta04, https://storage.googleapis.com/download.flutter.io/androidx/window/window-java/1.0.0-beta04/window-java-1.0.0-beta04].
11:53:22.580 [DefaultDispatcher-worker-2] WARN  org.ossreviewtoolkit.analyzer.managers.utils.MavenSupport - Unable to download 'org.jetbrains.kotlin:kotlin-stdlib::1.6.10' from any of [https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-stdlib/1.6.10/kotlin-stdlib-1.6.10, https://dl.google.com/dl/android/maven2/org/jetbrains/kotlin/kotlin-stdlib/1.6.10/kotlin-stdlib-1.6.10, https://storage.googleapis.com/download.flutter.io/org/jetbrains/kotlin/kotlin-stdlib/1.6.10/kotlin-stdlib-1.6.10].
11:53:23.111 [DefaultDispatcher-worker-2] WARN  org.ossreviewtoolkit.analyzer.managers.utils.MavenSupport - Unable to download 'org.jetbrains:annotations::13.0' from any of [https://repo.maven.apache.org/maven2/org/jetbrains/annotations/13.0/annotations-13.0, https://dl.google.com/dl/android/maven2/org/jetbrains/annotations/13.0/annotations-13.0, https://storage.googleapis.com/download.flutter.io/org/jetbrains/annotations/13.0/annotations-13.0].
11:53:23.661 [DefaultDispatcher-worker-2] WARN  org.ossreviewtoolkit.analyzer.managers.utils.MavenSupport - Unable to download 'org.jetbrains.kotlin:kotlin-stdlib-common::1.6.10' from any of [https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-stdlib-common/1.6.10/kotlin-stdlib-common-1.6.10, https://dl.google.com/dl/android/maven2/org/jetbrains/kotlin/kotlin-stdlib-common/1.6.10/kotlin-stdlib-common-1.6.10, https://storage.googleapis.com/download.flutter.io/org/jetbrains/kotlin/kotlin-stdlib-common/1.6.10/kotlin-stdlib-common-1.6.10].
11:53:24.103 [DefaultDispatcher-worker-2] WARN  org.ossreviewtoolkit.analyzer.managers.utils.MavenSupport - Unable to download 'org.jetbrains.kotlinx:kotlinx-coroutines-core::1.5.2' from any of [https://repo.maven.apache.org/maven2/org/jetbrains/kotlinx/kotlinx-coroutines-core/1.5.2/kotlinx-coroutines-core-1.5.2, https://dl.google.com/dl/android/maven2/org/jetbrains/kotlinx/kotlinx-coroutines-core/1.5.2/kotlinx-coroutines-core-1.5.2, https://storage.googleapis.com/download.flutter.io/org/jetbrains/kotlinx/kotlinx-coroutines-core/1.5.2/kotlinx-coroutines-core-1.5.2].
11:53:24.552 [DefaultDispatcher-worker-2] WARN  org.ossreviewtoolkit.analyzer.managers.utils.MavenSupport - Unable to download 'org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm::1.5.2' from any of [https://repo.maven.apache.org/maven2/org/jetbrains/kotlinx/kotlinx-coroutines-core-jvm/1.5.2/kotlinx-coroutines-core-jvm-1.5.2, https://dl.google.com/dl/android/maven2/org/jetbrains/kotlinx/kotlinx-coroutines-core-jvm/1.5.2/kotlinx-coroutines-core-jvm-1.5.2, https://storage.googleapis.com/download.flutter.io/org/jetbrains/kotlinx/kotlinx-coroutines-core-jvm/1.5.2/kotlinx-coroutines-core-jvm-1.5.2].
11:53:25.022 [DefaultDispatcher-worker-2] WARN  org.ossreviewtoolkit.analyzer.managers.utils.MavenSupport - Unable to download 'org.jetbrains.kotlin:kotlin-stdlib-jdk8::1.5.30' from any of [https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-stdlib-jdk8/1.5.30/kotlin-stdlib-jdk8-1.5.30, https://dl.google.com/dl/android/maven2/org/jetbrains/kotlin/kotlin-stdlib-jdk8/1.5.30/kotlin-stdlib-jdk8-1.5.30, https://storage.googleapis.com/download.flutter.io/org/jetbrains/kotlin/kotlin-stdlib-jdk8/1.5.30/kotlin-stdlib-jdk8-1.5.30].
11:53:25.530 [DefaultDispatcher-worker-2] WARN  org.ossreviewtoolkit.analyzer.managers.utils.MavenSupport - Unable to download 'org.jetbrains.kotlin:kotlin-stdlib-jdk7::1.6.10' from any of [https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-stdlib-jdk7/1.6.10/kotlin-stdlib-jdk7-1.6.10, https://dl.google.com/dl/android/maven2/org/jetbrains/kotlin/kotlin-stdlib-jdk7/1.6.10/kotlin-stdlib-jdk7-1.6.10, https://storage.googleapis.com/download.flutter.io/org/jetbrains/kotlin/kotlin-stdlib-jdk7/1.6.10/kotlin-stdlib-jdk7-1.6.10].
11:53:26.092 [DefaultDispatcher-worker-2] WARN  org.ossreviewtoolkit.analyzer.managers.utils.MavenSupport - Unable to download 'androidx.window:window::1.0.0-beta04' from any of [https://repo.maven.apache.org/maven2/androidx/window/window/1.0.0-beta04/window-1.0.0-beta04, https://dl.google.com/dl/android/maven2/androidx/window/window/1.0.0-beta04/window-1.0.0-beta04, https://storage.googleapis.com/download.flutter.io/androidx/window/window/1.0.0-beta04/window-1.0.0-beta04].
11:53:26.751 [DefaultDispatcher-worker-2] WARN  org.ossreviewtoolkit.analyzer.managers.utils.MavenSupport - Unable to download 'org.jetbrains.kotlinx:kotlinx-coroutines-android::1.5.2' from any of [https://repo.maven.apache.org/maven2/org/jetbrains/kotlinx/kotlinx-coroutines-android/1.5.2/kotlinx-coroutines-android-1.5.2, https://dl.google.com/dl/android/maven2/org/jetbrains/kotlinx/kotlinx-coroutines-android/1.5.2/kotlinx-coroutines-android-1.5.2, https://storage.googleapis.com/download.flutter.io/org/jetbrains/kotlinx/kotlinx-coroutines-android/1.5.2/kotlinx-coroutines-android-1.5.2].
11:53:27.218 [DefaultDispatcher-worker-2] WARN  org.ossreviewtoolkit.analyzer.managers.utils.MavenSupport - Unable to download 'io.flutter:armeabi_v7a_debug::1.0.0-800594f1f4a6674010a6f1603c07a919b4d7ebd7' from any of [https://repo.maven.apache.org/maven2/io/flutter/armeabi_v7a_debug/1.0.0-800594f1f4a6674010a6f1603c07a919b4d7ebd7/armeabi_v7a_debug-1.0.0-800594f1f4a6674010a6f1603c07a919b4d7ebd7, https://dl.google.com/dl/android/maven2/io/flutter/armeabi_v7a_debug/1.0.0-800594f1f4a6674010a6f1603c07a919b4d7ebd7/armeabi_v7a_debug-1.0.0-800594f1f4a6674010a6f1603c07a919b4d7ebd7, https://storage.googleapis.com/download.flutter.io/io/flutter/armeabi_v7a_debug/1.0.0-800594f1f4a6674010a6f1603c07a919b4d7ebd7/armeabi_v7a_debug-1.0.0-800594f1f4a6674010a6f1603c07a919b4d7ebd7].
11:53:28.082 [DefaultDispatcher-worker-2] WARN  org.ossreviewtoolkit.analyzer.managers.utils.MavenSupport - Unable to download 'io.flutter:arm64_v8a_debug::1.0.0-800594f1f4a6674010a6f1603c07a919b4d7ebd7' from any of [https://repo.maven.apache.org/maven2/io/flutter/arm64_v8a_debug/1.0.0-800594f1f4a6674010a6f1603c07a919b4d7ebd7/arm64_v8a_debug-1.0.0-800594f1f4a6674010a6f1603c07a919b4d7ebd7, https://dl.google.com/dl/android/maven2/io/flutter/arm64_v8a_debug/1.0.0-800594f1f4a6674010a6f1603c07a919b4d7ebd7/arm64_v8a_debug-1.0.0-800594f1f4a6674010a6f1603c07a919b4d7ebd7, https://storage.googleapis.com/download.flutter.io/io/flutter/arm64_v8a_debug/1.0.0-800594f1f4a6674010a6f1603c07a919b4d7ebd7/arm64_v8a_debug-1.0.0-800594f1f4a6674010a6f1603c07a919b4d7ebd7].
11:53:28.895 [DefaultDispatcher-worker-2] WARN  org.ossreviewtoolkit.analyzer.managers.utils.MavenSupport - Unable to download 'io.flutter:x86_64_debug::1.0.0-800594f1f4a6674010a6f1603c07a919b4d7ebd7' from any of [https://repo.maven.apache.org/maven2/io/flutter/x86_64_debug/1.0.0-800594f1f4a6674010a6f1603c07a919b4d7ebd7/x86_64_debug-1.0.0-800594f1f4a6674010a6f1603c07a919b4d7ebd7, https://dl.google.com/dl/android/maven2/io/flutter/x86_64_debug/1.0.0-800594f1f4a6674010a6f1603c07a919b4d7ebd7/x86_64_debug-1.0.0-800594f1f4a6674010a6f1603c07a919b4d7ebd7, https://storage.googleapis.com/download.flutter.io/io/flutter/x86_64_debug/1.0.0-800594f1f4a6674010a6f1603c07a919b4d7ebd7/x86_64_debug-1.0.0-800594f1f4a6674010a6f1603c07a919b4d7ebd7].
11:53:29.713 [DefaultDispatcher-worker-2] WARN  org.ossreviewtoolkit.analyzer.managers.utils.MavenSupport - Unable to download 'io.flutter:x86_debug::1.0.0-800594f1f4a6674010a6f1603c07a919b4d7ebd7' from any of [https://repo.maven.apache.org/maven2/io/flutter/x86_debug/1.0.0-800594f1f4a6674010a6f1603c07a919b4d7ebd7/x86_debug-1.0.0-800594f1f4a6674010a6f1603c07a919b4d7ebd7, https://dl.google.com/dl/android/maven2/io/flutter/x86_debug/1.0.0-800594f1f4a6674010a6f1603c07a919b4d7ebd7/x86_debug-1.0.0-800594f1f4a6674010a6f1603c07a919b4d7ebd7, https://storage.googleapis.com/download.flutter.io/io/flutter/x86_debug/1.0.0-800594f1f4a6674010a6f1603c07a919b4d7ebd7/x86_debug-1.0.0-800594f1f4a6674010a6f1603c07a919b4d7ebd7].
11:53:32.892 [DefaultDispatcher-worker-2] WARN  org.ossreviewtoolkit.analyzer.managers.utils.MavenSupport - Could not get checksum for 'io.flutter:flutter_embedding_profile:jar:1.0.0-800594f1f4a6674010a6f1603c07a919b4d7ebd7': HttpResponseException: status code: 404, reason phrase: Not Found (404)
11:53:33.609 [DefaultDispatcher-worker-2] WARN  org.ossreviewtoolkit.analyzer.managers.utils.MavenSupport - Could not get checksum for 'io.flutter:flutter_embedding_profile:jar:sources:1.0.0-800594f1f4a6674010a6f1603c07a919b4d7ebd7': HttpResponseException: status code: 404, reason phrase: Not Found (404)
11:53:34.083 [DefaultDispatcher-worker-2] WARN  org.ossreviewtoolkit.analyzer.managers.utils.MavenSupport - Could not get checksum for 'io.flutter:armeabi_v7a_profile:jar:1.0.0-800594f1f4a6674010a6f1603c07a919b4d7ebd7': HttpResponseException: status code: 404, reason phrase: Not Found (404)
11:53:35.108 [DefaultDispatcher-worker-2] WARN  org.ossreviewtoolkit.analyzer.managers.utils.MavenSupport - Could not get checksum for 'io.flutter:arm64_v8a_profile:jar:1.0.0-800594f1f4a6674010a6f1603c07a919b4d7ebd7': HttpResponseException: status code: 404, reason phrase: Not Found (404)
11:53:36.227 [DefaultDispatcher-worker-2] WARN  org.ossreviewtoolkit.analyzer.managers.utils.MavenSupport - Could not get checksum for 'io.flutter:x86_64_profile:jar:1.0.0-800594f1f4a6674010a6f1603c07a919b4d7ebd7': HttpResponseException: status code: 404, reason phrase: Not Found (404)
11:53:37.369 [DefaultDispatcher-worker-2] WARN  org.ossreviewtoolkit.analyzer.managers.utils.MavenSupport - Could not get checksum for 'io.flutter:flutter_embedding_release:jar:1.0.0-800594f1f4a6674010a6f1603c07a919b4d7ebd7': HttpResponseException: status code: 404, reason phrase: Not Found (404)
11:53:38.083 [DefaultDispatcher-worker-2] WARN  org.ossreviewtoolkit.analyzer.managers.utils.MavenSupport - Could not get checksum for 'io.flutter:flutter_embedding_release:jar:sources:1.0.0-800594f1f4a6674010a6f1603c07a919b4d7ebd7': HttpResponseException: status code: 404, reason phrase: Not Found (404)
11:53:38.731 [DefaultDispatcher-worker-2] WARN  org.ossreviewtoolkit.analyzer.managers.utils.MavenSupport - Could not get checksum for 'io.flutter:armeabi_v7a_release:jar:1.0.0-800594f1f4a6674010a6f1603c07a919b4d7ebd7': HttpResponseException: status code: 404, reason phrase: Not Found (404)
11:53:39.626 [DefaultDispatcher-worker-2] WARN  org.ossreviewtoolkit.analyzer.managers.utils.MavenSupport - Could not get checksum for 'io.flutter:arm64_v8a_release:jar:1.0.0-800594f1f4a6674010a6f1603c07a919b4d7ebd7': HttpResponseException: status code: 404, reason phrase: Not Found (404)
11:53:40.644 [DefaultDispatcher-worker-2] WARN  org.ossreviewtoolkit.analyzer.managers.utils.MavenSupport - Could not get checksum for 'io.flutter:x86_64_release:jar:1.0.0-800594f1f4a6674010a6f1603c07a919b4d7ebd7': HttpResponseException: status code: 404, reason phrase: Not Found (404)
11:53:41.134 [DefaultDispatcher-worker-2] INFO  org.ossreviewtoolkit.analyzer.PackageManager - Resolving Gradle dependencies for path 'android/app/build.gradle' took 43.136846750s.
11:53:41.141 [DefaultDispatcher-worker-2] INFO  org.ossreviewtoolkit.analyzer.Analyzer - Finished Gradle analysis.
Exception in thread "main" java.lang.IllegalArgumentException: The project 'Pub:demo:demo:1.0.0+1' from definition file '' uses the wrong package manager 'Pub', expected is 'Gradle'.
        at org.ossreviewtoolkit.analyzer.managers.utils.PackageManagerDependency.verify(PackageManagerDependencyHandler.kt:143)
        at org.ossreviewtoolkit.analyzer.managers.utils.PackageManagerDependency.findProjects(PackageManagerDependencyHandler.kt:130)
        at org.ossreviewtoolkit.analyzer.managers.utils.PackageManagerDependencyHandler.resolvePackageManagerDependency(PackageManagerDependencyHandler.kt:103)
        at org.ossreviewtoolkit.analyzer.AnalyzerResultBuilderKt.resolvePackageManagerDependencies(AnalyzerResultBuilder.kt:122)
        at org.ossreviewtoolkit.analyzer.AnalyzerResultBuilderKt.access$resolvePackageManagerDependencies(AnalyzerResultBuilder.kt:1)
        at org.ossreviewtoolkit.analyzer.AnalyzerResultBuilder.build(AnalyzerResultBuilder.kt:56)
        at org.ossreviewtoolkit.analyzer.AnalyzerState.buildResult(Analyzer.kt:278)
        at org.ossreviewtoolkit.analyzer.Analyzer.analyzeInParallel(Analyzer.kt:188)
        at org.ossreviewtoolkit.analyzer.Analyzer.analyze(Analyzer.kt:135)
        at org.ossreviewtoolkit.cli.commands.AnalyzerCommand.run(AnalyzerCommand.kt:231)
        at com.github.ajalt.clikt.parsers.Parser.parse(Parser.kt:198)
        at com.github.ajalt.clikt.parsers.Parser.parse(Parser.kt:211)
        at com.github.ajalt.clikt.parsers.Parser.parse(Parser.kt:18)
        at com.github.ajalt.clikt.core.CliktCommand.parse(CliktCommand.kt:400)
        at com.github.ajalt.clikt.core.CliktCommand.parse$default(CliktCommand.kt:397)
        at com.github.ajalt.clikt.core.CliktCommand.main(CliktCommand.kt:415)
        at com.github.ajalt.clikt.core.CliktCommand.main(CliktCommand.kt:440)
        at org.ossreviewtoolkit.cli.OrtMainKt.main(OrtMain.kt:76)
sschuberth commented 1 year ago

Probably @mnonnenmacher can help to understand what's going on.

sschuberth commented 12 months ago

Probably @mnonnenmacher can help to understand what's going on.

Ping @mnonnenmacher again and @MarcelBochtler, you any one of you have time to look at this?

mnonnenmacher commented 11 months ago

I could not reproduce the issue with the provided podspec.yaml, for me the analyzer processes the file without any issues. From the logs I see that the analyzer also detected some CocoaPods and Gradle definition files so the issue is probably not reproducible without those files as well.

@ibelz I am closing this issue as I cannot reproduce it, if it is still relevant to you please provide an example project that we can use for debugging and reopen the issue.