Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce minimum IOS version to 15 #2221

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Reduce minimum IOS version to 15

054178c
Select commit
Loading
Failed to load commit list.
Draft

Reduce minimum IOS version to 15 #2221

Reduce minimum IOS version to 15
054178c
Select commit
Loading
Failed to load commit list.
Xcode Cloud / damus | Default | Test - iOS succeeded May 6, 2024 in 12m 25s

67 warnings

Report Summary
Errors 0
Test Failures 0
Analysis Issues 0
Warnings 67

Details

67 Warnings

Details

  nostrdb/mdb.c:5773
      Implicit conversion loses integer precision: 'pgno_t' (aka 'unsigned long') to 'unsigned int'
  nostrdb/mdb.c:6858
      Implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'unsigned int'
  nostrdb/mdb.c:5271
      Implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'unsigned int'
  nostrdb/midl.c:44
      Implicit conversion loses integer precision: 'MDB_ID' (aka 'unsigned long') to 'unsigned int'
  nostrdb/mdb.c:3940
      Implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int'
  nostrdb/mdb.c:2287
      Implicit conversion loses integer precision: 'pgno_t' (aka 'unsigned long') to 'unsigned int'
  nostrdb/mdb.c:2923
      Implicit conversion loses integer precision: 'pgno_t' (aka 'unsigned long') to 'int'
  nostrdb/mdb.c:1860
      Implicit conversion loses integer precision: 'MDB_ID' (aka 'unsigned long') to 'unsigned int'
  flatbuffers/ByteBuffer.swift:237
      Forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
  nostrdb/Ndb.swift:375
      Backward matching of the unlabeled trailing closure is deprecated; label the argument with 'with' to suppress this warning
  damus-c/list.h:129
      'LIST_HEAD' macro redefined
  nostrdb/Ndb.swift:381
      Backward matching of the unlabeled trailing closure is deprecated; label the argument with 'with' to suppress this warning
  nostrdb/mdb.c:7070
      Implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int'
  nostrdb/midl.c:177
      Implicit conversion loses integer precision: 'MDB_ID' (aka 'unsigned long') to 'int'
  nostrdb/mdb.c:5761
      Implicit conversion loses integer precision: 'MDB_ID' (aka 'unsigned long') to 'unsigned int'
  nostrdb/mdb.c:7357
      Implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int'
  nostrdb/mdb.c:6599
      Implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'unsigned int'
  nostrdb/mdb.c:4733
      '@param' command used in a comment that is not attached to a function declaration
  nostrdb/mdb.c:5305
      Implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int'
  nostrdb/mdb.c:3903
      Implicit conversion loses integer precision: 'unsigned long long' to 'int'
  nostrdb/mdb.c:3728
      Implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int'
  nostrdb/mdb.c:3543
      Implicit conversion loses integer precision: 'MDB_ID' (aka 'unsigned long') to 'unsigned int'
  nostrdb/mdb.c:2057
      Implicit conversion loses integer precision: 'MDB_ID' (aka 'unsigned long') to 'unsigned int'
  damus/ContentView.swift:503
      Value 'damus_state' was defined but never used; consider replacing with boolean test
  nostrdb/mdb.c:7825
      Implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int'
  nostrdb/mdb.c:2193
      Implicit conversion loses integer precision: 'pgno_t' (aka 'unsigned long') to 'unsigned int'
  nostrdb/mdb.c:3539
      Implicit conversion loses integer precision: 'MDB_ID' (aka 'unsigned long') to 'unsigned int'
  damus/Views/Search/PullDownSearch.swift:22
      Variable 'note_keys' was never mutated; consider changing to 'let' constant
  nostrdb/mdb.c:6814
      Implicit conversion loses integer precision: 'unsigned long' to 'unsigned int'
  damus/Models/ZapsModel.swift:34
      Converting function value of type '@MainActor (String, NostrConnectionEvent) -> ()' to '(String, NostrConnectionEvent) -> ()' loses global actor 'MainActor'; this is an error in Swift 6
  nostrdb/mdb.c:3992
      Implicit conversion loses integer precision: 'long' to 'unsigned int'
  nostrdb/mdb.c:2922
      Implicit conversion loses integer precision: 'unsigned long' to 'int'
  nostrdb/mdb.c:5753
      Implicit conversion loses integer precision: 'MDB_ID' (aka 'unsigned long') to 'unsigned int'
  nostrdb/mdb.c:4732
      '@param' command used in a comment that is not attached to a function declaration
  damusTests/damusTests.swift:24
      Initialization of immutable value 'ev' was never used; consider replacing with assignment to '_' or removing it
  damus/ContentView.swift:517
      Immutable value 'naddr' was never used; consider replacing with '_' or removing it
  damus/Models/ThreadModel.swift:84
      Converting function value of type '@MainActor (String, NostrConnectionEvent) -> ()' to '(String, NostrConnectionEvent) -> ()' loses global actor 'MainActor'; this is an error in Swift 6
  nostrdb/mdb.c:6894
      Implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int'
  file:///Volumes/workspace/DerivedData/Build/Intermediates.noindex/damus.build/Debug-iphonesimulator/damus.build/DerivedSources/GeneratedAssetSymbols.swift:6642
      The "checkmark" image asset name resolves to a conflicting UIImage symbol "checkmark". Try renaming the asset.
  flatbuffers/ByteBuffer.swift:250
      Forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
  damus/Views/SearchResultsView.swift:212
      Initialization of immutable value 'new' was never used; consider replacing with assignment to '_' or removing it
  nostrdb/mdb.c:4212
      Implicit conversion loses integer precision: 'unsigned long' to 'int'
  nostrdb/mdb.c:5774
      Implicit conversion loses integer precision: 'pgno_t' (aka 'unsigned long') to 'unsigned int'
  nostrdb/mdb.c:8770
      Implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int'
  damus/ContentView.swift:960
      Variable 'nostrKinds' was never mutated; consider changing to 'let' constant
  nostrdb/mdb.c:4824
      Implicit conversion loses integer precision: 'unsigned long long' to 'unsigned int'
  nostrdb/mdb.c:3597
      Implicit conversion loses integer precision: 'MDB_ID' (aka 'unsigned long') to 'unsigned int'
  nostrdb/mdb.c:8772
      Implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int'
  nostrdb/mdb.c:2082
      Implicit conversion loses integer precision: 'MDB_ID' (aka 'unsigned long') to 'unsigned int'
  nostrdb/mdb.c:3582
      Implicit conversion loses integer precision: 'MDB_ID' (aka 'unsigned long') to 'unsigned int'
  nostrdb/mdb.c:5279
      Implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int'
  nostrdb/mdb.c:7979
      Implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int'
  nostrdb/mdb.c:2607
      '@return' command used in a comment that is attached to a function returning void
  damus/Views/Onboarding/SuggestedUserView.swift:60
      Initialization of immutable value 'profile' was never used; consider replacing with assignment to '_' or removing it
  damus/Models/ThreadModel.swift:85
      Converting function value of type '@MainActor (String, NostrConnectionEvent) -> ()' to '(String, NostrConnectionEvent) -> ()' loses global actor 'MainActor'; this is an error in Swift 6
  nostrdb/mdb.c:3329
      Implicit conversion loses integer precision: 'MDB_ID' (aka 'unsigned long') to 'int'
  nostrdb/mdb.c:5274
      Implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'unsigned int'
  nostrdb/mdb.c:3920
      Implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int'
  nostrdb/flatcc/builder.c:1143
      Code will never be executed
  nostrdb/mdb.c:2307
      Implicit conversion loses integer precision: 'pgno_t' (aka 'unsigned long') to 'unsigned int'
  nostrdb/mdb.c:3821
      Implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int'
  damus/Models/ThreadModel.swift:93
      Initialization of immutable value 'the_ev' was never used; consider replacing with assignment to '_' or removing it
  nostrdb/mdb.c:9142
      Implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int'
  nostrdb/mdb.c:2251
      Code will never be executed
  nostrdb/mdb.c:2254
      Variable 'last' may be uninitialized when used here
  nostrdb/mdb.c:3579
      Implicit conversion loses integer precision: 'MDB_ID' (aka 'unsigned long') to 'unsigned int'
  DamusNotificationService/NotificationExtensionState.swift:21
      No calls to throwing functions occur within 'try' expression