📝 Docs: No documentation on third party reporters example

I am attempting to build a custom third party reporter and I am using the simple example presented on this page : https://github.com/mochajs/mocha/wiki/Third-party-reporters. However, I cannot find any wiki or a simple explanation of how everything works.
Questions :

Is the "test" parameter in the runner.on function  a .js file containing the tests?
If test is not the file containing the tests, how can I supply one?
How do I run this reporter? Can I do something similar to "mocha testreporter.js" and it would know to check my test files?
How do I include my test reporter in my existing project? Do I need to add it in the package.json? I do not want to publish it on npm, only to use it in my project.

What I am trying to achieve:
-> I need a simple custom test reporter which, based on my tests, can give me back the number of tests which have passed/failed / or a percentage. My plan would be to render my own html based on these results. For this reason, I am not interested in the already existing html test reporters, as I do not want to include error messages etc.

We definitely need better documentation on this.*
To answer your immediate questions as best I can off the top of my head:
4: Mocha searches for the specified reporter in three places:

Mocha's built-in reporters
packages in node_modules
local files (I don't know if this is documented, but it ought to be)

3: You select a reporter via the --reporter or -R option, e.g. mocha --reporter myReporter or mocha --reporter myReporter.js. (The option is also listed in the output of mocha --help, although I don't know if that mentions using third-party reporters.)
2/1: The pass, pending and fail events should provide a test object containing, among other things:

the test title and a fullTitle() function that will return the title including the suites' titles
the test body (the source of the test function)
the test file path

Additionally, if your reporter's constructor performs Base.call(this, runner) where Base is either require("mocha/lib/reporters/base") or require("mocha").reporters.Base, in the end event you can use this.stats to get a total of passes, failures etc. (However, you can fairly easily recreate the code that tracks those, by imitating the base reporter's source.)
I'd also recommend taking a look at Mocha's built-in reporters' sources, including the base one (from which the others inherit common functionality), for more examples of what can be done.

* Quoting a recent reply of mine to a similar question on Gitter:

You can double-check the GitHub Wiki, but off the top of my head all I know of is the source code for Mocha's built-in reporters (even the JSDoc isn't likely to be of much use as far as I'm aware since the important stuff is mostly via emitted events and not function signatures), and the investigation that https://github.com/js-reporters/js-reporters did into Mocha's behavior. It's definitely part of Mocha that needs better documentation to be added to the official site (along with improving said site so it's part of the main repo and can be split up into multiple pages; e.g. if it were multiple files in a docs folder it'd be readable in the source offline too).

@JoshuaKGoldberg just want to confirm if this is still accepting PRs as it's been a while, would be happy to help out with this one :)

Good question, thanks for checking @mark-wiemer! Yes, this is still valid 👍. I think for now, sending an edit to https://github.com/mochajs/mocha/wiki/Third-party-reporters would be the right next step.

@JoshuaKGoldberg just an FYI, doesn't look like there is any review process in place for edits to the wiki. I tried cloning the repo locally but got some errors as filenames have colons in them, which Windows doesn't like. I'm going to go ahead and make small changes without pinging, and I'll let you know when I make a big update (I'll mark it as "experimental" for viewers).
I'll open a separate issue for my inability to clone the wiki repo

Quick FYI, I'm still here! Just had to go away for 40 days for the holidays, it was a wild time but I'm back and still gonna look into this one when I give myself some Mocha time :)


Fix lookup of DataSource table name in Prometheus store/fetch API

Also updates e2e/integration tests to ensure the PrestoTable referenced by
ReportDataSources exist and have a status.tableName.

/retest


Group settings scanner gives violation even though all the settings match.

We are facing the same problem, the scanner is showing not the correct value for "allowExternalMembers".
It seems this field is always interpreted as true by the scanner.
Forseti version in use: v2.19.1
Data from the scanner:
{
   "allowExternalMembers":true,
   "whoCanAdd":"ALL_MANAGERS_CAN_ADD",
   "whoCanInvite":"ALL_MANAGERS_CAN_INVITE",
   "whoCanJoin":"INVITED_CAN_JOIN",
   "whoCanLeaveGroup":"ALL_MEMBERS_CAN_LEAVE",
   "whoCanViewGroup":"ALL_MEMBERS_CAN_VIEW",
   "whoCanViewMembership":"ALL_MEMBERS_CAN_VIEW"
}

Manual call to the Google groups API:
<?xml version="1.0" encoding="UTF-8"?>
<entry xmlns="http://www.w3.org/2005/Atom" xmlns:apps="http://schemas.google.com/apps/2006" xmlns:gd="http://schemas.google.com/g/2005">
<EMAIL_ADDRESS> <title>Groups Resource Entry</title>
 <content type="text">cscc-test</content>
 <author>
  <name>Google</name>
 </author>
 <apps:email>cscc-test@...</apps:email>
 <apps:name>cscc-test</apps:name>
 <apps:description/>
 <apps:whoCanJoin>INVITED_CAN_JOIN</apps:whoCanJoin>
 <apps:whoCanViewMembership>ALL_MEMBERS_CAN_VIEW</apps:whoCanViewMembership>
 <apps:whoCanViewGroup>ALL_MEMBERS_CAN_VIEW</apps:whoCanViewGroup>
 <apps:whoCanInvite>ALL_MANAGERS_CAN_INVITE</apps:whoCanInvite>
 <apps:whoCanAdd>ALL_MANAGERS_CAN_ADD</apps:whoCanAdd>
 <apps:allowExternalMembers>false</apps:allowExternalMembers>
 <apps:whoCanPostMessage>ALL_MEMBERS_CAN_POST</apps:whoCanPostMessage>
 <apps:allowWebPosting>true</apps:allowWebPosting>
 <apps:maxMessageBytes>26214400</apps:maxMessageBytes>
 <apps:isArchived>true</apps:isArchived>
 <apps:archiveOnly>false</apps:archiveOnly>
 <apps:messageModerationLevel>MODERATE_NONE</apps:messageModerationLevel>
 <apps:spamModerationLevel>MODERATE</apps:spamModerationLevel>
 <apps:replyTo>REPLY_TO_IGNORE</apps:replyTo>
 <apps:customReplyTo/>
 <apps:includeCustomFooter>false</apps:includeCustomFooter>
 <apps:customFooterText/>
 <apps:sendMessageDenyNotification>false</apps:sendMessageDenyNotification>
 <apps:defaultMessageDenyNotificationText/>
 <apps:showInGroupDirectory>true</apps:showInGroupDirectory>
 <apps:allowGoogleCommunication>false</apps:allowGoogleCommunication>
 <apps:membersCanPostAsTheGroup>false</apps:membersCanPostAsTheGroup>
 <apps:messageDisplayFont>DEFAULT_FONT</apps:messageDisplayFont>
 <apps:includeInGlobalAddressList>true</apps:includeInGlobalAddressList>
 <apps:whoCanLeaveGroup>ALL_MEMBERS_CAN_LEAVE</apps:whoCanLeaveGroup>
 <apps:whoCanContactOwner>ANYONE_CAN_CONTACT</apps:whoCanContactOwner>
 <apps:whoCanAddReferences>NONE</apps:whoCanAddReferences>
 <apps:whoCanAssignTopics>NONE</apps:whoCanAssignTopics>
 <apps:whoCanUnassignTopic>NONE</apps:whoCanUnassignTopic>
 <apps:whoCanTakeTopics>NONE</apps:whoCanTakeTopics>
 <apps:whoCanMarkDuplicate>NONE</apps:whoCanMarkDuplicate>
 <apps:whoCanMarkNoResponseNeeded>NONE</apps:whoCanMarkNoResponseNeeded>
 <apps:whoCanMarkFavoriteReplyOnAnyTopic>NONE</apps:whoCanMarkFavoriteReplyOnAnyTopic>
 <apps:whoCanMarkFavoriteReplyOnOwnTopic>NONE</apps:whoCanMarkFavoriteReplyOnOwnTopic>
 <apps:whoCanUnmarkFavoriteReplyOnAnyTopic>NONE</apps:whoCanUnmarkFavoriteReplyOnAnyTopic>
 <apps:whoCanEnterFreeFormTags>NONE</apps:whoCanEnterFreeFormTags>
 <apps:whoCanModifyTagsAndCategories>NONE</apps:whoCanModifyTagsAndCategories>
 <apps:favoriteRepliesOnTop>true</apps:favoriteRepliesOnTop>
 <apps:whoCanApproveMembers>ALL_MANAGERS_CAN_APPROVE</apps:whoCanApproveMembers>
 <apps:whoCanBanUsers>OWNERS_AND_MANAGERS</apps:whoCanBanUsers>
 <apps:whoCanModifyMembers>OWNERS_AND_MANAGERS</apps:whoCanModifyMembers>
 <apps:whoCanApproveMessages>OWNERS_AND_MANAGERS</apps:whoCanApproveMessages>
 <apps:whoCanDeleteAnyPost>OWNERS_AND_MANAGERS</apps:whoCanDeleteAnyPost>
 <apps:whoCanDeleteTopics>OWNERS_AND_MANAGERS</apps:whoCanDeleteTopics>
 <apps:whoCanLockTopics>OWNERS_AND_MANAGERS</apps:whoCanLockTopics>
 <apps:whoCanMoveTopicsIn>OWNERS_AND_MANAGERS</apps:whoCanMoveTopicsIn>
 <apps:whoCanMoveTopicsOut>OWNERS_AND_MANAGERS</apps:whoCanMoveTopicsOut>
 <apps:whoCanPostAnnouncements>OWNERS_AND_MANAGERS</apps:whoCanPostAnnouncements>
 <apps:whoCanHideAbuse>NONE</apps:whoCanHideAbuse>
 <apps:whoCanMakeTopicsSticky>NONE</apps:whoCanMakeTopicsSticky>
 <apps:whoCanModerateMembers>OWNERS_AND_MANAGERS</apps:whoCanModerateMembers>
 <apps:whoCanModerateContent>OWNERS_AND_MANAGERS</apps:whoCanModerateContent>
 <apps:whoCanAssistContent>NONE</apps:whoCanAssistContent>
 <apps:customRolesEnabledForSettingsToBeMerged>false</apps:customRolesEnabledForSettingsToBeMerged>
 <apps:enableCollaborativeInbox>false</apps:enableCollaborativeInbox>
 <apps:whoCanDiscoverGroup>ALL_IN_DOMAIN_CAN_DISCOVER</apps:whoCanDiscoverGroup>
</entry>

Hi @peter-fe, where did you get the data from the scanner in your last comment? I have tested this with the allowExternalMembers: True commented out similar to your config and it is reporting violations. A couple of ideas to check in the scanner section of the Forseti config.yaml:

Confirm the groups_settings scanner is enabled
Confirm the rules_path location is correct

Hi @gkowalski-google,
Sorry for the late feedback, I was quite busy and somehow lost track about this.
To answer your questions:

groups_settings scanner is enabled

       - name: group
         enabled: true
       - name: groups_settings
         enabled: true

rules_path location is correct

    # if no rules_path is specified, rules are
    # searched in /path/to/forseti_security/rules/
    rules_path: /home/ubuntu/forseti-security/rules

ls /home/ubuntu/forseti-security/rules
audit_logging_rules.yaml            forwarding_rules.yaml                  kms_rules.yaml
bigquery_rules.yaml                 group_rules.yaml                       lien_rules.yaml
blacklist_rules.yaml                groups_settings_rules.yaml             location_rules.yaml
bucket_rules.yaml                   iam_rules.yaml                         log_sink_rules.yaml
cloudsql_rules.yaml                 iap_rules.yaml                         resource_rules.yaml
enabled_apis_rules.yaml             instance_network_interface_rules.yaml  retention_rules.yaml
external_project_access_rules.yaml  ke_rules.yaml                          role_rules.yaml
firewall_rules.yaml                 ke_scanner_rules.yaml                  service_account_key_rules.yaml

Regarding the scanner data, I got it directly from the cscc when looking up the findings:

Or by looking up the finding in MySQL by it's id:
mysql> select violation_data from violations where id = 66882;
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| violation_data                                                                                |
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| "rule specified (allowExternalMembers:False AND whoCanJoin:INVITED_CAN_JOIN AND whoCanInvite:ALL_MANAGERS_CAN_INVITE AND whoCanAdd:ALL_MANAGERS_CAN_ADD AND whoCanLeaveGroup:ALL_MANAGERS_CAN_LEAVE) is required" |
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)

mysql> select resource_data from violations where id = 66882;
+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| resource_data                                                                                |
+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| {"allowExternalMembers": true, "whoCanAdd": "ALL_MANAGERS_CAN_ADD", "whoCanInvite": "ALL_MANAGERS_CAN_INVITE", "whoCanJoin": "INVITED_CAN_JOIN", "whoCanLeaveGroup": "ALL_MEMBERS_CAN_LEAVE", "whoCanViewGroup": "ALL_MEMBERS_CAN_VIEW", "whoCanViewMembership": "ALL_MEMBERS_CAN_VIEW"} |
+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)

The data from UI and DB match as expected, but is different to the actual settings of the GSuite group, as validated by the REST call and admin.google.com.
Best,
Peter

@peter-fe Do you have time today to look into this together? I am available from 10am - 2pm PDT. I can also meet later this afternoon.

@gkowalski-google,
Woo PDT is a tough one, 10am is about 7pm at my time zone, but I think we can get it going.
This week I'm quite busy and I've to travel, so how about next week?

@joecheuk Can you review this and see if you have any ideas?

This has been released as part of Forseti Release v2.22.0.


[XHR] Add a way to customise XHR requests globally

Actual behaviour
The xhr request are cached by the browser by default.
As far i can remember, in Focus V1 (Backbone) we could customize the request globally with
jQuery.ajax( {cache: false} );

It could be nice to have a way to do it in Focus V2.
Expected behaviour
Add a way to customize request globally.
ex :
req.setRequestHeader(“Cache-Control”, “no-cache”);
req.setRequestHeader(“Pragma”, “no-cache”);
req.setRequestHeader(“If-Modified-Since”, “Sat, 1 Jan 2000 00:00:00 GMT”);

And I know i will need to add some response header on the server to completely disable the browser cache ...
Versions
Focus-core: 0.11.4
Focus-components: 0.7.7

Config
https://github.com/KleeGroup/focus-core/blob/develop/src/network/config.js
CORS

Add config headers: [] https://github.com/KleeGroup/focus-core/blob/develop/src/network/cors.js#L43
Add a merge between options and config https://github.com/KleeGroup/focus-core/blob/develop/src/network/fetch.js#L70


PDF file is not rendering using WKWebview

Attach (recommended) or Link to PDF file here:
With WKWebview it is showing empty viewer not pdf file. Can you please help.

Configuration:

Web browser and its version:
Operating system and its version:
PDF.js version:
Is a browser extension:

Steps to reproduce the problem:
1.
2.
What is the expected behavior? (add screenshot)
What went wrong? (add screenshot)
Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):

Please keep in mind that this is first and foremost a bug tracker, and not a support forum, and that this issue is missing every single piece of information necessary to be actionable!
Furthermore, the attached screen-shot clearly shows an old and no longer supported version of the default viewer.
When opening an issue, you must provide all of the information requested in https://github.com/mozilla/pdf.js/blob/master/.github/ISSUE_TEMPLATE.md; please also see https://github.com/mozilla/pdf.js/blob/master/.github/CONTRIBUTING.md (emphasis mine):

If you are developing a custom solution, first check the examples at https://github.com/mozilla/pdf.js#learning and search existing issues. If this does not help, please prepare a short well-documented example that demonstrates the problem and make it accessible online on your website, JS Bin, GitHub, etc. before opening a new issue or contacting us in the Matrix room -- keep in mind that just code snippets won't help us troubleshoot the problem.

Please keep in mind that this is first and foremost a bug tracker, and not a support forum, and that this issue is missing every single piece of information necessary to be actionable!
Furthermore, the attached screen-shot clearly shows an old and no longer supported version of the default viewer.
When opening an issue, you must provide all of the information requested in https://github.com/mozilla/pdf.js/blob/master/.github/ISSUE_TEMPLATE.md; please also see https://github.com/mozilla/pdf.js/blob/master/.github/CONTRIBUTING.md (emphasis mine):

If you are developing a custom solution, first check the examples at https://github.com/mozilla/pdf.js#learning and search existing issues. If this does not help, please prepare a short well-documented example that demonstrates the problem and make it accessible online on your website, JS Bin, GitHub, etc. before opening a new issue or contacting us in the Matrix room -- keep in mind that just code snippets won't help us troubleshoot the problem.


Fix: cell should not be selected in range on row selection when also using ag-grid-enterprise

When using ag-grid with ag-grid-enterprise, and enabling both range selection and row selection, the grid creates a focused cell, which also becomes one of the selected ranges. This is highly undesirable, because when selecting a row, the intent of a user is not to also select that row's 0th cell as one of their selected ranges.
This fixes that bug.

For this to work properly with ag-grid-enterprise cell range selection, here's the relevant PR on ag-grid-enterprise: https://github.com/ceolter/ag-grid-enterprise/pull/123

This is working as expected when both row selection and range selection is enabled, so closing this PR.


List all balances for a tokenId

List all balances
update id to tokenId

Pull Request Test Coverage Report for Build 407

7 of 13 (53.85%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.2%) to 69.572%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

routes/v1/slp.js
7
13
53.85%

Totals

Change from base Build 381:
-0.2%

Covered Lines:
810

Relevant Lines:
1138

💛  - Coveralls

:tada: This PR is included in version 1.0.0 :tada:
Your semantic-release bot :package::rocket:


fix: only two keyframes currently supported with spring and inertia animations

Pending for PR #2601 to merge first.

Closes #2519
Closes #2515

📝 Description
Framer Motion previously introduced a bug in v11 and NextUI was stuck using v10. Framer motion team fixed that and released 13 hours ago. This PR is to bump to frame motion version to include that fix.
⛳ Current behavior (updates)
With<EMAIL_ADDRESS>pr-2596-issue-demo.webm
🚀 New behavior
pr2596-demo.webm
💣 Is this a breaking change (Yes/No):
No
📝 Additional Information

Summary by CodeRabbit
Summary by CodeRabbit

Chores

Updated framer-motion package across various components and utilities to version 11.0.22 for enhanced performance and consistency.
Ensured compatibility with<EMAIL_ADDRESS>and<EMAIL_ADDRESS>across the board.
Introduced patches for NextUI components to improve animations, including support for keyframes with spring and inertia animations.

cool, just encountered this problem.


Use sequential numbering for naming the Update object

Either use the stack history to anticipate the next update #, or simply use the current timestamp.

For comparison, here's the logic for naming of cronjob pods:
https://github.com/kubernetes/kubernetes/blob/b7d1766c186f9bf9b104716b0f744223d9523dd8/pkg/controller/cronjob/utils.go#L276
Which resembles:
hello-28819970-mgh5n      0/1     Terminating         0          3m3s
hello-28819970-mgh5n      0/1     Terminating         0          3m3s
hello-28819974-qdccd      0/1     Pending             0          0s
hello-28819974-qdccd      0/1     Pending             0          0s
hello-28819974-qdccd      0/1     ContainerCreating   0          0s
hello-28819974-qdccd      0/1     Completed           0          1s
hello-28819974-qdccd      0/1     Completed           0          2s
hello-28819974-qdccd      0/1     Completed           0          3s
hello-28819974-qdccd      0/1     Completed           0          3s
hello-28819971-9kr4l      0/1     Terminating         0          3m3s
hello-28819971-9kr4l      0/1     Terminating         0          3m3s
hello-28819975-9plkj      0/1     Pending             0          0s
hello-28819975-9plkj      0/1     Pending             0          0s
hello-28819975-9plkj      0/1     ContainerCreating   0          0s
hello-28819975-9plkj      0/1     Completed           0          1s
hello-28819975-9plkj      0/1     Completed           0          2s


Using SystemChrome.setEnabledSystemUIMode in profile/release mode leads to blank screen

Steps to Reproduce

Have an Android device connected (I tried both my dev device, a Nokia 1.3, as well as my daily device, a Pixel 5).
Execute flutter run --profile (or --release) on the code sample below.

Expected results: App starts normally. (This is what happens in debug mode.)
Actual results: App starts, but only a blank white plane is shown. Nothing wrong in the logs.

Code sample
This is the normal Flutter counter app, only with WidgetsFlutterBinding.ensureInitialized(); and SystemChrome.setEnabledSystemUIMode(SystemUiMode.immersiveSticky); added to the main() function.
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

void main() {
  WidgetsFlutterBinding.ensureInitialized();
  SystemChrome.setEnabledSystemUIMode(SystemUiMode.immersiveSticky);

  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

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

  final String title;

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

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

  void _incrementCounter() {
    setState(() {
      _counter++;
    });
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(
        child: Column(
          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),
      ),
    );
  }
}

Logs

% flutter run --profile --verbose
[ +137 ms] executing: sysctl hw.optional.arm64
[  +31 ms] Exit code 0 from: sysctl hw.optional.arm64
[   +3 ms] hw.optional.arm64: 1
[   +9 ms] executing: [/Users/filiph/fvm/versions/stable/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +21 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 097d3313d8e2c7f901932d63e537c1acefb87800
[        ] executing: [/Users/filiph/fvm/versions/stable/] git tag --points-at 097d3313d8e2c7f901932d63e537c1acefb87800
[ +116 ms] Exit code 0 from: git tag --points-at 097d3313d8e2c7f901932d63e537c1acefb87800
[   +1 ms] 2.10.2
[  +11 ms] executing: [/Users/filiph/fvm/versions/stable/] git rev-parse --abbrev-ref --symbolic @{u}
[   +9 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [/Users/filiph/fvm/versions/stable/] git ls-remote --get-url origin
[   +8 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[ +126 ms] executing: [/Users/filiph/fvm/versions/stable/] git rev-parse --abbrev-ref HEAD
[  +14 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[   +7 ms] executing: sw_vers -productName
[  +22 ms] Exit code 0 from: sw_vers -productName
[        ] macOS
[        ] executing: sw_vers -productVersion
[  +17 ms] Exit code 0 from: sw_vers -productVersion
[        ] 12.2
[        ] executing: sw_vers -buildVersion
[  +19 ms] Exit code 0 from: sw_vers -buildVersion
[        ] 21D49
[  +73 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +52 ms] executing: /Users/filiph/Library/Android/sdk/platform-tools/adb devices -l
[  +19 ms] executing: sysctl hw.optional.arm64
[  +10 ms] Exit code 0 from: sysctl hw.optional.arm64
[        ] hw.optional.arm64: 1
[        ] executing: /usr/bin/arch -arm64e xcrun xcodebuild -version
[ +136 ms] Exit code 0 from: /usr/bin/arch -arm64e xcrun xcodebuild -version
[        ] Xcode 13.2.1
           Build version 13C100
[   +1 ms] objc[4713]: Class AMSupportURLConnectionDelegate is implemented in both /usr/lib/libamsupport.dylib (0x1ea31b678) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1088842c8). One of the two will be used. Which one is undefined.
           objc[4713]: Class AMSupportURLSession is implemented in both /usr/lib/libamsupport.dylib (0x1ea31b6c8) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x108884318). One of the two will be used. Which one is undefined.
[   +2 ms] executing: /usr/bin/arch -arm64e xcrun xcdevice list --timeout 2
[   +5 ms] /usr/bin/arch -arm64e xcrun simctl list --json devices
[        ] executing: /usr/bin/arch -arm64e xcrun simctl list --json devices
[   +4 ms] executing: /usr/bin/arch -arm64e xcrun simctl list
[  +81 ms] Exit code 0 from: /usr/bin/arch -arm64e xcrun simctl list
[   +1 ms] == Device Types ==
           iPhone 4s (com.apple.CoreSimulator.SimDeviceType.iPhone-4s)
           iPhone 5 (com.apple.CoreSimulator.SimDeviceType.iPhone-5)
           iPhone 5s (com.apple.CoreSimulator.SimDeviceType.iPhone-5s)
           iPhone 6 Plus (com.apple.CoreSimulator.SimDeviceType.iPhone-6-Plus)
           iPhone 6 (com.apple.CoreSimulator.SimDeviceType.iPhone-6)
           iPhone 6s (com.apple.CoreSimulator.SimDeviceType.iPhone-6s)
           iPhone 6s Plus (com.apple.CoreSimulator.SimDeviceType.iPhone-6s-Plus)
           iPhone SE (1st generation) (com.apple.CoreSimulator.SimDeviceType.iPhone-SE)
           iPhone 7 (com.apple.CoreSimulator.SimDeviceType.iPhone-7)

... SNIP (comment otherwise too long for github) ...

           objc[4721]: Class AMSupportURLConnectionDelegate is implemented in both /usr/lib/libamsupport.dylib (0x1ea31b678) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1036c02c8). One of the two will be used. Which one is undefined.
           objc[4721]: Class AMSupportURLSession is implemented in both /usr/lib/libamsupport.dylib (0x1ea31b6c8) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1036c0318). One of the two will be used. Which one is undefined.
[  +25 ms] /Users/filiph/Library/Android/sdk/platform-tools/adb -s PT89572AA1A90700192 shell getprop
[ +104 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +163 ms] Skipping pub get: version match.
[  +77 ms] Generating /Users/filiph/dev/system_overlay_bug/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +70 ms] ro.hardware = qcom
[  +50 ms] executing: /Users/filiph/Library/Android/sdk/build-tools/33.0.0-rc1/aapt dump xmltree /Users/filiph/dev/system_overlay_bug/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[  +34 ms] Exit code 0 from: /Users/filiph/Library/Android/sdk/build-tools/33.0.0-rc1/aapt dump xmltree /Users/filiph/dev/system_overlay_bug/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[        ] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1f
               A: android:compileSdkVersionCodename(0x01010573)="12" (Raw: "12")
               A: package="com.example.system_overlay_bug" (Raw: "com.example.system_overlay_bug")
               A: platformBuildVersionCode=(type 0x10)0x1f
               A: platformBuildVersionName=(type 0x10)0xc
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1f
               E: application (line=11)
                 A: android:label(0x01010001)="system_overlay_bug" (Raw: "system_overlay_bug")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:name(0x01010003)="android.app.Application" (Raw: "android.app.Application")
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=16)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.example.system_overlay_bug.MainActivity" (Raw: "com.example.system_overlay_bug.MainActivity")
                   A: android:exported(0x01010010)=(type 0x12)0xffffffff
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=31)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: intent-filter (line=35)
                     E: action (line=36)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=38)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=45)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
                 E: uses-library (line=49)
                   A: android:name(0x01010003)="androidx.window.extensions" (Raw: "androidx.window.extensions")
                   A: android:required(0x0101028e)=(type 0x12)0x0
                 E: uses-library (line=52)
                   A: android:name(0x01010003)="androidx.window.sidecar" (Raw: "androidx.window.sidecar")
                   A: android:required(0x0101028e)=(type 0x12)0x0
[   +8 ms] Launching lib/main.dart on Nokia 1 3 in profile mode...
[   +3 ms] executing: /Users/filiph/Library/Android/sdk/platform-tools/adb -s PT89572AA1A90700192 shell -x logcat -v time -t 1
[  +89 ms] --------- beginning of main
           02-23 11:55:42.296 W/swapper/1(    0): type=1400 audit(0.0:1547): avc: denied { kill } for capability=5 scontext=u:r:kernel:s0 tcontext=u:r:kernel:s0 tclass=capability permissive=0
[  +21 ms] executing: /Users/filiph/Library/Android/sdk/platform-tools/adb version
[  +57 ms] Android Debug Bridge version 1.0.41
           Version 32.0.0-8006631
           Installed as /Users/filiph/Library/Android/sdk/platform-tools/adb
[   +2 ms] executing: /Users/filiph/Library/Android/sdk/platform-tools/adb start-server
[  +48 ms] Building APK
[  +24 ms] Running Gradle task 'assembleProfile'...
[   +4 ms] Using gradle from /Users/filiph/dev/system_overlay_bug/android/gradlew.
[ +489 ms] executing: /usr/bin/plutil -convert xml1 -o - /Applications/Android Studio.app/Contents/Info.plist
[  +19 ms] Exit code 0 from: /usr/bin/plutil -convert xml1 -o - /Applications/Android Studio.app/Contents/Info.plist
[        ] <?xml version="1.0" encoding="UTF-8"?>
           <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
           <plist version="1.0">
           <dict>
           	<key>CFBundleDevelopmentRegion</key>
           	<string>English</string>
           	<key>CFBundleDocumentTypes</key>
           	<array>
           		<dict>
           			<key>CFBundleTypeExtensions</key>
           			<array>
           				<string>ipr</string>
           			</array>
           			<key>CFBundleTypeIconFile</key>
           			<string>studio.icns</string>
           			<key>CFBundleTypeName</key>
           			<string>Android Studio Project File</string>
           			<key>CFBundleTypeRole</key>
           			<string>Editor</string>
           		</dict>
           		<dict>
           			<key>CFBundleTypeExtensions</key>
           			<array>
           				<string>*</string>
           			</array>
           			<key>CFBundleTypeName</key>
           			<string>All documents</string>
           			<key>CFBundleTypeOSTypes</key>
           			<array>
           				<string>****</string>
           			</array>
           			<key>CFBundleTypeRole</key>
           			<string>Editor</string>
           			<key>LSTypeIsPackage</key>
           			<false/>
           		</dict>
           	</array>
           	<key>CFBundleExecutable</key>
           	<string>studio</string>
           	<key>CFBundleGetInfoString</key>
           	<string>Android Studio 2021.1, build AI-211.7628.21.2111.8139111. Copyright JetBrains s.r.o., (c) 2000-2022</string>
           	<key>CFBundleIconFile</key>
           	<string>studio.icns</string>
           	<key>CFBundleIdentifier</key>
           	<string>com.google.android.studio</string>
           	<key>CFBundleInfoDictionaryVersion</key>
           	<string>6.0</string>
           	<key>CFBundleName</key>
           	<string>Android Studio</string>
           	<key>CFBundlePackageType</key>
           	<string>APPL</string>
           	<key>CFBundleShortVersionString</key>
           	<string>2021.1</string>
           	<key>CFBundleSignature</key>
           	<string>????</string>
           	<key>CFBundleURLTypes</key>
           	<array>
           		<dict>
           			<key>CFBundleTypeRole</key>
           			<string>Editor</string>
           			<key>CFBundleURLName</key>
           			<string>Stacktrace</string>
           			<key>CFBundleURLSchemes</key>
           			<array>
           				<string>idea</string>
           			</array>
           		</dict>
           	</array>
           	<key>CFBundleVersion</key>
           	<string>AI-211.7628.21.2111.8139111</string>
           	<key>JVMOptions</key>
           	<dict>
           		<key>ClassPath</key>
           		<string>$APP_PACKAGE/Contents/lib/bootstrap.jar:$APP_PACKAGE/Contents/lib/util.jar:$APP_PACKAGE/Contents/lib/jdom.jar:$APP_PACKAGE/Contents/lib/log4j.jar:$APP_PACKAGE/Contents/lib/jna.jar</string>
           		<key>JVMVersion</key>
           		<string>1.8*,1.8+</string>
           		<key>MainClass</key>
           		<string>com.intellij.idea.Main</string>
           		<key>Properties</key>
           		<dict>
           			<key>idea.executable</key>
           			<string>studio</string>
           			<key>idea.home.path</key>
           			<string>$APP_PACKAGE/Contents</string>
           			<key>idea.paths.selector</key>
           			<string>AndroidStudio2021.1</string>
           			<key>idea.platform.prefix</key>
           			<string>AndroidStudio</string>
           			<key>idea.vendor.name</key>
           			<string>Google</string>
           		</dict>
           	</dict>
           	<key>LSApplicationCategoryType</key>
           	<string>public.app-category.developer-tools</string>
           	<key>LSArchitecturePriority</key>
           	<array>
           		<string>arm64</string>
           		<string>x86_64</string>
           	</array>
           	<key>LSMinimumSystemVersion</key>
           	<string>10.8</string>
           	<key>LSRequiresNativeExecution</key>
           	<string>YES</string>
           	<key>NSBluetoothAlwaysUsageDescription</key>
           	<string>An application in Android Studio requests access to Bluetooth.</string>
           	<key>NSCameraUsageDescription</key>
           	<string>An application in Android Studio requests access to the device's camera.</string>
           	<key>NSDesktopFolderUsageDescription</key>
           	<string>An application in Android Studio requests access to the user's Desktop folder.</string>
           	<key>NSDocumentsFolderUsageDescription</key>
           	<string>An application in Android Studio requests access to the user's Documents folder.</string>
           	<key>NSDownloadsFolderUsageDescription</key>
           	<string>An application in Android Studio requests access to the user's Downloads folder.</string>
           	<key>NSHighResolutionCapable</key>
           	<true/>
           	<key>NSLocationUsageDescription</key>
           	<string>An application in Android Studio requests access to the user's location information.</string>
           	<key>NSMicrophoneUsageDescription</key>
           	<string>An application in Android Studio requests access to the device's microphone.</string>
           	<key>NSNetworkVolumesUsageDescription</key>
           	<string>An application in Android Studio requests access to files on a network volume.</string>
           	<key>NSRemovableVolumesUsageDescription</key>
           	<string>An application in Android Studio requests access to files on a removable volume.</string>
           	<key>NSSupportsAutomaticGraphicsSwitching</key>
           	<true/>
           </dict>
           </plist>
[  +12 ms] executing: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java -version
[  +58 ms] Exit code 0 from: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java -version
[        ] openjdk version "11.0.11" 2021-04-20
           OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)
           OpenJDK 64-Bit Server VM (build 11.0.11+0-b60-7772763, mixed mode)
[   +2 ms] executing: [/Users/filiph/dev/system_overlay_bug/android/] /Users/filiph/dev/system_overlay_bug/android/gradlew -Pverbose=true -Ptarget-platform=android-arm -Ptarget=/Users/filiph/dev/system_overlay_bug/lib/main.dart -Pbase-application-name=android.app.Application -Pdart-defines=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ== -Pdart-obfuscation=false -Ptrack-widget-creation=true -Ptree-shake-icons=false -Pfilesystem-scheme=org-dartlang-root assembleProfile
[ +705 ms] Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
[   +6 ms] Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
[        ] Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
[        ] Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
[        ] Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
[+2003 ms] > Task :app:compileFlutterBuildProfile
[   +5 ms] [ +139 ms] executing: sysctl hw.optional.arm64
[        ] [  +28 ms] Exit code 0 from: sysctl hw.optional.arm64
[        ] [   +3 ms] hw.optional.arm64: 1
[        ] [   +8 ms] executing: [/Users/filiph/fvm/versions/stable/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [  +13 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [        ] 097d3313d8e2c7f901932d63e537c1acefb87800
[        ] [        ] executing: [/Users/filiph/fvm/versions/stable/] git tag --points-at 097d3313d8e2c7f901932d63e537c1acefb87800
[        ] [  +50 ms] Exit code 0 from: git tag --points-at 097d3313d8e2c7f901932d63e537c1acefb87800
[        ] [        ] 2.10.2
[        ] [  +11 ms] executing: [/Users/filiph/fvm/versions/stable/] git rev-parse --abbrev-ref --symbolic @{u}
[        ] [  +10 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] [        ] origin/stable
[        ] [        ] executing: [/Users/filiph/fvm/versions/stable/] git ls-remote --get-url origin
[        ] [   +9 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] [        ] https://github.com/flutter/flutter.git
[        ] [  +88 ms] executing: [/Users/filiph/fvm/versions/stable/] git rev-parse --abbrev-ref HEAD
[        ] [  +21 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [        ] stable
[        ] [   +8 ms] executing: sw_vers -productName
[        ] [  +14 ms] Exit code 0 from: sw_vers -productName
[        ] [        ] macOS
[        ] [        ] executing: sw_vers -productVersion
[        ] [  +13 ms] Exit code 0 from: sw_vers -productVersion
[        ] [        ] 12.2
[        ] [        ] executing: sw_vers -buildVersion
[        ] [  +14 ms] Exit code 0 from: sw_vers -buildVersion
[        ] [        ] 21D49
[        ] [  +63 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [ +113 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] [   +1 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[        ] [ +127 ms] Initializing file store
[        ] [  +37 ms] Skipping target: gen_localizations
[        ] [  +14 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: /Users/filiph/dev/system_overlay_bug/.dart_tool/package_config_subset}
[        ] [  +44 ms] gen_dart_plugin_registrant: Complete
[        ] [   +3 ms] kernel_snapshot: Starting due to {}
[        ] [  +14 ms] /Users/filiph/fvm/versions/stable/bin/cache/dart-sdk/bin/dart --disable-dart-dev /Users/filiph/fvm/versions/stable/bin/cache/artifacts/engine/darwin-x64/frontend_server.dart.snapshot --sdk-root /Users/filiph/fvm/versions/stable/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --target=flutter --no-print-incremental-dependencies -DFLUTTER_WEB_AUTO_DETECT=true -Ddart.vm.profile=true -Ddart.vm.product=false --aot --tfa --packages /Users/filiph/dev/system_overlay_bug/.dart_tool/package_config.json --output-dill /Users/filiph/dev/system_overlay_bug/.dart_tool/flutter_build/d78beb2568b98ed7b558142858fd1fbd/app.dill --depfile /Users/filiph/dev/system_overlay_bug/.dart_tool/flutter_build/d78beb2568b98ed7b558142858fd1fbd/kernel_snapshot.d package:system_overlay_bug/main.dart
[+9165 ms] [+9898 ms] kernel_snapshot: Complete
[ +297 ms] [ +385 ms] android_aot_profile_android-arm: Starting due to {}
[        ] [   +8 ms] executing: /Users/filiph/fvm/versions/stable/bin/cache/artifacts/engine/android-arm-profile/darwin-x64/gen_snapshot --deterministic --snapshot_kind=app-aot-elf --elf=/Users/filiph/dev/system_overlay_bug/.dart_tool/flutter_build/d78beb2568b98ed7b558142858fd1fbd/armeabi-v7a/app.so --strip --no-sim-use-hardfp --no-use-integer-division /Users/filiph/dev/system_overlay_bug/.dart_tool/flutter_build/d78beb2568b98ed7b558142858fd1fbd/app.dill
[        ] [   +4 ms] aot_android_asset_bundle: Starting due to {}
[ +202 ms] [ +161 ms] aot_android_asset_bundle: Complete
[+4898 ms] [+4885 ms] android_aot_profile_android-arm: Complete
[ +196 ms] [ +175 ms] android_aot_bundle_profile_android-arm: Starting due to {}
[        ] [   +3 ms] android_aot_bundle_profile_android-arm: Complete
[        ] [  +55 ms] Persisting file store
[        ] [   +6 ms] Done persisting file store
[        ] [   +8 ms] build succeeded.
[ +102 ms] [  +14 ms] "flutter assemble" took 15,994ms.
[  +98 ms] [ +118 ms] ensureAnalyticsSent: 103ms
[        ] [   +1 ms] Running shutdown hooks
[        ] [        ] Shutdown hooks complete
[        ] [        ] exiting with code 0
[ +298 ms] > Task :app:packLibsflutterBuildProfile
[        ] > Task :app:preBuild UP-TO-DATE
[        ] > Task :app:preProfileBuild UP-TO-DATE
[        ] > Task :app:compileProfileAidl NO-SOURCE
[        ] > Task :app:compileProfileRenderscript NO-SOURCE
[        ] > Task :app:generateProfileBuildConfig UP-TO-DATE
[        ] > Task :app:checkProfileAarMetadata UP-TO-DATE
[        ] > Task :app:cleanMergeProfileAssets
[        ] > Task :app:mergeProfileShaders UP-TO-DATE
[        ] > Task :app:compileProfileShaders NO-SOURCE
[        ] > Task :app:generateProfileAssets UP-TO-DATE
[        ] > Task :app:mergeProfileAssets
[        ] > Task :app:copyFlutterAssetsProfile
[        ] > Task :app:generateProfileResValues UP-TO-DATE
[        ] > Task :app:generateProfileResources UP-TO-DATE
[        ] > Task :app:mergeProfileResources UP-TO-DATE
[        ] > Task :app:createProfileCompatibleScreenManifests UP-TO-DATE
[        ] > Task :app:extractDeepLinksProfile UP-TO-DATE
[        ] > Task :app:processProfileMainManifest UP-TO-DATE
[        ] > Task :app:processProfileManifest UP-TO-DATE
[        ] > Task :app:processProfileManifestForPackage UP-TO-DATE
[        ] > Task :app:processProfileResources UP-TO-DATE
[ +494 ms] > Task :app:compileProfileKotlin
[        ] > Task :app:javaPreCompileProfile UP-TO-DATE
[        ] > Task :app:compileProfileJavaWithJavac UP-TO-DATE
[        ] > Task :app:compileProfileSources UP-TO-DATE
[   +1 ms] > Task :app:mergeProfileNativeDebugMetadata NO-SOURCE
[        ] > Task :app:compressProfileAssets UP-TO-DATE
[        ] > Task :app:checkProfileDuplicateClasses UP-TO-DATE
[        ] > Task :app:dexBuilderProfile UP-TO-DATE
[ +101 ms] > Task :app:processProfileJavaRes NO-SOURCE
[        ] > Task :app:desugarProfileFileDependencies
[        ] > Task :app:mergeProfileJniLibFolders UP-TO-DATE
[        ] > Task :app:mergeExtDexProfile UP-TO-DATE
[        ] > Task :app:mergeDexProfile UP-TO-DATE
[        ] > Task :app:validateSigningProfile UP-TO-DATE
[        ] > Task :app:mergeProfileJavaResource
[  +97 ms] > Task :app:mergeProfileNativeLibs
[        ] > Task :app:stripProfileDebugSymbols
[        ] Unable to strip the following libraries, packaging them as they are: libapp.so.
[ +164 ms] > Task :app:packageProfile
[        ] > Task :app:assembleProfile
[        ] Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
[        ] Use '--warning-mode all' to show the individual deprecation warnings.
[        ] See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings
[        ] BUILD SUCCESSFUL in 18s
[        ] 32 actionable tasks: 12 executed, 20 up-to-date
[ +430 ms] Running Gradle task 'assembleProfile'... (completed in 19.8s)
[  +24 ms] calculateSha: LocalDirectory: '/Users/filiph/dev/system_overlay_bug/build/app/outputs/flutter-apk'/app.apk
[ +131 ms] ✓  Built build/app/outputs/flutter-apk/app-profile.apk (13.3MB).
[  +18 ms] executing: /Users/filiph/Library/Android/sdk/build-tools/33.0.0-rc1/aapt dump xmltree /Users/filiph/dev/system_overlay_bug/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[  +37 ms] Exit code 0 from: /Users/filiph/Library/Android/sdk/build-tools/33.0.0-rc1/aapt dump xmltree /Users/filiph/dev/system_overlay_bug/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[        ] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1f
               A: android:compileSdkVersionCodename(0x01010573)="12" (Raw: "12")
               A: package="com.example.system_overlay_bug" (Raw: "com.example.system_overlay_bug")
               A: platformBuildVersionCode=(type 0x10)0x1f
               A: platformBuildVersionName=(type 0x10)0xc
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1f
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=16)
                 A: android:label(0x01010001)="system_overlay_bug" (Raw: "system_overlay_bug")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:name(0x01010003)="android.app.Application" (Raw: "android.app.Application")
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=22)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.example.system_overlay_bug.MainActivity" (Raw: "com.example.system_overlay_bug.MainActivity")
                   A: android:exported(0x01010010)=(type 0x12)0xffffffff
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=37)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: intent-filter (line=41)
                     E: action (line=42)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=44)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=51)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
                 E: uses-library (line=55)
                   A: android:name(0x01010003)="androidx.window.extensions" (Raw: "androidx.window.extensions")
                   A: android:required(0x0101028e)=(type 0x12)0x0
                 E: uses-library (line=58)
                   A: android:name(0x01010003)="androidx.window.sidecar" (Raw: "androidx.window.sidecar")
                   A: android:required(0x0101028e)=(type 0x12)0x0
[   +5 ms] Stopping app 'app.apk' on Nokia 1 3.
[        ] executing: /Users/filiph/Library/Android/sdk/platform-tools/adb -s PT89572AA1A90700192 shell am force-stop com.example.system_overlay_bug
[ +103 ms] executing: /Users/filiph/Library/Android/sdk/platform-tools/adb -s PT89572AA1A90700192 shell pm list packages com.example.system_overlay_bug
[ +115 ms] package:com.example.system_overlay_bug
[   +3 ms] executing: /Users/filiph/Library/Android/sdk/platform-tools/adb -s PT89572AA1A90700192 shell cat /data/local/tmp/sky.com.example.system_overlay_bug.sha1
[  +68 ms] 7270c61d8b38b83830077ac92a65daeae6e14f9b
[   +1 ms] Installing APK.
[   +2 ms] Installing build/app/outputs/flutter-apk/app.apk...
[        ] executing: /Users/filiph/Library/Android/sdk/platform-tools/adb -s PT89572AA1A90700192 install -t -r /Users/filiph/dev/system_overlay_bug/build/app/outputs/flutter-apk/app.apk
[+2023 ms] Performing Streamed Install
           Success
[  +20 ms] Installing build/app/outputs/flutter-apk/app.apk... (completed in 2,025ms)
[   +5 ms] executing: /Users/filiph/Library/Android/sdk/platform-tools/adb -s PT89572AA1A90700192 shell echo -n 129c70aa338d8cfb4d8629b8630c328ccf257bbb > /data/local/tmp/sky.com.example.system_overlay_bug.sha1
[ +109 ms] executing: /Users/filiph/Library/Android/sdk/platform-tools/adb -s PT89572AA1A90700192 shell -x logcat -v time -t 1
[ +167 ms] --------- beginning of main
           02-23 11:56:18.760 I/Finsky  ( 3264): [1093] efj.run(4): Wrote row to frosting DB: 623
[  +35 ms] executing: /Users/filiph/Library/Android/sdk/platform-tools/adb -s PT89572AA1A90700192 shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-dart-profiling true com.example.system_overlay_bug/com.example.system_overlay_bug.MainActivity
[ +309 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.system_overlay_bug/.MainActivity (has extras) }
[   +2 ms] Waiting for observatory port to be available...
[ +771 ms] Observatory URL on device: http://<IP_ADDRESS>:42019/Wa9P1x2hXeI=/
[   +4 ms] executing: /Users/filiph/Library/Android/sdk/platform-tools/adb -s PT89572AA1A90700192 forward tcp:0 tcp:42019
[  +42 ms] 63258
[   +1 ms] Forwarded host port 63258 to device port 42019 for Observatory
[  +17 ms] Connecting to service protocol: http://<IP_ADDRESS>:63258/Wa9P1x2hXeI=/
[  +80 ms] Launching a Dart Developer Service (DDS) instance at http://<IP_ADDRESS>:0, connecting to VM service at http://<IP_ADDRESS>:63258/Wa9P1x2hXeI=/.
[ +368 ms] DDS is listening at http://<IP_ADDRESS>:63263/ujIlcXjlsis=/.
[  +79 ms] Successfully connected to service protocol: http://<IP_ADDRESS>:63258/Wa9P1x2hXeI=/
[  +16 ms] Application running.
[ +223 ms] Connected to Nokia 1 3
[   +4 ms] Flutter run key commands.
[   +1 ms] h List all available interactive commands.
[        ] c Clear the screen
[        ] q Quit (terminate the application on the device).
[        ] An Observatory debugger and profiler on Nokia 1 3 is available at: http://<IP_ADDRESS>:63263/ujIlcXjlsis=/
[ +133 ms] The Flutter DevTools debugger and profiler on Nokia 1 3 is available at: http://<IP_ADDRESS>:9104?uri=http://<IP_ADDRESS>:63263/ujIlcXjlsis=/

Analyzing system_overlay_bug...
No issues found! (ran in 2.0s)

[✓] Flutter (Channel stable, 2.10.2, on macOS 12.2 21D49 darwin-arm, locale en-US)
    • Flutter version 2.10.2 at /Users/filiph/fvm/versions/stable
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 097d3313d8 (4 days ago), 2022-02-18 19:33:08 -0600
    • Engine revision a83ed0e5e3
    • Dart version 2.16.1
    • DevTools version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc1)
    • Android SDK at /Users/filiph/Library/Android/sdk
    • Platform android-31, build-tools 33.0.0-rc1
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)

[✓] VS Code (version 1.56.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (3 available)
    • Nokia 1 3 (mobile) • PT89572AA1A90700192 • android-arm    • Android 11 (API 30)
    • macOS (desktop)    • macos               • darwin-arm64   • macOS 12.2 21D49 darwin-arm
    • Chrome (web)       • chrome              • web-javascript • Google Chrome 98.0.4758.109

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Hi @filiph, thanks for reporting this.
While I can reproduce this consistently on stable, I can't seem to reproduce this on either master or beta.
Can you confirm if this is the case for you as well?

I forgot to mention that this is not specific to SystemUiMode.immersiveSticky. Every other SystemUiMode I tried to set using SystemChrome.setEnabledSystemUIMode() led to the white screen of death.

It looks like this was fixed by https://github.com/flutter/engine/commit/0ca8e1a24c81b3187f33f7c71594fd659562fe1f
https://github.com/flutter/engine/commit/7b5edec4cd13fd948fa12c0cacdf5d1852b0149f was cherry picked into 2.10.1, so we might need to cherry pick https://github.com/flutter/engine/commit/0ca8e1a24c81b3187f33f7c71594fd659562fe1f if there is another 2.10 release
@blasten @itsjustkevin

I confirmed that https://github.com/flutter/engine/commit/0ca8e1a24c81b3187f33f7c71594fd659562fe1f fixes this issue.

This appears to be a regression as it works just fine on stable 2.8.1 but not stable 2.10.2, but it has since been fixed on beta and master.

screenshots

stable 2.10.2
stable 2.8.1 & master/beta

flutter doctor -v
[✓] Flutter (Channel unknown, 2.8.1, on macOS 12.2 21D49 darwin-arm, locale en-GB)
    • Flutter version 2.8.1 at /Users/nexus/dev/sdks/flutter_rc/flutter
    • Upstream repository unknown
    • Framework revision 77d935af4d (2 months ago), 2021-12-16 08:37:33 -0800
    • Engine revision 890a5fca2e
    • Dart version 2.15.1

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-32, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)

[☠] IntelliJ IDEA Community Edition (the doctor check crashed)
    ✗ Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know about this issue at https://github.com/flutter/flutter/issues.
    ✗ FormatException: Unexpected extension byte (at offset 5)
    • #0      _Utf8Decoder.convertSingle (dart:convert-patch/convert_patch.dart:1789:7)
      #1      Utf8Decoder.convert (dart:convert/utf.dart:318:42)
      #2      InputStream.readString (package:archive/src/util/input_stream.dart:207:30)
      #3      new ZipDirectory.read (package:archive/src/zip/zip_directory.dart:40:30)
      #4      ZipDecoder.decodeBuffer (package:archive/src/zip_decoder.dart:19:30)
      #5      ZipDecoder.decodeBytes (package:archive/src/zip_decoder.dart:14:12)
      #6      IntelliJPlugins._findPluginXml (package:flutter_tools/src/intellij/intellij.dart:130:44)
      #7      IntelliJPlugins._readPackageVersion (package:flutter_tools/src/intellij/intellij.dart:141:40)
      #8      IntelliJPlugins.validatePackage (package:flutter_tools/src/intellij/intellij.dart:63:35)
      #9      IntelliJValidator.validate (package:flutter_tools/src/intellij/intellij_validator.dart:103:15)
      #10     asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:111:32)
      #11     asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:109:18)
      #12     _rootRun (dart:async/zone.dart:1428:13)
      #13     _CustomZone.run (dart:async/zone.dart:1328:19)
      #14     _runZoned (dart:async/zone.dart:1863:10)
      #15     runZonedGuarded (dart:async/zone.dart:1851:12)
      #16     runZoned (dart:async/zone.dart:1782:12)
      #17     asyncGuard (package:flutter_tools/src/base/async_guard.dart:109:3)
      #18     Doctor.startValidatorTasks (package:flutter_tools/src/doctor.dart:197:9)
      #19     Doctor.diagnose (package:flutter_tools/src/doctor.dart:301:47)
      #20     DoctorCommand.runCommand (package:flutter_tools/src/commands/doctor.dart:53:47)
      #21     FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1290:12)
      <asynchronous suspension>
      #22     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1140:27)
      <asynchronous suspension>
      #23     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #24     CommandRunner.runCommand (package:args/command_runner.dart:209:13)
      <asynchronous suspension>
      #25     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:288:9)
      <asynchronous suspension>
      #26     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #27     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:236:5)
      <asynchronous suspension>
      #28     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
      <asynchronous suspension>
      #29     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #30     main (package:flutter_tools/executable.dart:94:3)
      <asynchronous suspension>

[✓] VS Code (version 1.64.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.34.0

[✓] Connected device (5 available)
    • M2007J20CG (mobile)         • 5dd3be00                  • android-arm64  • Android 11 (API 30)
    • sdk gphone64 arm64 (mobile) • emulator-5554             • android-arm64  • Android 12 (API 31) (emulator)
    • Nexus (mobile)              • 00008020-001875E83A38002E • ios            • iOS 15.3 19D50
    • macOS (desktop)             • macos                     • darwin-arm64   • macOS 12.2 21D49 darwin-arm
    • Chrome (web)                • chrome                    • web-javascript • Google Chrome 98.0.4758.109

! Doctor found issues in 1 category.

[✓] Flutter (Channel stable, 2.10.2, on macOS 12.2 21D49 darwin-arm, locale en-GB)
    • Flutter version 2.10.2 at /Users/nexus/dev/sdks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 097d3313d8 (6 days ago), 2022-02-18 19:33:08 -0600
    • Engine revision a83ed0e5e3
    • Dart version 2.16.1
    • DevTools version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-32, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)

[☠] IntelliJ IDEA Community Edition (the doctor check crashed)
    ✗ Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know about this issue at https://github.com/flutter/flutter/issues.
    ✗ FormatException: Unexpected extension byte (at offset 5)
    • #0      _Utf8Decoder.convertSingle (dart:convert-patch/convert_patch.dart:1789:7)
      #1      Utf8Decoder.convert (dart:convert/utf.dart:351:42)
      #2      InputStream.readString (package:archive/src/util/input_stream.dart:207:30)
      #3      new ZipDirectory.read (package:archive/src/zip/zip_directory.dart:40:30)
      #4      ZipDecoder.decodeBuffer (package:archive/src/zip_decoder.dart:19:30)
      #5      ZipDecoder.decodeBytes (package:archive/src/zip_decoder.dart:14:12)
      #6      IntelliJPlugins._findPluginXml (package:flutter_tools/src/intellij/intellij.dart:130:44)
      #7      IntelliJPlugins._readPackageVersion (package:flutter_tools/src/intellij/intellij.dart:141:40)
      #8      IntelliJPlugins.validatePackage (package:flutter_tools/src/intellij/intellij.dart:63:35)
      #9      IntelliJValidator.validate (package:flutter_tools/src/intellij/intellij_validator.dart:103:15)
      #10     asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:111:32)
      #11     asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:109:18)
      #12     _rootRun (dart:async/zone.dart:1426:13)
      #13     _CustomZone.run (dart:async/zone.dart:1328:19)
      #14     _runZoned (dart:async/zone.dart:1861:10)
      #15     runZonedGuarded (dart:async/zone.dart:1849:12)
      #16     runZoned (dart:async/zone.dart:1780:12)
      #17     asyncGuard (package:flutter_tools/src/base/async_guard.dart:109:3)
      #18     Doctor.startValidatorTasks (package:flutter_tools/src/doctor.dart:205:9)
      #19     Doctor.diagnose (package:flutter_tools/src/doctor.dart:309:47)
      #20     DoctorCommand.runCommand (package:flutter_tools/src/commands/doctor.dart:50:48)
      #21     FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1320:12)
      <asynchronous suspension>
      #22     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1161:27)
      <asynchronous suspension>
      #23     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #24     CommandRunner.runCommand (package:args/command_runner.dart:209:13)
      <asynchronous suspension>
      #25     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
      <asynchronous suspension>
      #26     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #27     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
      <asynchronous suspension>
      #28     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
      <asynchronous suspension>
      #29     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #30     main (package:flutter_tools/executable.dart:94:3)
      <asynchronous suspension>

[✓] VS Code (version 1.64.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.34.0

[✓] Connected device (5 available)
    • M2007J20CG (mobile)         • 5dd3be00                  • android-arm64  • Android 11 (API 30)
    • sdk gphone64 arm64 (mobile) • emulator-5554             • android-arm64  • Android 12 (API 31) (emulator)
    • Nexus (mobile)              • 00008020-001875E83A38002E • ios            • iOS 15.3 19D50
    • macOS (desktop)             • macos                     • darwin-arm64   • macOS 12.2 21D49 darwin-arm
    • Chrome (web)                • chrome                    • web-javascript • Google Chrome 98.0.4758.109

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 2.11.0-0.0.pre.681, on macOS 12.2 21D49 darwin-arm, locale en-GB)
    • Flutter version 2.11.0-0.0.pre.681 at /Users/nexus/dev/sdks/flutters
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision a288bd5e3f (2 hours ago), 2022-02-24 23:06:19 -0600
    • Engine revision 1012ac4b5a
    • Dart version 2.17.0 (build 2.17.0-141.0.dev)
    • DevTools version 2.11.0

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-32, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)

[✓] IntelliJ IDEA Community Edition (version 2021.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin version 213.5744.122

[✓] VS Code (version 1.64.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.34.0

[✓] Connected device (5 available)
    • M2007J20CG (mobile)         • 5dd3be00                  • android-arm64  • Android 11 (API 30)
    • sdk gphone64 arm64 (mobile) • emulator-5554             • android-arm64  • Android 12 (API 31) (emulator)
    • Nexus (mobile)              • 00008020-001875E83A38002E • ios            • iOS 15.3 19D50
    • macOS (desktop)             • macos                     • darwin-arm64   • macOS 12.2 21D49 darwin-arm
    • Chrome (web)                • chrome                    • web-javascript • Google Chrome 98.0.4758.109

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

If this is already fixed on the master branch, we can close the issue.

I don't know how soon there's a new stable release, but, FWIW, I think this is severe enough to call for a cherry pick. If I understand it correctly, every Flutter app or game that does anything with UI mode (full screen, edge to edge, hidden status bar, etc.) is currently broken on stable. Just my 2 cents. I, personally, can use beta for now.

Oh I agree, @blasten are you already arranging for cp since you fixed this in https://github.com/flutter/engine/pull/31464?
Usually the issue is closed and moved along from there for cherry picking consideration.

The cp label was applied to this issue. This indicates that it will be cherry picked into the branch corresponding to the version. In this case, Flutter 2.10 (stable branch).

This was an unfortunate regression, apologies for the issue.
I’m going to work on an integration test for this.

This is a blocking issue for my app. Any ETA on this? Will the fix be in 2.10.3?

The fix for this has landed and approved for CP. Closing.

Congratulations to everyone who participated, wp guys!

@khyati82 I'm tagging this one for potentially highlighting a bad build range for other users cutting releases between https://github.com/flutter/engine/commit/7b5edec4cd13fd948fa12c0cacdf5d1852b0149f and https://github.com/flutter/engine/commit/0ca8e1a24c81b3187f33f7c71594fd659562fe1f.

@chinmaygarde @xster does current release 2.10.3solve this issue?


.prepare_project.sh -> .initialize_new_project.sh

Changed name of .prepare_project.sh, added .initialize_new_project.sh script to .gitignore. Created a .setup_dev.sh script that is similar to the original prepare_project script, but excludes the various local git repo setup steps.
Checklist

[x] This PR is meant for the lincc-frameworks/python-project-template repo and not a downstream one instead.
[x] This change is linked to an open issue
[ ] This change includes integration testing, or is small enough to be covered by existing tests

I updated some references to the .prepare_project so in the interest of good process I'm re-requesting a review.


App does not start when installed from the libs

After following the installation procedure, I get build errors when I attempt to launch the storefront with ng serve:
ERROR in node_modules/@spartacus/core/src/product/store/effects/product.effect.d.ts(10,19): error TS2307: Cannot find module '../../../../../../../../../../SAPDevelop/spartacus/dev/2-spartacus/node_modules/rxjs/internal/Observable'.
node_modules/@spartacus/core/src/state/utils/loader/loader.helpers.d.ts(2,59): error TS2307: Cannot find module '../../../../../../../../../../SAPDevelop/spartacus/dev/2-spartacus/node_modules/rxjs/internal/types'.
node_modules/@spartacus/core/src/state/utils/loader/loader.helpers.d.ts(3,59): error TS2307: Cannot find module '../../../../../../../../../../SAPDevelop/spartacus/dev/2-spartacus/node_modules/rxjs/internal/types'.
node_modules/@spartacus/core/src/state/utils/loader/loader.helpers.d.ts(4,62): error TS2307: Cannot find module '../../../../../../../../../../SAPDevelop/spartacus/dev/2-spartacus/node_modules/rxjs/internal/types'.

ℹ ｢wdm｣: Failed to compile.

To repro, follow the installation instructions:
https://github.com/SAP/cloud-commerce-spartacus-storefront/blob/develop/docs/setupandinstallation.md
...with the exception that you must use locally built libs for "@spartacus".

This could be a cause of the first one but it seems you have an error in styles.css. In our install guide we tell users to create their shell app with scss as styles preprocessor. Therefore, the import of the styles lib should be in styles.scss.
Also, the error says Can't resolve '@spartacus/styles/index'. This should be ~@spartacus/styles/index.

You are right.  css is not good.  It should have been scss.  The error is due to a human error on my part.  I omitted the --style=scss flag in the command which is, for example ng new mystore --style=scss
I reinstalled spartacus manually using the --style=scss and the error is gone.  I removed the css error from the issue description to avoid confusion.
The other errors remains.  Which is now consistent with the results I get from the installation script

This problem was the same we had last sprint, where we don't type some things (see above) and when typescript is compiled, the compiler adds a relative path from where to import the type. The solution was to add the types explicitly and the imports (see commit above)
This fix is in our release branch so there's no PR for it. It will be merged when we merge the release branch.


[Just Merge Me][Community Translation] Russian Translation Update

@gbezyuk Looks like some files have become out of date

@blake-newman thank you for noticing, we'll fix it
@Alex-Sokolov, bro please take a look

Files looks good. Don't know why there are conflicts there

@blake-newman all conflicts have been resolved

Thanks @gbezyuk


Recording player interactions

Currently running Spigot 1.12, Citizens2, latest build of Denizen.
I'm unable to find a way for to save a history of player interactions, so actions cannot be repeated. Our goal is to mark an interaction or quest in this case as completed using flags, and the script cannot be re-ran. Is there a way to accomplish this by having Denizen log an entry into a file or database?

The flag command helps.
If you're insistent on using a database of sorts, you can check out the yaml command. Details on it can be found here:
https://one.denizenscript.com/denizen/cmds/yaml

Furthering on this, Denizen has SQL capability if you know how to manipulate a databse.


Is there a webp generated img for the original (Fullsize) Picture?

As I try to serve webp for the Category Images ( {media path={$category.media.path|regex_replace:"/.jpg$/i":".webp"}} ) it looks like they are not existing - right? and this might be senseful.
Do you know a clue to get a) thumbs for $category.media.path || b) webp for fulsize || c) a better hint?
btw. some images from "Emotion Product Box" seem not to serve webp, may be not all the time?
on the 13Inch Laptop it serves none from Einkaufswelt:)
Webpagetest gets some on EKW:https://www.webpagetest.org/result/180213_H8_db38cde36e07cb5756c2436e2bd2243c/1/details/#waterfall_view_step1
ArticleDetail page comes up just with small thumbs as webp and Listing does not (Laptop)
I'll have a look on Desktop tomorrow.. seems to be different on Laptop.
Viele Grüße aus Kölle
update: it looks like the system is not serving much webp:

There are many sections, which does not provide currently webp images.
I will add the orginal image also as webp image in the next commits

Has been fixed in the meanwhile


Changed ConstantSymbol::value to be a Variant

As seen here:
https://github.com/Microsoft/microsoft-pdb/blob/master/cvdump/dumpsym7.cpp#L3797
Without this change the name was missing or mangled on some constants as the data_length was pointing into the value.

Interesting and gross! Yes, please fix the test and I'll merge :-)

I was pleasantly surprised to see the Variant code prototyping my initial handcrafted fix.
If there ever ends up being another use case for needing to know the size of a Variant, we should probably pull that out into a helper function.
I'll try to get to the tests this weekend, thanks for merging in everything else this week!

PR Updated, I changed it quite a bit on top of the Rust 2018 commit. I pulled the variant size logic out into a function, saved us from exposing tpi::constants to symbol:: and just made things easier to understand.

Merged, thanks!


Image data from training + inference load functions don't match

Instructions To Reproduce the 🐛 Bug:

what changes you made (git diff) or what code you wrote

Starting from the latest code at caf11b5c

Remove PRETRAIN_PATH from Market1501 BoT config so PyTorch will download to my user's home
Update CommDataset.__getitem__ to save the numpy image for a test set example to disk
Use only the first 64 images for training (to get to the evaluation loop faster)

diff --git a/configs/Base-bagtricks.yml b/configs/Base-bagtricks.yml
index 43d2af2..8d8190d 100644
--- a/configs/Base-bagtricks.yml
+++ b/configs/Base-bagtricks.yml
@@ -9,7 +9,6 @@ MODEL:
     FEAT_DIM: 2048
     WITH_IBN: False
     PRETRAIN: True
-    PRETRAIN_PATH: "/export/home/lxy/.cache/torch/checkpoints/resnet50-19c8e357.pth"

   HEADS:
     NAME: "EmbeddingHead"
diff --git a/fastreid/data/common.py b/fastreid/data/common.py
index 82feb3b..8f5d8bf 100644
--- a/fastreid/data/common.py
+++ b/fastreid/data/common.py
@@ -4,6 +4,7 @@
 @contact<EMAIL_ADDRESS> """

+import numpy as np
 from torch.utils.data import Dataset

 from .data_utils import read_image
@@ -39,6 +40,10 @@ class CommDataset(Dataset):
         if self.relabel:
             pid = self.pid_dict[pid]
             camid = self.cam_dict[camid]
+        example_img = '0000_c1s1_000151_01.jpg'
+        if img_path.endswith(example_img):
+            print('Saving numpy image to disk!')
+            np.save(f'/tmp/{example_img}.npy', img)
         return {
             "images": img,
             "targets": pid,
diff --git a/fastreid/data/datasets/market1501.py b/fastreid/data/datasets/market1501.py
index d1968af..6a49553 100644
--- a/fastreid/data/datasets/market1501.py
+++ b/fastreid/data/datasets/market1501.py
@@ -68,7 +68,7 @@ class Market1501(ImageDataset):
         if self.market1501_500k:
             gallery += self.process_dir(self.extra_gallery_dir, is_train=False)

-        super(Market1501, self).__init__(train, query, gallery, **kwargs)
+        super(Market1501, self).__init__(train[:64], query, gallery, **kwargs)

     def process_dir(self, dir_path, is_train=True):
         img_paths = glob.glob(osp.join(dir_path, '*.jpg'))

what exact command you run:

First, run the training script with modifications to save the numpy cache
python tools/train_net.py --config-file ./configs/Market1501/bagtricks_R50.yml

Then, run a simple script that uses the preprocess function in tools/deploy/onnx_inference to load the same image and compare it to the numpy cache from training
import numpy as np
from tools.deploy.onnx_inference import preprocess

# Load the same image with two different methods
# Numpy cache from training vs. inference preprocess
# 256 x 128 dimensions come from cfg.INPUT.SIZE_TRAIN
# Inference is a 4D mini-batch, so squeeze it down to 3D
example_img = '0000_c1s1_000151_01.jpg'
img_path = './datasets/Market-1501-v15.09.15/bounding_box_test/' + example_img
training = np.load(f'/tmp/{example_img}.npy')
inference = preprocess(img_path, 256, 128).squeeze()

# Check whether the pixel data is a perfect match
print('Image tensor shapes')
print(f'Inference: {inference.shape}')
print(f'Training: {training.shape}')
matching_pixels = (training == inference).sum()
total_pixels = training.size
print(f'{matching_pixels / total_pixels * 100:.2f}% of pixels match')

what you observed (including full logs):

The comparison output shows that the inference vs. training loading methods do not produce the same image
Image tensor shapes
Inference: (3, 256, 128)
Training: (3, 256, 128)
42.85% of pixels match

Training log included below
Command Line Args: Namespace(config_file='./configs/Market1501/bagtricks_R50.yml', dist_url='tcp://<IP_ADDRESS>:50152', eval_only=False, finetune=False, machine_rank=0, num_gpus=1, num_machines=1, opts=[], resume=False)
[10/07 11:55:01 fastreid]: Rank of current process: 0. World size: 1
[10/07 11:55:01 fastreid]: Environment info:
    ... already included below ...
[10/07 11:55:01 fastreid]: Command line arguments: Namespace(config_file='./configs/Market1501/bagtricks_R50.yml', dist_url='tcp://<IP_ADDRESS>:50152', eval_only=False, finetune=False, machine_rank=0, num_gpus=1, num_machines=1, opts=[], resume=False)
[10/07 11:55:01 fastreid]: Contents of args.config_file=./configs/Market1501/bagtricks_R50.yml:
    ... omitted to save space ...
[10/07 11:55:01 fastreid]: Full config saved to /storage/projects/alpr/modules/fast-reid/logs/market1501/bagtricks_R50/config.yaml
[10/07 11:55:01 fastreid.utils.env]: Using a generated random seed 1753435
[10/07 11:55:01 fastreid.engine.defaults]: Prepare training set
[10/07 11:55:01 fastreid.data.datasets.bases]: => Loaded Market1501 in csv format:
| subset   | # ids   | # images   | # cameras   |
|:---------|:--------|:-----------|:------------|
| train    | 60      | 64         | 6           |
[10/07 11:55:01 fastreid.engine.defaults]: Auto-scaling the config to num_classes=60, max_Iter=120, wamrup_Iter=10, freeze_Iter=0, delay_Iter=0, step_Iter=[40, 90], ckpt_Iter=400, eval_Iter=200.
[10/07 11:55:02 fastreid.modeling.backbones.resnet]: Loading pretrained model from /home/addison/.cache/torch/checkpoints/resnet50-19c8e357.pth
[10/07 11:55:02 fastreid.modeling.backbones.resnet]: The checkpoint contains parameters not used by the model:
  fc.{weight, bias}
[10/07 11:55:03 fastreid.engine.defaults]: Model:
    ... omitted to save space ...
[10/07 11:55:03 fastreid.utils.checkpoint]: No checkpoint found. Training model from scratch
[10/07 11:55:03 fastreid.engine.train_loop]: Starting training from iteration 0
[10/07 11:56:30 fastreid.utils.checkpoint]: Saving checkpoint to logs/market1501/bagtricks_R50/model_final.pth
[10/07 11:56:30 fastreid.engine.defaults]: Prepare testing set
[10/07 11:56:31 fastreid.data.datasets.bases]: => Loaded Market1501 in csv format:
| subset   | # ids   | # images   | # cameras   |
|:---------|:--------|:-----------|:------------|
| query    | 750     | 3368       | 6           |
| gallery  | 751     | 15913      | 6           |
[10/07 11:56:31 fastreid.evaluation.evaluator]: Start inference on 19281 images
[10/07 11:56:38 fastreid.evaluation.evaluator]: Inference done 11/151. 0.0077 s / batch. ETA=0:01:03
[10/07 11:57:09 fastreid.evaluation.evaluator]: Inference done 65/151. 0.0092 s / batch. ETA=0:00:47
Saving numpy image to disk!
[10/07 11:57:39 fastreid.evaluation.evaluator]: Inference done 119/151. 0.0093 s / batch. ETA=0:00:17
[10/07 11:57:59 fastreid.evaluation.evaluator]: Total inference time: 0:01:23.352315 (0.570906 s / batch per device)
[10/07 11:57:59 fastreid.evaluation.evaluator]: Total inference pure compute time: 0:00:03 (0.021654 s / batch per device)
[10/07 11:58:07 fastreid.evaluation.testing]: Evaluation results in csv format:
| Datasets   | Rank-1   | Rank-5   | Rank-10   | mAP   | mINP   |
|:-----------|:---------|:---------|:----------|:------|:-------|
| Market1501 | 7.21%    | 15.02%   | 19.89%    | 2.45% | 0.30%  |
[10/07 11:58:07 fastreid.utils.events]:  eta: 0:00:00  iter: 119  total_loss: 0.8271  loss_cls: 0.8271  loss_triplet: 0  time: 0.6951  data_time: 0.0007  lr: 3.50e-06  max_mem: 4464M
[10/07 11:58:07 fastreid.engine.hooks]: Overall training speed: 117 iterations in 0:01:22 (0.7010 s / it)
[10/07 11:58:07 fastreid.engine.hooks]: Total training time: 0:02:58 (0:01:36 on hooks)

please simplify the steps as much as possible so they do not require additional resources to
run, such as a private dataset.

Done, this is run using the built-in Market1501
Expected behavior:
An image should have identical pixel content whether it is loaded with the training or inference code. Otherwise the model will not produce the same embeddings since the input values are different. In order to successfully write an inference program, we need a function that loads and/or pre-processes the image data following the exact protocol used in the training/testing loops. Why does the current code not accomplish this?
Environment:
sys.platform            linux
Python                  3.6.11 | packaged by conda-forge | (default, Aug  5 2020, 20:09:42) [GCC 7.5.0]
numpy                   1.19.1
detectron2              failed to import
detectron2._C           failed to import. detectron2 is not built correctly
Compiler                c++ (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
CUDA compiler           Cuda compilation tools, release 10.0, V10.0.130
DETECTRON2_ENV_MODULE   <not set>
PyTorch                 1.6.0 @/home/addison/miniconda3/envs/fastreid/lib/python3.6/site-packages/torch
PyTorch debug build     False
GPU available           True
GPU 0                   GeForce GTX 1060 with Max-Q Design (arch=6.1)
CUDA_HOME               /usr/local/cuda
Pillow                  7.2.0
torchvision             0.7.0 @/home/addison/miniconda3/envs/fastreid/lib/python3.6/site-packages/torchvision
torchvision arch flags  3.5, 5.0, 6.0, 7.0, 7.5
cv2                     4.4.0
----------------------  -------------------------------------------------------------------------------------
PyTorch built with:
  - GCC 7.3
  - C++ Version: 201402
  - Intel(R) Math Kernel Library Version 2020.0.2 Product Build 20200624 for Intel(R) 64 architecture applications
  - Intel(R) MKL-DNN v1.5.0 (Git Hash e2ac1fac44c5078ca927cb9b90e1b3066a0b2ed0)
  - OpenMP 201511 (a.k.a. OpenMP 4.5)
  - NNPACK is enabled
  - CPU capability usage: AVX2
  - CUDA Runtime 10.2
  - NVCC architecture flags: -gencode;arch=compute_37,code=sm_37;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_37,code=compute_37
  - CuDNN 7.6.5
  - Magma 2.5.2
  - Build settings: BLAS=MKL, BUILD_TYPE=Release, CXX_FLAGS= -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -DNDEBUG -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DUSE_VULKAN_WRAPPER -O2 -fPIC -Wno-narrowing -Wall -Wextra -Werror=return-type -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-unused-local-typedefs -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-stringop-overflow, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, PERF_WITH_AVX512=1, USE_CUDA=ON, USE_EXCEPTION_PTR=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_MKL=ON, USE_MKLDNN=ON, USE_MPI=OFF, USE_NCCL=ON, USE_NNPACK=ON, USE_OPENMP=ON, USE_STATIC_DISPATCH=OFF,

The data augmentations in the training phase and testing phase are different, so you cannot get the same result.

@L1aoXingyu I realize the training images are different due to the augmentations applied. However, I purposely cached a test set image to sidestep this. The test images are not augmented (other than resizing the pixel dimensions), so they should match what is provided during inference. In hindsight, I should have worded my issue title and code differently to make this clear.
After examining this in more detail, I believe the difference is train/test images are loaded using PIL while inference images use cv2. This article explains that the two image libraries have slightly different decompression algorithms for JPEG data:

Well, this difference is arising from the fact that OpenCV, by default, uses integer accurate decompression of the JPEG image ... PIL, by default, doesn’t provide any way to use integer accurate decompression

Therefore, I would recommend using a consistent library for train, test, and inference. My preference would be OpenCV since it also supports C++ which would make comparisons to production code easier

Thanks for your suggestions so much. This is exactly the reason why pixel errors between training and testing.
The use of torchvision.transforms.Resize in training is compatible with other built-in data augmentation. But in testing, we need to export to c++, so the only choice is opencv.
I am considering using opencv for both training and inference.

Sounds good - I think we have an explanation for the current behavior, so I'll close this issue now. If you end up using OpenCV for both, please comment back once the change is made


outdated examples

examples/brainfuck.rs is outdated, probably some other examples are also outdated.
error[E0107]: trait takes 0 lifetime arguments but 1 lifetime argument was supplied
   --> src/syntax/parser2.rs:19:25
    |
19  | ...> impl Parser<'a, &'a str, ...
    |           ^^^^^^ -- help: remove this lifetime argument
    |           |
    |           expected 0 lifetime arguments
    |
note: trait defined here, with 0 lifetime parameters
   --> /home/antonping/.cargo/registry/src/index.crates.io-6f17d22bba15001f/chumsky-0.9.2/src/lib.rs:141:11
    |
141 | pub trait Parser<I: Clone, O> {
    |           ^^^^^^

error[E0107]: trait takes 2 generic arguments but 3 generic arguments were supplied
   --> src/syntax/parser2.rs:19:25
    |
19  | ... -> impl Parser<'a, &'a str...
    |             ^^^^^^ expected 2 generic arguments
    |
note: trait defined here, with 2 generic parameters: `I`, `O`
   --> /home/antonping/.cargo/registry/src/index.crates.io-6f17d22bba15001f/chumsky-0.9.2/src/lib.rs:141:11
    |
141 | pub trait Parser<I: Clone, O> {
    |           ^^^^^^ -         -
help: replace the generic bound with the associated type
    |
19  | fn parser<'a>() -> impl Parser<'a, &'a str, Error = Vec<Instr>, extra::Err<Simple<'a, char>>> {
    |                                             +++++++

error[E0433]: failed to resolve: use of undeclared crate or module `extra`
  --> src/syntax/parser2.rs:19:57
   |
19 | ...<Instr>, extra::Err<Simple<'...
   |             ^^^^^ use of undeclared crate or module `extra`

error[E0425]: cannot find function `via_parser` in this scope
   --> src/syntax/parser.rs:61:23
    |
61  | ...r_with(via_parser(nested_de...
    |           ^^^^^^^^^^ help: a function with a similar name exists: `skip_parser`

None of them are outdated, they're just using the main branch. The examples are only compatible with the 1.0.0-alpha.x releases (the latest being alpha.5). If you're using 0.9, you'll need to look at examples at the 0.9 tag. However, I'd recommend using 1.0 since there have been a lot of substantial changes and improvements since 0.9.

I see. thanks for infomation.


ARROW-7178: [C++] Vendor forward compatible std::optional

Add a version of std::optional vendored from
https://github.com/martinmoene/optional-lite using git tag v3.2.0

+1 from me.

@gawain-bolton please assign yourself on JIRA, I wasn't able to do so for some reason


Add swedish language

I'm not a Swedish speaker but I need this language for my app.
Text translations come from Google Translate
Countries come from https://github.com/unicode-org/cldr-json/blob/main/cldr-json/cldr-localenames-full/main/sv/territories.json
When my app is reviewed by a Swedish translator, I will come back fix the translations if needed ;-)

Thanks, added in 4.4.0