Showing Recent Issues Build target cargo_ios of project mobile with configuration Debug ExternalBuildToolExecution cargo_ios (in target 'cargo_ios' from project 'mobile') cd /Users/user/Documents/Coding/bevy_ios_test/mobile/. export ACTION\= export AD_HOC_CODE_SIGNING_ALLOWED\=YES export ALLOW_TARGET_PLATFORM_SPECIALIZATION\=NO export ALTERNATE_GROUP\=staff export ALTERNATE_MODE\=u+w,go-w,a+rX export ALTERNATE_OWNER\=user export ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES\=NO export ALWAYS_SEARCH_USER_PATHS\=NO export APPLE_INTERNAL_DEVELOPER_DIR\=/AppleInternal/Developer export APPLE_INTERNAL_DIR\=/AppleInternal export APPLE_INTERNAL_DOCUMENTATION_DIR\=/AppleInternal/Documentation export APPLE_INTERNAL_LIBRARY_DIR\=/AppleInternal/Library export APPLE_INTERNAL_TOOLS\=/AppleInternal/Developer/Tools export APPLICATION_EXTENSION_API_ONLY\=NO export APPLY_RULES_IN_COPY_FILES\=NO export APPLY_RULES_IN_COPY_HEADERS\=NO export APP_SHORTCUTS_ENABLE_FLEXIBLE_MATCHING\=YES export ARCHS\=x86_64 export ARCHS_STANDARD\=arm64\ x86_64 export ARCHS_STANDARD_32_64_BIT\=arm64\ i386\ x86_64 export ARCHS_STANDARD_32_BIT\=i386 export ARCHS_STANDARD_64_BIT\=arm64\ x86_64 export ARCHS_STANDARD_INCLUDING_64_BIT\=arm64\ x86_64 export ARCHS_UNIVERSAL_IPHONE_OS\=arm64\ i386\ x86_64 export ASSETCATALOG_COMPILER_GENERATE_ASSET_SYMBOLS\=YES export ASSETCATALOG_FILTER_FOR_DEVICE_MODEL\=iPhone16,1 export ASSETCATALOG_FILTER_FOR_DEVICE_OS_VERSION\=17.0 export ASSETCATALOG_FILTER_FOR_THINNING_DEVICE_CONFIGURATION\=iPhone16,1 export AUTOMATICALLY_MERGE_DEPENDENCIES\=NO export AVAILABLE_PLATFORMS\=appletvos\ appletvsimulator\ driverkit\ iphoneos\ iphonesimulator\ macosx\ watchos\ watchsimulator export BITCODE_GENERATION_MODE\=marker export BUILD_ACTIVE_RESOURCES_ONLY\=YES export BUILD_COMPONENTS\=headers\ build export BUILD_DIR\=/Users/user/Library/Developer/Xcode/DerivedData/mobile-cprfomityxrcaohfoqksiqmdexie/Build/Products export BUILD_LIBRARY_FOR_DISTRIBUTION\=NO export BUILD_ROOT\=/Users/user/Library/Developer/Xcode/DerivedData/mobile-cprfomityxrcaohfoqksiqmdexie/Build/Products export BUILD_STYLE\= export BUILD_VARIANTS\=normal export BUILT_PRODUCTS_DIR\=/Users/user/Library/Developer/Xcode/DerivedData/mobile-cprfomityxrcaohfoqksiqmdexie/Build/Products/Debug-iphonesimulator export BUNDLE_CONTENTS_FOLDER_PATH_deep\=Contents/ export BUNDLE_EXECUTABLE_FOLDER_NAME_deep\=MacOS export BUNDLE_EXTENSIONS_FOLDER_PATH\=Extensions export BUNDLE_FORMAT\=shallow export BUNDLE_FRAMEWORKS_FOLDER_PATH\=Frameworks export BUNDLE_PLUGINS_FOLDER_PATH\=PlugIns export BUNDLE_PRIVATE_HEADERS_FOLDER_PATH\=PrivateHeaders export BUNDLE_PUBLIC_HEADERS_FOLDER_PATH\=Headers export CACHE_ROOT\=/var/folders/vc/1qnd6zwx4879vv5v74jmqqjr0000gn/C/com.apple.DeveloperTools/15.0-15A240d/Xcode export CLANG_ANALYZER_NONNULL\=YES export CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION\=YES_AGGRESSIVE export CLANG_COMPILE_CACHE_PATH\=/Users/user/Library/Developer/Xcode/DerivedData/CompilationCache.noindex export CLANG_CXX_LANGUAGE_STANDARD\=gnu++14 export CLANG_CXX_LIBRARY\=libc++ export CLANG_ENABLE_EXPLICIT_MODULES\=NO export CLANG_ENABLE_MODULES\=YES export CLANG_ENABLE_OBJC_ARC\=YES export CLANG_MODULES_BUILD_SESSION_FILE\=/Users/user/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation export CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING\=YES export CLANG_WARN_BOOL_CONVERSION\=YES export CLANG_WARN_COMMA\=YES export CLANG_WARN_CONSTANT_CONVERSION\=YES export CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS\=YES export CLANG_WARN_DIRECT_OBJC_ISA_USAGE\=YES_ERROR export CLANG_WARN_DOCUMENTATION_COMMENTS\=YES export CLANG_WARN_EMPTY_BODY\=YES export CLANG_WARN_ENUM_CONVERSION\=YES export CLANG_WARN_INFINITE_RECURSION\=YES export CLANG_WARN_INT_CONVERSION\=YES export CLANG_WARN_NON_LITERAL_NULL_CONVERSION\=YES export CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF\=YES export CLANG_WARN_OBJC_LITERAL_CONVERSION\=YES export CLANG_WARN_OBJC_ROOT_CLASS\=YES_ERROR export CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER\=YES export CLANG_WARN_RANGE_LOOP_ANALYSIS\=YES export CLANG_WARN_STRICT_PROTOTYPES\=YES export CLANG_WARN_SUSPICIOUS_MOVE\=YES export CLANG_WARN_UNGUARDED_AVAILABILITY\=YES_AGGRESSIVE export CLANG_WARN_UNREACHABLE_CODE\=YES export CLANG_WARN__DUPLICATE_METHOD_MATCH\=YES export CLASS_FILE_DIR\=/Users/user/Library/Developer/Xcode/DerivedData/mobile-cprfomityxrcaohfoqksiqmdexie/Build/Intermediates.noindex/mobile.build/Debug-iphonesimulator/cargo_ios.build/JavaClasses export CLONE_HEADERS\=NO export CODE_SIGNING_ALLOWED\=NO export CODE_SIGN_CONTEXT_CLASS\=XCiPhoneSimulatorCodeSignContext export CODE_SIGN_INJECT_BASE_ENTITLEMENTS\=YES export COLOR_DIAGNOSTICS\=NO export COMPILER_INDEX_STORE_ENABLE\=Default export COMPRESS_PNG_FILES\=YES export CONFIGURATION\=Debug export CONFIGURATION_BUILD_DIR\=/Users/user/Library/Developer/Xcode/DerivedData/mobile-cprfomityxrcaohfoqksiqmdexie/Build/Products/Debug-iphonesimulator export CONFIGURATION_TEMP_DIR\=/Users/user/Library/Developer/Xcode/DerivedData/mobile-cprfomityxrcaohfoqksiqmdexie/Build/Intermediates.noindex/mobile.build/Debug-iphonesimulator export COPYING_PRESERVES_HFS_DATA\=NO export COPY_HEADERS_RUN_UNIFDEF\=NO export COPY_PHASE_STRIP\=NO export CORRESPONDING_DEVICE_PLATFORM_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform export CORRESPONDING_DEVICE_PLATFORM_NAME\=iphoneos export CORRESPONDING_DEVICE_SDK_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.0.sdk export CORRESPONDING_DEVICE_SDK_NAME\=iphoneos17.0 export CREATE_INFOPLIST_SECTION_IN_BINARY\=NO export DEAD_CODE_STRIPPING\=YES export DEBUGGING_SYMBOLS\=YES export DEBUG_INFORMATION_FORMAT\=dwarf export DEFAULT_COMPILER\=com.apple.compilers.llvm.clang.1_0 export DEFAULT_DEXT_INSTALL_PATH\=/System/Library/DriverExtensions export DEFAULT_KEXT_INSTALL_PATH\=/System/Library/Extensions export DEFINES_MODULE\=NO export DEPLOYMENT_LOCATION\=NO export DEPLOYMENT_POSTPROCESSING\=NO export DEPLOYMENT_TARGET_SETTING_NAME\=IPHONEOS_DEPLOYMENT_TARGET export DERIVED_FILES_DIR\= export DERIVED_FILE_DIR\=/Users/user/Library/Developer/Xcode/DerivedData/mobile-cprfomityxrcaohfoqksiqmdexie/Build/Intermediates.noindex/mobile.build/Debug-iphonesimulator/cargo_ios.build/DerivedSources export DERIVED_SOURCES_DIR\=/Users/user/Library/Developer/Xcode/DerivedData/mobile-cprfomityxrcaohfoqksiqmdexie/Build/Intermediates.noindex/mobile.build/Debug-iphonesimulator/cargo_ios.build/DerivedSources export DEVELOPER_APPLICATIONS_DIR\=/Applications/Xcode.app/Contents/Developer/Applications export DEVELOPER_BIN_DIR\=/Applications/Xcode.app/Contents/Developer/usr/bin export DEVELOPER_DIR\=/Applications/Xcode.app/Contents/Developer export DEVELOPER_FRAMEWORKS_DIR\=/Applications/Xcode.app/Contents/Developer/Library/Frameworks export DEVELOPER_FRAMEWORKS_DIR_QUOTED\=/Applications/Xcode.app/Contents/Developer/Library/Frameworks export DEVELOPER_LIBRARY_DIR\=/Applications/Xcode.app/Contents/Developer/Library export DEVELOPER_SDK_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs export DEVELOPER_TOOLS_DIR\=/Applications/Xcode.app/Contents/Developer/Tools export DEVELOPER_USR_DIR\=/Applications/Xcode.app/Contents/Developer/usr export DEVELOPMENT_LANGUAGE\=en export DONT_GENERATE_INFOPLIST_FILE\=NO export DO_HEADER_SCANNING_IN_JAM\=NO export DSTROOT\=/tmp/mobile.dst export DT_TOOLCHAIN_DIR\=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain export DWARF_DSYM_FILE_NAME\=.dSYM export DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT\=NO export DWARF_DSYM_FOLDER_PATH\=/Users/user/Library/Developer/Xcode/DerivedData/mobile-cprfomityxrcaohfoqksiqmdexie/Build/Products/Debug-iphonesimulator export EAGER_LINKING\=NO export EFFECTIVE_PLATFORM_NAME\=-iphonesimulator export EMBEDDED_CONTENT_CONTAINS_SWIFT\=NO export EMBED_ASSET_PACKS_IN_PRODUCT_BUNDLE\=NO export ENABLE_APP_SANDBOX\=NO export ENABLE_BITCODE\=NO export ENABLE_CODE_COVERAGE\=YES export ENABLE_DEFAULT_HEADER_SEARCH_PATHS\=YES export ENABLE_DEFAULT_SEARCH_PATHS\=YES export ENABLE_HARDENED_RUNTIME\=NO export ENABLE_HEADER_DEPENDENCIES\=YES export ENABLE_ON_DEMAND_RESOURCES\=NO export ENABLE_PREVIEWS\=NO export ENABLE_STRICT_OBJC_MSGSEND\=YES export ENABLE_TESTABILITY\=YES export ENABLE_TESTING_SEARCH_PATHS\=NO export ENABLE_USER_SCRIPT_SANDBOXING\=NO export ENABLE_XOJIT_PREVIEWS\=NO export ENTITLEMENTS_DESTINATION\=__entitlements export EXCLUDED_INSTALLSRC_SUBDIRECTORY_PATTERNS\=.DS_Store\ .svn\ .git\ .hg\ CVS export EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES\=\*.nib\ \*.lproj\ \*.framework\ \*.gch\ \*.xcode\*\ \*.xcassets\ \(\*\)\ .DS_Store\ CVS\ .svn\ .git\ .hg\ \*.pbproj\ \*.pbxproj export FILE_LIST\=/Users/user/Library/Developer/Xcode/DerivedData/mobile-cprfomityxrcaohfoqksiqmdexie/Build/Intermediates.noindex/mobile.build/Debug-iphonesimulator/cargo_ios.build/Objects/LinkFileList export FRAMEWORK_VERSION\=A export FUSE_BUILD_PHASES\=YES export FUSE_BUILD_SCRIPT_PHASES\=NO export GCC3_VERSION\=3.3 export GCC_C_LANGUAGE_STANDARD\=gnu11 export GCC_DYNAMIC_NO_PIC\=NO export GCC_NO_COMMON_BLOCKS\=YES export GCC_OBJC_LEGACY_DISPATCH\=YES export GCC_OPTIMIZATION_LEVEL\=0 export GCC_PREPROCESSOR_DEFINITIONS\=\ DEBUG\=1 export GCC_VERSION\=com.apple.compilers.llvm.clang.1_0 export GCC_WARN_64_TO_32_BIT_CONVERSION\=YES export GCC_WARN_ABOUT_RETURN_TYPE\=YES_ERROR export GCC_WARN_UNDECLARED_SELECTOR\=YES export GCC_WARN_UNINITIALIZED_AUTOS\=YES_AGGRESSIVE export GCC_WARN_UNUSED_FUNCTION\=YES export GCC_WARN_UNUSED_VARIABLE\=YES export GENERATED_MODULEMAP_DIR\=/Users/user/Library/Developer/Xcode/DerivedData/mobile-cprfomityxrcaohfoqksiqmdexie/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator export GENERATE_INFOPLIST_FILE\=NO export GENERATE_INTERMEDIATE_TEXT_BASED_STUBS\=YES export GENERATE_MASTER_OBJECT_FILE\=NO export GENERATE_PKGINFO_FILE\=NO export GENERATE_PROFILING_CODE\=NO export GENERATE_TEXT_BASED_STUBS\=NO export GID\=20 export GROUP\=staff export HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT\=YES export HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES\=YES export HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS\=YES export HEADERMAP_INCLUDES_PROJECT_HEADERS\=YES export HEADERMAP_USES_FRAMEWORK_PREFIX_ENTRIES\=YES export HEADERMAP_USES_VFS\=NO export HIDE_BITCODE_SYMBOLS\=YES export HOME\=/Users/user export HOST_ARCH\=x86_64 export HOST_PLATFORM\=macosx export INFOPLIST_ENABLE_CFBUNDLEICONS_MERGE\=YES export INFOPLIST_EXPAND_BUILD_SETTINGS\=YES export INFOPLIST_OUTPUT_FORMAT\=binary export INFOPLIST_PREPROCESS\=NO export INLINE_PRIVATE_FRAMEWORKS\=NO export INSTALLHDRS_COPY_PHASE\=NO export INSTALLHDRS_SCRIPT_PHASE\=NO export INSTALL_DIR\=/tmp/mobile.dst export INSTALL_GROUP\=staff export INSTALL_MODE_FLAG\=u+w,go-w,a+rX export INSTALL_OWNER\=user export INSTALL_ROOT\=/tmp/mobile.dst export IPHONEOS_DEPLOYMENT_TARGET\=17.0 export JAVA_APP_STUB\=/System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub export JAVA_ARCHIVE_CLASSES\=YES export JAVA_ARCHIVE_TYPE\=JAR export JAVA_COMPILER\=/usr/bin/javac export JAVA_FRAMEWORK_RESOURCES_DIRS\=Resources export JAVA_JAR_FLAGS\=cv export JAVA_SOURCE_SUBDIR\=. export JAVA_USE_DEPENDENCIES\=YES export JAVA_ZIP_FLAGS\=-urg export KEEP_PRIVATE_EXTERNS\=NO export LD_DEPENDENCY_INFO_FILE\=//cargo_ios_dependency_info.dat export LD_EXPORT_SYMBOLS\=YES export LD_GENERATE_MAP_FILE\=NO export LD_MAP_FILE_PATH\=/Users/user/Library/Developer/Xcode/DerivedData/mobile-cprfomityxrcaohfoqksiqmdexie/Build/Intermediates.noindex/mobile.build/Debug-iphonesimulator/cargo_ios.build/cargo_ios-LinkMap--.txt export LD_NO_PIE\=NO export LD_QUOTE_LINKER_ARGUMENTS_FOR_COMPILER_DRIVER\=YES export LD_RUNPATH_SEARCH_PATHS\=\ @executable_path/Frameworks export LEGACY_DEVELOPER_DIR\=/Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer export LIBRARY_DEXT_INSTALL_PATH\=/Library/DriverExtensions export LIBRARY_FLAG_NOSPACE\=YES export LIBRARY_KEXT_INSTALL_PATH\=/Library/Extensions export LINKER_DISPLAYS_MANGLED_NAMES\=NO export LINK_FILE_LIST_normal_x86_64\=/Users/user/Library/Developer/Xcode/DerivedData/mobile-cprfomityxrcaohfoqksiqmdexie/Build/Intermediates.noindex/mobile.build/Debug-iphonesimulator/cargo_ios.build/Objects-normal/x86_64/cargo_ios.LinkFileList export LINK_WITH_STANDARD_LIBRARIES\=YES export LLVM_TARGET_TRIPLE_OS_VERSION\=ios17.0 export LLVM_TARGET_TRIPLE_SUFFIX\=-simulator export LLVM_TARGET_TRIPLE_VENDOR\=apple export LOCALIZATION_EXPORT_SUPPORTED\=YES export LOCALIZATION_PREFERS_STRING_CATALOGS\=NO export LOCALIZED_STRING_MACRO_NAMES\=NSLocalizedString\ CFCopyLocalizedString export LOCALIZED_STRING_SWIFTUI_SUPPORT\=YES export LOCAL_ADMIN_APPS_DIR\=/Applications/Utilities export LOCAL_APPS_DIR\=/Applications export LOCAL_DEVELOPER_DIR\=/Library/Developer export LOCAL_LIBRARY_DIR\=/Library export LOCROOT\=/Users/user/Documents/Coding/bevy_ios_test/mobile export LOCSYMROOT\=/Users/user/Documents/Coding/bevy_ios_test/mobile export MAC_OS_X_PRODUCT_BUILD_VERSION\=23A344 export MAC_OS_X_VERSION_ACTUAL\=140000 export MAC_OS_X_VERSION_MAJOR\=140000 export MAC_OS_X_VERSION_MINOR\=140000 export MAKE_MERGEABLE\=NO export MERGEABLE_LIBRARY\=NO export MERGED_BINARY_TYPE\=none export MERGE_LINKED_LIBRARIES\=NO export METAL_LIBRARY_FILE_BASE\=default export METAL_LIBRARY_OUTPUT_DIR\=/Users/user/Library/Developer/Xcode/DerivedData/mobile-cprfomityxrcaohfoqksiqmdexie/Build/Products/Debug-iphonesimulator/ export MODULE_CACHE_DIR\=/Users/user/Library/Developer/Xcode/DerivedData/ModuleCache.noindex export MTL_ENABLE_DEBUG_INFO\=YES export NATIVE_ARCH\=x86_64 export NATIVE_ARCH_32_BIT\=i386 export NATIVE_ARCH_64_BIT\=x86_64 export NATIVE_ARCH_ACTUAL\=x86_64 export OBJC_ABI_VERSION\=2 export OBJECT_FILE_DIR\=/Users/user/Library/Developer/Xcode/DerivedData/mobile-cprfomityxrcaohfoqksiqmdexie/Build/Intermediates.noindex/mobile.build/Debug-iphonesimulator/cargo_ios.build/Objects export OBJROOT\=/Users/user/Library/Developer/Xcode/DerivedData/mobile-cprfomityxrcaohfoqksiqmdexie/Build/Intermediates.noindex export ONLY_ACTIVE_ARCH\=YES export OS\=MACOS export PATH\=/Applications/Xcode.app/Contents/Developer/Library/Xcode/Plug-ins/XCBSpecifications.ideplugin/Contents/Resources:/Applications/Xcode.app/Contents/Developer/Library/Xcode/Plug-ins/XCBSpecifications.ideplugin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/appleinternal/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/libexec:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/appleinternal/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/local/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin export PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES\=/usr/include\ /usr/local/include\ /System/Library/Frameworks\ /System/Library/PrivateFrameworks\ /Applications/Xcode.app/Contents/Developer/Headers\ /Applications/Xcode.app/Contents/Developer/SDKs\ /Applications/Xcode.app/Contents/Developer/Platforms export PER_ARCH_OBJECT_FILE_DIR\=/ export PLATFORM_DEVELOPER_APPLICATIONS_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications export PLATFORM_DEVELOPER_BIN_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin export PLATFORM_DEVELOPER_LIBRARY_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library export PLATFORM_DEVELOPER_SDK_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs export PLATFORM_DEVELOPER_TOOLS_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Tools export PLATFORM_DEVELOPER_USR_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr export PLATFORM_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform export PLATFORM_DISPLAY_NAME\=iOS\ Simulator export PLATFORM_FAMILY_NAME\=iOS export PLATFORM_NAME\=iphonesimulator export PLATFORM_PREFERRED_ARCH\=x86_64 export PLATFORM_PRODUCT_BUILD_VERSION\=21A325 export PLIST_FILE_OUTPUT_FORMAT\=binary export PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR\=YES export PRECOMP_DESTINATION_DIR\=/Users/user/Library/Developer/Xcode/DerivedData/mobile-cprfomityxrcaohfoqksiqmdexie/Build/Intermediates.noindex/mobile.build/Debug-iphonesimulator/cargo_ios.build/PrefixHeaders export PRESERVE_DEAD_CODE_INITS_AND_TERMS\=NO export PRODUCT_BUNDLE_IDENTIFIER\=com.rust.cargo-ios export PRODUCT_MODULE_NAME\=cargo_ios export PRODUCT_NAME\=cargo_ios export PROFILING_CODE\=NO export PROJECT\=mobile export PROJECT_DERIVED_FILE_DIR\=/Users/user/Library/Developer/Xcode/DerivedData/mobile-cprfomityxrcaohfoqksiqmdexie/Build/Intermediates.noindex/mobile.build/DerivedSources export PROJECT_DIR\=/Users/user/Documents/Coding/bevy_ios_test/mobile export PROJECT_FILE_PATH\=/Users/user/Documents/Coding/bevy_ios_test/mobile/mobile.xcodeproj export PROJECT_NAME\=mobile export PROJECT_TEMP_DIR\=/Users/user/Library/Developer/Xcode/DerivedData/mobile-cprfomityxrcaohfoqksiqmdexie/Build/Intermediates.noindex/mobile.build export PROJECT_TEMP_ROOT\=/Users/user/Library/Developer/Xcode/DerivedData/mobile-cprfomityxrcaohfoqksiqmdexie/Build/Intermediates.noindex export REMOVE_CVS_FROM_RESOURCES\=YES export REMOVE_GIT_FROM_RESOURCES\=YES export REMOVE_HEADERS_FROM_EMBEDDED_BUNDLES\=YES export REMOVE_HG_FROM_RESOURCES\=YES export REMOVE_SVN_FROM_RESOURCES\=YES export SCAN_ALL_SOURCE_FILES_FOR_INCLUDES\=NO export SDKROOT\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.0.sdk export SDK_STAT_CACHE_ENABLE\=YES export SEPARATE_STRIP\=NO export SEPARATE_SYMBOL_EDIT\=NO export SHARED_DERIVED_FILE_DIR\=/Users/user/Library/Developer/Xcode/DerivedData/mobile-cprfomityxrcaohfoqksiqmdexie/Build/Products/Debug-iphonesimulator/DerivedSources export SHARED_PRECOMPS_DIR\=/Users/user/Library/Developer/Xcode/DerivedData/mobile-cprfomityxrcaohfoqksiqmdexie/Build/Intermediates.noindex/PrecompiledHeaders export SKIP_INSTALL\=YES export SOURCE_ROOT\=/Users/user/Documents/Coding/bevy_ios_test/mobile export SRCROOT\=/Users/user/Documents/Coding/bevy_ios_test/mobile export STRINGSDATA_DIR\=/ export STRINGSDATA_ROOT\=/Users/user/Library/Developer/Xcode/DerivedData/mobile-cprfomityxrcaohfoqksiqmdexie/Build/Intermediates.noindex/mobile.build/Debug-iphonesimulator/cargo_ios.build export STRINGS_FILE_INFOPLIST_RENAME\=YES export STRINGS_FILE_OUTPUT_ENCODING\=binary export STRIP_BITCODE_FROM_COPIED_FILES\=NO export STRIP_INSTALLED_PRODUCT\=NO export STRIP_STYLE\=all export STRIP_SWIFT_SYMBOLS\=YES export SUPPORTED_PLATFORMS\=iphoneos\ iphonesimulator export SUPPORTS_TEXT_BASED_API\=NO export SWIFT_ACTIVE_COMPILATION_CONDITIONS\=DEBUG export SWIFT_EMIT_LOC_STRINGS\=NO export SWIFT_OPTIMIZATION_LEVEL\=-Onone export SWIFT_PLATFORM_TARGET_PREFIX\=ios export SWIFT_RESPONSE_FILE_PATH_normal_x86_64\=/Users/user/Library/Developer/Xcode/DerivedData/mobile-cprfomityxrcaohfoqksiqmdexie/Build/Intermediates.noindex/mobile.build/Debug-iphonesimulator/cargo_ios.build/Objects-normal/x86_64/cargo_ios.SwiftFileList export SWIFT_VERSION\=5.0 export SYMROOT\=/Users/user/Library/Developer/Xcode/DerivedData/mobile-cprfomityxrcaohfoqksiqmdexie/Build/Products export SYSTEM_ADMIN_APPS_DIR\=/Applications/Utilities export SYSTEM_APPS_DIR\=/Applications export SYSTEM_CORE_SERVICES_DIR\=/System/Library/CoreServices export SYSTEM_DEMOS_DIR\=/Applications/Extras export SYSTEM_DEVELOPER_APPS_DIR\=/Applications/Xcode.app/Contents/Developer/Applications export SYSTEM_DEVELOPER_BIN_DIR\=/Applications/Xcode.app/Contents/Developer/usr/bin export SYSTEM_DEVELOPER_DEMOS_DIR\=/Applications/Xcode.app/Contents/Developer/Applications/Utilities/Built\ Examples export SYSTEM_DEVELOPER_DIR\=/Applications/Xcode.app/Contents/Developer export SYSTEM_DEVELOPER_DOC_DIR\=/Applications/Xcode.app/Contents/Developer/ADC\ Reference\ Library export SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR\=/Applications/Xcode.app/Contents/Developer/Applications/Graphics\ Tools export SYSTEM_DEVELOPER_JAVA_TOOLS_DIR\=/Applications/Xcode.app/Contents/Developer/Applications/Java\ Tools export SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR\=/Applications/Xcode.app/Contents/Developer/Applications/Performance\ Tools export SYSTEM_DEVELOPER_RELEASENOTES_DIR\=/Applications/Xcode.app/Contents/Developer/ADC\ Reference\ Library/releasenotes export SYSTEM_DEVELOPER_TOOLS\=/Applications/Xcode.app/Contents/Developer/Tools export SYSTEM_DEVELOPER_TOOLS_DOC_DIR\=/Applications/Xcode.app/Contents/Developer/ADC\ Reference\ Library/documentation/DeveloperTools export SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR\=/Applications/Xcode.app/Contents/Developer/ADC\ Reference\ Library/releasenotes/DeveloperTools export SYSTEM_DEVELOPER_USR_DIR\=/Applications/Xcode.app/Contents/Developer/usr export SYSTEM_DEVELOPER_UTILITIES_DIR\=/Applications/Xcode.app/Contents/Developer/Applications/Utilities export SYSTEM_DEXT_INSTALL_PATH\=/System/Library/DriverExtensions export SYSTEM_DOCUMENTATION_DIR\=/Library/Documentation export SYSTEM_KEXT_INSTALL_PATH\=/System/Library/Extensions export SYSTEM_LIBRARY_DIR\=/System/Library export TAPI_DEMANGLE\=YES export TAPI_ENABLE_PROJECT_HEADERS\=NO export TAPI_LANGUAGE\=objective-c export TAPI_LANGUAGE_STANDARD\=compiler-default export TAPI_VERIFY_MODE\=Pedantic export TARGETED_DEVICE_FAMILY\=1,2 export TARGETNAME\=cargo_ios export TARGET_BUILD_DIR\=/Users/user/Library/Developer/Xcode/DerivedData/mobile-cprfomityxrcaohfoqksiqmdexie/Build/Products/Debug-iphonesimulator export TARGET_DEVICE_IDENTIFIER\=46AA8438-D261-4CB1-92EC-A5B6E307F115 export TARGET_DEVICE_MODEL\=iPhone16,1 export TARGET_DEVICE_OS_VERSION\=17.0 export TARGET_DEVICE_PLATFORM_NAME\=iphonesimulator export TARGET_NAME\=cargo_ios export TARGET_TEMP_DIR\=/Users/user/Library/Developer/Xcode/DerivedData/mobile-cprfomityxrcaohfoqksiqmdexie/Build/Intermediates.noindex/mobile.build/Debug-iphonesimulator/cargo_ios.build export TEMP_DIR\=/Users/user/Library/Developer/Xcode/DerivedData/mobile-cprfomityxrcaohfoqksiqmdexie/Build/Intermediates.noindex/mobile.build/Debug-iphonesimulator/cargo_ios.build export TEMP_FILES_DIR\=/Users/user/Library/Developer/Xcode/DerivedData/mobile-cprfomityxrcaohfoqksiqmdexie/Build/Intermediates.noindex/mobile.build/Debug-iphonesimulator/cargo_ios.build export TEMP_FILE_DIR\=/Users/user/Library/Developer/Xcode/DerivedData/mobile-cprfomityxrcaohfoqksiqmdexie/Build/Intermediates.noindex/mobile.build/Debug-iphonesimulator/cargo_ios.build export TEMP_ROOT\=/Users/user/Library/Developer/Xcode/DerivedData/mobile-cprfomityxrcaohfoqksiqmdexie/Build/Intermediates.noindex export TOOLCHAIN_DIR\=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain export TREAT_MISSING_BASELINES_AS_TEST_FAILURES\=NO export UID\=501 export UNINSTALLED_PRODUCTS_DIR\=/Users/user/Library/Developer/Xcode/DerivedData/mobile-cprfomityxrcaohfoqksiqmdexie/Build/Intermediates.noindex/UninstalledProducts export USER\=user export USER_APPS_DIR\=/Users/user/Applications export USER_LIBRARY_DIR\=/Users/user/Library export USE_HEADERMAP\=YES export VALIDATE_DEVELOPMENT_ASSET_PATHS\=YES_ERROR export VALID_ARCHS\=arm64\ arm64e\ i386\ x86_64 export WRAP_ASSET_PACKS_IN_SEPARATE_DIRECTORIES\=NO export XCODE_APP_SUPPORT_DIR\=/Applications/Xcode.app/Contents/Developer/Library/Xcode export XCODE_PRODUCT_BUILD_VERSION\=15A240d export XCODE_VERSION_ACTUAL\=1500 export XCODE_VERSION_MAJOR\=1500 export XCODE_VERSION_MINOR\=1500 export arch\=undefined_arch export variant\=normal /bin/sh build_rust_deps.sh + PATH=/Applications/Xcode.app/Contents/Developer/Library/Xcode/Plug-ins/XCBSpecifications.ideplugin/Contents/Resources:/Applications/Xcode.app/Contents/Developer/Library/Xcode/Plug-ins/XCBSpecifications.ideplugin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/appleinternal/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/libexec:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/appleinternal/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/local/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/user/.cargo/bin + RELFLAG= + [[ Debug != \D\e\b\u\g ]] + set -euvx if [[ -n "${DEVELOPER_SDK_DIR:-}" ]]; then # Assume we're in Xcode, which means we're probably cross-compiling. # In this case, we need to add an extra library search path for build scripts and proc-macros, # which run on the host instead of the target. # (macOS Big Sur does not have linkable libraries in /usr/lib/.) export LIBRARY_PATH="${DEVELOPER_SDK_DIR}/MacOSX.sdk/usr/lib:${LIBRARY_PATH:-}" fi + [[ -n /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs ]] + export LIBRARY_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib: + LIBRARY_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib: # add homebrew bin path, as it's the most commonly used package manager on macOS # this is needed for cmake on apple arm processors as it's not available by default export PATH="$PATH:/opt/homebrew/bin" + export PATH=/Applications/Xcode.app/Contents/Developer/Library/Xcode/Plug-ins/XCBSpecifications.ideplugin/Contents/Resources:/Applications/Xcode.app/Contents/Developer/Library/Xcode/Plug-ins/XCBSpecifications.ideplugin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/appleinternal/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/libexec:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/appleinternal/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/local/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/user/.cargo/bin:/opt/homebrew/bin + PATH=/Applications/Xcode.app/Contents/Developer/Library/Xcode/Plug-ins/XCBSpecifications.ideplugin/Contents/Resources:/Applications/Xcode.app/Contents/Developer/Library/Xcode/Plug-ins/XCBSpecifications.ideplugin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/appleinternal/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/libexec:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/appleinternal/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/local/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/user/.cargo/bin:/opt/homebrew/bin IS_SIMULATOR=0 + IS_SIMULATOR=0 if [ "${LLVM_TARGET_TRIPLE_SUFFIX-}" = "-simulator" ]; then IS_SIMULATOR=1 fi + '[' -simulator = -simulator ']' + IS_SIMULATOR=1 for arch in $ARCHS; do case "$arch" in x86_64) if [ $IS_SIMULATOR -eq 0 ]; then echo "Building for x86_64, but not a simulator build. What's going on?" >&2 exit 2 fi # Intel iOS simulator export CFLAGS_x86_64_apple_ios="-target x86_64-apple-ios" cargo rustc --crate-type staticlib --lib $RELFLAG --target x86_64-apple-ios ;; arm64) if [ $IS_SIMULATOR -eq 0 ]; then # Hardware iOS targets cargo rustc --crate-type staticlib --lib $RELFLAG --target aarch64-apple-ios else # M1 iOS simulator -- currently in Nightly only and requires to build `libstd` cargo rustc --crate-type staticlib --lib $RELFLAG --target aarch64-apple-ios-sim fi esac done + for arch in '$ARCHS' + case "$arch" in + '[' 1 -eq 0 ']' + export 'CFLAGS_x86_64_apple_ios=-target x86_64-apple-ios' + CFLAGS_x86_64_apple_ios='-target x86_64-apple-ios' + cargo rustc --crate-type staticlib --lib --target x86_64-apple-ios Compiling proc-macro2 v1.0.70 Compiling unicode-ident v1.0.12 Compiling cfg-if v1.0.0 Compiling autocfg v1.1.0 Compiling serde v1.0.193 Compiling libc v0.2.150 Compiling once_cell v1.18.0 Compiling crossbeam-utils v0.8.16 Compiling rustc-hash v1.1.0 Compiling pin-project-lite v0.2.13 Compiling log v0.4.20 Compiling version_check v0.9.4 Compiling futures-core v0.3.29 Compiling thiserror v1.0.50 error[E0463]: can't find crate for `core` | = note: the `x86_64-apple-ios` target may not be installed = help: consider downloading the target with `rustup target add x86_64-apple-ios` error[E0463]: can't find crate for `std` | = note: the `x86_64-apple-ios` target may not be installed = help: consider downloading the target with `rustup target add x86_64-apple-ios` error[E0463]: can't find crate for `compiler_builtins` error[E0463]: can't find crate for `alloc` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:370:1 | 370 | extern crate alloc; | ^^^^^^^^^^^^^^^^^^^ can't find crate error[E0463]: can't find crate for `core` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pin-project-lite-0.2.13/src/lib.rs:1622:9 | 1622 | use core::mem::ManuallyDrop; | ^^^^ can't find crate | = note: the `x86_64-apple-ios` target may not be installed = help: consider downloading the target with `rustup target add x86_64-apple-ios` error[E0463]: can't find crate for `core` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pin-project-lite-0.2.13/src/lib.rs:1624:13 | 1624 | pub use core::{ | ^^^^ can't find crate | = note: the `x86_64-apple-ios` target may not be installed = help: consider downloading the target with `rustup target add x86_64-apple-ios` error: cannot find macro `panic` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/__private_api.rs:17:9 | 17 | panic!( | ^^^^^ error: cannot find attribute `derive` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:1444:3 | 1444 | #[derive(Debug, PartialEq, Eq)] | ^^^^^^ error: cannot find attribute `derive` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:1427:3 | 1427 | #[derive(Debug)] | ^^^^^^ error: cannot find macro `unreachable` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:1417:13 | 1417 | unreachable!("set_logger_racy must not be used with other initialization functions") | ^^^^^^^^^^^ error: cannot find attribute `derive` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:1078:3 | 1078 | #[derive(Eq, PartialEq, Ord, PartialOrd, Hash, Debug)] | ^^^^^^ error: cannot find attribute `derive` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:1036:3 | 1036 | #[derive(Clone, Eq, PartialEq, Ord, PartialOrd, Hash, Debug)] | ^^^^^^ error: cannot find macro `format_args` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:903:23 | 903 | args: format_args!(""), | ^^^^^^^^^^^ error: cannot find attribute `derive` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:881:3 | 881 | #[derive(Debug)] | ^^^^^^ error: cannot find attribute `derive` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:720:3 | 720 | #[derive(Clone, Debug)] | ^^^^^^ error: cannot find attribute `derive` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:659:3 | 659 | #[derive(Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Hash, Debug)] | ^^^^^^ error: cannot find attribute `derive` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:557:3 | 557 | #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Debug, Hash)] | ^^^^^^ error: cannot find attribute `derive` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:428:3 | 428 | #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Debug, Hash)] | ^^^^^^ error[E0405]: cannot find trait `Sized` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pin-project-lite-0.2.13/src/lib.rs:1633:32 | 1633 | pub struct AlwaysUnpin(PhantomData); | ^^^^^ not found in this scope error[E0405]: cannot find trait `Sized` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pin-project-lite-0.2.13/src/lib.rs:1635:14 | 1635 | impl Unpin for AlwaysUnpin {} | ^^^^^ not found in this scope error[E0405]: cannot find trait `Sized` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pin-project-lite-0.2.13/src/lib.rs:1639:43 | 1639 | pub struct UnsafeDropInPlaceGuard(*mut T); | ^^^^^ not found in this scope error[E0405]: cannot find trait `Sized` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pin-project-lite-0.2.13/src/lib.rs:1641:14 | 1641 | impl UnsafeDropInPlaceGuard { | ^^^^^ not found in this scope error[E0405]: cannot find trait `Sized` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pin-project-lite-0.2.13/src/lib.rs:1648:14 | 1648 | impl Drop for UnsafeDropInPlaceGuard { | ^^^^^ not found in this scope error[E0463]: can't find crate for `core` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:386:9 | 386 | use core::{ | ^^^^ can't find crate | = note: the `x86_64-apple-ios` target may not be installed = help: consider downloading the target with `rustup target add x86_64-apple-ios` error[E0463]: can't find crate for `core` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:866:9 | 866 | use core::{ | ^^^^ can't find crate | = note: the `x86_64-apple-ios` target may not be installed = help: consider downloading the target with `rustup target add x86_64-apple-ios` error[E0463]: can't find crate for `core` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:296:9 | 296 | use core::{marker::PhantomData, ptr}; | ^^^^ can't find crate | = note: the `x86_64-apple-ios` target may not be installed = help: consider downloading the target with `rustup target add x86_64-apple-ios` error[E0463]: can't find crate for `std` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:6:5 | 6 | use std::{ | ^^^ can't find crate | = note: the `x86_64-apple-ios` target may not be installed = help: consider downloading the target with `rustup target add x86_64-apple-ios` error[E0463]: can't find crate for `core` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:25:5 | 25 | use core::sync::atomic; | ^^^^ can't find crate | = note: the `x86_64-apple-ios` target may not be installed = help: consider downloading the target with `rustup target add x86_64-apple-ios` error[E0463]: can't find crate for `core` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:28:5 | 28 | use core::cell::UnsafeCell; | ^^^^ can't find crate | = note: the `x86_64-apple-ios` target may not be installed = help: consider downloading the target with `rustup target add x86_64-apple-ios` error[E0463]: can't find crate for `core` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:29:5 | 29 | use core::marker::PhantomData; | ^^^^ can't find crate | = note: the `x86_64-apple-ios` target may not be installed = help: consider downloading the target with `rustup target add x86_64-apple-ios` For more information about this error, try `rustc --explain E0463`. error[E0463]: can't find crate for `core` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:30:5 | 30 | use core::num::NonZeroUsize; | ^^^^ can't find crate | = note: the `x86_64-apple-ios` target may not be installed = help: consider downloading the target with `rustup target add x86_64-apple-ios` error[E0463]: can't find crate for `core` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:31:5 | 31 | use core::ptr; | ^^^^ can't find crate | = note: the `x86_64-apple-ios` target may not be installed = help: consider downloading the target with `rustup target add x86_64-apple-ios` error[E0432]: unresolved imports `atomic::AtomicPtr`, `atomic::AtomicUsize`, `atomic::Ordering`, `super::atomic::AtomicPtr`, `super::atomic::Ordering` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:27:14 | 27 | use atomic::{AtomicPtr, AtomicUsize, Ordering}; | ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ ... 295 | use super::atomic::{AtomicPtr, Ordering}; | ^^^^^^^^^ ^^^^^^^^ error: cannot find macro `panic` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:755:47 | 755 | init.take().unwrap_or_else(|| panic!("Lazy instance has previously been poisoned")) | ^^^^^ error: cannot find macro `panic` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:778:25 | 778 | None => panic!("Lazy instance has previously been poisoned"), | ^^^^^ error: cannot find macro `panic` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:800:29 | 800 | None => panic!("Lazy instance has previously been poisoned"), | ^^^^^ error: cannot find macro `unreachable` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:804:51 | 804 | this.cell.get_mut().unwrap_or_else(|| unreachable!()) | ^^^^^^^^^^^ error: cannot find macro `panic` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1291:47 | 1291 | init.take().unwrap_or_else(|| panic!("Lazy instance has previously been poisoned")) | ^^^^^ error: cannot find macro `panic` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1313:25 | 1313 | None => panic!("Lazy instance has previously been poisoned"), | ^^^^^ error: cannot find macro `panic` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1333:29 | 1333 | None => panic!("Lazy instance has previously been poisoned"), | ^^^^^ error: cannot find macro `unreachable` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1337:51 | 1337 | this.cell.get_mut().unwrap_or_else(|| unreachable!()) | ^^^^^^^^^^^ error: cannot find attribute `derive` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:13:3 | 13 | #[derive(Debug)] | ^^^^^^ error: cannot find macro `debug_assert` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:100:9 | 100 | debug_assert!(self.is_initialized()); | ^^^^^^^^^^^^ error: cannot find macro `assert_eq` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:155:9 | 155 | assert_eq!(state, RUNNING); | ^^^^^^^^^ Some errors have detailed explanations: E0405, E0463. For more information about an error, try `rustc --explain E0405`. error: cannot find macro `debug_assert` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:205:18 | 205 | _ => debug_assert!(false), | ^^^^^^^^^^^^ error: cannot find macro `assert` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:636:13 | 636 | assert!(self.set(val).is_ok(), "reentrant init"); | ^^^^^^ error: cannot find macro `debug_assert` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:999:13 | 999 | debug_assert!(self.0.is_initialized()); | ^^^^^^^^^^^^ error: cannot find macro `debug_assert` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1166:13 | 1166 | debug_assert!(self.0.is_initialized()); | ^^^^^^^^^^^^ error: cannot find attribute `derive` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:34:3 | 34 | #[derive(Default, Debug)] | ^^^^^^ error: cannot find attribute `derive` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:113:3 | 113 | #[derive(Default, Debug)] | ^^^^^^ error: cannot find macro `write` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:189:9 | 189 | write!(f, "OnceRef({:?})", self.inner) | ^^^^^ error: cannot find macro `write` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:308:13 | 308 | write!(f, "OnceBox({:?})", self.inner.load(Ordering::Relaxed)) | ^^^^^ error: could not compile `pin-project-lite` (lib) due to 9 previous errors warning: build failed, waiting for other jobs to finish... error: could not compile `cfg-if` (lib) due to 2 previous errors error[E0405]: cannot find trait `PartialEq` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:455:6 | 455 | impl PartialEq for Level { | ^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `PartialOrd` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:462:6 | 462 | impl PartialOrd for Level { | ^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:464:51 | 464 | fn partial_cmp(&self, other: &LevelFilter) -> Option { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:469:19 | 469 | fn ok_or(t: Option, e: E) -> Result { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:469:39 | 469 | fn ok_or(t: Option, e: E) -> Result { | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:471:9 | 471 | Some(t) => Ok(t), | ^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:478:33 | 478 | fn from_str(level: &str) -> Result { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:499:32 | 499 | fn from_usize(u: usize) -> Option { | ^^^^^^ not found in this scope error[E0425]: cannot find value `None` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:506:18 | 506 | _ => None, | ^^^^ not found in this scope error[E0405]: cannot find trait `Iterator` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:543:27 | 543 | pub fn iter() -> impl Iterator { | ^^^^^^^^ not found in this scope error[E0405]: cannot find trait `PartialEq` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:573:6 | 573 | impl PartialEq for LevelFilter { | ^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `PartialOrd` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:580:6 | 580 | impl PartialOrd for LevelFilter { | ^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:582:45 | 582 | fn partial_cmp(&self, other: &Level) -> Option { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:589:33 | 589 | fn from_str(level: &str) -> Result { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:607:32 | 607 | fn from_usize(u: usize) -> Option { | ^^^^^^ not found in this scope error[E0425]: cannot find value `None` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:615:18 | 615 | _ => None, | ^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:629:31 | 629 | pub fn to_level(&self) -> Option { | ^^^^^^ not found in this scope error[E0405]: cannot find trait `Iterator` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:654:27 | 654 | pub fn iter() -> impl Iterator { | ^^^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:724:18 | 724 | module_path: Option>, | ^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:725:11 | 725 | file: Option>, | ^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:726:11 | 726 | line: Option, | ^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:781:34 | 781 | pub fn module_path(&self) -> Option<&'a str> { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:787:41 | 787 | pub fn module_path_static(&self) -> Option<&'static str> { | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:789:13 | 789 | Some(MaybeStaticStr::Static(s)) => Some(s), | ^^^^ not found in this scope error[E0425]: cannot find value `None` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:790:18 | 790 | _ => None, | ^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:796:27 | 796 | pub fn file(&self) -> Option<&'a str> { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:802:34 | 802 | pub fn file_static(&self) -> Option<&'static str> { | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:804:13 | 804 | Some(MaybeStaticStr::Static(s)) => Some(s), | ^^^^ not found in this scope error[E0425]: cannot find value `None` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:805:18 | 805 | _ => None, | ^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:811:27 | 811 | pub fn line(&self) -> Option { | ^^^^^^ not found in this scope error[E0425]: cannot find value `None` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:905:30 | 905 | module_path: None, | ^^^^ not found in this scope error[E0425]: cannot find value `None` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:906:23 | 906 | file: None, | ^^^^ not found in this scope error[E0425]: cannot find value `None` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:907:23 | 907 | line: None, | ^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:944:41 | 944 | pub fn module_path(&mut self, path: Option<&'a str>) -> &mut RecordBuilder<'a> { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:951:48 | 951 | pub fn module_path_static(&mut self, path: Option<&'static str>) -> &mut RecordBuilder<'a> { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:958:34 | 958 | pub fn file(&mut self, file: Option<&'a str>) -> &mut RecordBuilder<'a> { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:965:41 | 965 | pub fn file_static(&mut self, file: Option<&'static str>) -> &mut RecordBuilder<'a> { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:972:34 | 972 | pub fn line(&mut self, line: Option) -> &mut RecordBuilder<'a> { | ^^^^^^ not found in this scope error[E0405]: cannot find trait `Default` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:992:10 | 992 | impl<'a> Default for RecordBuilder<'a> { | ^^^^^^^ not found in this scope error[E0405]: cannot find trait `Default` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:1121:10 | 1121 | impl<'a> Default for MetadataBuilder<'a> { | ^^^^^^^ not found in this scope error[E0405]: cannot find trait `Sync` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:1128:16 | 1128 | pub trait Log: Sync + Send { | ^^^^ not found in this scope error[E0405]: cannot find trait `Send` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:1128:23 | 1128 | pub trait Log: Sync + Send { | ^^^^ not found in this scope error[E0405]: cannot find trait `Sized` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:1170:9 | 1170 | T: ?Sized + Log, | ^^^^^ not found in this scope error[E0405]: cannot find trait `Sized` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:1187:9 | 1187 | T: ?Sized + Log, | ^^^^^ not found in this scope error[E0405]: cannot find trait `Sized` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:1204:9 | 1204 | T: ?Sized + Log, | ^^^^^ not found in this scope error[E0412]: cannot find type `Box` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:1294:33 | 1294 | pub fn set_boxed_logger(logger: Box) -> Result<(), SetLoggerError> { | ^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:1294:50 | 1294 | pub fn set_boxed_logger(logger: Box) -> Result<(), SetLoggerError> { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:1352:48 | 1352 | pub fn set_logger(logger: &'static dyn Log) -> Result<(), SetLoggerError> { | ^^^^^^ not found in this scope error[E0405]: cannot find trait `FnOnce` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:1359:8 | 1359 | F: FnOnce() -> &'static dyn Log, | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:1357:43 | 1357 | fn set_logger_inner(make_logger: F) -> Result<(), SetLoggerError> | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:1367:9 | 1367 | Ok(s) | Err(s) => s, | ^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Err` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:1367:17 | 1367 | Ok(s) | Err(s) => s, | ^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:1408:60 | 1408 | pub unsafe fn set_logger_racy(logger: &'static dyn Log) -> Result<(), SetLoggerError> { | ^^^^^^ not found in this scope error[E0433]: failed to resolve: use of undeclared type `Box` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:1295:25 | 1295 | set_logger_inner(|| Box::leak(logger)) | ^^^ use of undeclared type `Box` error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:465:9 | 465 | Some((*self as usize).cmp(&(*other as usize))) | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:471:20 | 471 | Some(t) => Ok(t), | ^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Err` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:472:17 | 472 | None => Err(e), | ^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:501:18 | 501 | 1 => Some(Level::Error), | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:502:18 | 502 | 2 => Some(Level::Warn), | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:503:18 | 503 | 3 => Some(Level::Info), | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:504:18 | 504 | 4 => Some(Level::Debug), | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:505:18 | 505 | 5 => Some(Level::Trace), | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:583:9 | 583 | Some((*self as usize).cmp(&(*other as usize))) | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:609:18 | 609 | 0 => Some(LevelFilter::Off), | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:610:18 | 610 | 1 => Some(LevelFilter::Error), | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:611:18 | 611 | 2 => Some(LevelFilter::Warn), | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:612:18 | 612 | 3 => Some(LevelFilter::Info), | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:613:18 | 613 | 4 => Some(LevelFilter::Debug), | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:614:18 | 614 | 5 => Some(LevelFilter::Trace), | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:789:48 | 789 | Some(MaybeStaticStr::Static(s)) => Some(s), | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:804:48 | 804 | Some(MaybeStaticStr::Static(s)) => Some(s), | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:1375:13 | 1375 | Ok(()) | ^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Err` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:1383:13 | 1383 | Err(SetLoggerError(())) | ^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Err` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:1385:14 | 1385 | _ => Err(SetLoggerError(())), | ^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:1413:13 | 1413 | Ok(()) | ^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Err` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:1419:14 | 1419 | _ => Err(SetLoggerError(())), | ^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/__private_api.rs:27:33 | 27 | .module_path_static(Some(module_path)) | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/__private_api.rs:28:26 | 28 | .file_static(Some(file)) | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/__private_api.rs:29:19 | 29 | .line(Some(line)) | ^^^^ not found in this scope Some errors have detailed explanations: E0405, E0412, E0425, E0433, E0463, E0531. error: could not compile `log` (lib) due to 92 previous errors error[E0408]: variable `None` is not bound in all patterns --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:201:34 | 201 | (INCOMPLETE, None) | (RUNNING, _) => { | ---- ^^^^^^^^^^^^ pattern doesn't bind `None` | | | variable not in all patterns | help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `path::to::ModOrType::None` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:201:26 | 201 | (INCOMPLETE, None) | (RUNNING, _) => { | ^^^^ error[E0463]: can't find crate for `core` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:255:18 | 255 | unsafe { core::mem::transmute(ptr) } | ^^^^ can't find crate | = note: the `x86_64-apple-ios` target may not be installed = help: consider downloading the target with `rustup target add x86_64-apple-ios` error[E0463]: can't find crate for `core` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:187:13 | 187 | impl<'a, T> core::fmt::Debug for OnceRef<'a, T> { | ^^^^ can't find crate | = note: the `x86_64-apple-ios` target may not be installed = help: consider downloading the target with `rustup target add x86_64-apple-ios` error[E0463]: can't find crate for `core` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:188:27 | 188 | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { | ^^^^ can't find crate | = note: the `x86_64-apple-ios` target may not be installed = help: consider downloading the target with `rustup target add x86_64-apple-ios` error[E0463]: can't find crate for `core` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:188:56 | 188 | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { | ^^^^ can't find crate | = note: the `x86_64-apple-ios` target may not be installed = help: consider downloading the target with `rustup target add x86_64-apple-ios` error[E0463]: can't find crate for `core` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:306:13 | 306 | impl core::fmt::Debug for OnceBox { | ^^^^ can't find crate | = note: the `x86_64-apple-ios` target may not be installed = help: consider downloading the target with `rustup target add x86_64-apple-ios` error[E0463]: can't find crate for `core` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:307:31 | 307 | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { | ^^^^ can't find crate | = note: the `x86_64-apple-ios` target may not be installed = help: consider downloading the target with `rustup target add x86_64-apple-ios` error[E0463]: can't find crate for `core` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:307:60 | 307 | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { | ^^^^ can't find crate | = note: the `x86_64-apple-ios` target may not be installed = help: consider downloading the target with `rustup target add x86_64-apple-ios` error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:24:23 | 24 | value: UnsafeCell>, | ^^^^^^ not found in this scope error[E0405]: cannot find trait `Sync` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:32:29 | 32 | unsafe impl Sync for OnceCell {} | ^^^^ not found in this scope error[E0405]: cannot find trait `Sync` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:32:16 | 32 | unsafe impl Sync for OnceCell {} | ^^^^ not found in this scope error[E0405]: cannot find trait `Send` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:32:23 | 32 | unsafe impl Sync for OnceCell {} | ^^^^ not found in this scope error[E0405]: cannot find trait `Send` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:33:22 | 33 | unsafe impl Send for OnceCell {} | ^^^^ not found in this scope error[E0405]: cannot find trait `Send` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:33:16 | 33 | unsafe impl Send for OnceCell {} | ^^^^ not found in this scope error[E0425]: cannot find value `None` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:40:82 | 40 | OnceCell { queue: AtomicPtr::new(INCOMPLETE_PTR), value: UnsafeCell::new(None) } | ^^^^ not found in this scope error[E0405]: cannot find trait `FnOnce` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:63:12 | 63 | F: FnOnce() -> Result, | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:63:24 | 63 | F: FnOnce() -> Result, | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:61:52 | 61 | pub(crate) fn initialize(&self, f: F) -> Result<(), E> | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:66:22 | 66 | let mut res: Result<(), E> = Ok(()); | ^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:67:24 | 67 | let slot: *mut Option = self.value.get(); | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:73:21 | 73 | Ok(value) => { | ^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Err` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:77:21 | 77 | Err(err) => { | ^^^ not found in this scope error[E0425]: cannot find value `None` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:89:41 | 89 | initialize_or_wait(&self.queue, None); | ^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:107:41 | 107 | pub(crate) fn get_mut(&mut self) -> Option<&mut T> { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:115:39 | 115 | pub(crate) fn into_inner(self) -> Option { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:139:18 | 139 | thread: Cell>, | ^^^^^^ not found in this scope error[E0405]: cannot find trait `Drop` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:150:6 | 150 | impl Drop for Guard<'_> { | ^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:177:60 | 177 | fn initialize_or_wait(queue: &AtomicPtr, mut init: Option<&mut dyn FnMut() -> bool>) { | ^^^^^^ not found in this scope error[E0405]: cannot find trait `FnMut` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:177:76 | 177 | fn initialize_or_wait(queue: &AtomicPtr, mut init: Option<&mut dyn FnMut() -> bool>) { | ^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:184:26 | 184 | (INCOMPLETE, Some(init)) => { | ^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Err` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:191:24 | 191 | if let Err(new_queue) = exchange { | ^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Err` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:226:16 | 226 | if let Err(new_queue) = exchange { | ^^^ not found in this scope error[E0405]: cannot find trait `Sized` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:250:12 | 250 | T: Sized, | ^^^^^ not found in this scope error[E0405]: cannot find trait `Sized` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:262:12 | 262 | T: Sized, | ^^^^^ not found in this scope error[E0405]: cannot find trait `Sized` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:283:12 | 283 | T: Sized, | ^^^^^ not found in this scope error[E0405]: cannot find trait `FnOnce` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:281:52 | 281 | pub(crate) fn map_addr(ptr: *mut T, f: impl FnOnce(usize) -> usize) -> *mut T | ^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:415:27 | 415 | inner: UnsafeCell>, | ^^^^^^ not found in this scope error[E0405]: cannot find trait `Default` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:425:13 | 425 | impl Default for OnceCell { | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:434:17 | 434 | Some(v) => f.debug_tuple("OnceCell").field(v).finish(), | ^^^^ not found in this scope error[E0405]: cannot find trait `Clone` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:440:20 | 440 | impl Clone for OnceCell { | ^^^^^ not found in this scope error[E0405]: cannot find trait `Clone` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:440:13 | 440 | impl Clone for OnceCell { | ^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:443:17 | 443 | Some(value) => OnceCell::with_value(value.clone()), | ^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:450:18 | 450 | (Some(this), Some(source)) => this.clone_from(source), | ^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:450:30 | 450 | (Some(this), Some(source)) => this.clone_from(source), | ^^^^ not found in this scope error[E0405]: cannot find trait `PartialEq` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:456:24 | 456 | impl PartialEq for OnceCell { | ^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `PartialEq` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:456:13 | 456 | impl PartialEq for OnceCell { | ^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `Eq` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:462:17 | 462 | impl Eq for OnceCell {} | ^^ not found in this scope error[E0405]: cannot find trait `Eq` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:462:13 | 462 | impl Eq for OnceCell {} | ^^ not found in this scope error[E0405]: cannot find trait `From` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:464:13 | 464 | impl From for OnceCell { | ^^^^ not found in this scope error[E0425]: cannot find value `None` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:473:47 | 473 | OnceCell { inner: UnsafeCell::new(None) } | ^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:485:30 | 485 | pub fn get(&self) -> Option<&T> { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:510:38 | 510 | pub fn get_mut(&mut self) -> Option<&mut T> { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:532:40 | 532 | pub fn set(&self, value: T) -> Result<(), T> { | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:534:17 | 534 | Ok(_) => Ok(()), | ^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Err` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:535:17 | 535 | Err((_, value)) => Err(value), | ^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:553:47 | 553 | pub fn try_insert(&self, value: T) -> Result<&T, (&T, T)> { | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:554:20 | 554 | if let Some(old) = self.get() { | ^^^^ not found in this scope error[E0405]: cannot find trait `FnOnce` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:590:16 | 590 | F: FnOnce() -> T, | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:594:17 | 594 | Ok(val) => val, | ^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Err` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:595:17 | 595 | Err(void) => match void {}, | ^^^ not found in this scope error[E0405]: cannot find trait `FnOnce` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:626:16 | 626 | F: FnOnce() -> Result, | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:626:28 | 626 | F: FnOnce() -> Result, | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:624:54 | 624 | pub fn get_or_try_init(&self, f: F) -> Result<&T, E> | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:628:20 | 628 | if let Some(val) = self.get() { | ^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:669:35 | 669 | pub fn take(&mut self) -> Option { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:689:36 | 689 | pub fn into_inner(self) -> Option { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:718:20 | 718 | init: Cell>, | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:751:48 | 751 | pub fn into_value(this: Lazy) -> Result { | ^^^^^^ not found in this scope error[E0405]: cannot find trait `FnOnce` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:760:16 | 760 | impl T> Lazy { | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:777:17 | 777 | Some(f) => f(), | ^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:799:21 | 799 | Some(f) => f(), | ^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:820:42 | 820 | pub fn get(this: &Lazy) -> Option<&T> { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:837:50 | 837 | pub fn get_mut(this: &mut Lazy) -> Option<&mut T> { | ^^^^^^ not found in this scope error[E0405]: cannot find trait `FnOnce` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:842:16 | 842 | impl T> Deref for Lazy { | ^^^^^^ not found in this scope error[E0405]: cannot find trait `FnOnce` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:849:16 | 849 | impl T> DerefMut for Lazy { | ^^^^^^ not found in this scope error[E0405]: cannot find trait `Default` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:855:22 | 855 | impl Default for Lazy { | ^^^^^^^ not found in this scope error[E0405]: cannot find trait `Default` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:855:13 | 855 | impl Default for Lazy { | ^^^^^^^ not found in this scope error[E0405]: cannot find trait `Default` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:905:13 | 905 | impl Default for OnceCell { | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:914:17 | 914 | Some(v) => f.debug_tuple("OnceCell").field(v).finish(), | ^^^^ not found in this scope error[E0405]: cannot find trait `Clone` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:920:20 | 920 | impl Clone for OnceCell { | ^^^^^ not found in this scope error[E0405]: cannot find trait `Clone` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:920:13 | 920 | impl Clone for OnceCell { | ^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:923:17 | 923 | Some(value) => Self::with_value(value.clone()), | ^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:930:18 | 930 | (Some(this), Some(source)) => this.clone_from(source), | ^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:930:30 | 930 | (Some(this), Some(source)) => this.clone_from(source), | ^^^^ not found in this scope error[E0405]: cannot find trait `From` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:936:13 | 936 | impl From for OnceCell { | ^^^^ not found in this scope error[E0405]: cannot find trait `PartialEq` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:942:24 | 942 | impl PartialEq for OnceCell { | ^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `PartialEq` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:942:13 | 942 | impl PartialEq for OnceCell { | ^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `Eq` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:948:17 | 948 | impl Eq for OnceCell {} | ^^ not found in this scope error[E0405]: cannot find trait `Eq` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:948:13 | 948 | impl Eq for OnceCell {} | ^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:965:30 | 965 | pub fn get(&self) -> Option<&T> { | ^^^^^^ not found in this scope error[E0425]: cannot find value `None` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:970:17 | 970 | None | ^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1021:38 | 1021 | pub fn get_mut(&mut self) -> Option<&mut T> { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1060:40 | 1060 | pub fn set(&self, value: T) -> Result<(), T> { | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1062:17 | 1062 | Ok(_) => Ok(()), | ^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Err` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1063:17 | 1063 | Err((_, value)) => Err(value), | ^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1082:47 | 1082 | pub fn try_insert(&self, value: T) -> Result<&T, (&T, T)> { | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1087:17 | 1087 | Some(value) => Err((res, value)), | ^^^^ not found in this scope error[E0405]: cannot find trait `FnOnce` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1119:16 | 1119 | F: FnOnce() -> T, | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1123:17 | 1123 | Ok(val) => val, | ^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Err` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1124:17 | 1124 | Err(void) => match void {}, | ^^^ not found in this scope error[E0405]: cannot find trait `FnOnce` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1156:16 | 1156 | F: FnOnce() -> Result, | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1156:28 | 1156 | F: FnOnce() -> Result, | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1154:54 | 1154 | pub fn get_or_try_init(&self, f: F) -> Result<&T, E> | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1159:20 | 1159 | if let Some(value) = self.get() { | ^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1199:35 | 1199 | pub fn take(&mut self) -> Option { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1219:36 | 1219 | pub fn into_inner(self) -> Option { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1259:20 | 1259 | init: Cell>, | ^^^^^^ not found in this scope error[E0405]: cannot find trait `Sync` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1272:29 | 1272 | unsafe impl Sync for Lazy where OnceCell: Sync {} | ^^^^ not found in this scope error[E0405]: cannot find trait `Send` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1272:23 | 1272 | unsafe impl Sync for Lazy where OnceCell: Sync {} | ^^^^ not found in this scope error[E0405]: cannot find trait `Sync` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1272:68 | 1272 | unsafe impl Sync for Lazy where OnceCell: Sync {} | ^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1287:48 | 1287 | pub fn into_value(this: Lazy) -> Result { | ^^^^^^ not found in this scope error[E0405]: cannot find trait `FnOnce` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1296:16 | 1296 | impl T> Lazy { | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1312:17 | 1312 | Some(f) => f(), | ^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1332:21 | 1332 | Some(f) => f(), | ^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1353:42 | 1353 | pub fn get(this: &Lazy) -> Option<&T> { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1370:50 | 1370 | pub fn get_mut(this: &mut Lazy) -> Option<&mut T> { | ^^^^^^ not found in this scope error[E0405]: cannot find trait `FnOnce` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1375:16 | 1375 | impl T> Deref for Lazy { | ^^^^^^ not found in this scope error[E0405]: cannot find trait `FnOnce` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1382:16 | 1382 | impl T> DerefMut for Lazy { | ^^^^^^ not found in this scope error[E0405]: cannot find trait `Default` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1388:22 | 1388 | impl Default for Lazy { | ^^^^^^^ not found in this scope error[E0405]: cannot find trait `Default` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1388:13 | 1388 | impl Default for Lazy { | ^^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:48:26 | 48 | pub fn get(&self) -> Option { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:58:47 | 58 | pub fn set(&self, value: NonZeroUsize) -> Result<(), ()> { | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:62:13 | 62 | Ok(_) => Ok(()), | ^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Err` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:63:13 | 63 | Err(_) => Err(()), | ^^^ not found in this scope error[E0405]: cannot find trait `FnOnce` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:75:12 | 75 | F: FnOnce() -> NonZeroUsize, | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:79:13 | 79 | Ok(val) => val, | ^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Err` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:80:13 | 80 | Err(void) => match void {}, | ^^^ not found in this scope error[E0405]: cannot find trait `FnOnce` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:93:12 | 93 | F: FnOnce() -> Result, | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:93:24 | 93 | F: FnOnce() -> Result, | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:91:50 | 91 | pub fn get_or_try_init(&self, f: F) -> Result | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:97:13 | 97 | Some(it) => it, | ^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Err` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:102:24 | 102 | if let Err(old) = exchange { | ^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:127:26 | 127 | pub fn get(&self) -> Option { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:136:39 | 136 | pub fn set(&self, value: bool) -> Result<(), ()> { | ^^^^^^ not found in this scope error[E0405]: cannot find trait `FnOnce` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:148:12 | 148 | F: FnOnce() -> bool, | ^^^^^^ not found in this scope error[E0405]: cannot find trait `FnOnce` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:162:12 | 162 | F: FnOnce() -> Result, | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:162:24 | 162 | F: FnOnce() -> Result, | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:160:50 | 160 | pub fn get_or_try_init(&self, f: F) -> Result | ^^^^^^ not found in this scope error[E0405]: cannot find trait `Sync` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:185:26 | 185 | unsafe impl<'a, T: Sync> Sync for OnceRef<'a, T> {} | ^^^^ not found in this scope error[E0405]: cannot find trait `Sync` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:185:20 | 185 | unsafe impl<'a, T: Sync> Sync for OnceRef<'a, T> {} | ^^^^ not found in this scope error[E0405]: cannot find trait `Default` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:193:13 | 193 | impl<'a, T> Default for OnceRef<'a, T> { | ^^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:206:26 | 206 | pub fn get(&self) -> Option<&'a T> { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:215:40 | 215 | pub fn set(&self, value: &'a T) -> Result<(), ()> { | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:220:13 | 220 | Ok(_) => Ok(()), | ^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Err` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:221:13 | 221 | Err(_) => Err(()), | ^^^ not found in this scope error[E0405]: cannot find trait `FnOnce` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:233:12 | 233 | F: FnOnce() -> &'a T, | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:237:13 | 237 | Ok(val) => val, | ^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Err` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:238:13 | 238 | Err(void) => match void {}, | ^^^ not found in this scope error[E0405]: cannot find trait `FnOnce` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:251:12 | 251 | F: FnOnce() -> Result<&'a T, E>, | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:251:24 | 251 | F: FnOnce() -> Result<&'a T, E>, | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:249:50 | 249 | pub fn get_or_try_init(&self, f: F) -> Result<&'a T, E> | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Err` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:264:20 | 264 | if let Err(old) = exchange { | ^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:303:28 | 303 | ghost: PhantomData>>, | ^^^^^^ not found in this scope error[E0405]: cannot find trait `Default` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:312:13 | 312 | impl Default for OnceBox { | ^^^^^^^ not found in this scope error[E0405]: cannot find trait `Drop` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:318:13 | 318 | impl Drop for OnceBox { | ^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:334:30 | 334 | pub fn get(&self) -> Option<&T> { | ^^^^^^ not found in this scope error[E0425]: cannot find value `None` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:337:24 | 337 | return None; | ^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:346:45 | 346 | pub fn set(&self, value: Box) -> Result<(), Box> { | ^^^^^^ not found in this scope error[E0405]: cannot find trait `FnOnce` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:369:16 | 369 | F: FnOnce() -> Box, | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:373:17 | 373 | Ok(val) => val, | ^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Err` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:374:17 | 374 | Err(void) => match void {}, | ^^^ not found in this scope error[E0405]: cannot find trait `FnOnce` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:387:16 | 387 | F: FnOnce() -> Result, E>, | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:387:28 | 387 | F: FnOnce() -> Result, E>, | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:385:54 | 385 | pub fn get_or_try_init(&self, f: F) -> Result<&T, E> | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Err` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:400:24 | 400 | if let Err(old) = exchange { | ^^^ not found in this scope error[E0405]: cannot find trait `Sync` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:409:33 | 409 | unsafe impl Sync for OnceBox {} | ^^^^ not found in this scope error[E0405]: cannot find trait `Sync` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:409:20 | 409 | unsafe impl Sync for OnceBox {} | ^^^^ not found in this scope error[E0405]: cannot find trait `Send` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:409:27 | 409 | unsafe impl Sync for OnceBox {} | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:44:80 | 44 | OnceCell { queue: AtomicPtr::new(COMPLETE_PTR), value: UnsafeCell::new(Some(value)) } | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:65:21 | 65 | let mut f = Some(f); | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:66:38 | 66 | let mut res: Result<(), E> = Ok(()); | ^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:70:13 | 70 | Some(&mut || { | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:74:42 | 74 | unsafe { *slot = Some(value) }; | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Err` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:78:31 | 78 | res = Err(err); | ^^^ help: a local variable with a similar name exists: `err` error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:214:31 | 214 | thread: Cell::new(Some(thread::current())), | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:478:47 | 478 | OnceCell { inner: UnsafeCell::new(Some(value)) } | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:534:26 | 534 | Ok(_) => Ok(()), | ^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Err` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:535:36 | 535 | Err((_, value)) => Err(value), | ^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Err` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:555:24 | 555 | return Err((old, value)); | ^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:563:21 | 563 | *slot = Some(value); | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:564:13 | 564 | Ok(unsafe { slot.as_ref().unwrap_unchecked() }) | ^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:593:43 | 593 | match self.get_or_try_init(|| Ok::(f())) { | ^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:629:24 | 629 | return Ok(val); | ^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:637:13 | 637 | Ok(unsafe { self.get().unwrap_unchecked() }) | ^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:745:59 | 745 | Lazy { cell: OnceCell::new(), init: Cell::new(Some(init)) } | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:968:17 | 968 | Some(unsafe { self.get_unchecked() }) | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1062:26 | 1062 | Ok(_) => Ok(()), | ^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Err` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1063:36 | 1063 | Err((_, value)) => Err(value), | ^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1083:29 | 1083 | let mut value = Some(value); | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1086:25 | 1086 | None => Ok(res), | ^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Err` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1087:32 | 1087 | Some(value) => Err((res, value)), | ^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1122:43 | 1122 | match self.get_or_try_init(|| Ok::(f())) { | ^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1160:24 | 1160 | return Ok(value); | ^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1167:13 | 1167 | Ok(unsafe { self.get_unchecked() }) | ^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1281:59 | 1281 | Lazy { cell: OnceCell::new(), init: Cell::new(Some(f)) } | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:62:22 | 62 | Ok(_) => Ok(()), | ^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Err` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:63:23 | 63 | Err(_) => Err(()), | ^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:78:39 | 78 | match self.get_or_try_init(|| Ok::(f())) { | ^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:108:9 | 108 | Ok(res) | ^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:220:22 | 220 | Ok(_) => Ok(()), | ^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Err` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:221:23 | 221 | Err(_) => Err(()), | ^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:236:39 | 236 | match self.get_or_try_init(|| Ok::<&'a T, Void>(f())) { | ^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:269:9 | 269 | Ok(unsafe { &*ptr }) | ^^ not found in this scope error[E0425]: cannot find function `drop` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:322:17 | 322 | drop(unsafe { Box::from_raw(ptr) }) | ^^^^ not found in this scope | help: consider using the method on `Self` | 322 | self.drop(unsafe { Box::from_raw(ptr) }) | +++++ error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:339:13 | 339 | Some(unsafe { &*ptr }) | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Err` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:356:24 | 356 | return Err(value); | ^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:358:13 | 358 | Ok(()) | ^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:372:43 | 372 | match self.get_or_try_init(|| Ok::, Void>(f())) { | ^^ not found in this scope error[E0425]: cannot find function `drop` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:401:21 | 401 | drop(unsafe { Box::from_raw(ptr) }); | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:405:13 | 405 | Ok(unsafe { &*ptr }) | ^^ not found in this scope Some errors have detailed explanations: E0405, E0408, E0412, E0425, E0432, E0463, E0531. error: could not compile `once_cell` (lib) due to 241 previous errors + PATH=/Applications/Xcode.app/Contents/Developer/Library/Xcode/Plug-ins/XCBSpecifications.ideplugin/Contents/Resources:/Applications/Xcode.app/Contents/Developer/Library/Xcode/Plug-ins/XCBSpecifications.ideplugin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/appleinternal/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/libexec:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/appleinternal/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/local/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/user/.cargo/bin + RELFLAG= + [[ Debug != \D\e\b\u\g ]] + set -euvx if [[ -n "${DEVELOPER_SDK_DIR:-}" ]]; then # Assume we're in Xcode, which means we're probably cross-compiling. # In this case, we need to add an extra library search path for build scripts and proc-macros, # which run on the host instead of the target. # (macOS Big Sur does not have linkable libraries in /usr/lib/.) export LIBRARY_PATH="${DEVELOPER_SDK_DIR}/MacOSX.sdk/usr/lib:${LIBRARY_PATH:-}" fi + [[ -n /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs ]] + export LIBRARY_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib: + LIBRARY_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib: # add homebrew bin path, as it's the most commonly used package manager on macOS # this is needed for cmake on apple arm processors as it's not available by default export PATH="$PATH:/opt/homebrew/bin" + export PATH=/Applications/Xcode.app/Contents/Developer/Library/Xcode/Plug-ins/XCBSpecifications.ideplugin/Contents/Resources:/Applications/Xcode.app/Contents/Developer/Library/Xcode/Plug-ins/XCBSpecifications.ideplugin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/appleinternal/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/libexec:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/appleinternal/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/local/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/user/.cargo/bin:/opt/homebrew/bin + PATH=/Applications/Xcode.app/Contents/Developer/Library/Xcode/Plug-ins/XCBSpecifications.ideplugin/Contents/Resources:/Applications/Xcode.app/Contents/Developer/Library/Xcode/Plug-ins/XCBSpecifications.ideplugin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/appleinternal/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/libexec:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/appleinternal/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/local/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/user/.cargo/bin:/opt/homebrew/bin IS_SIMULATOR=0 + IS_SIMULATOR=0 if [ "${LLVM_TARGET_TRIPLE_SUFFIX-}" = "-simulator" ]; then IS_SIMULATOR=1 fi + '[' -simulator = -simulator ']' + IS_SIMULATOR=1 for arch in $ARCHS; do case "$arch" in x86_64) if [ $IS_SIMULATOR -eq 0 ]; then echo "Building for x86_64, but not a simulator build. What's going on?" >&2 exit 2 fi # Intel iOS simulator export CFLAGS_x86_64_apple_ios="-target x86_64-apple-ios" cargo rustc --crate-type staticlib --lib $RELFLAG --target x86_64-apple-ios ;; arm64) if [ $IS_SIMULATOR -eq 0 ]; then # Hardware iOS targets cargo rustc --crate-type staticlib --lib $RELFLAG --target aarch64-apple-ios else # M1 iOS simulator -- currently in Nightly only and requires to build `libstd` cargo rustc --crate-type staticlib --lib $RELFLAG --target aarch64-apple-ios-sim fi esac done + for arch in '$ARCHS' + case "$arch" in + '[' 1 -eq 0 ']' + export 'CFLAGS_x86_64_apple_ios=-target x86_64-apple-ios' + CFLAGS_x86_64_apple_ios='-target x86_64-apple-ios' + cargo rustc --crate-type staticlib --lib --target x86_64-apple-ios Compiling proc-macro2 v1.0.70 Compiling unicode-ident v1.0.12 Compiling cfg-if v1.0.0 Compiling autocfg v1.1.0 Compiling serde v1.0.193 Compiling libc v0.2.150 Compiling once_cell v1.18.0 Compiling crossbeam-utils v0.8.16 Compiling rustc-hash v1.1.0 Compiling pin-project-lite v0.2.13 Compiling log v0.4.20 Compiling version_check v0.9.4 Compiling futures-core v0.3.29 Compiling thiserror v1.0.50 error[E0463]: can't find crate for `core` | = note: the `x86_64-apple-ios` target may not be installed = help: consider downloading the target with `rustup target add x86_64-apple-ios` error[E0463]: can't find crate for `std` | = note: the `x86_64-apple-ios` target may not be installed = help: consider downloading the target with `rustup target add x86_64-apple-ios` error[E0463]: can't find crate for `compiler_builtins` error[E0463]: can't find crate for `alloc` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:370:1 | 370 | extern crate alloc; | ^^^^^^^^^^^^^^^^^^^ can't find crate error[E0463]: can't find crate for `core` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pin-project-lite-0.2.13/src/lib.rs:1622:9 | 1622 | use core::mem::ManuallyDrop; | ^^^^ can't find crate | = note: the `x86_64-apple-ios` target may not be installed = help: consider downloading the target with `rustup target add x86_64-apple-ios` error[E0463]: can't find crate for `core` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pin-project-lite-0.2.13/src/lib.rs:1624:13 | 1624 | pub use core::{ | ^^^^ can't find crate | = note: the `x86_64-apple-ios` target may not be installed = help: consider downloading the target with `rustup target add x86_64-apple-ios` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/__private_api.rs:17:9 | 17 | panic!( | ^^^^^ cannot find macro `panic` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:1444:3 | 1444 | #[derive(Debug, PartialEq, Eq)] | ^^^^^^ cannot find attribute `derive` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:1427:3 | 1427 | #[derive(Debug)] | ^^^^^^ cannot find attribute `derive` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:1417:13 | 1417 | unreachable!("set_logger_racy must not be used with other initialization functions") | ^^^^^^^^^^^ cannot find macro `unreachable` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:1078:3 | 1078 | #[derive(Eq, PartialEq, Ord, PartialOrd, Hash, Debug)] | ^^^^^^ cannot find attribute `derive` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:1036:3 | 1036 | #[derive(Clone, Eq, PartialEq, Ord, PartialOrd, Hash, Debug)] | ^^^^^^ cannot find attribute `derive` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:903:23 | 903 | args: format_args!(""), | ^^^^^^^^^^^ cannot find macro `format_args` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:881:3 | 881 | #[derive(Debug)] | ^^^^^^ cannot find attribute `derive` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:720:3 | 720 | #[derive(Clone, Debug)] | ^^^^^^ cannot find attribute `derive` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:659:3 | 659 | #[derive(Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Hash, Debug)] | ^^^^^^ cannot find attribute `derive` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:557:3 | 557 | #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Debug, Hash)] | ^^^^^^ cannot find attribute `derive` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:428:3 | 428 | #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Debug, Hash)] | ^^^^^^ error[E0405]: cannot find trait `Sized` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pin-project-lite-0.2.13/src/lib.rs:1633:32 | 1633 | pub struct AlwaysUnpin(PhantomData); | ^^^^^ not found in this scope error[E0405]: cannot find trait `Sized` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pin-project-lite-0.2.13/src/lib.rs:1635:14 | 1635 | impl Unpin for AlwaysUnpin {} | ^^^^^ not found in this scope error[E0405]: cannot find trait `Sized` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pin-project-lite-0.2.13/src/lib.rs:1639:43 | 1639 | pub struct UnsafeDropInPlaceGuard(*mut T); | ^^^^^ not found in this scope error[E0405]: cannot find trait `Sized` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pin-project-lite-0.2.13/src/lib.rs:1641:14 | 1641 | impl UnsafeDropInPlaceGuard { | ^^^^^ not found in this scope error[E0405]: cannot find trait `Sized` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pin-project-lite-0.2.13/src/lib.rs:1648:14 | 1648 | impl Drop for UnsafeDropInPlaceGuard { | ^^^^^ not found in this scope error[E0463]: can't find crate for `core` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:386:9 | 386 | use core::{ | ^^^^ can't find crate | = note: the `x86_64-apple-ios` target may not be installed = help: consider downloading the target with `rustup target add x86_64-apple-ios` error[E0463]: can't find crate for `core` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:866:9 | 866 | use core::{ | ^^^^ can't find crate | = note: the `x86_64-apple-ios` target may not be installed = help: consider downloading the target with `rustup target add x86_64-apple-ios` error[E0463]: can't find crate for `core` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:296:9 | 296 | use core::{marker::PhantomData, ptr}; | ^^^^ can't find crate | = note: the `x86_64-apple-ios` target may not be installed = help: consider downloading the target with `rustup target add x86_64-apple-ios` error[E0463]: can't find crate for `std` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:6:5 | 6 | use std::{ | ^^^ can't find crate | = note: the `x86_64-apple-ios` target may not be installed = help: consider downloading the target with `rustup target add x86_64-apple-ios` error[E0463]: can't find crate for `core` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:25:5 | 25 | use core::sync::atomic; | ^^^^ can't find crate | = note: the `x86_64-apple-ios` target may not be installed = help: consider downloading the target with `rustup target add x86_64-apple-ios` error[E0463]: can't find crate for `core` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:28:5 | 28 | use core::cell::UnsafeCell; | ^^^^ can't find crate | = note: the `x86_64-apple-ios` target may not be installed = help: consider downloading the target with `rustup target add x86_64-apple-ios` error[E0463]: can't find crate for `core` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:29:5 | 29 | use core::marker::PhantomData; | ^^^^ can't find crate | = note: the `x86_64-apple-ios` target may not be installed = help: consider downloading the target with `rustup target add x86_64-apple-ios` For more information about this error, try `rustc --explain E0463`. error[E0463]: can't find crate for `core` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:30:5 | 30 | use core::num::NonZeroUsize; | ^^^^ can't find crate | = note: the `x86_64-apple-ios` target may not be installed = help: consider downloading the target with `rustup target add x86_64-apple-ios` error[E0463]: can't find crate for `core` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:31:5 | 31 | use core::ptr; | ^^^^ can't find crate | = note: the `x86_64-apple-ios` target may not be installed = help: consider downloading the target with `rustup target add x86_64-apple-ios` error[E0432]: unresolved imports `atomic::AtomicPtr`, `atomic::AtomicUsize`, `atomic::Ordering`, `super::atomic::AtomicPtr`, `super::atomic::Ordering` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:27:14 | 27 | use atomic::{AtomicPtr, AtomicUsize, Ordering}; | ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ ... 295 | use super::atomic::{AtomicPtr, Ordering}; | ^^^^^^^^^ ^^^^^^^^ cannot find attribute `derive` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:755:47 | 755 | init.take().unwrap_or_else(|| panic!("Lazy instance has previously been poisoned")) | ^^^^^ cannot find macro `panic` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:778:25 | 778 | None => panic!("Lazy instance has previously been poisoned"), | ^^^^^ cannot find macro `panic` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:800:29 | 800 | None => panic!("Lazy instance has previously been poisoned"), | ^^^^^ cannot find macro `panic` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:804:51 | 804 | this.cell.get_mut().unwrap_or_else(|| unreachable!()) | ^^^^^^^^^^^ cannot find macro `unreachable` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1291:47 | 1291 | init.take().unwrap_or_else(|| panic!("Lazy instance has previously been poisoned")) | ^^^^^ cannot find macro `panic` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1313:25 | 1313 | None => panic!("Lazy instance has previously been poisoned"), | ^^^^^ cannot find macro `panic` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1333:29 | 1333 | None => panic!("Lazy instance has previously been poisoned"), | ^^^^^ cannot find macro `panic` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1337:51 | 1337 | this.cell.get_mut().unwrap_or_else(|| unreachable!()) | ^^^^^^^^^^^ cannot find macro `unreachable` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:13:3 | 13 | #[derive(Debug)] | ^^^^^^ cannot find attribute `derive` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:100:9 | 100 | debug_assert!(self.is_initialized()); | ^^^^^^^^^^^^ cannot find macro `debug_assert` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:155:9 | 155 | assert_eq!(state, RUNNING); | ^^^^^^^^^ Some errors have detailed explanations: E0405, E0463. For more information about an error, try `rustc --explain E0405`. cannot find macro `assert_eq` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:205:18 | 205 | _ => debug_assert!(false), | ^^^^^^^^^^^^ cannot find macro `debug_assert` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:636:13 | 636 | assert!(self.set(val).is_ok(), "reentrant init"); | ^^^^^^ cannot find macro `assert` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:999:13 | 999 | debug_assert!(self.0.is_initialized()); | ^^^^^^^^^^^^ cannot find macro `debug_assert` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1166:13 | 1166 | debug_assert!(self.0.is_initialized()); | ^^^^^^^^^^^^ cannot find macro `debug_assert` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:34:3 | 34 | #[derive(Default, Debug)] | ^^^^^^ cannot find attribute `derive` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:113:3 | 113 | #[derive(Default, Debug)] | ^^^^^^ cannot find attribute `derive` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:189:9 | 189 | write!(f, "OnceRef({:?})", self.inner) | ^^^^^ cannot find macro `write` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:308:13 | 308 | write!(f, "OnceBox({:?})", self.inner.load(Ordering::Relaxed)) | ^^^^^ cannot find macro `write` in this scope could not compile `pin-project-lite` (lib) due to 9 previous errors build failed, waiting for other jobs to finish... error[E0405]: cannot find trait `PartialEq` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:455:6 | 455 | impl PartialEq for Level { | ^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `PartialOrd` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:462:6 | 462 | impl PartialOrd for Level { | ^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:464:51 | 464 | fn partial_cmp(&self, other: &LevelFilter) -> Option { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:469:19 | 469 | fn ok_or(t: Option, e: E) -> Result { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:469:39 | 469 | fn ok_or(t: Option, e: E) -> Result { | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:471:9 | 471 | Some(t) => Ok(t), | ^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:478:33 | 478 | fn from_str(level: &str) -> Result { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:499:32 | 499 | fn from_usize(u: usize) -> Option { | ^^^^^^ not found in this scope error[E0425]: cannot find value `None` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:506:18 | 506 | _ => None, | ^^^^ not found in this scope error[E0405]: cannot find trait `Iterator` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:543:27 | 543 | pub fn iter() -> impl Iterator { | ^^^^^^^^ not found in this scope error[E0405]: cannot find trait `PartialEq` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:573:6 | 573 | impl PartialEq for LevelFilter { | ^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `PartialOrd` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:580:6 | 580 | impl PartialOrd for LevelFilter { | ^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:582:45 | 582 | fn partial_cmp(&self, other: &Level) -> Option { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:589:33 | 589 | fn from_str(level: &str) -> Result { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:607:32 | 607 | fn from_usize(u: usize) -> Option { | ^^^^^^ not found in this scope error[E0425]: cannot find value `None` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:615:18 | 615 | _ => None, | ^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:629:31 | 629 | pub fn to_level(&self) -> Option { | ^^^^^^ not found in this scope error[E0405]: cannot find trait `Iterator` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:654:27 | 654 | pub fn iter() -> impl Iterator { | ^^^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:724:18 | 724 | module_path: Option>, | ^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:725:11 | 725 | file: Option>, | ^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:726:11 | 726 | line: Option, | ^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:781:34 | 781 | pub fn module_path(&self) -> Option<&'a str> { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:787:41 | 787 | pub fn module_path_static(&self) -> Option<&'static str> { | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:789:13 | 789 | Some(MaybeStaticStr::Static(s)) => Some(s), | ^^^^ not found in this scope error[E0425]: cannot find value `None` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:790:18 | 790 | _ => None, | ^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:796:27 | 796 | pub fn file(&self) -> Option<&'a str> { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:802:34 | 802 | pub fn file_static(&self) -> Option<&'static str> { | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:804:13 | 804 | Some(MaybeStaticStr::Static(s)) => Some(s), | ^^^^ not found in this scope error[E0425]: cannot find value `None` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:805:18 | 805 | _ => None, | ^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:811:27 | 811 | pub fn line(&self) -> Option { | ^^^^^^ not found in this scope error[E0425]: cannot find value `None` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:905:30 | 905 | module_path: None, | ^^^^ not found in this scope error[E0425]: cannot find value `None` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:906:23 | 906 | file: None, | ^^^^ not found in this scope error[E0425]: cannot find value `None` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:907:23 | 907 | line: None, | ^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:944:41 | 944 | pub fn module_path(&mut self, path: Option<&'a str>) -> &mut RecordBuilder<'a> { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:951:48 | 951 | pub fn module_path_static(&mut self, path: Option<&'static str>) -> &mut RecordBuilder<'a> { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:958:34 | 958 | pub fn file(&mut self, file: Option<&'a str>) -> &mut RecordBuilder<'a> { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:965:41 | 965 | pub fn file_static(&mut self, file: Option<&'static str>) -> &mut RecordBuilder<'a> { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:972:34 | 972 | pub fn line(&mut self, line: Option) -> &mut RecordBuilder<'a> { | ^^^^^^ not found in this scope error[E0405]: cannot find trait `Default` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:992:10 | 992 | impl<'a> Default for RecordBuilder<'a> { | ^^^^^^^ not found in this scope error[E0405]: cannot find trait `Default` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:1121:10 | 1121 | impl<'a> Default for MetadataBuilder<'a> { | ^^^^^^^ not found in this scope error[E0405]: cannot find trait `Sync` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:1128:16 | 1128 | pub trait Log: Sync + Send { | ^^^^ not found in this scope error[E0405]: cannot find trait `Send` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:1128:23 | 1128 | pub trait Log: Sync + Send { | ^^^^ not found in this scope error[E0405]: cannot find trait `Sized` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:1170:9 | 1170 | T: ?Sized + Log, | ^^^^^ not found in this scope error[E0405]: cannot find trait `Sized` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:1187:9 | 1187 | T: ?Sized + Log, | ^^^^^ not found in this scope error[E0405]: cannot find trait `Sized` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:1204:9 | 1204 | T: ?Sized + Log, | ^^^^^ not found in this scope error[E0412]: cannot find type `Box` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:1294:33 | 1294 | pub fn set_boxed_logger(logger: Box) -> Result<(), SetLoggerError> { | ^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:1294:50 | 1294 | pub fn set_boxed_logger(logger: Box) -> Result<(), SetLoggerError> { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:1352:48 | 1352 | pub fn set_logger(logger: &'static dyn Log) -> Result<(), SetLoggerError> { | ^^^^^^ not found in this scope error[E0405]: cannot find trait `FnOnce` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:1359:8 | 1359 | F: FnOnce() -> &'static dyn Log, | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:1357:43 | 1357 | fn set_logger_inner(make_logger: F) -> Result<(), SetLoggerError> | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:1367:9 | 1367 | Ok(s) | Err(s) => s, | ^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Err` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:1367:17 | 1367 | Ok(s) | Err(s) => s, | ^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:1408:60 | 1408 | pub unsafe fn set_logger_racy(logger: &'static dyn Log) -> Result<(), SetLoggerError> { | ^^^^^^ not found in this scope error[E0433]: failed to resolve: use of undeclared type `Box` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:1295:25 | 1295 | set_logger_inner(|| Box::leak(logger)) | ^^^ use of undeclared type `Box` error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:465:9 | 465 | Some((*self as usize).cmp(&(*other as usize))) | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:471:20 | 471 | Some(t) => Ok(t), | ^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Err` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:472:17 | 472 | None => Err(e), | ^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:501:18 | 501 | 1 => Some(Level::Error), | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:502:18 | 502 | 2 => Some(Level::Warn), | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:503:18 | 503 | 3 => Some(Level::Info), | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:504:18 | 504 | 4 => Some(Level::Debug), | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:505:18 | 505 | 5 => Some(Level::Trace), | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:583:9 | 583 | Some((*self as usize).cmp(&(*other as usize))) | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:609:18 | 609 | 0 => Some(LevelFilter::Off), | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:610:18 | 610 | 1 => Some(LevelFilter::Error), | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:611:18 | 611 | 2 => Some(LevelFilter::Warn), | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:612:18 | 612 | 3 => Some(LevelFilter::Info), | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:613:18 | 613 | 4 => Some(LevelFilter::Debug), | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:614:18 | 614 | 5 => Some(LevelFilter::Trace), | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:789:48 | 789 | Some(MaybeStaticStr::Static(s)) => Some(s), | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:804:48 | 804 | Some(MaybeStaticStr::Static(s)) => Some(s), | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:1375:13 | 1375 | Ok(()) | ^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Err` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:1383:13 | 1383 | Err(SetLoggerError(())) | ^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Err` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:1385:14 | 1385 | _ => Err(SetLoggerError(())), | ^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:1413:13 | 1413 | Ok(()) | ^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Err` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs:1419:14 | 1419 | _ => Err(SetLoggerError(())), | ^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/__private_api.rs:27:33 | 27 | .module_path_static(Some(module_path)) | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/__private_api.rs:28:26 | 28 | .file_static(Some(file)) | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/__private_api.rs:29:19 | 29 | .line(Some(line)) | ^^^^ not found in this scope Some errors have detailed explanations: E0405, E0412, E0425, E0433, E0463, E0531. could not compile `cfg-if` (lib) due to 2 previous errors error[E0408]: variable `None` is not bound in all patterns --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:201:34 | 201 | (INCOMPLETE, None) | (RUNNING, _) => { | ---- ^^^^^^^^^^^^ pattern doesn't bind `None` | | | variable not in all patterns | help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `path::to::ModOrType::None` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:201:26 | 201 | (INCOMPLETE, None) | (RUNNING, _) => { | ^^^^ error[E0463]: can't find crate for `core` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:255:18 | 255 | unsafe { core::mem::transmute(ptr) } | ^^^^ can't find crate | = note: the `x86_64-apple-ios` target may not be installed = help: consider downloading the target with `rustup target add x86_64-apple-ios` error[E0463]: can't find crate for `core` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:187:13 | 187 | impl<'a, T> core::fmt::Debug for OnceRef<'a, T> { | ^^^^ can't find crate | = note: the `x86_64-apple-ios` target may not be installed = help: consider downloading the target with `rustup target add x86_64-apple-ios` error[E0463]: can't find crate for `core` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:188:27 | 188 | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { | ^^^^ can't find crate | = note: the `x86_64-apple-ios` target may not be installed = help: consider downloading the target with `rustup target add x86_64-apple-ios` error[E0463]: can't find crate for `core` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:188:56 | 188 | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { | ^^^^ can't find crate | = note: the `x86_64-apple-ios` target may not be installed = help: consider downloading the target with `rustup target add x86_64-apple-ios` error[E0463]: can't find crate for `core` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:306:13 | 306 | impl core::fmt::Debug for OnceBox { | ^^^^ can't find crate | = note: the `x86_64-apple-ios` target may not be installed = help: consider downloading the target with `rustup target add x86_64-apple-ios` error[E0463]: can't find crate for `core` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:307:31 | 307 | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { | ^^^^ can't find crate | = note: the `x86_64-apple-ios` target may not be installed = help: consider downloading the target with `rustup target add x86_64-apple-ios` error[E0463]: can't find crate for `core` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:307:60 | 307 | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { | ^^^^ can't find crate | = note: the `x86_64-apple-ios` target may not be installed = help: consider downloading the target with `rustup target add x86_64-apple-ios` error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:24:23 | 24 | value: UnsafeCell>, | ^^^^^^ not found in this scope error[E0405]: cannot find trait `Sync` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:32:29 | 32 | unsafe impl Sync for OnceCell {} | ^^^^ not found in this scope error[E0405]: cannot find trait `Sync` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:32:16 | 32 | unsafe impl Sync for OnceCell {} | ^^^^ not found in this scope error[E0405]: cannot find trait `Send` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:32:23 | 32 | unsafe impl Sync for OnceCell {} | ^^^^ not found in this scope error[E0405]: cannot find trait `Send` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:33:22 | 33 | unsafe impl Send for OnceCell {} | ^^^^ not found in this scope error[E0405]: cannot find trait `Send` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:33:16 | 33 | unsafe impl Send for OnceCell {} | ^^^^ not found in this scope error[E0425]: cannot find value `None` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:40:82 | 40 | OnceCell { queue: AtomicPtr::new(INCOMPLETE_PTR), value: UnsafeCell::new(None) } | ^^^^ not found in this scope error[E0405]: cannot find trait `FnOnce` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:63:12 | 63 | F: FnOnce() -> Result, | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:63:24 | 63 | F: FnOnce() -> Result, | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:61:52 | 61 | pub(crate) fn initialize(&self, f: F) -> Result<(), E> | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:66:22 | 66 | let mut res: Result<(), E> = Ok(()); | ^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:67:24 | 67 | let slot: *mut Option = self.value.get(); | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:73:21 | 73 | Ok(value) => { | ^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Err` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:77:21 | 77 | Err(err) => { | ^^^ not found in this scope error[E0425]: cannot find value `None` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:89:41 | 89 | initialize_or_wait(&self.queue, None); | ^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:107:41 | 107 | pub(crate) fn get_mut(&mut self) -> Option<&mut T> { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:115:39 | 115 | pub(crate) fn into_inner(self) -> Option { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:139:18 | 139 | thread: Cell>, | ^^^^^^ not found in this scope error[E0405]: cannot find trait `Drop` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:150:6 | 150 | impl Drop for Guard<'_> { | ^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:177:60 | 177 | fn initialize_or_wait(queue: &AtomicPtr, mut init: Option<&mut dyn FnMut() -> bool>) { | ^^^^^^ not found in this scope error[E0405]: cannot find trait `FnMut` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:177:76 | 177 | fn initialize_or_wait(queue: &AtomicPtr, mut init: Option<&mut dyn FnMut() -> bool>) { | ^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:184:26 | 184 | (INCOMPLETE, Some(init)) => { | ^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Err` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:191:24 | 191 | if let Err(new_queue) = exchange { | ^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Err` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:226:16 | 226 | if let Err(new_queue) = exchange { | ^^^ not found in this scope error[E0405]: cannot find trait `Sized` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:250:12 | 250 | T: Sized, | ^^^^^ not found in this scope error[E0405]: cannot find trait `Sized` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:262:12 | 262 | T: Sized, | ^^^^^ not found in this scope error[E0405]: cannot find trait `Sized` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:283:12 | 283 | T: Sized, | ^^^^^ not found in this scope error[E0405]: cannot find trait `FnOnce` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:281:52 | 281 | pub(crate) fn map_addr(ptr: *mut T, f: impl FnOnce(usize) -> usize) -> *mut T | ^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:415:27 | 415 | inner: UnsafeCell>, | ^^^^^^ not found in this scope error[E0405]: cannot find trait `Default` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:425:13 | 425 | impl Default for OnceCell { | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:434:17 | 434 | Some(v) => f.debug_tuple("OnceCell").field(v).finish(), | ^^^^ not found in this scope error[E0405]: cannot find trait `Clone` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:440:20 | 440 | impl Clone for OnceCell { | ^^^^^ not found in this scope error[E0405]: cannot find trait `Clone` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:440:13 | 440 | impl Clone for OnceCell { | ^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:443:17 | 443 | Some(value) => OnceCell::with_value(value.clone()), | ^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:450:18 | 450 | (Some(this), Some(source)) => this.clone_from(source), | ^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:450:30 | 450 | (Some(this), Some(source)) => this.clone_from(source), | ^^^^ not found in this scope error[E0405]: cannot find trait `PartialEq` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:456:24 | 456 | impl PartialEq for OnceCell { | ^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `PartialEq` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:456:13 | 456 | impl PartialEq for OnceCell { | ^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `Eq` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:462:17 | 462 | impl Eq for OnceCell {} | ^^ not found in this scope error[E0405]: cannot find trait `Eq` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:462:13 | 462 | impl Eq for OnceCell {} | ^^ not found in this scope error[E0405]: cannot find trait `From` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:464:13 | 464 | impl From for OnceCell { | ^^^^ not found in this scope error[E0425]: cannot find value `None` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:473:47 | 473 | OnceCell { inner: UnsafeCell::new(None) } | ^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:485:30 | 485 | pub fn get(&self) -> Option<&T> { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:510:38 | 510 | pub fn get_mut(&mut self) -> Option<&mut T> { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:532:40 | 532 | pub fn set(&self, value: T) -> Result<(), T> { | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:534:17 | 534 | Ok(_) => Ok(()), | ^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Err` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:535:17 | 535 | Err((_, value)) => Err(value), | ^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:553:47 | 553 | pub fn try_insert(&self, value: T) -> Result<&T, (&T, T)> { | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:554:20 | 554 | if let Some(old) = self.get() { | ^^^^ not found in this scope error[E0405]: cannot find trait `FnOnce` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:590:16 | 590 | F: FnOnce() -> T, | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:594:17 | 594 | Ok(val) => val, | ^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Err` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:595:17 | 595 | Err(void) => match void {}, | ^^^ not found in this scope error[E0405]: cannot find trait `FnOnce` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:626:16 | 626 | F: FnOnce() -> Result, | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:626:28 | 626 | F: FnOnce() -> Result, | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:624:54 | 624 | pub fn get_or_try_init(&self, f: F) -> Result<&T, E> | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:628:20 | 628 | if let Some(val) = self.get() { | ^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:669:35 | 669 | pub fn take(&mut self) -> Option { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:689:36 | 689 | pub fn into_inner(self) -> Option { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:718:20 | 718 | init: Cell>, | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:751:48 | 751 | pub fn into_value(this: Lazy) -> Result { | ^^^^^^ not found in this scope error[E0405]: cannot find trait `FnOnce` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:760:16 | 760 | impl T> Lazy { | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:777:17 | 777 | Some(f) => f(), | ^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:799:21 | 799 | Some(f) => f(), | ^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:820:42 | 820 | pub fn get(this: &Lazy) -> Option<&T> { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:837:50 | 837 | pub fn get_mut(this: &mut Lazy) -> Option<&mut T> { | ^^^^^^ not found in this scope error[E0405]: cannot find trait `FnOnce` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:842:16 | 842 | impl T> Deref for Lazy { | ^^^^^^ not found in this scope error[E0405]: cannot find trait `FnOnce` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:849:16 | 849 | impl T> DerefMut for Lazy { | ^^^^^^ not found in this scope error[E0405]: cannot find trait `Default` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:855:22 | 855 | impl Default for Lazy { | ^^^^^^^ not found in this scope error[E0405]: cannot find trait `Default` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:855:13 | 855 | impl Default for Lazy { | ^^^^^^^ not found in this scope error[E0405]: cannot find trait `Default` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:905:13 | 905 | impl Default for OnceCell { | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:914:17 | 914 | Some(v) => f.debug_tuple("OnceCell").field(v).finish(), | ^^^^ not found in this scope error[E0405]: cannot find trait `Clone` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:920:20 | 920 | impl Clone for OnceCell { | ^^^^^ not found in this scope error[E0405]: cannot find trait `Clone` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:920:13 | 920 | impl Clone for OnceCell { | ^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:923:17 | 923 | Some(value) => Self::with_value(value.clone()), | ^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:930:18 | 930 | (Some(this), Some(source)) => this.clone_from(source), | ^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:930:30 | 930 | (Some(this), Some(source)) => this.clone_from(source), | ^^^^ not found in this scope error[E0405]: cannot find trait `From` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:936:13 | 936 | impl From for OnceCell { | ^^^^ not found in this scope error[E0405]: cannot find trait `PartialEq` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:942:24 | 942 | impl PartialEq for OnceCell { | ^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `PartialEq` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:942:13 | 942 | impl PartialEq for OnceCell { | ^^^^^^^^^ not found in this scope error[E0405]: cannot find trait `Eq` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:948:17 | 948 | impl Eq for OnceCell {} | ^^ not found in this scope error[E0405]: cannot find trait `Eq` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:948:13 | 948 | impl Eq for OnceCell {} | ^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:965:30 | 965 | pub fn get(&self) -> Option<&T> { | ^^^^^^ not found in this scope error[E0425]: cannot find value `None` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:970:17 | 970 | None | ^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1021:38 | 1021 | pub fn get_mut(&mut self) -> Option<&mut T> { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1060:40 | 1060 | pub fn set(&self, value: T) -> Result<(), T> { | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1062:17 | 1062 | Ok(_) => Ok(()), | ^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Err` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1063:17 | 1063 | Err((_, value)) => Err(value), | ^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1082:47 | 1082 | pub fn try_insert(&self, value: T) -> Result<&T, (&T, T)> { | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1087:17 | 1087 | Some(value) => Err((res, value)), | ^^^^ not found in this scope error[E0405]: cannot find trait `FnOnce` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1119:16 | 1119 | F: FnOnce() -> T, | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1123:17 | 1123 | Ok(val) => val, | ^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Err` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1124:17 | 1124 | Err(void) => match void {}, | ^^^ not found in this scope error[E0405]: cannot find trait `FnOnce` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1156:16 | 1156 | F: FnOnce() -> Result, | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1156:28 | 1156 | F: FnOnce() -> Result, | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1154:54 | 1154 | pub fn get_or_try_init(&self, f: F) -> Result<&T, E> | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1159:20 | 1159 | if let Some(value) = self.get() { | ^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1199:35 | 1199 | pub fn take(&mut self) -> Option { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1219:36 | 1219 | pub fn into_inner(self) -> Option { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1259:20 | 1259 | init: Cell>, | ^^^^^^ not found in this scope error[E0405]: cannot find trait `Sync` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1272:29 | 1272 | unsafe impl Sync for Lazy where OnceCell: Sync {} | ^^^^ not found in this scope error[E0405]: cannot find trait `Send` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1272:23 | 1272 | unsafe impl Sync for Lazy where OnceCell: Sync {} | ^^^^ not found in this scope error[E0405]: cannot find trait `Sync` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1272:68 | 1272 | unsafe impl Sync for Lazy where OnceCell: Sync {} | ^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1287:48 | 1287 | pub fn into_value(this: Lazy) -> Result { | ^^^^^^ not found in this scope error[E0405]: cannot find trait `FnOnce` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1296:16 | 1296 | impl T> Lazy { | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1312:17 | 1312 | Some(f) => f(), | ^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1332:21 | 1332 | Some(f) => f(), | ^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1353:42 | 1353 | pub fn get(this: &Lazy) -> Option<&T> { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1370:50 | 1370 | pub fn get_mut(this: &mut Lazy) -> Option<&mut T> { | ^^^^^^ not found in this scope error[E0405]: cannot find trait `FnOnce` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1375:16 | 1375 | impl T> Deref for Lazy { | ^^^^^^ not found in this scope error[E0405]: cannot find trait `FnOnce` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1382:16 | 1382 | impl T> DerefMut for Lazy { | ^^^^^^ not found in this scope error[E0405]: cannot find trait `Default` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1388:22 | 1388 | impl Default for Lazy { | ^^^^^^^ not found in this scope error[E0405]: cannot find trait `Default` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1388:13 | 1388 | impl Default for Lazy { | ^^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:48:26 | 48 | pub fn get(&self) -> Option { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:58:47 | 58 | pub fn set(&self, value: NonZeroUsize) -> Result<(), ()> { | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:62:13 | 62 | Ok(_) => Ok(()), | ^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Err` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:63:13 | 63 | Err(_) => Err(()), | ^^^ not found in this scope error[E0405]: cannot find trait `FnOnce` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:75:12 | 75 | F: FnOnce() -> NonZeroUsize, | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:79:13 | 79 | Ok(val) => val, | ^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Err` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:80:13 | 80 | Err(void) => match void {}, | ^^^ not found in this scope error[E0405]: cannot find trait `FnOnce` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:93:12 | 93 | F: FnOnce() -> Result, | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:93:24 | 93 | F: FnOnce() -> Result, | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:91:50 | 91 | pub fn get_or_try_init(&self, f: F) -> Result | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:97:13 | 97 | Some(it) => it, | ^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Err` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:102:24 | 102 | if let Err(old) = exchange { | ^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:127:26 | 127 | pub fn get(&self) -> Option { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:136:39 | 136 | pub fn set(&self, value: bool) -> Result<(), ()> { | ^^^^^^ not found in this scope error[E0405]: cannot find trait `FnOnce` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:148:12 | 148 | F: FnOnce() -> bool, | ^^^^^^ not found in this scope error[E0405]: cannot find trait `FnOnce` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:162:12 | 162 | F: FnOnce() -> Result, | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:162:24 | 162 | F: FnOnce() -> Result, | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:160:50 | 160 | pub fn get_or_try_init(&self, f: F) -> Result | ^^^^^^ not found in this scope error[E0405]: cannot find trait `Sync` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:185:26 | 185 | unsafe impl<'a, T: Sync> Sync for OnceRef<'a, T> {} | ^^^^ not found in this scope error[E0405]: cannot find trait `Sync` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:185:20 | 185 | unsafe impl<'a, T: Sync> Sync for OnceRef<'a, T> {} | ^^^^ not found in this scope error[E0405]: cannot find trait `Default` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:193:13 | 193 | impl<'a, T> Default for OnceRef<'a, T> { | ^^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:206:26 | 206 | pub fn get(&self) -> Option<&'a T> { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:215:40 | 215 | pub fn set(&self, value: &'a T) -> Result<(), ()> { | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:220:13 | 220 | Ok(_) => Ok(()), | ^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Err` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:221:13 | 221 | Err(_) => Err(()), | ^^^ not found in this scope error[E0405]: cannot find trait `FnOnce` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:233:12 | 233 | F: FnOnce() -> &'a T, | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:237:13 | 237 | Ok(val) => val, | ^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Err` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:238:13 | 238 | Err(void) => match void {}, | ^^^ not found in this scope error[E0405]: cannot find trait `FnOnce` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:251:12 | 251 | F: FnOnce() -> Result<&'a T, E>, | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:251:24 | 251 | F: FnOnce() -> Result<&'a T, E>, | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:249:50 | 249 | pub fn get_or_try_init(&self, f: F) -> Result<&'a T, E> | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Err` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:264:20 | 264 | if let Err(old) = exchange { | ^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:303:28 | 303 | ghost: PhantomData>>, | ^^^^^^ not found in this scope error[E0405]: cannot find trait `Default` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:312:13 | 312 | impl Default for OnceBox { | ^^^^^^^ not found in this scope error[E0405]: cannot find trait `Drop` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:318:13 | 318 | impl Drop for OnceBox { | ^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:334:30 | 334 | pub fn get(&self) -> Option<&T> { | ^^^^^^ not found in this scope error[E0425]: cannot find value `None` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:337:24 | 337 | return None; | ^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:346:45 | 346 | pub fn set(&self, value: Box) -> Result<(), Box> { | ^^^^^^ not found in this scope error[E0405]: cannot find trait `FnOnce` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:369:16 | 369 | F: FnOnce() -> Box, | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:373:17 | 373 | Ok(val) => val, | ^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Err` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:374:17 | 374 | Err(void) => match void {}, | ^^^ not found in this scope error[E0405]: cannot find trait `FnOnce` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:387:16 | 387 | F: FnOnce() -> Result, E>, | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:387:28 | 387 | F: FnOnce() -> Result, E>, | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:385:54 | 385 | pub fn get_or_try_init(&self, f: F) -> Result<&T, E> | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Err` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:400:24 | 400 | if let Err(old) = exchange { | ^^^ not found in this scope error[E0405]: cannot find trait `Sync` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:409:33 | 409 | unsafe impl Sync for OnceBox {} | ^^^^ not found in this scope error[E0405]: cannot find trait `Sync` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:409:20 | 409 | unsafe impl Sync for OnceBox {} | ^^^^ not found in this scope error[E0405]: cannot find trait `Send` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:409:27 | 409 | unsafe impl Sync for OnceBox {} | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:44:80 | 44 | OnceCell { queue: AtomicPtr::new(COMPLETE_PTR), value: UnsafeCell::new(Some(value)) } | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:65:21 | 65 | let mut f = Some(f); | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:66:38 | 66 | let mut res: Result<(), E> = Ok(()); | ^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:70:13 | 70 | Some(&mut || { | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:74:42 | 74 | unsafe { *slot = Some(value) }; | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Err` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:78:31 | 78 | res = Err(err); | ^^^ help: a local variable with a similar name exists: `err` error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/imp_std.rs:214:31 | 214 | thread: Cell::new(Some(thread::current())), | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:478:47 | 478 | OnceCell { inner: UnsafeCell::new(Some(value)) } | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:534:26 | 534 | Ok(_) => Ok(()), | ^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Err` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:535:36 | 535 | Err((_, value)) => Err(value), | ^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Err` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:555:24 | 555 | return Err((old, value)); | ^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:563:21 | 563 | *slot = Some(value); | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:564:13 | 564 | Ok(unsafe { slot.as_ref().unwrap_unchecked() }) | ^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:593:43 | 593 | match self.get_or_try_init(|| Ok::(f())) { | ^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:629:24 | 629 | return Ok(val); | ^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:637:13 | 637 | Ok(unsafe { self.get().unwrap_unchecked() }) | ^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:745:59 | 745 | Lazy { cell: OnceCell::new(), init: Cell::new(Some(init)) } | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:968:17 | 968 | Some(unsafe { self.get_unchecked() }) | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1062:26 | 1062 | Ok(_) => Ok(()), | ^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Err` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1063:36 | 1063 | Err((_, value)) => Err(value), | ^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1083:29 | 1083 | let mut value = Some(value); | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1086:25 | 1086 | None => Ok(res), | ^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Err` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1087:32 | 1087 | Some(value) => Err((res, value)), | ^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1122:43 | 1122 | match self.get_or_try_init(|| Ok::(f())) { | ^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1160:24 | 1160 | return Ok(value); | ^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1167:13 | 1167 | Ok(unsafe { self.get_unchecked() }) | ^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1281:59 | 1281 | Lazy { cell: OnceCell::new(), init: Cell::new(Some(f)) } | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:62:22 | 62 | Ok(_) => Ok(()), | ^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Err` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:63:23 | 63 | Err(_) => Err(()), | ^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:78:39 | 78 | match self.get_or_try_init(|| Ok::(f())) { | ^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:108:9 | 108 | Ok(res) | ^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:220:22 | 220 | Ok(_) => Ok(()), | ^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Err` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:221:23 | 221 | Err(_) => Err(()), | ^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:236:39 | 236 | match self.get_or_try_init(|| Ok::<&'a T, Void>(f())) { | ^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:269:9 | 269 | Ok(unsafe { &*ptr }) | ^^ not found in this scope error[E0425]: cannot find function `drop` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:322:17 | 322 | drop(unsafe { Box::from_raw(ptr) }) | ^^^^ not found in this scope | help: consider using the method on `Self` | 322 | self.drop(unsafe { Box::from_raw(ptr) }) | +++++ error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:339:13 | 339 | Some(unsafe { &*ptr }) | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Err` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:356:24 | 356 | return Err(value); | ^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:358:13 | 358 | Ok(()) | ^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:372:43 | 372 | match self.get_or_try_init(|| Ok::, Void>(f())) { | ^^ not found in this scope error[E0425]: cannot find function `drop` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:401:21 | 401 | drop(unsafe { Box::from_raw(ptr) }); | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/race.rs:405:13 | 405 | Ok(unsafe { &*ptr }) | ^^ not found in this scope Some errors have detailed explanations: E0405, E0408, E0412, E0425, E0432, E0463, E0531. could not compile `log` (lib) due to 92 previous errors could not compile `once_cell` (lib) due to 241 previous errors Build failed 1/2/24, 11:36 AM 6.3 seconds