s0nerik / fast_contacts

A faster way of accessing device's contacts list in Flutter
MIT License
15 stars 16 forks source link

build errors when i update to latest 3.1.2 from 3.0.3 #18

Closed crazedVic closed 10 months ago

crazedVic commented 10 months ago

my packages, running latest flutter:

  cupertino_icons: ^1.0.6
  fast_contacts: 3.0.3
  permission_handler: ^11.1.0
  provider: ^6.1.1
  http: ^1.1.2
  json_annotation: ^4.8.1
  json_serializable: ^6.7.1
  build_runner: ^2.4.7
  get: ^4.6.6
  google_sign_in: ^6.2.1
  sign_in_with_apple: ^5.0.0
  dio: ^5.4.0
  intl: ^0.19.0
  interval_time_picker: ^2.0.0+5
  url_launcher: ^6.2.2
  path_provider: ^2.1.1
  phone_number: ^2.0.1
  country_dial_code: ^1.2.0
  the_country_number: ^0.9.2+7

runs fine.

if I update to 3.1.2:

/opt/homebrew/Caskroom/flutter/3.16.4/flutter/bin/flutter --no-color pub get
Resolving dependencies...
  _fe_analyzer_shared 64.0.0 (65.0.0 available)
  analyzer 6.2.0 (6.3.0 available)
> fast_contacts 3.1.2 (was 3.0.3)
  matcher 0.12.16 (0.12.16+1 available)
  material_color_utilities 0.5.0 (0.8.0 available)
  meta 1.10.0 (1.11.0 available)
  path 1.8.3 (1.9.0 available)
  test_api 0.6.1 (0.7.0 available)
  web 0.3.0 (0.4.0 available)
Changed 1 dependency!

and Run, this happens:

Launching lib/contact_mgr/main.dart on sdk gphone64 arm64 in debug mode...
Running Gradle task 'assembleDebug'...
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.0.3/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (21, 12): Redeclaration: ContactField
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.0.3/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (79, 20): Redeclaration: ContactPart
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.0.3/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (142, 7): Redeclaration: FastContactsPlugin
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.0.3/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (276, 36): Overload resolution ambiguity: 
public fun Cursor.getLong(col: String): Long? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
public fun Cursor.getLong(col: String): Long? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.0.3/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (280, 42): Overload resolution ambiguity: 
public fun Cursor.getString(col: String): String? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
public fun Cursor.getString(col: String): String? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.0.3/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (281, 41): Overload resolution ambiguity: 
public fun Cursor.getString(col: String): String? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
public fun Cursor.getString(col: String): String? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.0.3/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (282, 40): Overload resolution ambiguity: 
public fun Cursor.getString(col: String): String? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
public fun Cursor.getString(col: String): String? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.0.3/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (283, 41): Overload resolution ambiguity: 
public fun Cursor.getString(col: String): String? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
public fun Cursor.getString(col: String): String? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.0.3/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (284, 41): Overload resolution ambiguity: 
public fun Cursor.getString(col: String): String? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
public fun Cursor.getString(col: String): String? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.0.3/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (285, 41): Overload resolution ambiguity: 
public fun Cursor.getString(col: String): String? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
public fun Cursor.getString(col: String): String? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.0.3/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (295, 36): Overload resolution ambiguity: 
public fun Cursor.getLong(col: String): Long? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
public fun Cursor.getLong(col: String): Long? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.0.3/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (297, 33): Overload resolution ambiguity: 
public fun Cursor.getString(col: String): String? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
public fun Cursor.getString(col: String): String? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.0.3/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (298, 32): Overload resolution ambiguity: 
public fun Cursor.getString(col: String): String? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
public fun Cursor.getString(col: String): String? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.0.3/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (299, 31): Overload resolution ambiguity: 
public fun Cursor.getInt(col: String): Int? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
public fun Cursor.getInt(col: String): Int? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.0.3/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (345, 36): Overload resolution ambiguity: 
public fun Cursor.getLong(col: String): Long? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
public fun Cursor.getLong(col: String): Long? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.0.3/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (347, 34): Overload resolution ambiguity: 
public fun Cursor.getString(col: String): String? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
public fun Cursor.getString(col: String): String? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.0.3/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (348, 32): Overload resolution ambiguity: 
public fun Cursor.getString(col: String): String? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
public fun Cursor.getString(col: String): String? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.0.3/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (349, 31): Overload resolution ambiguity: 
public fun Cursor.getInt(col: String): Int? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
public fun Cursor.getInt(col: String): Int? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.0.3/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (378, 36): Overload resolution ambiguity: 
public fun Cursor.getLong(col: String): Long? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
public fun Cursor.getLong(col: String): Long? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.0.3/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (382, 38): Overload resolution ambiguity: 
public fun Cursor.getString(col: String): String? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
public fun Cursor.getString(col: String): String? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.0.3/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (383, 41): Overload resolution ambiguity: 
public fun Cursor.getString(col: String): String? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
public fun Cursor.getString(col: String): String? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.0.3/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (384, 45): Overload resolution ambiguity: 
public fun Cursor.getString(col: String): String? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
public fun Cursor.getString(col: String): String? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.0.3/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (457, 1): Conflicting overloads: public fun Cursor.getString(col: String): String? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt, public fun Cursor.getString(col: String): String? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.0.3/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (465, 1): Conflicting overloads: public fun Cursor.getInt(col: String): Int? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt, public fun Cursor.getInt(col: String): Int? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.0.3/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (473, 1): Conflicting overloads: public fun Cursor.getLong(col: String): Long? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt, public fun Cursor.getLong(col: String): Long? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (21, 12): Redeclaration: ContactField
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (79, 20): Redeclaration: ContactPart
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (119, 56): Cannot access 'ContactPart': it is private in file
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (142, 7): Redeclaration: FastContactsPlugin
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (149, 9): Cannot access 'ContactPart': it is private in file
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (149, 21): Cannot access 'ContactPart': it is private in file
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (153, 9): Cannot access 'ContactPart': it is private in file
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (153, 21): Cannot access 'ContactPart': it is private in file
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (178, 36): Cannot access 'ContactPart': it is private in file
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (178, 48): Cannot access 'ContactPart': it is private in file
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (182, 57): Cannot access 'ContactPart': it is private in file
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (252, 36): Cannot access 'ContactPart': it is private in file
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (252, 48): Cannot access 'ContactPart': it is private in file
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (254, 57): Cannot access 'ContactPart': it is private in file
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (303, 15): Cannot access 'ContactPart': it is private in file
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (308, 13): Cannot access 'ContactPart': it is private in file
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (308, 25): Cannot access 'ContactPart': it is private in file
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (309, 13): Cannot access 'ContactPart': it is private in file
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (309, 25): Cannot access 'ContactPart': it is private in file
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (310, 13): Cannot access 'ContactPart': it is private in file
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (310, 25): Cannot access 'ContactPart': it is private in file
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (311, 13): Cannot access 'ContactPart': it is private in file
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (311, 25): Cannot access 'ContactPart': it is private in file
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (320, 24): Cannot access 'ContactPart': it is private in file
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (320, 36): Cannot access 'ContactPart': it is private in file
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (321, 29): Overload resolution ambiguity: 
public fun Cursor.getLong(col: String): Long? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
public fun Cursor.getLong(col: String): Long? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (325, 42): Overload resolution ambiguity: 
public fun Cursor.getString(col: String): String? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
public fun Cursor.getString(col: String): String? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (326, 41): Overload resolution ambiguity: 
public fun Cursor.getString(col: String): String? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
public fun Cursor.getString(col: String): String? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (327, 40): Overload resolution ambiguity: 
public fun Cursor.getString(col: String): String? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
public fun Cursor.getString(col: String): String? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (328, 41): Overload resolution ambiguity: 
public fun Cursor.getString(col: String): String? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
public fun Cursor.getString(col: String): String? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (329, 41): Overload resolution ambiguity: 
public fun Cursor.getString(col: String): String? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
public fun Cursor.getString(col: String): String? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (330, 41): Overload resolution ambiguity: 
public fun Cursor.getString(col: String): String? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
public fun Cursor.getString(col: String): String? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (342, 24): Cannot access 'ContactPart': it is private in file
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (342, 36): Cannot access 'ContactPart': it is private in file
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (343, 29): Overload resolution ambiguity: 
public fun Cursor.getLong(col: String): Long? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
public fun Cursor.getLong(col: String): Long? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (345, 33): Overload resolution ambiguity: 
public fun Cursor.getString(col: String): String? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
public fun Cursor.getString(col: String): String? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (346, 32): Overload resolution ambiguity: 
public fun Cursor.getString(col: String): String? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
public fun Cursor.getString(col: String): String? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (347, 31): Overload resolution ambiguity: 
public fun Cursor.getInt(col: String): Int? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
public fun Cursor.getInt(col: String): Int? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (395, 24): Cannot access 'ContactPart': it is private in file
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (395, 36): Cannot access 'ContactPart': it is private in file
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (396, 29): Overload resolution ambiguity: 
public fun Cursor.getLong(col: String): Long? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
public fun Cursor.getLong(col: String): Long? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (398, 34): Overload resolution ambiguity: 
public fun Cursor.getString(col: String): String? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
public fun Cursor.getString(col: String): String? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (399, 32): Overload resolution ambiguity: 
public fun Cursor.getString(col: String): String? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
public fun Cursor.getString(col: String): String? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (400, 31): Overload resolution ambiguity: 
public fun Cursor.getInt(col: String): Int? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
public fun Cursor.getInt(col: String): Int? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (431, 24): Cannot access 'ContactPart': it is private in file
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (431, 36): Cannot access 'ContactPart': it is private in file
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (432, 29): Overload resolution ambiguity: 
public fun Cursor.getLong(col: String): Long? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
public fun Cursor.getLong(col: String): Long? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (436, 38): Overload resolution ambiguity: 
public fun Cursor.getString(col: String): String? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
public fun Cursor.getString(col: String): String? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (437, 41): Overload resolution ambiguity: 
public fun Cursor.getString(col: String): String? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
public fun Cursor.getString(col: String): String? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (438, 45): Overload resolution ambiguity: 
public fun Cursor.getString(col: String): String? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
public fun Cursor.getString(col: String): String? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (446, 22): Cannot access 'ContactPart': it is private in file
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (452, 39): Cannot access 'ContactPart': it is private in file
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (457, 25): Cannot access 'ContactPart': it is private in file
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (460, 32): Cannot access 'ContactPart': it is private in file
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (460, 71): Cannot access 'ContactPart': it is private in file
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (461, 30): Cannot access 'ContactPart': it is private in file
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (462, 56): Cannot access 'ContactPart': it is private in file
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (462, 87): Cannot access 'ContactPart': it is private in file
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (463, 25): Cannot access 'ContactPart': it is private in file
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (514, 1): Conflicting overloads: public fun Cursor.getString(col: String): String? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt, public fun Cursor.getString(col: String): String? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (522, 1): Conflicting overloads: public fun Cursor.getInt(col: String): Int? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt, public fun Cursor.getInt(col: String): Int? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt
e: /Users/victorrubba/.pub-cache/hosted/pub.dev/fast_contacts-3.1.2/android/src/main/kotlin/com/github/s0nerik/fast_contacts/FastContactsPlugin.kt: (530, 1): Conflicting overloads: public fun Cursor.getLong(col: String): Long? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt, public fun Cursor.getLong(col: String): Long? defined in com.github.s0nerik.fast_contacts in file FastContactsPlugin.kt

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':fast_contacts:compileDebugKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
   > Compilation error. See log for more details

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 9s
Exception: Gradle task assembleDebug failed with exit code 1
s0nerik commented 10 months ago

Have you tried running 'flutter clean' after the upgrade?

crazedVic commented 10 months ago

You are right, but for anyone else that might run into this...

ok here we go, running 3.0.3:

Launching lib/contact_mgr/main.dart on sdk gphone64 arm64 in debug mode...
Running Gradle task 'assembleDebug'...
✓  Built build/app/outputs/flutter-apk/app-debug.apk.
Installing build/app/outputs/flutter-apk/app-debug.apk...
Debug service listening on ws://127.0.0.1:61593/jmldCIZCe-I=/ws
Syncing files to device sdk gphone64 arm64...

now upgrading to 3.1.2:

/opt/homebrew/Caskroom/flutter/3.16.4/flutter/bin/flutter --no-color pub get
Resolving dependencies...
  _fe_analyzer_shared 64.0.0 (65.0.0 available)
  analyzer 6.2.0 (6.3.0 available)
> fast_contacts 3.1.2 (was 3.0.3)
  matcher 0.12.16 (0.12.16+1 available)
  material_color_utilities 0.5.0 (0.8.0 available)
  meta 1.10.0 (1.11.0 available)
  path 1.8.3 (1.9.0 available)
  test_api 0.6.1 (0.7.0 available)
  web 0.3.0 (0.4.0 available)
Changed 1 dependency!
8 packages have newer versions incompatible with dependency constraints.
Try `flutter pub outdated` for more information.
Process finished with exit code 0

running app again:

same errors as above

running flutter clean:

flutter clean
Cleaning Xcode workspace...                                      2,163ms
Cleaning Xcode workspace...                                      1,865ms
Deleting build...                                                  304ms
Deleting .dart_tool...                                              48ms
Deleting Generated.xcconfig...                                       0ms
Deleting flutter_export_environment.sh...                            0ms
Deleting Flutter.podspec...                                          0ms
Deleting ephemeral...                                                0ms
Deleting ephemeral...                                                0ms
Deleting ephemeral...                                                0ms
Deleting .flutter-plugins-dependencies...                            0ms
Deleting .flutter-plugins...                                         0ms

running project:

unning Gradle task 'assembleDebug'...
✓  Built build/app/outputs/flutter-apk/app-debug.apk.
Installing build/app/outputs/flutter-apk/app-debug.apk...
Debug service listening on ws://127.0.0.1:61925/NknqbBBoFh0=/ws
Syncing files to device sdk gphone64 arm64...

SUCCESS!