🐛 [firebase_messaging] build for iOS failing (fatal error: could not build module firebase_core)

Bug report
Describe the bug
I added firebase_messaging plugin to my flutter project, the project builds and runs successfully for android but fails for iOS.
Steps to reproduce
Steps to reproduce the behavior:

Add firebase_messaging to pubspec.yaml.
Follow instruction on fireba_messaging plugin README section.
Build and run successfully for Android.
Build fails for iOS using both a simulator and physical device.

Expected behavior
The application should build and run successfully for iOS.

Additional context
I have tried deleting podfile.lock, Pods, the generated .m and .h files and running pod upgrade and pod install...etc Nothing solved the issue.
Here is a dump of the build output:
Click To Expand
Launching lib/main.dart on iPhone in debug mode...
Automatically signing iOS for device deployment using specified development team in Xcode project: P29R2A8DH5
Running Xcode build...
 └─Compiling, linking and signing...                         2.0s
Xcode build done.                                           31.3s
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **

Xcode's output:
↳
    /Users/qbc/Documents/MouhimDev/flutter/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.0+2/ios/Classes/VideoPlayerPlugin.m:86:55: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
                                                      if (_isLooping) {
                                                          ^
                                                          self->
    /Users/qbc/Documents/MouhimDev/flutter/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.0+2/ios/Classes/VideoPlayerPlugin.m:90:57: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
                                                        if (_eventSink) {
                                                            ^
                                                            self->
    /Users/qbc/Documents/MouhimDev/flutter/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.0+2/ios/Classes/VideoPlayerPlugin.m:91:55: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
                                                          _eventSink(@{@"event" : @"completed"});
                                                          ^
                                                          self->
    /Users/qbc/Documents/MouhimDev/flutter/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.0+2/ios/Classes/VideoPlayerPlugin.m:156:75: warning: values of type 'NSInteger' should not be used as format arguments; add an explicit cast to 'long' instead [-Wformat]
        NSLog(@"TX and TY are 0. Rotation: %d. Natural width,height: %f, %f", rotationDegrees,
                                           ~~                                 ^~~~~~~~~~~~~~~
                                           %ld                                (long)
    /Users/qbc/Documents/MouhimDev/flutter/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.0+2/ios/Classes/VideoPlayerPlugin.m:188:20: warning: unused variable 'size' [-Wunused-variable]
                CGSize size = videoTrack.naturalSize;
                       ^
    /Users/qbc/Documents/MouhimDev/flutter/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.0+2/ios/Classes/VideoPlayerPlugin.m:212:10: warning: unused variable 'size' [-Wunused-variable]
      CGSize size = item.presentationSize;
             ^
    /Users/qbc/Documents/MouhimDev/flutter/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.0+2/ios/Classes/VideoPlayerPlugin.m:185:15: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
              if (_disposed) return;
                  ^
                  self->
    /Users/qbc/Documents/MouhimDev/flutter/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.0+2/ios/Classes/VideoPlayerPlugin.m:191:13: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
                _preferredTransform = [self fixTransform:videoTrack];
                ^
                self->
    /Users/qbc/Documents/MouhimDev/flutter/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.0+2/ios/Classes/VideoPlayerPlugin.m:197:56: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
                    [self getVideoCompositionWithTransform:_preferredTransform
                                                           ^
                                                           self->
    9 warnings generated.
    ld: warning: dylib (/Users/qbc/mouhim-app/build/ios/Debug-iphoneos/GTMSessionFetcher/GTMSessionFetcher.framework/GTMSessionFetcher) was built for newer iOS version (9.0) than being linked (8.0)
    ld: warning: dylib (/Users/qbc/mouhim-app/build/ios/Debug-iphoneos/PromisesObjC-framework/FBLPromises.framework/FBLPromises) was built for newer iOS version (9.0) than being linked (8.0)
    /Users/qbc/Documents/MouhimDev/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-7.0.3/ios/Classes/FLTFirebaseMessagingPlugin.m:190:43: warning: 'FIRMessagingRemoteMessage' is deprecated: FCM direct channel is deprecated, please use APNs for downstream message handling. [-Wdeprecated-declarations]
    - (void)applicationReceivedRemoteMessage:(FIRMessagingRemoteMessage *)remoteMessage {
                                              ^
    In module 'FirebaseMessaging' imported from /Users/qbc/mouhim-app/ios/Pods/Headers/Public/Firebase/Firebase.h:76:
    /Users/qbc/mouhim-app/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FIRMessaging.h:219:1: note: 'FIRMessagingRemoteMessage' has been explicitly marked deprecated here
    __deprecated_msg(
    ^
    In module 'Foundation' imported from /Users/qbc/mouhim-app/ios/Pods/Headers/Public/FirebaseCore/FIRApp.h:17:
    In module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
    In module 'Darwin' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/usr/include/sys/cdefs.h:200:48: note: expanded from macro '__deprecated_msg'
            #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                          ^
    /Users/qbc/Documents/MouhimDev/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-7.0.3/ios/Classes/FLTFirebaseMessagingPlugin.m:290:24: warning: 'FIRMessagingRemoteMessage' is deprecated: FCM direct channel is deprecated, please use APNs for downstream message handling. [-Wdeprecated-declarations]
        didReceiveMessage:(FIRMessagingRemoteMessage *)remoteMessage {
                           ^
    In module 'FirebaseMessaging' imported from /Users/qbc/mouhim-app/ios/Pods/Headers/Public/Firebase/Firebase.h:76:
    /Users/qbc/mouhim-app/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FIRMessaging.h:219:1: note: 'FIRMessagingRemoteMessage' has been explicitly marked deprecated here
    __deprecated_msg(
    ^
    In module 'Foundation' imported from /Users/qbc/mouhim-app/ios/Pods/Headers/Public/FirebaseCore/FIRApp.h:17:
    In module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
    In module 'Darwin' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/usr/include/sys/cdefs.h:200:48: note: expanded from macro '__deprecated_msg'
            #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                          ^
    /Users/qbc/Documents/MouhimDev/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-7.0.3/ios/Classes/FLTFirebaseMessagingPlugin.m:136:30: warning: 'shouldEstablishDirectChannel' is deprecated: FCM direct channel is deprecated, please use APNs channel for downstream message delivery. [-Wdeprecated-declarations]
        [FIRMessaging messaging].shouldEstablishDirectChannel = true;
                                 ^
    In module 'FirebaseMessaging' imported from /Users/qbc/mouhim-app/ios/Pods/Headers/Public/Firebase/Firebase.h:76:
    /Users/qbc/mouhim-app/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FIRMessaging.h:283:56: note: 'shouldEstablishDirectChannel' has been explicitly marked deprecated here
    @property(nonatomic) BOOL shouldEstablishDirectChannel DEPRECATED_MSG_ATTRIBUTE(
                                                           ^
    In module 'Foundation' imported from /Users/qbc/mouhim-app/ios/Pods/Headers/Public/FirebaseCore/FIRApp.h:17:
    In module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
    In module 'Darwin' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/usr/include/AvailabilityMacros.h:183:64: note: expanded from macro 'DEPRECATED_MSG_ATTRIBUTE'
                #define DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated(s)))
                                                                   ^
    /Users/qbc/Documents/MouhimDev/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-7.0.3/ios/Classes/FLTFirebaseMessagingPlugin.m:155:21: warning: 'FIRInstanceID' is deprecated: FIRInstanceID is deprecated, please use FIRInstallations for installation identifier handling and use FIRMessaging for FCM registration token handling. [-Wdeprecated-declarations]
        [[FIRInstanceID instanceID]
                        ^
    In module 'FirebaseInstanceID' imported from /Users/qbc/mouhim-app/ios/Pods/Headers/Public/Firebase/Firebase.h:72:
    /Users/qbc/mouhim-app/ios/Pods/FirebaseInstanceID/Firebase/InstanceID/Public/FIRInstanceID.h:190:1: note: 'FIRInstanceID' has been explicitly marked deprecated here
    __deprecated_msg("FIRInstanceID is deprecated, please use FIRInstallations for installation "
    ^
    In module 'Foundation' imported from /Users/qbc/mouhim-app/ios/Pods/Headers/Public/FirebaseCore/FIRApp.h:17:
    In module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
    In module 'Darwin' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/usr/include/sys/cdefs.h:200:48: note: expanded from macro '__deprecated_msg'
            #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                          ^
    /Users/qbc/Documents/MouhimDev/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-7.0.3/ios/Classes/FLTFirebaseMessagingPlugin.m:156:33: warning: 'FIRInstanceIDResult' is deprecated: FIRInstanceIDResult is deprecated, please use FIRInstallations for app instance identifier handling and use FIRMessaging for FCM registration token handling. [-Wdeprecated-declarations]
            instanceIDWithHandler:^(FIRInstanceIDResult *_Nullable instanceIDResult,
                                    ^
    In module 'FirebaseInstanceID' imported from /Users/qbc/mouhim-app/ios/Pods/Headers/Public/Firebase/Firebase.h:72:
    /Users/qbc/mouhim-app/ios/Pods/FirebaseInstanceID/Firebase/InstanceID/Public/FIRInstanceID.h:153:1: note: 'FIRInstanceIDResult' has been explicitly marked deprecated here
    __deprecated_msg("FIRInstanceIDResult is deprecated, please use FIRInstallations "
    ^
    In module 'Foundation' imported from /Users/qbc/mouhim-app/ios/Pods/Headers/Public/FirebaseCore/FIRApp.h:17:
    In module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
    In module 'Darwin' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/usr/include/sys/cdefs.h:200:48: note: expanded from macro '__deprecated_msg'
            #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                          ^
    /Users/qbc/Documents/MouhimDev/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-7.0.3/ios/Classes/FLTFirebaseMessagingPlugin.m:156:9: warning: 'instanceIDWithHandler:' is deprecated: Use `Installations.installationID(completion:)` to get the app instance identifier instead. Use `Messaging.token(completion:)` to get FCM registration token instead. [-Wdeprecated-declarations]
            instanceIDWithHandler:^(FIRInstanceIDResult *_Nullable instanceIDResult,
            ^
    In module 'FirebaseInstanceID' imported from /Users/qbc/mouhim-app/ios/Pods/Headers/Public/Firebase/Firebase.h:72:
    /Users/qbc/mouhim-app/ios/Pods/FirebaseInstanceID/Firebase/InstanceID/Public/FIRInstanceID.h:215:5: note: 'instanceIDWithHandler:' has been explicitly marked deprecated here
        __deprecated_msg("Use `Installations.installationID(completion:)` to get the app instance "
        ^
    In module 'Foundation' imported from /Users/qbc/mouhim-app/ios/Pods/Headers/Public/FirebaseCore/FIRApp.h:17:
    In module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
    In module 'Darwin' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/usr/include/sys/cdefs.h:200:48: note: expanded from macro '__deprecated_msg'
            #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                          ^
    /Users/qbc/Documents/MouhimDev/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-7.0.3/ios/Classes/FLTFirebaseMessagingPlugin.m:166:21: warning: 'FIRInstanceID' is deprecated: FIRInstanceID is deprecated, please use FIRInstallations for installation identifier handling and use FIRMessaging for FCM registration token handling. [-Wdeprecated-declarations]
        [[FIRInstanceID instanceID] deleteIDWithHandler:^void(NSError *_Nullable error) {
                        ^
    In module 'FirebaseInstanceID' imported from /Users/qbc/mouhim-app/ios/Pods/Headers/Public/Firebase/Firebase.h:72:
    /Users/qbc/mouhim-app/ios/Pods/FirebaseInstanceID/Firebase/InstanceID/Public/FIRInstanceID.h:190:1: note: 'FIRInstanceID' has been explicitly marked deprecated here
    __deprecated_msg("FIRInstanceID is deprecated, please use FIRInstallations for installation "
    ^
    In module 'Foundation' imported from /Users/qbc/mouhim-app/ios/Pods/Headers/Public/FirebaseCore/FIRApp.h:17:
    In module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
    In module 'Darwin' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/usr/include/sys/cdefs.h:200:48: note: expanded from macro '__deprecated_msg'
            #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                          ^
    /Users/qbc/Documents/MouhimDev/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-7.0.3/ios/Classes/FLTFirebaseMessagingPlugin.m:166:33: warning: 'deleteIDWithHandler:' is deprecated: Use `Installations.delete(completion:)` instead. Also check `Messaging.deleteData(completion:)`if you want to delete FCM registration token. [-Wdeprecated-declarations]
        [[FIRInstanceID instanceID] deleteIDWithHandler:^void(NSError *_Nullable error) {
                                    ^
    In module 'FirebaseInstanceID' imported from /Users/qbc/mouhim-app/ios/Pods/Headers/Public/Firebase/Firebase.h:72:
    /Users/qbc/mouhim-app/ios/Pods/FirebaseInstanceID/Firebase/InstanceID/Public/FIRInstanceID.h:321:33: note: 'deleteIDWithHandler:' has been explicitly marked deprecated here
                                    __deprecated_msg("Use `Installations.delete(completion:)` instead. "
                                    ^
    In module 'Foundation' imported from /Users/qbc/mouhim-app/ios/Pods/Headers/Public/FirebaseCore/FIRApp.h:17:
    In module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
    In module 'Darwin' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/usr/include/sys/cdefs.h:200:48: note: expanded from macro '__deprecated_msg'
            #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                          ^
    /Users/qbc/Documents/MouhimDev/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-7.0.3/ios/Classes/FLTFirebaseMessagingPlugin.m:191:52: warning: 'appData' is deprecated [-Wdeprecated-declarations]
      [self didReceiveRemoteNotification:remoteMessage.appData];
                                                       ^
    In module 'FirebaseMessaging' imported from /Users/qbc/mouhim-app/ios/Pods/Headers/Public/Firebase/Firebase.h:76:
    /Users/qbc/mouhim-app/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FIRMessaging.h:226:62: note: 'appData' has been explicitly marked deprecated here
    @property(nonatomic, readonly, strong) NSDictionary *appData DEPRECATED_ATTRIBUTE;
                                                                 ^
    In module 'Foundation' imported from /Users/qbc/mouhim-app/ios/Pods/Headers/Public/FirebaseCore/FIRApp.h:17:
    In module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
    In module 'Darwin' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/usr/include/AvailabilityMacros.h:181:60: note: expanded from macro 'DEPRECATED_ATTRIBUTE'
            #define DEPRECATED_ATTRIBUTE        __attribute__((deprecated))
                                                               ^
    /Users/qbc/Documents/MouhimDev/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-7.0.3/ios/Classes/FLTFirebaseMessagingPlugin.m:289:1: warning: implementing deprecated method [-Wdeprecated-implementations]
    - (void)messaging:(FIRMessaging *)messaging
    ^
    In module 'FirebaseMessaging' imported from /Users/qbc/mouhim-app/ios/Pods/Headers/Public/Firebase/Firebase.h:76:
    /Users/qbc/mouhim-app/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FIRMessaging.h:253:1: note: method 'messaging:didReceiveMessage:' declared here
    - (void)messaging:(FIRMessaging *)messaging
    ^
    /Users/qbc/Documents/MouhimDev/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-7.0.3/ios/Classes/FLTFirebaseMessagingPlugin.m:291:63: warning: 'appData' is deprecated [-Wdeprecated-declarations]
      [_channel invokeMethod:@"onMessage" arguments:remoteMessage.appData];
                                                                  ^
    In module 'FirebaseMessaging' imported from /Users/qbc/mouhim-app/ios/Pods/Headers/Public/Firebase/Firebase.h:76:
    /Users/qbc/mouhim-app/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FIRMessaging.h:226:62: note: 'appData' has been explicitly marked deprecated here
    @property(nonatomic, readonly, strong) NSDictionary *appData DEPRECATED_ATTRIBUTE;
                                                                 ^
    In module 'Foundation' imported from /Users/qbc/mouhim-app/ios/Pods/Headers/Public/FirebaseCore/FIRApp.h:17:
    In module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
    In module 'Darwin' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/usr/include/AvailabilityMacros.h:181:60: note: expanded from macro 'DEPRECATED_ATTRIBUTE'
            #define DEPRECATED_ATTRIBUTE        __attribute__((deprecated))
                                                               ^
    11 warnings generated.
    While building module 'firebase_core' imported from /Users/qbc/mouhim-app/ios/Runner/GeneratedPluginRegistrant.m:14:
    In file included from <module-includes>:1:
    In file included from /Users/qbc/mouhim-app/build/ios/Debug-iphoneos/firebase_core/firebase_core.framework/Headers/firebase_core-umbrella.h:13:
    In file included from /Users/qbc/mouhim-app/build/ios/Debug-iphoneos/firebase_core/firebase_core.framework/Headers/FLTFirebaseCorePlugin.h:11:
    /Users/qbc/mouhim-app/build/ios/Debug-iphoneos/firebase_core/firebase_core.framework/Headers/FLTFirebasePlugin.h:9:9: error: include of non-modular header inside framework module 'firebase_core.FLTFirebasePlugin': '/Users/qbc/mouhim-app/ios/Pods/Headers/Public/FirebaseCore/FirebaseCore.h' [-Werror,-Wnon-modular-include-in-framework-module]
    #import <FirebaseCore/FirebaseCore.h>
            ^
    1 error generated.
    /Users/qbc/mouhim-app/ios/Runner/GeneratedPluginRegistrant.m:14:9: fatal error: could not build module 'firebase_core'
    #import <firebase_core/FLTFirebaseCorePlugin.h>
     ~~~~~~~^
    2 errors generated.
    note: Using new build system
    note: Building targets in parallel
    note: Planning build
    note: Constructing build description
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'FMDB' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'flutter_share_me' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'flutter_custom_tabs' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'video_player' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'url_launcher' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'sign_in_with_apple' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'shared_preferences' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'path_provider' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'nanopb-framework' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'AppAuth' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'FBSDKCoreKit' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'sqflite' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'GoogleDataTransport-framework' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'GTMAppAuth' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'FBSDKLoginKit' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'GoogleUtilities-framework' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'google_sign_in' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'FirebaseCoreDiagnostics-framework' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'FirebaseCore-framework' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'FirebaseInstallations-framework' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'FirebaseInstanceID' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'FirebaseMessaging' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'firebase_core' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'firebase_messaging' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'Runner' from project 'Runner')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'GoogleSignIn' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'Firebase-Analytics-Core-CoreOnly-Messaging' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'GoogleAppMeasurement-framework' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'FirebaseAnalytics-framework' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'Flutter' from project 'Pods')

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
  hmogni@archlinux $ flutter doctor
  ╔════════════════════════════════════════════════════════════════════════════╗
  ║ A new version of Flutter is available!                                     ║
  ║                                                                            ║
  ║ To update to the latest version, run "flutter upgrade".                    ║
  ╚════════════════════════════════════════════════════════════════════════════╝

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 1.20.2, on Linux, locale en_US.UTF-8)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[!] Android Studio (not installed)
[✓] IntelliJ IDEA Ultimate Edition (version 2019.3)
[!] Connected device
    ! No devices available

! Doctor found issues in 2 categories.

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
Dart SDK 2.9.1
Flutter SDK 1.20.2
mouhim 2.0.0+1

dependencies:
- admob_flutter 1.0.1 [flutter meta]
- auth_buttons 0.0.4 [flutter]
- cupertino_icons 0.1.3
- firebase_messaging 7.0.3 [meta flutter firebase_core]
- flutter 0.0.0 [characters collection meta typed_data vector_math sky_engine]
- flutter_facebook_login 3.0.0 [flutter collection]
- flutter_html_view 0.5.12 [flutter flutter_custom_tabs html video_player cached_network_image flutter_markdown html2md]
- flutter_remote_icon 0.0.3+6 [flutter]
- flutter_share_me 0.9.2 [flutter]
- font_awesome_flutter 8.11.0 [flutter]
- google_sign_in 4.5.6 [google_sign_in_platform_interface flutter meta google_sign_in_web]
- http 0.12.2 [http_parser path pedantic]
- provider 4.3.2+3 [collection flutter nested]
- shared_preferences 0.5.12+4 [meta flutter shared_preferences_platform_interface shared_preferences_linux shared_preferences_macos shared_preferences_web shared_preferences_windows]
- sign_in_with_apple 2.5.4 [meta flutter]
- url_launcher 5.7.6 [flutter url_launcher_platform_interface url_launcher_web url_launcher_linux url_launcher_macos url_launcher_windows]

dev dependencies:
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters charcode collection matcher meta source_span stream_channel string_scanner term_glyph typed_data]

dependency overrides:
- path_provider 1.6.24 [flutter path_provider_platform_interface path_provider_macos path_provider_linux path_provider_windows]

transitive dependencies:
- args 1.6.0
- async 2.4.2 [collection]
- boolean_selector 2.0.0 [source_span string_scanner]
- cached_network_image 0.7.0 [flutter flutter_cache_manager]
- characters 1.0.0
- charcode 1.1.3
- clock 1.0.1 [meta]
- collection 1.14.13
- convert 2.1.1 [charcode typed_data]
- crypto 2.1.5 [collection convert typed_data]
- csslib 0.15.0 [source_span]
- fake_async 1.1.0 [clock collection]
- ffi 0.1.3
- file 5.2.1 [intl meta path]
- firebase_core 0.5.3 [firebase_core_platform_interface flutter quiver meta firebase_core_web]
- firebase_core_platform_interface 2.1.0 [flutter meta plugin_platform_interface quiver]
- firebase_core_web 0.2.1+1 [firebase_core_platform_interface flutter flutter_web_plugins meta js]
- flutter_cache_manager 0.3.2 [flutter path_provider uuid http path sqflite synchronized]
- flutter_custom_tabs 0.6.0 [flutter url_launcher]
- flutter_markdown 0.2.0 [flutter markdown meta string_scanner path]
- flutter_web_plugins 0.0.0 [flutter characters collection meta typed_data vector_math]
- google_sign_in_platform_interface 1.1.2 [flutter meta quiver]
- google_sign_in_web 0.9.2 [google_sign_in_platform_interface flutter flutter_web_plugins meta js]
- html 0.13.4+2 [csslib source_span utf]
- html2md 0.3.1 [path html]
- http_parser 3.1.4 [charcode collection source_span string_scanner typed_data]
- intl 0.16.1 [path]
- js 0.6.2
- markdown 2.1.8 [args charcode meta]
- matcher 0.12.8 [stack_trace]
- meta 1.1.8
- nested 0.0.4 [flutter]
- path 1.7.0
- path_provider_linux 0.0.1+2 [path xdg_directories path_provider_platform_interface flutter]
- path_provider_macos 0.0.4+6 [flutter]
- path_provider_platform_interface 1.0.4 [flutter meta platform plugin_platform_interface]
- path_provider_windows 0.0.4+3 [path_provider_platform_interface meta path flutter ffi win32]
- pedantic 1.9.0
- platform 2.2.1
- plugin_platform_interface 1.0.3 [meta]
- process 3.0.13 [file intl meta path platform]
- quiver 2.1.5 [matcher meta]
- shared_preferences_linux 0.0.2+4 [file flutter meta path path_provider_linux shared_preferences_platform_interface]
- shared_preferences_macos 0.0.1+11 [shared_preferences_platform_interface flutter]
- shared_preferences_platform_interface 1.0.4 [meta flutter]
- shared_preferences_web 0.1.2+7 [shared_preferences_platform_interface flutter flutter_web_plugins meta]
- shared_preferences_windows 0.0.1+3 [shared_preferences_platform_interface flutter ffi file meta path path_provider_platform_interface path_provider_windows]
- sky_engine 0.0.99
- source_span 1.7.0 [charcode collection meta path term_glyph]
- sqflite 1.3.1+2 [flutter sqflite_common path]
- sqflite_common 1.0.2+1 [synchronized path meta]
- stack_trace 1.9.5 [path]
- stream_channel 2.0.0 [async]
- string_scanner 1.0.5 [charcode meta source_span]
- synchronized 2.2.0+2
- term_glyph 1.1.0
- test_api 0.2.17 [async boolean_selector collection meta path source_span stack_trace stream_channel string_scanner term_glyph matcher]
- typed_data 1.2.0 [collection]
- url_launcher_linux 0.0.1+4 [flutter]
- url_launcher_macos 0.0.1+9 [flutter]
- url_launcher_platform_interface 1.0.8 [flutter meta plugin_platform_interface]
- url_launcher_web 0.1.4+1 [url_launcher_platform_interface flutter flutter_web_plugins meta]
- url_launcher_windows 0.0.1+3 [flutter]
- utf 0.9.0+5
- uuid 2.2.2 [crypto convert]
- vector_math 2.0.8
- video_player 0.10.0+2 [meta flutter]
- win32 1.7.4 [ffi]
- xdg_directories 0.1.0 [path process flutter]

Hi @hamzamogni
Please use the latest non-nullsafety version firebase_messaging: ^8.0.0-dev.14 and update your iOS deployment target to at least 10.0
Thank you

Hey @markusaksli-nc, thank your reply.
I did change firebase messaging version to  firebase_messaging: ^8.0.0-dev.14 and target iOS to 10.0, but I am still getting the same issue (I did delete Pods directory and .symlinks and lock files...etc).
Output of the build:
/Users/qbc/Documents/MouhimDev/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-8.0.0-dev.14/ios/Classes/FLTFirebaseMessagingPlugin.m:6:9: fatal error: could not build module     'firebase_core'     #import <firebase_core/FLTFirebasePluginRegistry.h>      ~~~~~~~^

Could you please run this in the ios folder
rm -rf Pods
rm -rf Podfile.lock
rm -rf ~/.pub-cache/hosted/pub.dartlang.org/
pod cache clean --all
flutter clean
flutter pub get
pod repo update

I did, same error!
I do get this output even though I have set deployement target to 10. in Podfile and in xcode.
 warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'FMDB' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'flutter_share_me' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'flutter_custom_tabs' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'video_player' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'url_launcher' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'sign_in_with_apple' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'shared_preferences' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'path_provider' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'nanopb-framework' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'AppAuth' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'FBSDKCoreKit' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'sqflite' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'GoogleDataTransport-framework' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'GTMAppAuth' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'FBSDKLoginKit' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'GoogleUtilities-framework' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'google_sign_in' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'FirebaseCoreDiagnostics-framework' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'FirebaseCore-framework' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'FirebaseInstallations-framework' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'FirebaseInstanceID' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'FirebaseMessaging' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'firebase_core' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'firebase_messaging' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'Runner' from project 'Runner')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'GoogleSignIn' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'Firebase-Analytics-Core-CoreOnly-Messaging' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'GoogleAppMeasurement-framework' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'FirebaseAnalytics-framework' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'Flutter' from project 'Pods')

Could you provide your new flutter pub deps -- --style=compact and full build log?
Upgrading firebase_messaging should have meant you are now on a newer version of core so it's would have to be throwing the same error in the new core source code as well?

Hello,
This is the output of flutter pub deps -- --style=compact:

Dart SDK 2.10.5
Flutter SDK 1.22.6
mouhim 2.0.0+1

dependencies:
- admob_flutter 1.0.1 [flutter meta]
- auth_buttons 0.0.6 [flutter]
- cupertino_icons 0.1.3
- firebase_messaging 8.0.0-dev.14 [meta flutter firebase_core firebase_core_platform_interface firebase_messaging_platform_interface firebase_messaging_web]
- flutter 0.0.0 [characters collection meta typed_data vector_math sky_engine]
- flutter_facebook_login 3.0.0 [flutter collection]
- flutter_html_view 0.5.12 [flutter flutter_custom_tabs html video_player cached_network_image flutter_markdown html2md]
- flutter_remote_icon 0.0.3+6 [flutter]
- flutter_share_me 0.9.2 [flutter]
- font_awesome_flutter 8.11.0 [flutter]
- google_sign_in 4.5.9 [google_sign_in_platform_interface flutter meta google_sign_in_web]
- http 0.12.2 [http_parser path pedantic]
- provider 4.3.3 [collection flutter nested]
- shared_preferences 0.5.12+4 [meta flutter shared_preferences_platform_interface shared_preferences_linux shared_preferences_macos shared_preferences_web shared_preferences_windows]
- sign_in_with_apple 2.5.4 [meta flutter]
- url_launcher 5.7.10 [flutter url_launcher_platform_interface url_launcher_web url_launcher_linux url_launcher_macos url_launcher_windows]

dev dependencies:
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters charcode collection matcher meta source_span stream_channel string_scanner term_glyph typed_data]

dependency overrides:
- path_provider 1.6.27 [flutter path_provider_platform_interface path_provider_macos path_provider_linux path_provider_windows]

transitive dependencies:
- args 1.6.0
- async 2.5.0-nullsafety.1 [collection]
- boolean_selector 2.1.0-nullsafety.1 [source_span string_scanner]
- cached_network_image 0.7.0 [flutter flutter_cache_manager]
- characters 1.1.0-nullsafety.3
- charcode 1.2.0-nullsafety.1
- clock 1.1.0-nullsafety.1
- collection 1.15.0-nullsafety.3
- convert 2.1.1 [charcode typed_data]
- crypto 2.1.5 [collection convert typed_data]
- csslib 0.15.0 [source_span]
- fake_async 1.2.0-nullsafety.1 [clock collection]
- ffi 0.1.3
- file 5.2.1 [intl meta path]
- firebase_core 0.7.0 [firebase_core_platform_interface flutter quiver meta firebase_core_web]
- firebase_core_platform_interface 3.0.1 [flutter meta plugin_platform_interface quiver]
- firebase_core_web 0.2.1+3 [firebase_core_platform_interface flutter flutter_web_plugins meta js]
- firebase_messaging_platform_interface 1.0.0-dev.10 [flutter meta firebase_core plugin_platform_interface]
- firebase_messaging_web 0.1.0-dev.5 [flutter flutter_web_plugins meta firebase_core firebase_core_web firebase_messaging_platform_interface js service_worker]
- flutter_cache_manager 0.3.2 [flutter path_provider uuid http path sqflite synchronized]
- flutter_custom_tabs 0.6.0 [flutter url_launcher]
- flutter_markdown 0.2.0 [flutter markdown meta string_scanner path]
- flutter_web_plugins 0.0.0 [flutter characters collection meta typed_data vector_math]
- google_sign_in_platform_interface 1.1.2 [flutter meta quiver]
- google_sign_in_web 0.9.2 [google_sign_in_platform_interface flutter flutter_web_plugins meta js]
- html 0.13.4+2 [csslib source_span utf]
- html2md 0.3.1 [path html]
- http_parser 3.1.4 [charcode collection source_span string_scanner typed_data]
- intl 0.16.1 [path]
- js 0.6.2
- markdown 2.1.8 [args charcode meta]
- matcher 0.12.10-nullsafety.1 [stack_trace]
- meta 1.3.0-nullsafety.3
- nested 0.0.4 [flutter]
- path 1.8.0-nullsafety.1
- path_provider_linux 0.0.1+2 [path xdg_directories path_provider_platform_interface flutter]
- path_provider_macos 0.0.4+8 [flutter]
- path_provider_platform_interface 1.0.4 [flutter meta platform plugin_platform_interface]
- path_provider_windows 0.0.4+3 [path_provider_platform_interface meta path flutter ffi win32]
- pedantic 1.9.2 [meta]
- platform 2.2.1
- plugin_platform_interface 1.0.3 [meta]
- process 3.0.13 [file intl meta path platform]
- quiver 2.1.5 [matcher meta]
- service_worker 0.2.4 [js]
- shared_preferences_linux 0.0.2+4 [file flutter meta path path_provider_linux shared_preferences_platform_interface]
- shared_preferences_macos 0.0.1+11 [shared_preferences_platform_interface flutter]
- shared_preferences_platform_interface 1.0.4 [meta flutter]
- shared_preferences_web 0.1.2+7 [shared_preferences_platform_interface flutter flutter_web_plugins meta]
- shared_preferences_windows 0.0.2+3 [shared_preferences_platform_interface flutter file meta path path_provider_platform_interface path_provider_windows]
- sky_engine 0.0.99
- source_span 1.8.0-nullsafety.2 [charcode collection path term_glyph]
- sqflite 1.3.2+3 [flutter sqflite_common path]
- sqflite_common 1.0.3+1 [synchronized path meta]
- stack_trace 1.10.0-nullsafety.1 [path]
- stream_channel 2.1.0-nullsafety.1 [async]
- string_scanner 1.1.0-nullsafety.1 [charcode source_span]
- synchronized 2.2.0+2
- term_glyph 1.2.0-nullsafety.1
- test_api 0.2.19-nullsafety.2 [async boolean_selector collection meta path source_span stack_trace stream_channel string_scanner term_glyph matcher]
- typed_data 1.3.0-nullsafety.3 [collection]
- url_launcher_linux 0.0.1+4 [flutter]
- url_launcher_macos 0.0.1+9 [flutter]
- url_launcher_platform_interface 1.0.9 [flutter meta plugin_platform_interface]
- url_launcher_web 0.1.5+3 [url_launcher_platform_interface flutter flutter_web_plugins meta]
- url_launcher_windows 0.0.1+3 [flutter]
- utf 0.9.0+5
- uuid 2.2.2 [crypto convert]
- vector_math 2.1.0-nullsafety.3
- video_player 0.10.0+2 [meta flutter]
- win32 1.7.4+1 [ffi]
- xdg_directories 0.1.2 [meta path process]

And here the full build output:

Launching lib/main.dart on iPhone in debug mode...

Automatically signing iOS for device deployment using specified development team
in Xcode project: P29R2A8DH5
Running pod install...                                              6.3s
Running Xcode build...
Xcode build done.                                           24.1s
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **

Xcode's output:
↳
    9 warnings generated.
    ld: warning: dylib
    (/Users/qbc/mouhim-app/build/ios/Debug-iphoneos/GTMSessionFetcher/GTMSession
    Fetcher.framework/GTMSessionFetcher) was built for newer iOS version (9.0)
    than being linked (8.0)
    While building module 'firebase_core' imported from
    /Users/qbc/Documents/MouhimDev/flutter/.pub-cache/hosted/pub.dartlang.org/fi
    rebase_messaging-8.0.0-dev.14/ios/Classes/FLTFirebaseMessagingPlugin.m:6:
    In file included from <module-includes>:1:
    In file included from /Users/qbc/mouhim-app/ios/Pods/Target Support
    Files/firebase_core/firebase_core-umbrella.h:13:
    In file included from
    /Users/qbc/Documents/MouhimDev/flutter/.pub-cache/hosted/pub.dartlang.org/fi
    rebase_core-0.7.0/ios/Classes/FLTFirebaseCorePlugin.h:11:
    /Users/qbc/Documents/MouhimDev/flutter/.pub-cache/hosted/pub.dartlang.org/fi
    rebase_core-0.7.0/ios/Classes/FLTFirebasePlugin.h:9:9: error: include of
    non-modular header inside framework module
    'firebase_core.FLTFirebasePlugin':
    '/Users/qbc/mouhim-app/ios/Pods/Headers/Public/FirebaseCore/FirebaseCore.h'
    [-Werror,-Wnon-modular-include-in-framework-module]
    #import <FirebaseCore/FirebaseCore.h>
            ^
    1 error generated.
    /Users/qbc/Documents/MouhimDev/flutter/.pub-cache/hosted/pub.dartlang.org/fi
    rebase_messaging-8.0.0-dev.14/ios/Classes/FLTFirebaseMessagingPlugin.m:6:9:
    fatal error: could not build module 'firebase_core'
    #import <firebase_core/FLTFirebasePluginRegistry.h>
     ~~~~~~~^
    2 errors generated.
    Command CompileSwift failed with a nonzero exit code
    Command CompileSwift failed with a nonzero exit code
    Command CompileSwift failed with a nonzero exit code
    Command CompileSwift failed with a nonzero exit code
    Command CompileSwift failed with a nonzero exit code
    note: Using new build system
    note: Building targets in parallel
    note: Planning build
    note: Constructing build description
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to
    8.0, but the range of supported deployment target versions is 9.0 to
    14.4.99. (in target 'video_player' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to
    8.0, but the range of supported deployment target versions is 9.0 to
    14.4.99. (in target 'url_launcher' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to
    8.0, but the range of supported deployment target versions is 9.0 to
    14.4.99. (in target 'sign_in_with_apple' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to
    8.0, but the range of supported deployment target versions is 9.0 to
    14.4.99. (in target 'shared_preferences' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to
    8.0, but the range of supported deployment target versions is 9.0 to
    14.4.99. (in target 'path_provider' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to
    8.0, but the range of supported deployment target versions is 9.0 to
    14.4.99. (in target 'google_sign_in' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to
    8.0, but the range of supported deployment target versions is 9.0 to
    14.4.99. (in target 'flutter_share_me' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to
    8.0, but the range of supported deployment target versions is 9.0 to
    14.4.99. (in target 'flutter_custom_tabs' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to
    8.0, but the range of supported deployment target versions is 9.0 to
    14.4.99. (in target 'GTMAppAuth' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to
    8.0, but the range of supported deployment target versions is 9.0 to
    14.4.99. (in target 'FMDB' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to
    8.0, but the range of supported deployment target versions is 9.0 to
    14.4.99. (in target 'FBSDKLoginKit' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to
    8.0, but the range of supported deployment target versions is 9.0 to
    14.4.99. (in target 'FBSDKCoreKit' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to
    8.0, but the range of supported deployment target versions is 9.0 to
    14.4.99. (in target 'AppAuth' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to
    8.0, but the range of supported deployment target versions is 9.0 to
    14.4.99. (in target 'GoogleSignIn' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to
    8.0, but the range of supported deployment target versions is 9.0 to
    14.4.99. (in target 'Flutter' from project 'Pods')

Could not build the precompiled application for the device.

Error launching application on iPhone.

Thank you.

Could you provide your Podfile?
It should contain
target 'Runner' do
  use_frameworks!
  use_modular_headers!

  flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
end

Here is my Podfile content, it does indeed contain those lines:
# Uncomment this line to define a global platform for your project
platform :ios, '10.0'

# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

project 'Runner', {
  'Debug' => :debug,
  'Profile' => :release,
  'Release' => :release,
}

def flutter_root
  generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
  unless File.exist?(generated_xcode_build_settings_path)
    raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
  end

  File.foreach(generated_xcode_build_settings_path) do |line|
    matches = line.match(/FLUTTER_ROOT\=(.*)/)
    return matches[1].strip if matches
  end
  raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
end

require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)

flutter_ios_podfile_setup

target 'Runner' do
  use_frameworks!
  use_modular_headers!

  flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
end

post_install do |installer|
  installer.pods_project.targets.each do |target|
    flutter_additional_ios_build_settings(target)
  end
end

# add the Firebase pod for Google Analytics
pod 'Firebase/Analytics'
# add pods for any other desired Firebase products
# https://firebase.google.com/docs/ios/setup#available-pods

Does this help https://stackoverflow.com/questions/27776497/include-of-non-modular-header-inside-framework-module

It didn't help... but now the build log is telling me that there is no function configure from FirebaseMessaging, was it removed or renamed in the 8.0.0.dev-14 ?

it does return to the same error (could not build firebase_core) when i refactor my code as per the documentation!

UPDATE: It worked only after I deleted the whole ios folder and run flutter create .

The new version deprecated the old configure in favor of event streams. Take a look at the new official example
Is the issue solved for now?

Yes it is solved using version 7.0.3 indeed but after deleting ios and recreating the flutter project. So it is solved but I have no idea which file exactly should have been deleted since it is not one of the files we were deleting before rerunning.
Thank you for the new documentation I did check it.

Hard to say since clearing all of the caches or even the entire pods folder did not work. Could be that the issue was with Xcode DerivedData instead.
In any case closing this as solved then.


Include vertex_alignments keyword for metal_complex topology graphs.

Unsure why I did not do this when I first implemented them, but should be easy to do, mimicking how it is done in cages?

hmmm, does the git log say anything?


Influxdb 1.0 crash pthread created failed

Bug report
System info:

InfluxDB starting, version 1.0.0, branch master, commit 37992377a55fbc138b2c01edd4deffed64b53989
Linux sonar 3.13.0-83-generic #127-Ubuntu SMP Fri Mar 11 00:25:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
KVM VM with 16G of RAM and 2 vCPUs

Steps to reproduce:
Influxdb crash without any interaction
runtime/cgo: pthread_create failed: Resource temporarily unavailable
SIGABRT: abort
PC=0x7f4b7c476c37 m=2

influxcrash.log.zip

What does ulimit -a report?

root@sonar:~# ulimit -a core file size          (blocks, -c) 0 data seg size           (kbytes, -d) unlimited scheduling priority             (-e) 0 file size               (blocks, -f) unlimited pending signals                 (-i) 128315 max locked memory       (kbytes, -l) 64 max memory size         (kbytes, -m) unlimited open files                      (-n) 1024 pipe size            (512 bytes, -p) 8 POSIX message queues     (bytes, -q) 819200 real-time priority              (-r) 0 stack size              (kbytes, -s) 8192 cpu time               (seconds, -t) unlimited max user processes              (-u) 128315 virtual memory          (kbytes, -v) unlimited file locks                      (-x) unlimited

@itsuugo You may need to increase your open files limit or your pid max.  What does sysctl kernel.pid_max report?

kernel.pid_max = 32768

@itsuugo I'd try increasing both.  I'm going to close this since this is a configuration issue on your system.

thanks


Unable to find required monero library daemon_messages

-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE
CMake Error at CMakeLists.txt:142 (message):
Unable to find required monero library daemon_messages
-- Configuring incomplete, errors occurred!
See also "/home/monero/monero-lws/build/CMakeFiles/CMakeOutput.log".
See also "/home/monero/monero-lws/build/CMakeFiles/CMakeError.log".

What's the version of Monero you're trying to compile with? How do you call cmake?

Trying with master branch of Monero project
On Tue, 17 Aug 2021, 1:50 pm SerHack, @.***> wrote:

What's the version of Monero you're trying to compile with? How do you
call cmake?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/vtnerd/monero-lws/issues/19#issuecomment-900094363,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUOOOKCLAXVFEJ4GL4BXIX3T5ILTZANCNFSM5CJKFZ3A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

Only the release-0.16 branch will work at this time. I am in the progress of transitioning this project to master+develop+release-0.16 branches where the first two compile against Monero's master branch, and the last one compiles against the current release. The develop branch will be more of a "nightly" system that has less testing than master features.

There is any clear documentation or whitepaper about this project ?

The readme discusses how to build the project. I noticed the instructions were unclear on how to build the project against the main Monero repo.
My recommendation is to pull the latest updates. You should see two new branches. I would choose master and build the master branch of monero-project/monero OR choose release-v0.1_0.17 and build the release-v0.17 branch of monero-project/monero.
As per your actual error - specify the full path of -DMONERO_BUILD_DIR - it currently won't work with relative paths.

I'm missing something. Building release-v0.1_0.17 against Monero 'Oxygen Orion' (v<IP_ADDRESS>-c61c09a56)
ends with
cryptonote_tx_utils.cpp:(.text+0x9a43): undefined reference to
  `cryptonote::get_transaction_prefix_hash(cryptonote::transaction_prefix const&, crypto::hash&)'

My last successful build was
Aug 12 07:17 usr/bin/monerod
Aug 12 10:31 usr/bin/monero-lws-admin
Aug 12 10:31 usr/bin/monero-lws-daemon

[ 75%] Linking CXX executable monero-lws-admin
/home/crypto/local/build/build-monero-pool/staging-area/monero/monero-build/src/cryptonote_core/libcryptonote_core.a(cryptonote_tx_utils.cpp.o): In function `cryptonote::construct_tx_with_tx_key(cryptonote::account_keys const&, std::unordered_map<crypto::public_key, cryptonote::subaddress_index, std::hash<crypto::public_key>, std::equal_to<crypto::public_key>, std::allocator<std::pair<crypto::public_key const, cryptonote::subaddress_index> > > const&, std::vector<cryptonote::tx_source_entry, std::allocator<cryptonote::tx_source_entry> >&, std::vector<cryptonote::tx_destination_entry, std::allocator<cryptonote::tx_destination_entry> >&, boost::optional<cryptonote::account_public_address> const&, std::vector<unsigned char, std::allocator<unsigned char> > const&, cryptonote::transaction&, unsigned long, epee::mlocked<tools::scrubbed<crypto::ec_scalar> > const&, std::vector<epee::mlocked<tools::scrubbed<crypto::ec_scalar> >, std::allocator<epee::mlocked<tools::scrubbed<crypto::ec_scalar> > > > const&, bool, rct::RCTConfig const&, rct::multisig_out*, bool)':
cryptonote_tx_utils.cpp:(.text+0x9a43): undefined reference to `cryptonote::get_transaction_prefix_hash(cryptonote::transaction_prefix const&, crypto::hash&)'
/home/crypto/local/build/build-monero-pool/staging-area/monero/monero-build/src/cryptonote_core/libcryptonote_core.a(blockchain.cpp.o): In function `cryptonote::Blockchain::check_tx_inputs(cryptonote::transaction&, cryptonote::tx_verification_context&, unsigned long*) const':
blockchain.cpp:(.text+0x21139): undefined reference to `cryptonote::get_transaction_prefix_hash(cryptonote::transaction_prefix const&)'
/home/crypto/local/build/build-monero-pool/staging-area/monero/monero-build/src/cryptonote_core/libcryptonote_core.a(blockchain.cpp.o): In function `cryptonote::Blockchain::prepare_handle_incoming_blocks(std::vector<cryptonote::block_complete_entry, std::allocator<cryptonote::block_complete_entry> > const&, std::vector<cryptonote::block, std::allocator<cryptonote::block> >&)':
blockchain.cpp:(.text+0x2f518): undefined reference to `cryptonote::get_transaction_prefix_hash(cryptonote::transaction_prefix const&, crypto::hash&)'
/home/crypto/local/build/build-monero-pool/staging-area/monero/monero-build/src/cryptonote_basic/libcryptonote_basic.a(cryptonote_format_utils.cpp.o): In function `cryptonote::get_pruned_transaction_hash(cryptonote::transaction const&, crypto::hash const&)':
cryptonote_format_utils.cpp:(.text+0x38c0): undefined reference to `cryptonote::get_transaction_prefix_hash(cryptonote::transaction_prefix const&, crypto::hash&)'
/home/crypto/local/build/build-monero-pool/staging-area/monero/monero-build/src/cryptonote_basic/libcryptonote_basic.a(cryptonote_format_utils.cpp.o): In function `cryptonote::calculate_transaction_hash(cryptonote::transaction const&, crypto::hash&, unsigned long*)':
cryptonote_format_utils.cpp:(.text+0xf645): undefined reference to `cryptonote::get_transaction_prefix_hash(cryptonote::transaction_prefix const&, crypto::hash&)'
/home/crypto/local/build/build-monero-pool/staging-area/monero/monero-build/src/cryptonote_basic/libcryptonote_basic.a(cryptonote_format_utils.cpp.o): In function `cryptonote::parse_and_validate_tx_from_blob(boost::basic_string_ref<char, std::char_traits<char> > const&, cryptonote::transaction&, crypto::hash&, crypto::hash&)':
cryptonote_format_utils.cpp:(.text+0x127b1): undefined reference to `cryptonote::get_transaction_prefix_hash(cryptonote::transaction_prefix const&, crypto::hash&)'
/home/crypto/local/build/build-monero-pool/staging-area/monero/monero-build/src/device/libdevice.a(device_default.cpp.o): In function `hw::core::device_default::get_transaction_prefix_hash(cryptonote::transaction_prefix const&, crypto::hash&)':
device_default.cpp:(.text+0x2d7): undefined reference to `cryptonote::get_transaction_prefix_hash(cryptonote::transaction_prefix const&, crypto::hash&)'
collect2: error: ld returned 1 exit status
src/CMakeFiles/monero-lws-admin.dir/build.make:130: recipe for target 'src/monero-lws-admin' failed

Building release-v0.1_0.17 against Monero tags/v<IP_ADDRESS> was successful :)

A library was introduced on the Monero release-v0.17 branch causing the build error in the comment above. #21 is a patch for that :)
The current issue I'm running into when running monero-lws against Monero release-v0.17 appears to be this PR causing the following runtime error when sig.type == rct::RCTTypeNull:
2021-09-02 01:08:45.157	D Schema missing required field key: encrypted
2021-09-02 01:08:45.179	E thrown at scanner.cpp:379: Schema missing required field key

I assume the correct fix to this is to use a wire::optional_field when reading these fields from the JSON object here. However, this causes the following build errors:
In file included from /monero-lws/src/./wire/json/read.h:40,
                 from /monero-lws/src/./wire/json.h:32,
                 from /monero-lws/src/rpc/daemon_zmq.cpp:33:
/monero-lws/src/./wire/read.h: In instantiation of ‘void wire_read::unpack_field(std::size_t, R&, wire::field_<T, false>&) [with R = wire::json_reader; T = long unsigned int; std::size_t = long unsigned int]’:
/monero-lws/src/./wire/read.h:395:19:   required from ‘std::size_t wire_read::tracker<T>::try_read(R&, std::size_t) [with R = wire::json_reader; T = wire::field_<long unsigned int, false>; std::size_t = long unsigned int]’
/monero-lws/src/./wire/read.h:430:24:   required from ‘void wire_read::object(R&, wire_read::tracker<T>...) [with R = wire::json_reader; T = {wire::field_<std::reference_wrapper<unsigned char>, true>, wire::field_<long unsigned int, false>}]’
/monero-lws/src/./wire/json/read.h:133:22:   required from ‘void wire::object(wire::json_reader&, T ...) [with T = {wire::field_<std::reference_wrapper<unsigned char>, true>, wire::field_<long unsigned int, false>}]’
/monero-lws/src/rpc/daemon_zmq.cpp:73:7:   required from here
/monero-lws/src/./wire/read.h:330:22: error: request for member ‘emplace’ in ‘(& dest)->wire::field_<long unsigned int, false>::get_value()’, which is of non-class type ‘wire::field_<long unsigned int, false>::value_type’ {aka ‘long unsigned int’}
  330 |     dest.get_value().emplace();
/monero-lws/src/./wire/read.h:331:24: error: invalid type argument of unary ‘*’ (have ‘wire::field_<long unsigned int, false>::value_type’ {aka ‘long unsigned int’})
  331 |     read_bytes(source, *dest.get_value());

It seems there needs to be a different way of reading these 3 types than the JSON reader is currently able to handle. Taking a break on this and going to continue working from a stable version; wanted to share where I'm at with it in case someone is working through the same thing.
More verbose error output
[ 72%] Building CXX object src/rpc/CMakeFiles/monero-lws-rpc.dir/daemon_zmq.cpp.o
In file included from /monero-lws/src/./wire/json/read.h:40,
                 from /monero-lws/src/./wire/json.h:32,
                 from /monero-lws/src/rpc/daemon_zmq.cpp:33:
/monero-lws/src/./wire/read.h: In instantiation of ‘void wire_read::unpack_field(std::size_t, R&, wire::field_<T, false>&) [with R = wire::json_reader; T = wire::as_array_<std::reference_wrapper<std::vector<rct::ecdhTuple> >, wire::identity_>; std::size_t = long unsigned int]’:
/monero-lws/src/./wire/read.h:395:19:   required from ‘std::size_t wire_read::tracker<T>::try_read(R&, std::size_t) [with R = wire::json_reader; T = wire::field_<wire::as_array_<std::reference_wrapper<std::vector<rct::ecdhTuple> >, wire::identity_>, false>; std::size_t = long unsigned int]’
/monero-lws/src/./wire/read.h:430:24:   required from ‘void wire_read::object(R&, wire_read::tracker<T>...) [with R = wire::json_reader; T = {wire::field_<std::reference_wrapper<unsigned char>, true>, wire::field_<wire::as_array_<std::reference_wrapper<std::vector<rct::ecdhTuple, std::allocator<rct::ecdhTuple> > >, wire::identity_>, false>, wire::field_<wire::as_array_<std::reference_wrapper<std::vector<rct::ctkey, std::allocator<rct::ctkey> > >, wire::identity_>, false>, wire::field_<long unsigned int, false>}]’
/monero-lws/src/./wire/json/read.h:133:22:   required from ‘void wire::object(wire::json_reader&, T ...) [with T = {wire::field_<std::reference_wrapper<unsigned char>, true>, wire::field_<wire::as_array_<std::reference_wrapper<std::vector<rct::ecdhTuple, std::allocator<rct::ecdhTuple> > >, wire::identity_>, false>, wire::field_<wire::as_array_<std::reference_wrapper<std::vector<rct::ctkey, std::allocator<rct::ctkey> > >, wire::identity_>, false>, wire::field_<long unsigned int, false>}]’
/monero-lws/src/rpc/daemon_zmq.cpp:73:7:   required from here
/monero-lws/src/./wire/read.h:330:22: error: ‘using value_type = using type = struct wire::as_array_<std::reference_wrapper<std::vector<rct::ecdhTuple> >, wire::identity_>’ {aka ‘struct wire::as_array_<std::reference_wrapper<std::vector<rct::ecdhTuple> >, wire::identity_>’} has no member named ‘emplace’
  330 |     dest.get_value().emplace();
/monero-lws/src/./wire/read.h:331:24: error: no match for ‘operator*’ (operand type is ‘wire::field_<wire::as_array_<std::reference_wrapper<std::vector<rct::ecdhTuple> >, wire::identity_>, false>::value_type’ {aka ‘wire::as_array_<std::reference_wrapper<std::vector<rct::ecdhTuple> >, wire::identity_>’})
  331 |     read_bytes(source, *dest.get_value());
In file included from /usr/include/boost/detail/container_fwd.hpp:98,
                 from /usr/include/boost/container_hash/extensions.hpp:22,
                 from /usr/include/boost/container_hash/hash.hpp:760,
                 from /usr/include/boost/functional/hash/hash.hpp:6,
                 from /monero/src/cryptonote_basic/cryptonote_basic.h:34,
                 from /monero/src/rpc/message_data_structs.h:32,
                 from /monero-lws/src/rpc/daemon_zmq.cpp:31:
/usr/include/c++/9/complex:391:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::operator*(const std::complex<_Tp>&, const std::complex<_Tp>&)’
  391 |     operator*(const complex<_Tp>& __x, const complex<_Tp>& __y)
      |     ^~~~~~~~
/usr/include/c++/9/complex:391:5: note:   template argument deduction/substitution failed:
In file included from /monero-lws/src/./wire/json/read.h:40,
                 from /monero-lws/src/./wire/json.h:32,
                 from /monero-lws/src/rpc/daemon_zmq.cpp:33:
/monero-lws/src/./wire/read.h:331:24: note:   ‘wire::field_<wire::as_array_<std::reference_wrapper<std::vector<rct::ecdhTuple> >, wire::identity_>, false>::value_type’ {aka ‘wire::as_array_<std::reference_wrapper<std::vector<rct::ecdhTuple> >, wire::identity_>’} is not derived from ‘const std::complex<_Tp>’
  331 |     read_bytes(source, *dest.get_value());
In file included from /usr/include/boost/detail/container_fwd.hpp:98,
                 from /usr/include/boost/container_hash/extensions.hpp:22,
                 from /usr/include/boost/container_hash/hash.hpp:760,
                 from /usr/include/boost/functional/hash/hash.hpp:6,
                 from /monero/src/cryptonote_basic/cryptonote_basic.h:34,
                 from /monero/src/rpc/message_data_structs.h:32,
                 from /monero-lws/src/rpc/daemon_zmq.cpp:31:
/usr/include/c++/9/complex:400:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::operator*(const std::complex<_Tp>&, const _Tp&)’
  400 |     operator*(const complex<_Tp>& __x, const _Tp& __y)
      |     ^~~~~~~~
/usr/include/c++/9/complex:400:5: note:   template argument deduction/substitution failed:
In file included from /monero-lws/src/./wire/json/read.h:40,
                 from /monero-lws/src/./wire/json.h:32,
                 from /monero-lws/src/rpc/daemon_zmq.cpp:33:
/monero-lws/src/./wire/read.h:331:24: note:   ‘wire::field_<wire::as_array_<std::reference_wrapper<std::vector<rct::ecdhTuple> >, wire::identity_>, false>::value_type’ {aka ‘wire::as_array_<std::reference_wrapper<std::vector<rct::ecdhTuple> >, wire::identity_>’} is not derived from ‘const std::complex<_Tp>’
  331 |     read_bytes(source, *dest.get_value());
In file included from /usr/include/boost/detail/container_fwd.hpp:98,
                 from /usr/include/boost/container_hash/extensions.hpp:22,
                 from /usr/include/boost/container_hash/hash.hpp:760,
                 from /usr/include/boost/functional/hash/hash.hpp:6,
                 from /monero/src/cryptonote_basic/cryptonote_basic.h:34,
                 from /monero/src/rpc/message_data_structs.h:32,
                 from /monero-lws/src/rpc/daemon_zmq.cpp:31:
/usr/include/c++/9/complex:409:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::operator*(const _Tp&, const std::complex<_Tp>&)’
  409 |     operator*(const _Tp& __x, const complex<_Tp>& __y)
      |     ^~~~~~~~
/usr/include/c++/9/complex:409:5: note:   template argument deduction/substitution failed:
In file included from /monero-lws/src/./wire/json/read.h:40,
                 from /monero-lws/src/./wire/json.h:32,
                 from /monero-lws/src/rpc/daemon_zmq.cpp:33:
/monero-lws/src/./wire/read.h:331:24: note:   candidate expects 2 arguments, 1 provided
  331 |     read_bytes(source, *dest.get_value());
/monero-lws/src/./wire/read.h: In instantiation of ‘void wire_read::unpack_field(std::size_t, R&, wire::field_<T, false>&) [with R = wire::json_reader; T = wire::as_array_<std::reference_wrapper<std::vector<rct::ctkey> >, wire::identity_>; std::size_t = long unsigned int]’:
/monero-lws/src/./wire/read.h:395:19:   required from ‘std::size_t wire_read::tracker<T>::try_read(R&, std::size_t) [with R = wire::json_reader; T = wire::field_<wire::as_array_<std::reference_wrapper<std::vector<rct::ctkey> >, wire::identity_>, false>; std::size_t = long unsigned int]’
/monero-lws/src/./wire/read.h:430:24:   required from ‘void wire_read::object(R&, wire_read::tracker<T>...) [with R = wire::json_reader; T = {wire::field_<std::reference_wrapper<unsigned char>, true>, wire::field_<wire::as_array_<std::reference_wrapper<std::vector<rct::ecdhTuple, std::allocator<rct::ecdhTuple> > >, wire::identity_>, false>, wire::field_<wire::as_array_<std::reference_wrapper<std::vector<rct::ctkey, std::allocator<rct::ctkey> > >, wire::identity_>, false>, wire::field_<long unsigned int, false>}]’
/monero-lws/src/./wire/json/read.h:133:22:   required from ‘void wire::object(wire::json_reader&, T ...) [with T = {wire::field_<std::reference_wrapper<unsigned char>, true>, wire::field_<wire::as_array_<std::reference_wrapper<std::vector<rct::ecdhTuple, std::allocator<rct::ecdhTuple> > >, wire::identity_>, false>, wire::field_<wire::as_array_<std::reference_wrapper<std::vector<rct::ctkey, std::allocator<rct::ctkey> > >, wire::identity_>, false>, wire::field_<long unsigned int, false>}]’
/monero-lws/src/rpc/daemon_zmq.cpp:73:7:   required from here
/monero-lws/src/./wire/read.h:330:22: error: ‘using value_type = using type = struct wire::as_array_<std::reference_wrapper<std::vector<rct::ctkey> >, wire::identity_>’ {aka ‘struct wire::as_array_<std::reference_wrapper<std::vector<rct::ctkey> >, wire::identity_>’} has no member named ‘emplace’
  330 |     dest.get_value().emplace();
/monero-lws/src/./wire/read.h:331:24: error: no match for ‘operator*’ (operand type is ‘wire::field_<wire::as_array_<std::reference_wrapper<std::vector<rct::ctkey> >, wire::identity_>, false>::value_type’ {aka ‘wire::as_array_<std::reference_wrapper<std::vector<rct::ctkey> >, wire::identity_>’})
  331 |     read_bytes(source, *dest.get_value());
In file included from /usr/include/boost/detail/container_fwd.hpp:98,
                 from /usr/include/boost/container_hash/extensions.hpp:22,
                 from /usr/include/boost/container_hash/hash.hpp:760,
                 from /usr/include/boost/functional/hash/hash.hpp:6,
                 from /monero/src/cryptonote_basic/cryptonote_basic.h:34,
                 from /monero/src/rpc/message_data_structs.h:32,
                 from /monero-lws/src/rpc/daemon_zmq.cpp:31:
/usr/include/c++/9/complex:391:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::operator*(const std::complex<_Tp>&, const std::complex<_Tp>&)’
  391 |     operator*(const complex<_Tp>& __x, const complex<_Tp>& __y)
      |     ^~~~~~~~
/usr/include/c++/9/complex:391:5: note:   template argument deduction/substitution failed:
In file included from /monero-lws/src/./wire/json/read.h:40,
                 from /monero-lws/src/./wire/json.h:32,
                 from /monero-lws/src/rpc/daemon_zmq.cpp:33:
/monero-lws/src/./wire/read.h:331:24: note:   ‘wire::field_<wire::as_array_<std::reference_wrapper<std::vector<rct::ctkey> >, wire::identity_>, false>::value_type’ {aka ‘wire::as_array_<std::reference_wrapper<std::vector<rct::ctkey> >, wire::identity_>’} is not derived from ‘const std::complex<_Tp>’
  331 |     read_bytes(source, *dest.get_value());
In file included from /usr/include/boost/detail/container_fwd.hpp:98,
                 from /usr/include/boost/container_hash/extensions.hpp:22,
                 from /usr/include/boost/container_hash/hash.hpp:760,
                 from /usr/include/boost/functional/hash/hash.hpp:6,
                 from /monero/src/cryptonote_basic/cryptonote_basic.h:34,
                 from /monero/src/rpc/message_data_structs.h:32,
                 from /monero-lws/src/rpc/daemon_zmq.cpp:31:
/usr/include/c++/9/complex:400:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::operator*(const std::complex<_Tp>&, const _Tp&)’
  400 |     operator*(const complex<_Tp>& __x, const _Tp& __y)
      |     ^~~~~~~~
/usr/include/c++/9/complex:400:5: note:   template argument deduction/substitution failed:
In file included from /monero-lws/src/./wire/json/read.h:40,
                 from /monero-lws/src/./wire/json.h:32,
                 from /monero-lws/src/rpc/daemon_zmq.cpp:33:
/monero-lws/src/./wire/read.h:331:24: note:   ‘wire::field_<wire::as_array_<std::reference_wrapper<std::vector<rct::ctkey> >, wire::identity_>, false>::value_type’ {aka ‘wire::as_array_<std::reference_wrapper<std::vector<rct::ctkey> >, wire::identity_>’} is not derived from ‘const std::complex<_Tp>’
  331 |     read_bytes(source, *dest.get_value());
In file included from /usr/include/boost/detail/container_fwd.hpp:98,
                 from /usr/include/boost/container_hash/extensions.hpp:22,
                 from /usr/include/boost/container_hash/hash.hpp:760,
                 from /usr/include/boost/functional/hash/hash.hpp:6,
                 from /monero/src/cryptonote_basic/cryptonote_basic.h:34,
                 from /monero/src/rpc/message_data_structs.h:32,
                 from /monero-lws/src/rpc/daemon_zmq.cpp:31:
/usr/include/c++/9/complex:409:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::operator*(const _Tp&, const std::complex<_Tp>&)’
  409 |     operator*(const _Tp& __x, const complex<_Tp>& __y)
      |     ^~~~~~~~
/usr/include/c++/9/complex:409:5: note:   template argument deduction/substitution failed:
In file included from /monero-lws/src/./wire/json/read.h:40,
                 from /monero-lws/src/./wire/json.h:32,
                 from /monero-lws/src/rpc/daemon_zmq.cpp:33:
/monero-lws/src/./wire/read.h:331:24: note:   candidate expects 2 arguments, 1 provided
  331 |     read_bytes(source, *dest.get_value());
/monero-lws/src/./wire/read.h: In instantiation of ‘void wire_read::unpack_field(std::size_t, R&, wire::field_<T, false>&) [with R = wire::json_reader; T = long unsigned int; std::size_t = long unsigned int]’:
/monero-lws/src/./wire/read.h:395:19:   required from ‘std::size_t wire_read::tracker<T>::try_read(R&, std::size_t) [with R = wire::json_reader; T = wire::field_<long unsigned int, false>; std::size_t = long unsigned int]’
/monero-lws/src/./wire/read.h:430:24:   required from ‘void wire_read::object(R&, wire_read::tracker<T>...) [with R = wire::json_reader; T = {wire::field_<std::reference_wrapper<unsigned char>, true>, wire::field_<wire::as_array_<std::reference_wrapper<std::vector<rct::ecdhTuple, std::allocator<rct::ecdhTuple> > >, wire::identity_>, false>, wire::field_<wire::as_array_<std::reference_wrapper<std::vector<rct::ctkey, std::allocator<rct::ctkey> > >, wire::identity_>, false>, wire::field_<long unsigned int, false>}]’
/monero-lws/src/./wire/json/read.h:133:22:   required from ‘void wire::object(wire::json_reader&, T ...) [with T = {wire::field_<std::reference_wrapper<unsigned char>, true>, wire::field_<wire::as_array_<std::reference_wrapper<std::vector<rct::ecdhTuple, std::allocator<rct::ecdhTuple> > >, wire::identity_>, false>, wire::field_<wire::as_array_<std::reference_wrapper<std::vector<rct::ctkey, std::allocator<rct::ctkey> > >, wire::identity_>, false>, wire::field_<long unsigned int, false>}]’
/monero-lws/src/rpc/daemon_zmq.cpp:73:7:   required from here
/monero-lws/src/./wire/read.h:330:22: error: request for member ‘emplace’ in ‘(& dest)->wire::field_<long unsigned int, false>::get_value()’, which is of non-class type ‘wire::field_<long unsigned int, false>::value_type’ {aka ‘long unsigned int’}
  330 |     dest.get_value().emplace();
/monero-lws/src/./wire/read.h:331:24: error: invalid type argument of unary ‘*’ (have ‘wire::field_<long unsigned int, false>::value_type’ {aka ‘long unsigned int’})
  331 |     read_bytes(source, *dest.get_value());
make[2]: *** [src/rpc/CMakeFiles/monero-lws-rpc.dir/build.make:89: src/rpc/CMakeFiles/monero-lws-rpc.dir/daemon_zmq.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:318: src/rpc/CMakeFiles/monero-lws-rpc.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

See latest commit for JSON fixes

Confirmed everything seems to be working with monero-lws/develop (f1cbc052)  + monero/v17.2.3

@j-berman when you say monero/v17.2.3 do you mean release-v0.17 or tag v<IP_ADDRESS> ?

@trasherdk both should work

I think this is fixed, if not someone can ping me to re-open it.


Add a way to directly retrieve individual Bluetooth packets

https://github.com/esp-rs/esp-wifi/blob/c446177984b82b5e1658d6b24318e7214460ded8/esp-wifi/src/ble/btdm.rs#L544
While bluetooth packets are individually received and queued by notify_host_recv, read_hci continually streams data from the queue such that the packet data is concatenated in the output stream.
Usually this isn't a problem because calling BleConnector.read in a tight loop can read faster than new packets can be added to the queue so BleConnector.read will return 0, effectively indicating a packet boundary. However, in random cases the reads don't happen fast enough and the packets get concatenated. While I could parse out the packets in the stream, it would be much easier if I could just access the packets as they appear in the receive queue.
Also, this isn't a totally weird edge case. It happens to me randomly when I issue the HCI command to disable a BLE scan then try to read the subsequent HCI Command Complete event. However, since the scan is still in progress between when I processed the last packet I care about and when the scan is actually disabled, there is a very good chance that a scan result packet came in during that time and BleConnector.read returns both that scan result and the HCI command complete in the same stream.
I suggest that a new method be added to BleConnector that can fill a buffer with data from only the most recent packet.

I don't see a problem in adding such an API. I guess most stacks would still use the embedded-io based API since it pretty much works like e.g. HCI over UART in some situations this should be more convenient


Support TargetPort for DNS Service Entry

Aside from consistency/completeness, this is really useful for TLS
origination. Rather than modifying apps (to switch port from 80 to 443,
but stay plaintext, which is weird), we can transparently add tls
origination like:
apiVersion: networking.istio.io/v1beta1
kind: ServiceEntry
metadata:
  name: httpbin
spec:
  hosts:
  - httpbin.org
  ports:
  - number: 80
    name: http
    protocol: HTTP
    targetPort: 443
  resolution: DNS
---
apiVersion: networking.istio.io/v1beta1
kind: DestinationRule
metadata:
  name: originate-tls
spec:
  host: httpbin.org
  trafficPolicy:
    tls:
      mode: SIMPLE

[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Pull Request Attributes
Please check any characteristics that apply to this pull request.
[ ] Does not have any changes that may affect Istio users.

@howardjohn: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

gencheck_istio
15c5488f8733bb8ff21080416e1688f319635a07
link
/test gencheck_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

gencheck_istio
15c5488f8733bb8ff21080416e1688f319635a07
link
/test gencheck_istio

lint_istio
15c5488f8733bb8ff21080416e1688f319635a07
link
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

gencheck_istio
15c5488f8733bb8ff21080416e1688f319635a07
link
/test gencheck_istio

lint_istio
15c5488f8733bb8ff21080416e1688f319635a07
link
/test lint_istio

integ-ipv6-k8s-tests_istio
15c5488f8733bb8ff21080416e1688f319635a07
link
/test integ-ipv6-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

@howardjohn: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

gencheck_istio
15c5488f8733bb8ff21080416e1688f319635a07
link
/test gencheck_istio

integ-ipv6-k8s-tests_istio
15c5488f8733bb8ff21080416e1688f319635a07
link
/test integ-ipv6-k8s-tests_istio

lint_istio
15c5488f8733bb8ff21080416e1688f319635a07
link
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-ipv6-k8s-tests_istio
15c5488f8733bb8ff21080416e1688f319635a07
link
/test integ-ipv6-k8s-tests_istio

lint_istio
15c5488f8733bb8ff21080416e1688f319635a07
link
/test lint_istio

gencheck_istio
15c5488f8733bb8ff21080416e1688f319635a07
link
/test gencheck_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

@howardjohn: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio
15c5488f8733bb8ff21080416e1688f319635a07
link
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

Can not fully understand how this corresponds to tls?


Theme Editor

The default Ambient Theme has black text on dark background.  Allowing users to edit themes would completely solve any such issues.

it should look like this:

if it doesn't then something else has gone wrong.
try reloading the page, and looking in the JS console for errors.


in <mat-list-item no longer works when moving to 15

Which @angular/* package(s) are the source of the bug?
Don't known / other
Is this a regression?
No
Description
In Angular 14 this html
        <mat-list-item lines="1" *ngFor="let dataObject of filteredPrograms" (click)="selectProgram(dataObject)">
            {{dataObject.programName}}

            <button mat-icon-button (click)="deleteProgram(dataObject); $event.stopPropagation()">
                <mat-icon>delete</mat-icon>
            </button>
        </mat-list-item>

produced a row with a name on the left side of the row and a delete button on the right side of the row.
Moving to 15 the name is in the same place but the delete button is to the right of the name. The `' no longer works.
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
The error is that after the update to Angular 15 the button in the mat-list-item row appears to the right of the program name (such as 'BETA_TESTERS' instead of right justified as it did in Angular 14.

My guess is that the class name "spacer' has become something else but I cannot find such values documented. I have tried "example-spacer" but gave the same result.

Please provide the environment you discovered this bug in (run ng version)
Results of ng version:

Angular CLI: 15.2.6
Node: 18.15.0
Package Manager: npm 9.6.4
OS: win32 x64

Angular: 15.2.7
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1502.6
@angular-devkit/build-angular   15.2.6
@angular-devkit/core            15.2.6
@angular-devkit/schematics      15.2.6
@angular/cdk                    15.2.6
@angular/cli                    15.2.6
@angular/flex-layout            15.0.0-beta.42
@angular/material               15.2.6
@schematics/angular             15.2.6
rxjs                            7.8.0
typescript                      4.9.5

Anything else?
No response

Found out all I need to do is add matListItemMeta in the button. Dont need anything else, including the . I have a feeling that the  worked pre-15 was a 'bug' or unanticipated feature.
Adding just the matListItemMeta to the above may not be the way it is supposed to be done but it is all quite unclear to me now.

Closing since this is a custom element we have no control over.


vertica strip backslash when inserting utf-8 encoded string

Hi.
I don't know if this is a bug or not.
I'm trying to insert data in Vertica from python.
I decided to force the encoding in python using x.encode('utf-8') berfore inserting.
Using this a string is encoded in utf, for example:
x='Hello è'
x.encode('utf-8') # b'Hello \xc3\xa8'

I'm using this script to do a bulk insert ( just a sample), suppose that data is a pandas dataframe that contains the string i want to insert and cur is vertica cursor.
        buff = StringIO()

        # buffer
        col_len = len(data.columns)
        col_name = ','.join(data.columns)
        buff_string = ('{}|' * col_len)[:-1]
        buff_string = buff_string + '\n'

        #  sql query
        sql_query = 'COPY ' + schema + '.' + table_name + ' (' + col_name + ') FROM STDIN COMMIT'

        # convert data frame to csv type
        for row in data.values.tolist():
            buff.write(buff_string.format(*row))

        cur.copy(sql_query, buff.getvalue())

The result is that vertica correctly insert rows but strip the backslash character \. ( For example the stirng b'Hello xc3xa8').
I checked SET STANDARD_CONFORMING_STRINGS  and is set as ON.
I checked the encoding in vertica with ISUTF8 and it's a valid utf-8 .

My Bad, I didn't read the whole documentation for COPY command. I solved with NO ESCAPE clause.
Thanks


cmd/7g: miscompiles copy

http://play.golang.org/p/sXDvlW5z7A
package main

import "fmt"

func main() {
	testCases := []struct {
		dst0, dst1 int
		src0, src1 int
		want       string
	}{
		{0, 9, 0, 9, "012345678"},
		{0, 5, 4, 9, "45678"},
		{4, 9, 0, 5, "01230"},
		{1, 6, 3, 8, "34567"},
		{3, 8, 1, 6, "12121"},
		{0, 9, 3, 6, "345"},
		{3, 6, 0, 9, "012"},
		{1, 6, 0, 9, "00000"},
		{0, 4, 7, 8, "7"},
		{0, 1, 6, 8, "6"},
		{4, 4, 6, 9, ""},
		{2, 8, 6, 6, ""},
		{0, 0, 0, 0, ""},
	}
	for _, tc := range testCases {
		b := []byte("0123456789")
		n := tc.dst1 - tc.dst0
		if tc.src1-tc.src0 < n {
			n = tc.src1 - tc.src0
		}
		forwardCopy(b, tc.dst0, tc.src0, n)
		got := string(b[tc.dst0 : tc.dst0+n])
		if got != tc.want {
			fmt.Printf("dst=b[%d:%d], src=b[%d:%d]: got %q, want %q\n",
				tc.dst0, tc.dst1, tc.src0, tc.src1, got, tc.want)
		}
		// Check that the bytes outside of dst[:n] were not modified.
		for i, x := range b {
			if i >= tc.dst0 && i < tc.dst0+n {
				continue
			}
			if int(x) != '0'+i {
				fmt.Printf("dst=b[%d:%d], src=b[%d:%d]: copy overrun at b[%d]: got '%c', want '%c'\n",
					tc.dst0, tc.dst1, tc.src0, tc.src1, i, x, '0'+i)
			}
		}
	}
}

// forwardCopy is like the built-in copy function except that it always goes
// forward from the start, even if the dst and src overlap.
// It is equivalent to:
//   for i := 0; i < n; i++ {
//     mem[dst+i] = mem[src+i]
//   }
func forwardCopy(mem []byte, dst, src, n int) {
	if dst <= src {
		copy(mem[dst:dst+n], mem[src:src+n])
		return
	}
	for {
		if dst >= src+n {
			copy(mem[dst:dst+n], mem[src:src+n])
			return
		}
		// There is some forward overlap.  The destination
		// will be filled with a repeated pattern of mem[src:src+k].
		// We copy one instance of the pattern here, then repeat.
		// Each time around this loop k will double.
		k := dst - src
		copy(mem[dst:dst+k], mem[src:src+k])
		n -= k
		dst += k
	}
}

Produced the following on arm64:
dst=b[0:5], src=b[4:9]: got "85678", want "45678"
dst=b[1:6], src=b[3:8]: got "76767", want "34567"

But shouldn't output anything.
I haven't taken a closer look yet.

I think cmd/7g failed to use backward copy when needed.

A minimum test case:
package main

import "fmt"

var t = []byte{0,1,2,3,4,5,6,7,8,9}

func main() {
	copy(t[0:5], t[4:9])
	fmt.Println(t)
}

arm:
[4 5 6 7 8 5 6 7 8 9]
arm64:
[8 5 6 7 8 5 6 7 8 9]

On the contrary, it's using backward copy incorrectly...
OK, our memmove_arm64.s is also wrong. The problem is that CMP order is different between ARM64 an Power64.
Fixed by https://github.com/minux/go-arm64/commit/8a57a9a0bcc97ea82597897f206ecbea0826be1a

Has been fixed.


Connect with FLNRO

The Forests, Land, and Natural Resource Operations (FLNRO) ministry is responsible for the stewardship of provincial Crown land and ensures the sustainable management of forest, wildlife, water and other land-based resources. The Ministry works with Indigenous and rural communities to strengthen and diversify their economies.

[ ] Set up calendar invite
[ ] Write questions for conversation

Putting back in the backlog for when we do hear back :)

Thank you @jaimiebutton!