Skip to content

analysis failed on pub.dev (pana) #2757

@note11g

Description

@note11g

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

analysis failed on pub.dev.
This failure blocks pub.dev’s search indexing and prevents the platform support status and pub points from being displayed.

Image

Expected Behavior

Errors must not occur while running pana on https://github.com/pichillilorenzo/flutter_inappwebview/tree/master/flutter_inappwebview directory

Steps with code example to reproduce

Steps with code example to reproduce
git clone https://github.com/pichillilorenzo/flutter_inappwebview.git
cd flutter_inappwebview/flutter_inappwebview
pana # if not installed, run `dart pub global activate pana`

Stacktrace/Logs

Stacktrace/Logs

master(simulated with pana) :

pana
2025-12-30 15:03:59.071324 WARNING: Flutter SDK path was not specified, pana will use the default Dart SDK to run `dart analyze` on Flutter packages.
2025-12-30 15:03:59.076743 INFO: Running `dart --version`...
2025-12-30 15:03:59.120206 INFO: Running `flutter --no-version-check --version --machine`...
2025-12-30 15:03:59.413969 INFO: Running `git rev-parse --show-toplevel`...
2025-12-30 15:04:00.001764 INFO: Running `flutter --no-version-check pub pub get --no-example`...
2025-12-30 15:04:00.929004 INFO: Running `flutter --no-version-check pub pub get --no-example`...
2025-12-30 15:04:01.318825 INFO: Running `flutter --no-version-check pub pub outdated --json --up-to-date --no-dev-dependencies --no-dependency-overrides`...
2025-12-30 15:04:01.933554 INFO: Analyzing package...
2025-12-30 15:04:02.047652 SHOUT: Problem analyzing 
                                  type 'String' is not a subtype of type 'bool' of 'value'
                                  #0      _LinkedHashMapMixin.[]= (dart:_compact_hash:635:30)
                                  #1      updatePassthroughOptions (package:pana/src/analysis_options.dart:146:20)
                                  #2      ToolEnvironment._withRestrictedAnalysisOptions (package:pana/src/sdk_env.dart:216:34)
                                  <asynchronous suspension>
                                  #3      ToolEnvironment.runAnalyzer (package:pana/src/sdk_env.dart:242:12)
                                  <asynchronous suspension>
                                  #4      PackageContext._staticAnalysis (package:pana/src/package_context.dart:303:22)
                                  <asynchronous suspension>
                                  #5      PackageContext.staticAnalysis.<anonymous closure> (package:pana/src/package_context.dart:267:17)
                                  <asynchronous suspension>
                                  #6      PackageAnalyzer._inspect (package:pana/src/package_analyzer.dart:150:16)
                                  <asynchronous suspension>
                                  #7      PackageAnalyzer.inspectDir.<anonymous closure>.<anonymous closure> (package:pana/src/package_analyzer.dart:98:16)
                                  <asynchronous suspension>
                                  #8      withTempDir (package:pana/src/utils.dart:139:12)
                                  <asynchronous suspension>
                                  #9      main (file:///Users/username/.pub-cache/hosted/pub.dev/pana-0.23.3/bin/pana.dart:236:19)
                                  <asynchronous suspension>

pub.dev 6.2.0-beta.2: https://pub.dev/packages/flutter_inappwebview/versions/6.2.0-beta.2/score/log.txt
pub.dev 6.1.5: https://pub.dev/packages/flutter_inappwebview/versions/6.1.5/score/log.txt

Flutter version

v3.38.3, pana >=0.23.1 (maybe)

Operating System, Device-specific and/or Tool

pana >= 0.23.1 (maybe)

pub.dev analysis server, macos

Plugin version

v6.1.4~current master

Additional information

No response

Self grab

  • I'm ready to work on this issue!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions