Skip to content

Can not install in macOS Monterey (12.0 21A5248p)Β #173

@angelmic

Description

@angelmic

Try to use mint install IBDecodable/IBLinter to install it but failed
error msg:

β–Ά mint install IBDecodable/IBLinter
🌱 Finding latest version of IBLinter
🌱 Cloning IBLinter 0.4.27
🌱 Resolving package
🌱 Building package
[1/11] Compiling SourceKit SourceKit.m
[2/11] Compiling Clang_C Clang_C.m
remark: Incremental compilation has been disabled: it is not compatible with whole module optimizationremark: Incremental compilation has been disabled: it is not compatible with whole module optimizationremark: Incremental compilation has been disabled: it is not compatible with whole module optimization[3/14] Compiling writer.c
[4/14] Compiling reader.c
[5/14] Compiling parser.c
[6/14] Compiling api.c
[7/14] Compiling emitter.c
[8/14] Compiling scanner.c
remark: Incremental compilation has been disabled: it is not compatible with whole module optimizationremark: Incremental compilation has been disabled: it is not compatible with whole module optimization/private/var/folders/gm/6hgr32b973373pdvf4hpfz_xyht1z0/T/mint/github.com_IBDecodable_IBLinter/.build/checkouts/Yams/Sources/Yams/Emitter.swift:338:32: warning: initialization of 'UnsafeMutablePointer<yaml_version_directive_t>' (aka 'UnsafeMutablePointer<yaml_version_directive_s>') results in a dangling pointer
            versionDirective = UnsafeMutablePointer(&versionDirectiveValue)
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/private/var/folders/gm/6hgr32b973373pdvf4hpfz_xyht1z0/T/mint/github.com_IBDecodable_IBLinter/.build/checkouts/Yams/Sources/Yams/Emitter.swift:338:53: note: implicit argument conversion from 'yaml_version_directive_t' (aka 'yaml_version_directive_s') to 'UnsafeMutablePointer<yaml_version_directive_t>' (aka 'UnsafeMutablePointer<yaml_version_directive_s>') produces a pointer valid only for the duration of the call to 'init(_:)'
            versionDirective = UnsafeMutablePointer(&versionDirectiveValue)
                                                    ^~~~~~~~~~~~~~~~~~~~~~
/private/var/folders/gm/6hgr32b973373pdvf4hpfz_xyht1z0/T/mint/github.com_IBDecodable_IBLinter/.build/checkouts/Yams/Sources/Yams/Emitter.swift:338:53: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
            versionDirective = UnsafeMutablePointer(&versionDirectiveValue)
                                                    ^
remark: Incremental compilation has been disabled: it is not compatible with whole module optimization/private/var/folders/gm/6hgr32b973373pdvf4hpfz_xyht1z0/T/mint/github.com_IBDecodable_IBLinter/.build/checkouts/SourceKitten/Source/SourceKittenFramework/Request.swift:251:58: error: cannot convert value of type 'Int' to expected dictionary value type 'Int64'
                    "key.editor.format.usetabs": useTabs ? 1 : 0
                                                         ^
🌱 Encountered error during "swift build -c release -Xswiftc -target -Xswiftc x86_64-apple-macosx12.0". Use --verbose to see full output
🌱  Failed to build IBLinter 0.4.27 with SPM

Please Help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions