Home
Support Forums

Deploys failing because of missing file?

All my deploys are failing now. Not sure what’s happening. I have auto-deploy on, so as usual, when I committed it began building, but this time it failed.

2:29:55 PM: error: Error Domain=NSCocoaErrorDomain Code=260 “The file doesn’t exist.”
2:29:55 PM: Error building Swift package
2:29:55 PM: Build was terminated: Build script returned non-zero exit code: 1

I first assumed it was an issue with the commit, but when I hit the “Retry Deploy” on the currently published deploy/commit, it also failed in the same way. That would indicate to me that it is not a problem with my code, since a commit that previously worked, no longer works.

Note that I did try “Clear Cache and Deploy Site” option too.

Can anybody shed some light on the for me?

Thanks

can you post the full deploy log please? i think we need a little more information. also, a screenshot of your build settings and the content of your package.json could be useful. thanks!

2:18:09 PM: Build ready to start
2:18:10 PM: build-image version: 653805ca4a64301556e56dc4b321ef8fc20cbb7c
2:18:10 PM: build-image tag: v3.8.2
2:18:10 PM: buildbot version: bf9be7ea56ec0f50fe66ad62329f6fddd6eb887a
2:18:11 PM: Fetching cached dependencies
2:18:11 PM: Starting to download cache of 523.6MB
2:18:19 PM: Finished downloading cache in 8.501676186s
2:18:19 PM: Starting to extract cache
2:18:34 PM: Finished extracting cache in 14.387033401s
2:18:34 PM: Finished fetching cache in 23.090846638s
2:18:34 PM: Starting to prepare the repo for build
2:18:34 PM: Netlify Large Media is enabled, running git commands with GIT_LFS_SKIP_SMUDGE=1
2:18:34 PM: Preparing Git Reference refs/heads/master
2:18:37 PM: Parsing package.json dependencies
2:18:38 PM: Different publish path detected, going to use the one specified in the Netlify configuration file: ‘Output’ versus ‘Output/’ in the Netlify UI
2:18:38 PM: Starting build script
2:18:38 PM: Installing dependencies
2:18:38 PM: Python version set to 2.7
2:18:38 PM: Started restoring cached node version
2:18:41 PM: Finished restoring cached node version
2:18:42 PM: v12.18.0 is already installed.
2:18:43 PM: Now using node v12.18.0 (npm v6.14.4)
2:18:43 PM: Started restoring cached build plugins
2:18:43 PM: Finished restoring cached build plugins
2:18:43 PM: Attempting ruby version 2.7.1, read from environment
2:18:44 PM: Started restoring cached ruby version
2:18:44 PM: Finished restoring cached ruby version
2:18:46 PM: Using ruby version 2.7.1
2:18:46 PM: Using PHP version 5.6
2:18:46 PM: Started restoring cached Swift version
2:18:48 PM: Finished restoring cached Swift version
2:18:48 PM: 5.2 is already installed.
2:18:48 PM: Using Swift version 5.2
2:18:48 PM: Building Swift Package
2:18:48 PM: Started restoring cached swift build
2:18:48 PM: Finished restoring cached swift build
2:18:53 PM: error: Error Domain=NSCocoaErrorDomain Code=260 “The file doesn’t exist.”
2:18:53 PM: Error building Swift package
2:18:53 PM: Build was terminated: Build script returned non-zero exit code: 1
2:18:53 PM: Creating deploy upload records
2:18:53 PM: Failing build: Failed to build site
2:18:53 PM: Failed during stage ‘building site’: Build script returned non-zero exit code: 1
2:18:53 PM: Finished processing build request in 42.377742712s

I have this in a netlify.toml

[build]
  publish = "Output/"
  command = "swift package update && swift run -v"

Do you have any idea which file you’re trying to access there?

No. I made no changes regarding file access and the error is not very helpful. My project builds just fine locally.

My latest successful deploy was yesterday, but when I try that very same deploy in the Netlify Admin it fails. Here is the log of the successful deploy for comparison. The error appears to be happening when updating dependencies.

10:20:47 AM: Build ready to start

10:20:51 AM: build-image version: 653805ca4a64301556e56dc4b321ef8fc20cbb7c

10:20:51 AM: build-image tag: v3.8.2

10:20:51 AM: buildbot version: 2b61fc9c8b1680f3b15daef101e468894931152e

10:20:52 AM: Fetching cached dependencies

10:20:52 AM: Starting to download cache of 523.6MB

10:20:54 AM: Finished downloading cache in 2.231602486s

10:20:54 AM: Starting to extract cache

10:21:09 AM: Finished extracting cache in 14.674618584s

10:21:09 AM: Finished fetching cache in 17.003519326s

10:21:09 AM: Starting to prepare the repo for build

10:21:09 AM: Netlify Large Media is enabled, running git commands with GIT_LFS_SKIP_SMUDGE=1

10:21:09 AM: Preparing Git Reference refs/heads/master

10:21:12 AM: Parsing package.json dependencies

10:21:12 AM: Different publish path detected, going to use the one specified in the Netlify configuration file: ‘Output’ versus ‘Output/’ in the Netlify UI

10:21:12 AM: Starting build script

10:21:12 AM: Installing dependencies

10:21:12 AM: Python version set to 2.7

10:21:13 AM: Started restoring cached node version

10:21:15 AM: Finished restoring cached node version

10:21:16 AM: v12.18.0 is already installed.

10:21:16 AM: Now using node v12.18.0 (npm v6.14.4)

10:21:16 AM: Started restoring cached build plugins

10:21:16 AM: Finished restoring cached build plugins

10:21:17 AM: Attempting ruby version 2.7.1, read from environment

10:21:17 AM: Started restoring cached ruby version

10:21:17 AM: Finished restoring cached ruby version

10:21:19 AM: Using ruby version 2.7.1

10:21:20 AM: Using PHP version 5.6

10:21:20 AM: Started restoring cached Swift version

10:21:21 AM: Finished restoring cached Swift version

10:21:21 AM: 5.2 is already installed.

10:21:21 AM: Using Swift version 5.2

10:21:21 AM: Building Swift Package

10:21:21 AM: Started restoring cached swift build

10:21:21 AM: Finished restoring cached swift build

10:21:25 AM: Updating GitHub - Goosse/Publish: A static site generator for Swift developers

10:21:26 AM: Updating GitHub - Goosse/SearaPublishTheme: Theme for radioseara.fm

10:21:27 AM: Updating GitHub - JohnSundell/Codextended: Extensions giving Swift's Codable API type inference super powers 🦸‍♂️🦹‍♀️

10:21:28 AM: Updating GitHub - JohnSundell/Sweep: Fast and powerful Swift string scanning made simple

10:21:28 AM: Updating GitHub - JohnSundell/Ink: A fast and flexible Markdown parser written in Swift.

10:21:28 AM: Updating GitHub - JohnSundell/Plot: A DSL for writing type-safe HTML, XML and RSS in Swift.

10:21:29 AM: Updating GitHub - JohnSundell/ShellOut: Easily run shell commands from a Swift script or command line tool

10:21:29 AM: Updating GitHub - JohnSundell/Files: A nicer way to handle files & folders in Swift

10:21:33 AM: Resolving GitHub - Goosse/SearaPublishTheme: Theme for radioseara.fm at master

10:21:35 AM: [1/14] Merging module Codextended

10:21:35 AM: [2/14] Merging module Files

10:21:35 AM: [3/14] Merging module Sweep

10:21:35 AM: [4/14] Wrapping AST for Codextended for debugging

10:21:35 AM: [5/14] Wrapping AST for Files for debugging

10:21:35 AM: [6/14] Wrapping AST for Sweep for debugging

10:21:35 AM: [7/14] Merging module ShellOut

10:21:35 AM: [8/14] Wrapping AST for ShellOut for debugging

10:21:35 AM: [9/15] Merging module Ink

10:21:35 AM: [10/15] Wrapping AST for Ink for debugging

10:21:36 AM: [11/16] Merging module Plot

10:21:36 AM: [12/16] Wrapping AST for Plot for debugging

10:21:36 AM: [13/17] Merging module Publish

10:21:36 AM: [14/19] Wrapping AST for Publish for debugging

10:21:37 AM: [15/19] Compiling SearaPublishTheme Node+InlineSVG.swift

10:21:38 AM: [16/19] Compiling SearaPublishTheme Theme+Seara.swift

10:21:38 AM: [17/20] Merging module SearaPublishTheme

10:21:38 AM: [18/22] Wrapping AST for SearaPublishTheme for debugging

10:21:38 AM: [19/22] Compiling Radiosearafm PodcastConfigs.swift

10:21:38 AM: [20/22] Compiling Radiosearafm main.swift

10:21:39 AM: [21/23] Merging module Radiosearafm

10:21:39 AM: [22/23] Wrapping AST for Radiosearafm for debugging

10:21:39 AM: [23/23] Linking Radiosearafm

10:21:39 AM: Swift package Built

10:21:39 AM: Started restoring cached go cache

10:21:39 AM: Finished restoring cached go cache

10:21:39 AM: go version go1.14.4 linux/amd64

10:21:39 AM: go version go1.14.4 linux/amd64

10:21:39 AM: Installing missing commands

10:21:39 AM: Verify run directory

10:21:40 AM: ​

10:21:40 AM: ────────────────────────────────────────────────────────────────

10:21:40 AM: Netlify Build

10:21:40 AM: ────────────────────────────────────────────────────────────────

10:21:40 AM: ​

10:21:40 AM: ❯ Version

10:21:40 AM: @netlify/build 17.4.1

10:21:40 AM: ​

10:21:40 AM: ❯ Flags

10:21:40 AM: deployId: 6107f12f24b5e700074440b2

10:21:40 AM: ​

10:21:40 AM: ❯ Current directory

10:21:40 AM: /opt/build/repo

10:21:40 AM: ​

10:21:40 AM: ❯ Config file

10:21:40 AM: /opt/build/repo/netlify.toml

10:21:40 AM: ​

10:21:40 AM: ❯ Context

10:21:40 AM: production

10:21:40 AM: ​

10:21:40 AM: ────────────────────────────────────────────────────────────────

10:21:40 AM: 1. build.command from netlify.toml

10:21:40 AM: ────────────────────────────────────────────────────────────────

10:21:40 AM: ​

10:21:40 AM: $ swift package update && swift run -v

10:21:43 AM: Updating GitHub - Goosse/Publish: A static site generator for Swift developers

10:21:44 AM: Updating GitHub - Goosse/SearaPublishTheme: Theme for radioseara.fm

10:21:44 AM: Updating GitHub - JohnSundell/Ink: A fast and flexible Markdown parser written in Swift.

10:21:45 AM: Updating GitHub - JohnSundell/Plot: A DSL for writing type-safe HTML, XML and RSS in Swift.

10:21:45 AM: Updating GitHub - JohnSundell/Sweep: Fast and powerful Swift string scanning made simple

10:21:46 AM: Updating GitHub - JohnSundell/ShellOut: Easily run shell commands from a Swift script or command line tool

10:21:46 AM: Updating GitHub - JohnSundell/Codextended: Extensions giving Swift's Codable API type inference super powers 🦸‍♂️🦹‍♀️

10:21:47 AM: Updating GitHub - JohnSundell/Files: A nicer way to handle files & folders in Swift

10:21:51 AM: Resolving GitHub - Goosse/SearaPublishTheme: Theme for radioseara.fm at master

10:21:53 AM: /opt/buildhome/.swiftenv/versions/5.2/usr/bin/swiftc -module-name SearaPublishTheme -incremental -emit-dependencies -emit-module -emit-module-path /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug/SearaPublishTheme.swiftmodule -output-file-map /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug/SearaPublishTheme.build/output-file-map.json -parse-as-library -c /opt/build/repo/.build/checkouts/SearaPublishTheme/Sources/SearaPublishTheme/Node+InlineSVG.swift /opt/build/repo/.build/checkouts/SearaPublishTheme/Sources/SearaPublishTheme/Theme+Seara.swift -I /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug -target x86_64-unknown-linux-gnu -swift-version 5 -enable-batch-mode -index-store-path /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug/index/store -Onone -enable-testing -g -j8 -DSWIFT_PACKAGE -DDEBUG -module-cache-path /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug/ModuleCache -parseable-output

10:21:53 AM: /opt/buildhome/.swiftenv/versions/5.2/usr/bin/swift -frontend -c -primary-file /opt/build/repo/.build/checkouts/SearaPublishTheme/Sources/SearaPublishTheme/Node+InlineSVG.swift /opt/build/repo/.build/checkouts/SearaPublishTheme/Sources/SearaPublishTheme/Theme+Seara.swift -emit-module-path /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug/SearaPublishTheme.build/Node+InlineSVG~partial.swiftmodule -emit-module-doc-path /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug/SearaPublishTheme.build/Node+InlineSVG~partial.swiftdoc -emit-module-source-info-path /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug/SearaPublishTheme.build/Node+InlineSVG~partial.swiftsourceinfo -emit-dependencies-path /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug/SearaPublishTheme.build/Node+InlineSVG.d -emit-reference-dependencies-path /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug/SearaPublishTheme.build/Node+InlineSVG.swiftdeps -target x86_64-unknown-linux-gnu -disable-objc-interop -I /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug -enable-testing -g -module-cache-path /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -enable-anonymous-context-mangled-names -parse-as-library -module-name SearaPublishTheme -o /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug/SearaPublishTheme.build/Node+InlineSVG.swift.o -index-store-path /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug/index/store -index-system-modules

10:21:53 AM: /opt/buildhome/.swiftenv/versions/5.2/usr/bin/swift -frontend -c /opt/build/repo/.build/checkouts/SearaPublishTheme/Sources/SearaPublishTheme/Node+InlineSVG.swift -primary-file /opt/build/repo/.build/checkouts/SearaPublishTheme/Sources/SearaPublishTheme/Theme+Seara.swift -emit-module-path /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug/SearaPublishTheme.build/Theme+Seara~partial.swiftmodule -emit-module-doc-path /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug/SearaPublishTheme.build/Theme+Seara~partial.swiftdoc -emit-module-source-info-path /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug/SearaPublishTheme.build/Theme+Seara~partial.swiftsourceinfo -emit-dependencies-path /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug/SearaPublishTheme.build/Theme+Seara.d -emit-reference-dependencies-path /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug/SearaPublishTheme.build/Theme+Seara.swiftdeps -target x86_64-unknown-linux-gnu -disable-objc-interop -I /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug -enable-testing -g -module-cache-path /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -enable-anonymous-context-mangled-names -parse-as-library -module-name SearaPublishTheme -o /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug/SearaPublishTheme.build/Theme+Seara.swift.o -index-store-path /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug/index/store -index-system-modules

10:21:54 AM: /opt/buildhome/.swiftenv/versions/5.2/usr/bin/swift -frontend -merge-modules -emit-module /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug/SearaPublishTheme.build/Node+InlineSVG~partial.swiftmodule /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug/SearaPublishTheme.build/Theme+Seara~partial.swiftmodule -parse-as-library -sil-merge-partial-modules -disable-diagnostic-passes -disable-sil-perf-optzns -target x86_64-unknown-linux-gnu -disable-objc-interop -I /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug -enable-testing -g -module-cache-path /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -enable-anonymous-context-mangled-names -emit-module-doc-path /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug/SearaPublishTheme.swiftdoc -emit-module-source-info-path /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug/SearaPublishTheme.swiftsourceinfo -module-name SearaPublishTheme -o /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug/SearaPublishTheme.swiftmodule

10:21:55 AM: /opt/buildhome/.swiftenv/versions/5.2/usr/bin/swiftc -modulewrap /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug/SearaPublishTheme.swiftmodule -o /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug/SearaPublishTheme.build/SearaPublishTheme.swiftmodule.o

10:21:55 AM: /opt/buildhome/.swiftenv/versions/5.2/usr/bin/swiftc -module-name Radiosearafm -incremental -emit-dependencies -emit-module -emit-module-path /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug/Radiosearafm.swiftmodule -output-file-map /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug/Radiosearafm.build/output-file-map.json -c /opt/build/repo/Sources/Radiosearafm/PodcastConfigs.swift /opt/build/repo/Sources/Radiosearafm/main.swift -I /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug -target x86_64-unknown-linux-gnu -swift-version 5 -enable-batch-mode -index-store-path /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug/index/store -Onone -enable-testing -g -j8 -DSWIFT_PACKAGE -DDEBUG -module-cache-path /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug/ModuleCache -parseable-output

10:21:55 AM: /opt/buildhome/.swiftenv/versions/5.2/usr/bin/swift -frontend -c -primary-file /opt/build/repo/Sources/Radiosearafm/PodcastConfigs.swift /opt/build/repo/Sources/Radiosearafm/main.swift -emit-module-path /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug/Radiosearafm.build/PodcastConfigs~partial.swiftmodule -emit-module-doc-path /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug/Radiosearafm.build/PodcastConfigs~partial.swiftdoc -emit-module-source-info-path /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug/Radiosearafm.build/PodcastConfigs~partial.swiftsourceinfo -emit-dependencies-path /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug/Radiosearafm.build/PodcastConfigs.d -emit-reference-dependencies-path /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug/Radiosearafm.build/PodcastConfigs.swiftdeps -target x86_64-unknown-linux-gnu -disable-objc-interop -I /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug -enable-testing -g -module-cache-path /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -enable-anonymous-context-mangled-names -module-name Radiosearafm -o /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug/Radiosearafm.build/PodcastConfigs.swift.o -index-store-path /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug/index/store -index-system-modules

10:21:55 AM: /opt/buildhome/.swiftenv/versions/5.2/usr/bin/swift -frontend -c /opt/build/repo/Sources/Radiosearafm/PodcastConfigs.swift -primary-file /opt/build/repo/Sources/Radiosearafm/main.swift -emit-module-path /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug/Radiosearafm.build/main~partial.swiftmodule -emit-module-doc-path /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug/Radiosearafm.build/main~partial.swiftdoc -emit-module-source-info-path /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug/Radiosearafm.build/main~partial.swiftsourceinfo -emit-dependencies-path /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug/Radiosearafm.build/main.d -emit-reference-dependencies-path /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug/Radiosearafm.build/main.swiftdeps -target x86_64-unknown-linux-gnu -disable-objc-interop -I /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug -enable-testing -g -module-cache-path /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -enable-anonymous-context-mangled-names -module-name Radiosearafm -o /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug/Radiosearafm.build/main.swift.o -index-store-path /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug/index/store -index-system-modules

10:21:55 AM: /opt/buildhome/.swiftenv/versions/5.2/usr/bin/swift -frontend -merge-modules -emit-module /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug/Radiosearafm.build/PodcastConfigs~partial.swiftmodule /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug/Radiosearafm.build/main~partial.swiftmodule -parse-as-library -sil-merge-partial-modules -disable-diagnostic-passes -disable-sil-perf-optzns -target x86_64-unknown-linux-gnu -disable-objc-interop -I /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug -enable-testing -g -module-cache-path /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -enable-anonymous-context-mangled-names -emit-module-doc-path /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug/Radiosearafm.swiftdoc -emit-module-source-info-path /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug/Radiosearafm.swiftsourceinfo -module-name Radiosearafm -o /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug/Radiosearafm.swiftmodule

10:21:55 AM: /opt/buildhome/.swiftenv/versions/5.2/usr/bin/swiftc -L /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug -o /opt/build/repo/.build/x86_64-unknown-linux-gnu/debug/Radiosearafm -module-name Radiosearafm -emit-executable -Xlinker ‘-rpath=$ORIGIN’ @/opt/build/repo/.build/x86_64-unknown-linux-gnu/debug/Radiosearafm.product/Objects.LinkFileList -target x86_64-unknown-linux-gnu -L /opt/buildhome/.swiftenv/versions/5.2/usr/lib

10:22:12 AM: Publishing Rádio Seara FM 102,7 (20 steps)

10:22:12 AM: [1/20] Use custom DateFormatter

10:22:12 AM: [2/20] Copy ‘recursos’ files

10:22:12 AM: [3/20] Add Markdown files from ‘Content’ folder

10:22:12 AM: [4/20] Remove items

10:22:12 AM: [5/20] Sort items

10:22:12 AM: [6/20] Set imagePaths

10:22:12 AM: [7/20] Generate HTML

10:22:12 AM: [8/20] Generate RSS feed

10:22:12 AM: Creating deploy upload records

10:22:12 AM: [9/20] Generate site map

10:22:12 AM: [10/20] Copy file ‘/CNAME’

10:22:12 AM: [11/20] Generate podcast feed

10:22:12 AM: [12/20] Generate podcast feed

10:22:12 AM: [13/20] Generate podcast feed

10:22:12 AM: [14/20] Generate podcast feed

10:22:12 AM: [15/20] Generate podcast feed

10:22:12 AM: [16/20] Generate podcast feed

10:22:12 AM: [17/20] Generate podcast feed

10:22:12 AM: [18/20] Generate podcast feed

10:22:12 AM: [19/20] Generate podcast feed

10:22:12 AM: [20/20] Generate podcast feed

10:22:12 AM: :white_check_mark: Successfully published Rádio Seara FM 102,7

10:22:12 AM: ​

10:22:12 AM: (build.command completed in 32.7s)

10:22:12 AM: ​

10:22:12 AM: ────────────────────────────────────────────────────────────────

10:22:12 AM: 2. Deploy site

10:22:12 AM: ────────────────────────────────────────────────────────────────

10:22:12 AM: ​

10:22:12 AM: Starting to deploy site from ‘Output’

10:22:12 AM: Creating deploy tree

10:22:13 AM: 330 new files to upload

10:22:13 AM: 0 new functions to upload

10:22:22 AM: Site deploy was successfully initiated

10:22:22 AM: ​

10:22:22 AM: (Deploy site completed in 9.2s)

10:22:22 AM: ​

10:22:22 AM: ────────────────────────────────────────────────────────────────

10:22:22 AM: Netlify Build Complete

10:22:22 AM: ────────────────────────────────────────────────────────────────

10:22:22 AM: ​

10:22:22 AM: (Netlify Build completed in 42s)

10:22:22 AM: Caching artifacts

10:22:22 AM: Started saving swift build

10:22:22 AM: Finished saving swift build

10:22:22 AM: Started saving build plugins

10:22:22 AM: Finished saving build plugins

10:22:22 AM: Started saving pip cache

10:22:22 AM: Finished saving pip cache

10:22:22 AM: Started saving emacs cask dependencies

10:22:22 AM: Finished saving emacs cask dependencies

10:22:22 AM: Started saving maven dependencies

10:22:22 AM: Finished saving maven dependencies

10:22:22 AM: Started saving boot dependencies

10:22:22 AM: Finished saving boot dependencies

10:22:22 AM: Started saving rust rustup cache

10:22:22 AM: Finished saving rust rustup cache

10:22:22 AM: Started saving go dependencies

10:22:22 AM: Finished saving go dependencies

10:22:22 AM: Build script success

10:22:25 AM: Starting post processing

10:22:25 AM: Post processing - HTML

10:22:25 AM: Mixed content detected in: /ao-vivo/index.html

10:22:25 AM: → insecure source urls:

10:22:25 AM: - http://sc1.shoutcaststreaming.us:8116/stream;

10:22:51 AM: Post processing - header rules

10:22:51 AM: Post processing - redirect rules

10:22:51 AM: Post processing done

10:22:51 AM: Site is live :sparkles:

10:23:52 AM: Finished processing build request in 3m0.809404884s

Ok. I reverted back (in git) to the latest commit that built properly. And it worked!
So it really is my code after all. :sweat_smile:

I then manually made the changes I had done in the troublesome commit. It was only a few lines.
This also worked! So I’m all good now!

When I compared my latest changes with the troublesome commit, I realized that I had left left the package.swift file referring to a local copy of my theme repo as a dependency, instead of to Github. :unamused:
That explains why it worked fine locally, but not on the server.

But this brings up another question about the Netlify Admin UI.

In the deploy history, when I click on a specific deploy. It appears to me by the UI, that it is linked to a specific commit in the repo, and therefore, by clicking the “Retry Deploy” while on the page of that deploy’s summary and log I would be building based on that commit. Not the latest commit in the repo.

But the fact that it failed until I actually reverted to that commit in git indicates that it builds from the latest commit. If so, the UI is confusing.

@jgoossen

Yeah, that is correct. I can see how it can be confusing. However, the build log does specify that it’s trying to clone the head, but yeah it won’t be obvious at the first glance. We’ll pass this on to the UI team.