arthurpalves/coherent-swift

Error while installing

gusadi09 opened this issue · 7 comments

Jepretan Layar 2021-10-07 pukul 16 14 46

hello i found the error while installing using homebrew

this tools very usefull for my thesis, but when i install the tool i got a error :(

Could you try installing as below? 👇🏽

brew install arthurpalves/m/coherent-swift@0.5.10

Let me know how it goes

i still got this error sir, i'm installing on M1 Chip using rosetta too
Jepretan Layar 2021-10-07 pukul 19 45 52
r

hello, i'm sorry, can i get a respon for this issue?

`Last 15 lines from /Users/gusadi/Library/Logs/Homebrew/coherent-swift@0.5.10/01.make:
~~~~~ ^~~~~
/private/tmp/coherent-swiftA0.5.10-20211009-29260-1efg7g7/.build/checkouts/swift-syntax/Sources/SwiftSyntax/RawSyntax.swift:157:55: error: value of type 'CSyntaxNode' (aka 'swiftparse_syntax_node_t') has no member 'range'
let end = utf8.index(begin, offsetBy: Int(cnode.range.length))
~~~~~ ^~~~~
/private/tmp/coherent-swiftA0.5.10-20211009-29260-1efg7g7/.build/checkouts/swift-syntax/Sources/SwiftSyntax/RawSyntax.swift:873:32: error: value of type 'CSyntaxNode' (aka 'swiftparse_syntax_node_t') has no member 'range'
let byteLength = Int(cnode.range.length)
~~~~~ ^~~~~
/private/tmp/coherent-swiftA0.5.10-20211009-29260-1efg7g7/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SyntaxParser.swift:195:57: error: missing argument for parameter #3 in call
let c_top = swiftparse_parse_string(c_parser, source)
^
, <#Int#>
InternalSwiftSyntaxParser.swiftparse_parse_string:1:13: note: 'swiftparse_parse_string' declared here
public func swiftparse_parse_string(
: swiftparse_parser_t!, _ source: UnsafePointer!, _ len: Int) -> swiftparse_client_node_t!
^
make: *** [coherent-swift] Error 1

`

this is a error sir

'''Last 15 lines from /Users/gusadi/Library/Logs/Homebrew/coherent-swift/01.make:
~~~~~ ^~~~~
/private/tmp/coherent-swift-20211012-24429-s22742/.build/checkouts/swift-syntax/Sources/SwiftSyntax/RawSyntax.swift:157:55: error: value of type 'CSyntaxNode' (aka 'swiftparse_syntax_node_t') has no member 'range'
let end = utf8.index(begin, offsetBy: Int(cnode.range.length))
~~~~~ ^~~~~
/private/tmp/coherent-swift-20211012-24429-s22742/.build/checkouts/swift-syntax/Sources/SwiftSyntax/RawSyntax.swift:873:32: error: value of type 'CSyntaxNode' (aka 'swiftparse_syntax_node_t') has no member 'range'
let byteLength = Int(cnode.range.length)
~~~~~ ^~~~~
/private/tmp/coherent-swift-20211012-24429-s22742/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SyntaxParser.swift:195:57: error: missing argument for parameter #3 in call
let c_top = swiftparse_parse_string(c_parser, source)
^
, <#Int#>
InternalSwiftSyntaxParser.swiftparse_parse_string:1:13: note: 'swiftparse_parse_string' declared here
public func swiftparse_parse_string(
: swiftparse_parser_t!, _ source: UnsafePointer!, _ len: Int) -> swiftparse_client_node_t!
^
make: *** [coherent-swift] Error 1
'''