Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Deploy & Build error when install Ignite #103

Open
Haibo-Zhou opened this issue Aug 2, 2024 · 2 comments
Open

Deploy & Build error when install Ignite #103

Haibo-Zhou opened this issue Aug 2, 2024 · 2 comments

Comments

@Haibo-Zhou
Copy link

Haibo-Zhou commented Aug 2, 2024

Hi Paul, I'm deploying my website on Netlify, but it gave me below compiling error when installing dependency Ignite. Is this Swift version specific issue? My build is OK in my local machine with Swift 5.10

➜  IgniteStarter git:(MyDevSpace) swift --version
swift-driver version: 1.90.11.1 Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4)
Target: arm64-apple-macosx14.0
1:58:45 PM: build-image version: ecdc8b770f4a0193fd3f258c1bc6029e681813a4 (focal)
1:58:45 PM: buildbot version: 22552e71c3c7b6a5ebfd780eb1c9b2f42fe63aa7
1:58:46 PM: Building without cache
1:58:46 PM: Starting to prepare the repo for build
1:58:46 PM: No cached dependencies found. Cloning fresh repo
1:58:46 PM: git clone --filter=blob:none https://github.com/Haibo-Zhou/my-new-website
1:58:46 PM: Preparing Git Reference refs/heads/MyDevSpace
1:58:48 PM: Starting to install dependencies
1:58:49 PM: Python version set to 3.8
1:58:49 PM: Attempting Ruby version 2.7.2, read from environment
1:58:49 PM: Using Ruby version 2.7.2
1:58:50 PM: Started restoring cached go cache
1:58:50 PM: Finished restoring cached go cache
1:58:51 PM: go version go1.19.13 linux/amd64
1:58:52 PM: Downloading https://download.swift.org/swift-5.10.1-release/ubuntu2004/swift-5.10.1-RELEASE/swift-5.10.1-RELEASE-ubuntu20.04.tar.gz
1:58:52 PM: /tmp/swiftenv-5.10.1- /opt/build/repo
1:58:52 PM:   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
1:58:52 PM:                                  Dload  Upload   Total   Spent    Left  Speed
1:58:52 PM:   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
1:58:53 PM:  10  576M   10 61.0M    0     0   163M      0  0:00:03 --:--:--  0:00:03  162M
1:58:54 PM:  59  576M   59  344M    0     0   250M      0  0:00:02  0:00:01  0:00:01  250M
1:58:54 PM: 100  576M  100  576M    0     0   265M      0  0:00:02  0:00:02 --:--:--  265M
1:59:06 PM: /opt/build/repo
1:59:06 PM: 5.10.1 has been installed.
1:59:06 PM: Using Swift version 5.10.1
1:59:06 PM: Building Swift package
1:59:06 PM: Started restoring cached swift build
1:59:06 PM: Finished restoring cached swift build
1:59:07 PM: Fetching https://github.com/twostraws/Ignite.git
1:59:07 PM: [1/1466] Fetching ignite
1:59:07 PM: Fetched https://github.com/twostraws/Ignite.git from cache (0.24s)
1:59:07 PM: Fetching https://github.com/apple/swift-markdown.git
1:59:07 PM: [1/6045] Fetching swift-markdown
1:59:07 PM: Fetched https://github.com/apple/swift-markdown.git from cache (0.41s)
1:59:08 PM: Fetching https://github.com/swiftlang/swift-cmark.git
1:59:09 PM: [1/17821] Fetching swift-cmark
1:59:09 PM: Fetched https://github.com/swiftlang/swift-cmark.git from cache (0.71s)
1:59:09 PM: Fetching https://github.com/apple/swift-argument-parser.git
1:59:09 PM: [1/12089] Fetching swift-argument-parser
1:59:10 PM: Fetched https://github.com/apple/swift-argument-parser.git from cache (0.73s)
1:59:10 PM: Computing version for https://github.com/apple/swift-argument-parser.git
1:59:10 PM: Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.21s)
1:59:10 PM: Creating working copy for https://github.com/swiftlang/swift-cmark.git
1:59:10 PM: Working copy of https://github.com/swiftlang/swift-cmark.git resolved at gfm (fc07ab5)
1:59:10 PM: Creating working copy for https://github.com/apple/swift-markdown.git
1:59:10 PM: Working copy of https://github.com/apple/swift-markdown.git resolved at main (d217140)
1:59:10 PM: Creating working copy for https://github.com/apple/swift-argument-parser.git
1:59:10 PM: Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.0
1:59:10 PM: Creating working copy for https://github.com/twostraws/Ignite.git
1:59:10 PM: Working copy of https://github.com/twostraws/Ignite.git resolved at main (d101d2b)
1:59:12 PM: [1/1] Compiling plugin GenerateManual
1:59:12 PM: Building for debugging...
1:59:12 PM: [1/46] Compiling cmark-gfm syntax_extension.c
1:59:12 PM: [2/46] Compiling cmark-gfm arena.c
1:59:12 PM: [3/46] Compiling cmark-gfm houdini_html_u.c
1:59:12 PM: [4/46] Compiling cmark-gfm blocks.c
1:59:12 PM: [5/46] Compiling cmark-gfm-extensions tasklist.c
1:59:12 PM: [6/46] Compiling cmark-gfm-extensions tagfilter.c
1:59:12 PM: [7/46] Compiling cmark-gfm-extensions strikethrough.c
1:59:12 PM: [8/46] Compiling cmark-gfm-extensions ext_scanners.c
1:59:12 PM: [9/46] Write swift-version-19E6B5D239350F1E.txt
1:59:12 PM: [10/46] Compiling cmark-gfm-extensions core-extensions.c
1:59:12 PM: [11/46] Compiling cmark-gfm-extensions table.c
1:59:12 PM: [12/46] Compiling cmark-gfm-extensions autolink.c
1:59:12 PM: [13/46] Compiling cmark-gfm xml.c
1:59:12 PM: [14/46] Compiling cmark-gfm render.c
1:59:12 PM: [15/46] Compiling cmark-gfm registry.c
1:59:12 PM: [16/46] Compiling cmark-gfm plugin.c
1:59:12 PM: [17/46] Compiling cmark-gfm references.c
1:59:12 PM: [18/46] Compiling cmark-gfm plaintext.c
1:59:12 PM: [19/46] Compiling cmark-gfm utf8.c
1:59:12 PM: [20/46] Compiling cmark-gfm map.c
1:59:12 PM: [21/46] Compiling cmark-gfm man.c
1:59:12 PM: [22/46] Compiling cmark-gfm node.c
1:59:12 PM: [23/46] Compiling cmark-gfm linked_list.c
1:59:12 PM: [24/46] Compiling cmark-gfm iterator.c
1:59:12 PM: [25/46] Compiling cmark-gfm latex.c
1:59:12 PM: [26/46] Compiling cmark-gfm scanners.c
1:59:12 PM: [27/46] Compiling cmark-gfm houdini_html_e.c
1:59:12 PM: [28/46] Compiling cmark-gfm html.c
1:59:12 PM: [29/46] Compiling cmark-gfm houdini_href_e.c
1:59:12 PM: [30/46] Compiling cmark-gfm footnotes.c
1:59:12 PM: [31/46] Compiling cmark-gfm cmark_ctype.c
1:59:12 PM: [32/46] Compiling cmark-gfm inlines.c
1:59:12 PM: [33/46] Write sources
1:59:12 PM: [34/46] Copying Resources
1:59:12 PM: [35/46] Write sources
1:59:12 PM: [37/46] Compiling cmark-gfm commonmark.c
1:59:12 PM: [38/46] Compiling cmark-gfm cmark.c
1:59:12 PM: [39/46] Compiling CAtomic CAtomic.c
1:59:12 PM: [40/46] Compiling cmark-gfm buffer.c
1:59:13 PM: [42/98] Emitting module Markdown
1:59:15 PM: [43/115] Compiling Markdown RangerTracker.swift
1:59:15 PM: [44/115] Compiling Markdown MarkupRewriter.swift
1:59:15 PM: [45/115] Compiling Markdown BasicBlockContainer.swift
1:59:15 PM: [46/115] Compiling Markdown BasicInlineContainer.swift
1:59:15 PM: [47/115] Compiling Markdown BlockContainer.swift
1:59:15 PM: [48/115] Compiling Markdown BlockMarkup.swift
1:59:15 PM: [49/115] Compiling Markdown InlineContainer.swift
1:59:15 PM: [50/115] Compiling Markdown InlineMarkup.swift
1:59:15 PM: [51/115] Compiling Markdown ListItemContainer.swift
1:59:15 PM: [52/115] Compiling Markdown AtomicCounter.swift
1:59:15 PM: [53/115] Compiling Markdown CharacterExtensions.swift
1:59:15 PM: [54/115] Compiling Markdown CollectionExtensions.swift
1:59:15 PM: [55/115] Compiling Markdown StringExtensions.swift
1:59:15 PM: [56/115] Compiling Markdown MarkupVisitor.swift
1:59:15 PM: [57/115] Compiling Markdown MarkupWalker.swift
1:59:15 PM: [58/115] Compiling Markdown MarkupFormatter.swift
1:59:15 PM: [59/115] Compiling Markdown MarkupTreeDumper.swift
1:59:15 PM: [60/115] Compiling Markdown OrderedList.swift
1:59:15 PM: [61/115] Compiling Markdown UnorderedList.swift
1:59:15 PM: [62/115] Compiling Markdown Paragraph.swift
1:59:15 PM: [63/115] Compiling Markdown CodeBlock.swift
1:59:15 PM: [64/115] Compiling Markdown HTMLBlock.swift
1:59:15 PM: [65/115] Compiling Markdown Heading.swift
1:59:15 PM: [66/115] Compiling Markdown ThematicBreak.swift
1:59:15 PM: [67/115] Compiling Markdown Table.swift
1:59:15 PM: [68/115] Compiling Markdown TableBody.swift
1:59:15 PM: [69/115] Compiling Markdown TableCell.swift
1:59:15 PM: [70/115] Compiling Markdown TableCellContainer.swift
1:59:15 PM: [71/115] Compiling Markdown TableHead.swift
1:59:15 PM: [72/115] Compiling Markdown TableRow.swift
1:59:15 PM: [73/115] Compiling Markdown Replacement.swift
1:59:15 PM: [74/115] Compiling Markdown SourceLocation.swift
1:59:15 PM: [75/115] Compiling Markdown Emphasis.swift
1:59:15 PM: [76/115] Compiling Markdown Image.swift
1:59:15 PM: [77/115] Compiling Markdown InlineAttributes.swift
1:59:15 PM: [78/115] Compiling Markdown Link.swift
1:59:15 PM: [79/115] Compiling Markdown Strikethrough.swift
1:59:15 PM: [80/115] Compiling Markdown Strong.swift
1:59:15 PM: [81/115] Compiling Markdown CustomInline.swift
1:59:15 PM: [82/115] Compiling Markdown InlineCode.swift
1:59:15 PM: [83/115] Compiling Markdown InlineHTML.swift
1:59:15 PM: [84/115] Compiling Markdown LineBreak.swift
1:59:15 PM: [85/115] Compiling Markdown SoftBreak.swift
1:59:15 PM: [86/115] Compiling Markdown SymbolLink.swift
1:59:15 PM: [87/115] Compiling Markdown Text.swift
1:59:15 PM: [88/115] Compiling Markdown Aside.swift
1:59:15 PM: [89/115] Compiling Markdown BlockDirectiveParser.swift
1:59:15 PM: [90/115] Compiling Markdown CommonMarkConverter.swift
1:59:15 PM: [91/115] Compiling Markdown LazySplitLines.swift
1:59:15 PM: [92/115] Compiling Markdown ParseOptions.swift
1:59:15 PM: [93/115] Compiling Markdown RangeAdjuster.swift
1:59:15 PM: [94/115] Compiling Markdown ChildIndexPath.swift
1:59:15 PM: [95/115] Compiling Markdown DirectiveArgument.swift
1:59:15 PM: [96/115] Compiling Markdown Document.swift
1:59:15 PM: [97/115] Compiling Markdown LiteralMarkup.swift
1:59:15 PM: [98/115] Compiling Markdown Markup.swift
1:59:15 PM: [99/115] Compiling Markdown MarkupChildren.swift
1:59:15 PM: [100/115] Compiling Markdown MarkupData.swift
1:59:15 PM: [101/115] Compiling Markdown PlainTextConvertibleMarkup.swift
1:59:15 PM: [102/115] Compiling Markdown RawMarkup.swift
1:59:15 PM: [103/115] Compiling Markdown BlockDirective.swift
1:59:15 PM: [104/115] Compiling Markdown BlockQuote.swift
1:59:15 PM: [105/115] Compiling Markdown CustomBlock.swift
1:59:15 PM: [106/115] Compiling Markdown DoxygenDiscussion.swift
1:59:15 PM: [107/115] Compiling Markdown DoxygenNote.swift
1:59:15 PM: [108/115] Compiling Markdown DoxygenParameter.swift
1:59:15 PM: [109/115] Compiling Markdown DoxygenReturns.swift
1:59:15 PM: [110/115] Compiling Markdown ListItem.swift
1:59:16 PM: [111/116] Wrapping AST for Markdown for debugging
1:59:16 PM: [113/190] Compiling Ignite Dropdown.swift
1:59:16 PM: /opt/build/repo/.build/checkouts/Ignite/Sources/Ignite/Elements/Include.swift:33:49: error: value of type 'URL' has no member 'appending'
1:59:16 PM:         let fileURL = context.includesDirectory.appending(path: filename)
1:59:16 PM:                       ~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
1:59:16 PM: [114/190] Compiling Ignite Embed.swift
1:59:16 PM: /opt/build/repo/.build/checkouts/Ignite/Sources/Ignite/Elements/Include.swift:33:49: error: value of type 'URL' has no member 'appending'
1:59:16 PM:         let fileURL = context.includesDirectory.appending(path: filename)
1:59:16 PM:                       ~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
1:59:16 PM: [115/190] Compiling Ignite Emphasis.swift
1:59:16 PM: /opt/build/repo/.build/checkouts/Ignite/Sources/Ignite/Elements/Include.swift:33:49: error: value of type 'URL' has no member 'appending'
1:59:16 PM:         let fileURL = context.includesDirectory.appending(path: filename)
1:59:16 PM:                       ~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
1:59:16 PM: [116/190] Compiling Ignite Group.swift
1:59:16 PM: /opt/build/repo/.build/checkouts/Ignite/Sources/Ignite/Elements/Include.swift:33:49: error: value of type 'URL' has no member 'appending'
1:59:16 PM:         let fileURL = context.includesDirectory.appending(path: filename)
1:59:16 PM:                       ~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
1:59:16 PM: [117/190] Compiling Ignite HTML.swift
1:59:16 PM: /opt/build/repo/.build/checkouts/Ignite/Sources/Ignite/Elements/Include.swift:33:49: error: value of type 'URL' has no member 'appending'
1:59:16 PM:         let fileURL = context.includesDirectory.appending(path: filename)
1:59:16 PM:                       ~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
1:59:16 PM: [118/190] Compiling Ignite Head.swift
1:59:16 PM: /opt/build/repo/.build/checkouts/Ignite/Sources/Ignite/Elements/Include.swift:33:49: error: value of type 'URL' has no member 'appending'
1:59:16 PM:         let fileURL = context.includesDirectory.appending(path: filename)
1:59:16 PM:                       ~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
1:59:16 PM: [119/190] Compiling Ignite Image.swift
1:59:16 PM: /opt/build/repo/.build/checkouts/Ignite/Sources/Ignite/Elements/Include.swift:33:49: error: value of type 'URL' has no member 'appending'
1:59:16 PM:         let fileURL = context.includesDirectory.appending(path: filename)
1:59:16 PM:                       ~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~

@Haibo-Zhou
Copy link
Author

Nice, I have manually deployed my website on Netlify with Netlify CLI. Wait for the Swift 6 shipping though for auto-deploy from github :)

@ptrkstr
Copy link

ptrkstr commented Sep 21, 2024

Wait for the Swift 6 shipping though for auto-deploy from github :)

@Haibo-Zhou could you share what you mean by this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants