Skip to content

Implement timestamp-based network subscription optimization

690f8b8
Select commit
Loading
Failed to load commit list.
Draft

WIP Local relay model #3204

Implement timestamp-based network subscription optimization
690f8b8
Select commit
Loading
Failed to load commit list.
Xcode Cloud / damus | Experimental build workflow | Test - iOS completed Oct 15, 2025 in 28m 30s

1 error, 306 warnings

Report Summary
Errors 1
Test Failures 0
Analysis Issues 0
Warnings 306

Note: This action is marked as Not Required to Pass in your Xcode Cloud workflow, which means that failed tests, issues or warnings will not cause the check to fail.

Details

1 Error

Details

  Command SwiftCompile failed with a nonzero exit code

306 Warnings

Details

  nostrdb/mdb.c:2057
      Implicit conversion loses integer precision: 'MDB_ID' (aka 'unsigned long') to 'unsigned int'
  damus/Core/Nostr/RelayConnection.swift:183
      Capture of 'self' with non-Sendable type 'RelayConnection' in a '@Sendable' closure
  damus/Core/Networking/NostrNetworkManager/SubscriptionManager.swift:214
      Reference to captured var 'networkStreamTask' in concurrently-executing code; this is an error in the Swift 6 language mode
  nostrdb/src/nostrdb.c:2612
      Unused function 'ndb_has_note'
  damus/Features/Timeline/Models/HomeModel.swift:763
      No 'async' operations occur within 'await' expression
  damus/ContentView.swift:957
      Capture of 'center' with non-Sendable type 'UNUserNotificationCenter' in a '@Sendable' closure
  nostrdb/src/nostrdb.c:5041
      Implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'int'
  nostrdb/src/nostrdb.c:693
      Implicit conversion loses integer precision: 'const uint64_t' (aka 'const unsigned long long') to 'int'
  nostrdb/src/cpu.h:13
      A function declaration without a prototype is deprecated in all versions of C
  damus/ContentView.swift:517
      'onChange(of:perform:)' was deprecated in iOS 17.0: Use `onChange` with a two or zero parameter action closure instead.
  nostrdb/mdb.c:6903
      Implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int'
  damus/ContentView.swift:547
      Result of call to 'reopen()' is unused
  nostrdb/src/nostrdb.c:4492
      Implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'int'
  damus/Features/Search/Views/SearchResultsView.swift:195
      Main actor-isolated instance method 'do_search(query:)' cannot be called from outside of the actor; this is an error in the Swift 6 language mode
  nostrdb/NdbNote.swift:533
      'decrypt_dm(_:pubkey:content:encoding:)' is deprecated: Deprecated, please use NIP04.decryptContent instead
  nostrdb/src/nostrdb.c:1609
      Unused function 'ndb_begin_rw_query'
  damus/Features/Chat/ChatEventView.swift:219
      'onChange(of:perform:)' was deprecated in iOS 17.0: Use `onChange` with a two or zero parameter action closure instead.
  damus/Features/Profile/Models/ProfileModel.swift:87
      Variable 'relay_list_filter' was never mutated; consider changing to 'let' constant
  damus/Core/Networking/NostrNetworkManager/SubscriptionManager.swift:271
      Initialization of immutable value 'startTime' was never used; consider replacing with assignment to '_' or removing it
  nostrdb/mdb.c:2607
      '@return' command used in a comment that is attached to a function returning void
  nostrdb/src/nostrdb.c:1675
      Implicit conversion loses integer precision: 'long' to 'int'
  nostrdb/Ndb.swift:681
      Capture of 'filtersPointer' with non-Sendable type 'UnsafeMutablePointer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  damus/Core/Nostr/RelayPool.swift:60
      No 'async' operations occur within 'await' expression
  nostrdb/mdb.c:5288
      Implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int'
  damus/Features/Timeline/Models/HomeModel.swift:275
      No 'async' operations occur within 'await' expression
  nostrdb/src/nostrdb.c:2093
      Implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'int'
  damus/Core/Nostr/RelayPool.swift:322
      Immutable value 'note' was never used; consider replacing with '_' or removing it
  nostrdb/src/nostrdb.c:6374
      Implicit conversion loses integer precision: 'unsigned long' to 'int'
  damus/Features/Search/Models/SearchHomeModel.swift:56
      Capture of 'self' with non-Sendable type 'SearchHomeModel' in a '@Sendable' closure
  nostrdb/src/nostrdb.c:699
      Implicit conversion loses integer precision: 'const uint64_t' (aka 'const unsigned long long') to 'int'
  damus/Features/Timeline/Models/HomeModel.swift:513
      Variable 'dms_filters' was never mutated; consider changing to 'let' constant
  nostrdb/src/nostrdb.c:6996
      Implicit conversion loses integer precision: 'long' to 'int'
  damus/Shared/Media/Camera/Models/VideoCaptureProcessor.swift:60
      Instance method 'fileOutput(_:willFinishRecordingTo:from:)' nearly matches optional requirement 'fileOutput(_:didPauseRecordingTo:from:)' of protocol 'AVCaptureFileOutputRecordingDelegate'
  nostrdb/mdb.c:4732
      '@param' command used in a comment that is not attached to a function declaration
  nostrdb/src/nostrdb.c:6474
      Implicit conversion loses integer precision: 'long' to 'int'
  damus/Features/Settings/Views/ZapSettingsView.swift:31
      'onChange(of:perform:)' was deprecated in iOS 17.0: Use `onChange` with a two or zero parameter action closure instead.
  nostrdb/src/cursor.h:702
      Unused function 'consume_whitespace_or_punctuation'
  nostrdb/mdb.c:8779
      Implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int'
  nostrdb/src/nostrdb.c:7339
      Variable 'typ' may be uninitialized when used here
  nostrdb/mdb.c:4824
      Implicit conversion loses integer precision: 'unsigned long long' to 'unsigned int'
  damus/Features/Search/Models/SearchHomeModel.swift:76
      Capture of 'self' with non-Sendable type 'SearchHomeModel' in a '@Sendable' closure
  nostrdb/src/nostrdb.c:4511
      Implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'int'
  damus/Features/Wallet/Views/ConnectWalletView.swift:27
      'onChange(of:perform:)' was deprecated in iOS 17.0: Use `onChange` with a two or zero parameter action closure instead.
  nostrdb/mdb.c:3903
      Implicit conversion loses integer precision: 'unsigned long long' to 'int'
  nostrdb/src/nostrdb.c:4449
      Unused function 'ndb_query_plan_name'
  nostrdb/src/nostrdb.c:4496
      Implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'int'
  nostrdb/src/nostrdb.c:6278
      Implicit conversion loses integer precision: 'unsigned long' to 'int'
  nostrdb/src/nostrdb.c:6527
      Implicit conversion loses integer precision: 'long' to 'int'
  nostrdb/src/nostrdb.c:6215
      Implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int'
  damus/Features/Posting/Models/Post.swift:112
      'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
  damus/Core/Nostr/RelayPool.swift:311
      Immutable value 'ev' was never used; consider replacing with '_' or removing it
  damus/Core/Nostr/RelayConnection.swift:167
      Capture of 'self' with non-Sendable type 'RelayConnection' in a '@Sendable' closure
  damus/Features/DMs/Views/DMChatView.swift:36
      'onChange(of:perform:)' was deprecated in iOS 17.0: Use `onChange` with a two or zero parameter action closure instead.
  damus/Features/Zaps/Views/NoteZapButton.swift:196
      Expression is 'async' but is not marked with 'await'; this is an error in the Swift 6 language mode
  flatbuffers/ByteBuffer.swift:250
      Forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
  nostrdb/src/content_parser.c:463
      Implicit conversion loses integer precision: 'long' to 'uint32_t' (aka 'unsigned int')
  nostrdb/Ndb.swift:678
      Reference to captured var 'subid' in concurrently-executing code; this is an error in the Swift 6 language mode
  damus/Shared/Utilities/Router.swift:202
      Main actor-isolated property 'original_event' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  damus/Features/Follows/Models/FollowingModel.swift:46
      Immutable value 'item' was never used; consider replacing with '_' or removing it
  damus/Features/Chat/Models/ThreadModel.swift:189
      Result of call to 'add_event(_:target:)' is unused
  nostrdb/src/nostrdb.c:6676
      Implicit conversion loses integer precision: 'long' to 'int'
  nostrdb/mdb.c:3329
      Implicit conversion loses integer precision: 'MDB_ID' (aka 'unsigned long') to 'int'
  damus/Features/Chat/ChatEventView.swift:230
      'onChange(of:perform:)' was deprecated in iOS 17.0: Use `onChange` with a two or zero parameter action closure instead.
  nostrdb/src/nostrdb.c:4515
      Implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'int'
  damus/Core/Storage/DamusState.swift:227
      Stored property 'relayModelCache' of 'Sendable'-conforming struct 'NostrNetworkManagerDelegate' has non-Sendable type 'RelayModelCache'; this is an error in the Swift 6 language mode
  nostrdb/NdbTxn.swift:196
      Initialization of immutable value 'moved' was never used; consider replacing with assignment to '_' or removing it
  nostrdb/src/nostrdb.c:2937
      Implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int'
  damus/Features/Actions/ActionBar/Views/EventActionBar.swift:44
      Main actor-isolated property 'damus_state' can not be referenced from a nonisolated context
  damus/Features/Events/Models/NoteContent.swift:91
      Initialization of immutable value 'result' was never used; consider replacing with assignment to '_' or removing it
  nostrdb/UnownedNdbNote.swift:46
      Associated value 'owned' of 'Sendable'-conforming enum 'NdbNoteLender' has non-Sendable type 'NdbNote'; this is an error in the Swift 6 language mode
  nostrdb/mdb.c:2287
      Implicit conversion loses integer precision: 'pgno_t' (aka 'unsigned long') to 'unsigned int'
  damus/Shared/Utilities/Router.swift:249
      Immutable value 'followPackModel' was never used; consider replacing with '_' or removing it
  nostrdb/mdb.c:3582
      Implicit conversion loses integer precision: 'MDB_ID' (aka 'unsigned long') to 'unsigned int'
  damus/Features/NIP05/Models/NIP05DomainEventsModel.swift:93
      Capture of 'self' with non-Sendable type 'NIP05DomainEventsModel' in a '@Sendable' closure
  damus/Core/Nostr/RelayPool.swift:429
      No 'async' operations occur within 'await' expression
  damus/Shared/Extensions/VisibilityTracker.swift:95
      'onChange(of:perform:)' was deprecated in iOS 17.0: Use `onChange` with a two or zero parameter action closure instead.
  nostrdb/src/nostrdb.c:5183
      Implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int'
  nostrdb/src/block.c:31
      Implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'enum nostr_bech32_type'
  damus/Core/Storage/DamusState.swift:228
      Stored property 'relayFilters' of 'Sendable'-conforming struct 'NostrNetworkManagerDelegate' has non-Sendable type 'RelayFilters'; this is an error in the Swift 6 language mode
  nostrdb/mdb.c:3992
      Implicit conversion loses integer precision: 'long' to 'unsigned int'
  nostrdb/src/nostrdb.c:974
      Implicit conversion loses integer precision: 'unsigned long' to 'int'
  nostrdb/src/nostrdb.c:801
      Implicit conversion loses integer precision: 'long' to 'int'
  nostrdb/src/nostrdb.c:4501
      Implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'int'
  damus/Features/Notifications/Views/NotificationsView.swift:136
      'onChange(of:perform:)' was deprecated in iOS 17.0: Use `onChange` with a two or zero parameter action closure instead.
  nostrdb/ccan/ccan/crypto/sha256/sha256.h:115
      '@p' command has no word arguments, expected 1
  nostrdb/mdb.c:6608
      Implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'unsigned int'
  nostrdb/src/nostrdb.c:6214
      Implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int'
  damus/Core/Storage/DamusState.swift:98
      Initialization of immutable value 'sub_id' was never used; consider replacing with assignment to '_' or removing it
  nostrdb/src/nostrdb.c:385
      Implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int'
  damus/Shared/Utilities/Router.swift:237
      Immutable value 'followers' was never used; consider replacing with '_' or removing it
  damus/Shared/Extensions/DamusFullScreenCover.swift:34
      'onChange(of:perform:)' was deprecated in iOS 17.0: Use `onChange` with a two or zero parameter action closure instead.
  nostrdb/mdb.c:3920
      Implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int'
  nostrdb/mdb.c:2922
      Implicit conversion loses integer precision: 'unsigned long' to 'int'
  nostrdb/mdb.c:2082
      Implicit conversion loses integer precision: 'MDB_ID' (aka 'unsigned long') to 'unsigned int'
  damus/Features/Wallet/Views/NWCSettings.swift:246
      'onChange(of:perform:)' was deprecated in iOS 17.0: Use `onChange` with a two or zero parameter action closure instead.
  damus/ContentView.swift:8
      Add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UserNotifications'
  nostrdb/src/nostrdb.c:1574
      Unused function 'ndb_tsid_low'
  damus/Features/Search/Views/SearchResultsView.swift:188
      'onChange(of:perform:)' was deprecated in iOS 17.0: Use `onChange` with a two or zero parameter action closure instead.
  nostrdb/mdb.c:4906
      Format specifies type 'int' but the argument has type 'unsigned long'
  damus/Core/Storage/DamusState.swift:215
      Stored property 'ndb' of 'Sendable'-conforming struct 'NostrNetworkManagerDelegate' has non-Sendable type 'Ndb'; this is an error in the Swift 6 language mode
  nostrdb/mdb.c:8781
      Implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int'
  damus/Features/Wallet/Models/WalletModel.swift:221
      Initialization of immutable value 'timeoutTask' was never used; consider replacing with assignment to '_' or removing it
  nostrdb/src/nostrdb.c:377
      Implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'unsigned int'
  damus/Features/Settings/Views/AppearanceSettingsView.swift:154
      'onChange(of:perform:)' was deprecated in iOS 17.0: Use `onChange` with a two or zero parameter action closure instead.
  nostrdb/src/content_parser.c:214
      Implicit conversion loses integer precision: 'long' to 'uint32_t' (aka 'unsigned int')
  nostrdb/src/cursor.h:407
      Implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'int'
  damus/Features/Wallet/Views/SendPaymentView.swift:325
      Immutable value 'error' was never used; consider replacing with '_' or removing it
  nostrdb/src/protected_queue.h:127
      Implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int'
  nostrdb/Ndb.swift:672
      Reference to captured var 'terminationStarted' in concurrently-executing code; this is an error in the Swift 6 language mode
  nostrdb/mdb.c:7079
      Implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int'
  nostrdb/src/nostrdb.c:7943
      Implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int'
  nostrdb/src/content_parser.c:517
      Implicit conversion loses integer precision: 'long' to 'uint32_t' (aka 'unsigned int')
  damus/Shared/Utilities/EventCache.swift:434
      Capture of 'plan' with non-Sendable type 'PreloadPlan' in a '@Sendable' closure
  nostrdb/src/content_parser.c:91
      Implicit conversion loses integer precision: 'long' to 'uint32_t' (aka 'unsigned int')
  nostrdb/Ndb.swift:703
      Mutation of captured var 'streaming' in concurrently-executing code; this is an error in the Swift 6 language mode
  nostrdb/src/nostrdb.c:6139
      Implicit conversion loses integer precision: 'long' to 'int'
  nostrdb/Ndb.swift:529
      Backward matching of the unlabeled trailing closure is deprecated; label the argument with 'with' to suppress this warning
  nostrdb/src/nostrdb.c:4488
      Implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'int'
  nostrdb/flatcc/builder.c:1143
      Code will never be executed
  nostrdb/mdb.c:9151
      Implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int'
  damus/Features/Events/Models/EventsModel.swift:80
      Capture of 'self' with non-Sendable type 'EventsModel' in a '@Sendable' closure
  nostrdb/mdb.c:6823
      Implicit conversion loses integer precision: 'unsigned long' to 'unsigned int'
  nostrdb/mdb.c:7366
      Implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int'
  nostrdb/src/nostrdb.c:2854
      Implicit conversion loses integer precision: 'unsigned long' to 'int'
  nostrdb/src/content_parser.c:599
      Implicit conversion loses integer precision: 'long' to 'uint32_t' (aka 'unsigned int')
  nostrdb/src/nostrdb.c:5968
      Unused function 'ndb_queue_write_version'
  nostrdb/mdb.c:5283
      Implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'unsigned int'
  damus/Shared/Utilities/EventCache.swift:384
      Capture of 'plan' with non-Sendable type 'PreloadPlan' in a '@Sendable' closure
  nostrdb/src/nostrdb.c:3978
      Implicit conversion loses integer precision: 'unsigned long' to 'int'
  share extension/ShareViewController.swift:182
      'onChange(of:perform:)' was deprecated in iOS 17.0: Use `onChange` with a two or zero parameter action closure instead.
  damus/Features/Timeline/Models/HomeModel.swift:512
      Variable 'contacts_filters' was never mutated; consider changing to 'let' constant
  nostrdb/midl.c:177
      Implicit conversion loses integer precision: 'MDB_ID' (aka 'unsigned long') to 'int'
  damus/Core/Networking/NostrNetworkManager/SubscriptionManager.swift:432
      Initialization of variable 'has_event' was never used; consider replacing with assignment to '_' or removing it
  damus/Shared/Utilities/EventCache.swift:412
      Capture of 'preview' with non-Sendable type 'Preview?' in a '@Sendable' closure
  nostrdb/src/nostrdb.c:435
      Variable 'sb' may be uninitialized when used here
  damus/Features/Chat/ChatroomThreadView.swift:179
      'onChange(of:perform:)' was deprecated in iOS 17.0: Use `onChange` with a two or zero parameter action closure instead.
  nostrdb/src/nostrdb.c:332
      Implicit conversion loses integer precision: 'long' to 'int'
  nostrdb/src/cursor.h:324
      Unused function 'cursor_pull_varint_u32'
  Skipping duplicate build file in Compile Sources build phase: /Volumes/workspace/repository/damus/Shared/Media/Video/DamusVideoPlayer.swift
  nostrdb/mdb.c:1860
      Implicit conversion loses integer precision: 'MDB_ID' (aka 'unsigned long') to 'unsigned int'
  nostrdb/Ndb.swift:705
      Capture of 'filtersPointer' with non-Sendable type 'UnsafeMutablePointer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  nostrdb/src/protected_queue.h:170
      Implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int'
  damus/Features/Events/NoteContentView.swift:36
      'withUnsafeBytes' is deprecated: use `withUnsafeBytes(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
  nostrdb/src/nostrdb.c:4528
      Implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int'
  nostrdb/mdb.c:3728
      Implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int'
  damus/Features/Timeline/Models/HomeModel.swift:510
      Variable 'notifications_filters' was never mutated; consider changing to 'let' constant
  nostrdb/src/nostrdb.c:3776
      Implicit conversion loses integer precision: 'long' to 'int'
  damus/Features/Wallet/Models/WalletModel.swift:137
      Capture of 'self' with non-Sendable type 'WalletModel' in a '@Sendable' closure
  nostrdb/src/nostrdb.c:6167
      Implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int'
  damus/Core/Storage/DamusState.swift:212
      Stored property 'settings' of 'Sendable'-conforming struct 'NostrNetworkManagerDelegate' has non-Sendable type 'UserSettingsStore'; this is an error in the Swift 6 language mode
  nostrdb/src/nostrdb.c:6799
      Implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int'
  nostrdb/src/content_parser.c:494
      Implicit conversion loses integer precision: 'long' to 'uint32_t' (aka 'unsigned int')
  damus/Features/Actions/ActionBar/Views/EventActionBar.swift:405
      'onChange(of:perform:)' was deprecated in iOS 17.0: Use `onChange` with a two or zero parameter action closure instead.
  damus/Features/Search/Models/SearchModel.swift:59
      Capture of 'self' with non-Sendable type 'SearchModel' in a '@Sendable' closure
  damus/Features/Search/Views/PullDownSearch.swift:63
      Main actor-isolated instance method 'do_search(query:)' cannot be called from outside of the actor; this is an error in the Swift 6 language mode
  nostrdb/src/nostrdb.c:5087
      Variable 'saved_size' may be uninitialized when used here
  damus/Features/FollowPack/Models/FollowPackModel.swift:53
      Capture of 'self' with non-Sendable type 'FollowPackModel' in a '@Sendable' closure
  nostrdb/Ndb.swift:679
      Reference to captured var 'subid' in concurrently-executing code; this is an error in the Swift 6 language mode
  DamusNotificationService/NotificationService.swift:267
      'ImageResource' is deprecated: This type conflicts with `GeneratedAssetSymbols.ImageResource` in Swift 5.9. Renamed to avoid issues in the future.
  damus/Shared/Utilities/EventCache.swift:433
      Capture of 'ts' with non-Sendable type 'TranslateStatus?' in a '@Sendable' closure
  nostrdb/src/nostrdb.c:4523
      Implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'int'
  damus/Core/Networking/NostrNetworkManager/SubscriptionManager.swift:394
      Variable 'nostrKinds' was never mutated; consider changing to 'let' constant
  damus/Features/Wallet/Views/LnurlAmountView.swift:104
      'onChange(of:perform:)' was deprecated in iOS 17.0: Use `onChange` with a two or zero parameter action closure instead.
  nostrdb/mdb.c:5783
      Implicit conversion loses integer precision: 'pgno_t' (aka 'unsigned long') to 'unsigned int'
  damus/Core/Nostr/NostrEvent.swift:604
      'decrypt_dm(_:pubkey:content:encoding:)' is deprecated: Deprecated, please use NIP04.decryptContent instead
  nostrdb/src/nostrdb.c:8012
      Implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'uint32_t' (aka 'unsigned int')
  nostrdb/mdb.c:3597
      Implicit conversion loses integer precision: 'MDB_ID' (aka 'unsigned long') to 'unsigned int'
  damus/Core/Networking/NostrNetworkManager/ProfilesManager.swift:65
      Immutable value 'value' was never used; consider replacing with '_' or removing it
  damus/Core/Networking/NostrNetworkManager/NostrNetworkManager.swift:77
      Immutable value 'value' was never used; consider replacing with '_' or removing it
  nostrdb/mdb.c:2193
      Implicit conversion loses integer precision: 'pgno_t' (aka 'unsigned long') to 'unsigned int'
  nostrdb/src/nostrdb.c:8247
      Implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int'
  damus/Features/Wallet/Models/CoinosDeterministicAccountClient.swift:144
      Value 'nwcKeypair' was defined but never used; consider replacing with boolean test
  damus/ContentView.swift:711
      Initialization of immutable value 'new_relay_filters' was never used; consider replacing with assignment to '_' or removing it
  nostrdb/Ndb.swift:701
      Mutation of captured var 'terminationStarted' in concurrently-executing code; this is an error in the Swift 6 language mode
  damus/Features/Posting/Views/PostView.swift:288
      'onChange(of:perform:)' was deprecated in iOS 17.0: Use `onChange` with a two or zero parameter action closure instead.
  highlighter action extension/ActionViewController.swift:153
      'onChange(of:perform:)' was deprecated in iOS 17.0: Use `onChange` with a two or zero parameter action closure instead.
  damus/Features/Zaps/Models/Zaps.swift:98
      No 'async' operations occur within 'await' expression
  nostrdb/mdb.c:3821
      Implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int'
  nostrdb/src/cursor.h:717
      Implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int'
  damus/Features/Search/Views/SearchResultsView.swift:145
      Variable 'note_keys' was never mutated; consider changing to 'let' constant
  damus/Notify/PresentFullScreenItemNotify.swift:40
      No 'async' operations occur within 'await' expression
  nostrdb/src/print_util.h:48
      Unused function 'print_hex_stream'
  nostrdb/mdb.c:2254
      Variable 'last' may be uninitialized when used here
  nostrdb/src/nostrdb.c:2938
      Implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int'
  damus/Shared/Media/Models/ImageCarousel.swift:415
      'onChange(of:perform:)' was deprecated in iOS 17.0: Use `onChange` with a two or zero parameter action closure instead.
  damus/Features/Settings/Views/ReactionsSettingsView.swift:38
      'onChange(of:perform:)' was deprecated in iOS 17.0: Use `onChange` with a two or zero parameter action closure instead.
  damus/Features/Chat/ReplyQuoteView.swift:21
      No 'async' operations occur within 'await' expression
  damus/Features/Posting/Models/DraftsModel.swift:261
      Capture of 'draft_events' with non-Sendable type '[NdbNote]' in a '@Sendable' closure
  damus/Features/Timeline/Models/HomeModel.swift:616
      Initialization of immutable value 'finishTime' was never used; consider replacing with assignment to '_' or removing it
  nostrdb/src/content_parser.c:608
      Implicit conversion loses integer precision: 'long' to 'uint32_t' (aka 'unsigned int')
  nostrdb/src/content_parser.c:456
      Implicit conversion loses integer precision: 'long' to 'uint32_t' (aka 'unsigned int')
  nostrdb/Ndb.swift:675
      Mutation of captured var 'streaming' in concurrently-executing code; this is an error in the Swift 6 language mode
  nostrdb/src/nostrdb.c:452
      Variable 'nid_b' may be uninitialized when used here
  nostrdb/Ndb.swift:700
      Reference to captured var 'terminationStarted' in concurrently-executing code; this is an error in the Swift 6 language mode
  nostrdb/src/nostrdb.c:6748
      Implicit conversion loses integer precision: 'long' to 'uint32_t' (aka 'unsigned int')
  damus/Features/Onboarding/Views/LoginView.swift:225
      Call to main actor-isolated initializer 'init()' in a synchronous nonisolated context
  damus/Features/Timeline/Models/HomeModel.swift:608
      Initialization of immutable value 'currentTime' was never used; consider replacing with assignment to '_' or removing it
  damus/Features/Chat/Models/ThreadModel.swift:186
      Result of call to 'add_event(_:target:)' is unused
  nostrdb/mdb.c:4733
      '@param' command used in a comment that is not attached to a function declaration
  nostrdb/mdb.c:6867
      Implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'unsigned int'
  damus/Features/Events/Models/NoteContent.swift:108
      No calls to throwing functions occur within 'try' expression
  nostrdb/mdb.c:4905
      Format specifies type 'int' but the argument has type 'unsigned long'
  damus/Core/Networking/NostrNetworkManager/SubscriptionManager.swift:361
      Initialization of immutable value 'filter' was never used; consider replacing with assignment to '_' or removing it
  damus/Features/Search/Models/SearchModel.swift:46
      Capture of 'self' with non-Sendable type 'SearchModel' in a '@Sendable' closure
  damus/ContentView.swift:711
      No 'async' operations occur within 'await' expression
  damus/Features/Settings/Views/KeySettingsView.swift:29
      'onChange(of:perform:)' was deprecated in iOS 17.0: Use `onChange` with a two or zero parameter action closure instead.
  flatbuffers/ByteBuffer.swift:237
      Forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
  damus/Features/DMs/Views/DirectMessagesView.swift:118
      'onChange(of:perform:)' was deprecated in iOS 17.0: Use `onChange` with a two or zero parameter action closure instead.
  damus/Features/Events/NoteContentView.swift:28
      'withUnsafeBytes' is deprecated: use `withUnsafeBytes(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
  damus/Features/Actions/ActionBar/Views/EventActionBar.swift:44
      Main actor-isolated property 'event' can not be referenced from a nonisolated context
  damus/Core/Networking/NostrNetworkManager/SubscriptionManager.swift:493
      Immutable value 'value' was never used; consider replacing with '_' or removing it
  nostrdb/src/nostrdb.c:6977
      Implicit conversion loses integer precision: 'long' to 'int'