The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build swift-trading-view, reference 1.0.6 (ab6c0c), with Swift 5.9 for macOS (SPM) on 23 Oct 2024 16:03:50 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.55.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sergeykhliustin/swift-trading-view.git
Reference: 1.0.6
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sergeykhliustin/swift-trading-view
 * tag               1.0.6      -> FETCH_HEAD
HEAD is now at ab6c0c6 ta-lib in Package.swift (#25)
Submodule path 'Sources/ta-lib': checked out 'f393d2af97e5526a34b2e3f4bdad25d9e44f83ac'
Submodule 'Sources/ta-lib' (https://github.com/TA-Lib/ta-lib.git) registered for path 'Sources/ta-lib'
Cloning into '/Users/admin/builder/spi-builder-workspace/Sources/ta-lib'...
Cloned https://github.com/sergeykhliustin/swift-trading-view.git
Revision (git rev-parse @):
ab6c0c611acebda007c396f6ecfa01228e1aaa34
SUCCESS checkout https://github.com/sergeykhliustin/swift-trading-view.git at 1.0.6
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD
https://github.com/sergeykhliustin/swift-trading-view.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/200] Copying Info.plist
[0/200] Copying InfoPlist.strings
[2/200] Compiling ta_VAR.c
[3/200] Compiling ta_utility.c
[4/200] Compiling ta_WCLPRICE.c
[5/200] Compiling ta_TSF.c
[6/200] Compiling ta_TRANGE.c
[7/200] Compiling ta_TEMA.c
[8/200] Compiling ta_TANH.c
[9/200] Compiling ta_TAN.c
[10/200] Compiling ta_SUM.c
[10/200] Compiling ta_T3.c
[12/200] Compiling ta_SUB.c
[13/200] Compiling ta_WMA.c
[14/200] Compiling ta_TRIX.c
[15/200] Compiling ta_STOCHRSI.c
[16/200] Compiling ta_ULTOSC.c
[17/200] Compiling ta_STOCH.c
[18/200] Compiling ta_STOCHF.c
[19/200] Compiling ta_STDDEV.c
[20/200] Compiling ta_SQRT.c
[21/200] Compiling ta_SMA.c
[22/200] Compiling ta_WILLR.c
[23/200] Compiling ta_SINH.c
[24/200] Compiling ta_SIN.c
[25/200] Compiling ta_TYPPRICE.c
[26/200] Compiling ta_SAR.c
[27/200] Compiling ta_SAREXT.c
[28/200] Compiling ta_ROCR100.c
[29/200] Compiling ta_RSI.c
[30/200] Compiling ta_ROCR.c
[31/200] Compiling ta_TRIMA.c
[32/200] Compiling ta_ROCP.c
[33/200] Compiling ta_ROC.c
[34/200] Compiling ta_PVI.c
[35/200] Compiling ta_PPO.c
[36/200] Compiling ta_PLUS_DM.c
[37/200] Compiling ta_PLUS_DI.c
[38/200] Compiling ta_OBV.c
[39/200] Compiling ta_MULT.c
[40/200] Compiling ta_NVI.c
[41/200] Compiling ta_MOM.c
[42/200] Compiling ta_NATR.c
[43/200] Compiling ta_MINUS_DM.c
[44/200] Compiling ta_MINMAXINDEX.c
[45/200] Compiling ta_MINMAX.c
[46/200] Compiling ta_MINUS_DI.c
[47/200] Compiling ta_MININDEX.c
[48/200] Compiling ta_MIDPRICE.c
[49/200] Compiling ta_MIN.c
[50/200] Compiling ta_MIDPOINT.c
[51/200] Compiling ta_MEDPRICE.c
[52/200] Compiling ta_MAXINDEX.c
[53/200] Compiling ta_MFI.c
[54/200] Compiling ta_MAVP.c
[55/200] Compiling ta_MAX.c
[56/200] Compiling ta_MAMA.c
[57/200] Compiling ta_MACDFIX.c
[58/200] Compiling ta_MACD.c
[59/200] Compiling ta_MACDEXT.c
[60/200] Compiling ta_MA.c
[61/200] Compiling ta_LOG10.c
[62/200] Compiling ta_LINEARREG_SLOPE.c
[63/200] Compiling ta_LN.c
[64/200] Compiling ta_LINEARREG_ANGLE.c
[65/200] Compiling ta_LINEARREG_INTERCEPT.c
[66/200] Compiling ta_LINEARREG.c
[67/200] Compiling ta_IMI.c
[68/200] Compiling ta_KAMA.c
[69/200] Compiling ta_HT_TRENDMODE.c
[70/200] Compiling ta_HT_TRENDLINE.c
[71/200] Compiling ta_FLOOR.c
[72/200] Compiling ta_EXP.c
[73/200] Compiling ta_HT_PHASOR.c
[74/200] Compiling ta_HT_SINE.c
[75/200] Compiling ta_HT_DCPERIOD.c
[76/200] Compiling ta_HT_DCPHASE.c
[77/200] Compiling ta_DIV.c
[78/200] Compiling ta_EMA.c
[79/200] Compiling ta_DX.c
[80/200] Compiling ta_DEMA.c
[81/200] Compiling ta_COSH.c
[82/200] Compiling ta_COS.c
[83/200] Compiling ta_CEIL.c
[84/200] Compiling ta_CORREL.c
[85/200] Compiling ta_CMO.c
[86/200] Compiling ta_CDLXSIDEGAP3METHODS.c
[87/200] Compiling ta_CDLUPSIDEGAP2CROWS.c
[88/200] Compiling ta_CDLTRISTAR.c
[89/200] Compiling ta_CDLTHRUSTING.c
[90/200] Compiling ta_CDLUNIQUE3RIVER.c
[91/200] Compiling ta_CDLTASUKIGAP.c
[92/200] Compiling ta_CDLTAKURI.c
[93/200] Compiling ta_CDLSTICKSANDWICH.c
[94/200] Compiling ta_CDLSPINNINGTOP.c
[95/200] Compiling ta_CDLSHORTLINE.c
[96/200] Compiling ta_CDLSTALLEDPATTERN.c
[97/200] Compiling ta_CDLSHOOTINGSTAR.c
[98/200] Compiling ta_CDLRICKSHAWMAN.c
[99/200] Compiling ta_CDLSEPARATINGLINES.c
[100/200] Compiling ta_CDLPIERCING.c
[101/200] Compiling ta_CDLRISEFALL3METHODS.c
[102/200] Compiling ta_CDLONNECK.c
[103/200] Compiling ta_CDLMORNINGSTAR.c
[104/200] Compiling ta_CDLMORNINGDOJISTAR.c
[105/200] Compiling ta_CDLMATCHINGLOW.c
[106/200] Compiling ta_CDLMATHOLD.c
[107/200] Compiling ta_CDLMARUBOZU.c
[108/200] Compiling ta_CDLLADDERBOTTOM.c
[109/200] Compiling ta_CDLLONGLINE.c
[110/200] Compiling ta_CDLLONGLEGGEDDOJI.c
[111/200] Compiling ta_CDLKICKINGBYLENGTH.c
[112/200] Compiling ta_CDLKICKING.c
[113/200] Compiling ta_CDLINNECK.c
[114/200] Compiling ta_CDLINVERTEDHAMMER.c
[115/200] Compiling ta_CDLHOMINGPIGEON.c
[116/200] Compiling ta_CDLIDENTICAL3CROWS.c
[117/200] Compiling ta_CDLHIKKAKE.c
[118/200] Compiling ta_CDLHIKKAKEMOD.c
[119/200] Compiling ta_CDLHIGHWAVE.c
[120/200] Compiling ta_CDLHARAMICROSS.c
[121/200] Compiling ta_CDLHARAMI.c
[122/200] Compiling ta_CDLGRAVESTONEDOJI.c
[123/200] Compiling ta_CDLHANGINGMAN.c
[124/200] Compiling ta_CDLHAMMER.c
[125/200] Compiling ta_CDLENGULFING.c
[126/200] Compiling ta_CDLGAPSIDESIDEWHITE.c
[127/200] Compiling ta_CDLEVENINGDOJISTAR.c
[128/200] Compiling ta_CDLEVENINGSTAR.c
[129/200] Compiling ta_CDLDRAGONFLYDOJI.c
[130/200] Compiling ta_CDLDOJI.c
[131/200] Compiling ta_CDLDOJISTAR.c
[132/200] Compiling ta_CDLDARKCLOUDCOVER.c
[133/200] Compiling ta_CDLCOUNTERATTACK.c
[134/200] Compiling ta_CDLCONCEALBABYSWALL.c
[135/200] Compiling ta_CDLCLOSINGMARUBOZU.c
[136/200] Compiling ta_CDLBREAKAWAY.c
[137/200] Compiling ta_CDLBELTHOLD.c
[138/200] Compiling ta_CDL3OUTSIDE.c
[139/200] Compiling ta_CDLABANDONEDBABY.c
[140/200] Compiling ta_CDL3STARSINSOUTH.c
[141/200] Compiling ta_CDL3WHITESOLDIERS.c
[142/200] Compiling ta_CDLADVANCEBLOCK.c
[143/200] Compiling ta_CDL3LINESTRIKE.c
[144/200] Compiling ta_CDL3INSIDE.c
[145/200] Compiling ta_CDL2CROWS.c
[146/200] Compiling ta_CDL3BLACKCROWS.c
[147/200] Compiling ta_CCI.c
[148/200] Compiling ta_BOP.c
[149/200] Compiling ta_BETA.c
[150/200] Compiling ta_AVGPRICE.c
[151/200] Compiling ta_AVGDEV.c
[152/200] Compiling ta_BBANDS.c
[153/200] Compiling ta_ATAN.c
[154/200] Compiling ta_ASIN.c
[155/200] Compiling ta_ATR.c
[156/200] Compiling ta_AROONOSC.c
[157/200] Compiling ta_AROON.c
[158/200] Compiling ta_APO.c
[159/200] Compiling ta_ADXR.c
[160/200] Compiling ta_ADD.c
[161/200] Compiling ta_ADOSC.c
[162/200] Compiling ta_ADX.c
[163/200] Compiling ta_version.c
[164/200] Compiling ta_AD.c
[165/200] Compiling ta_ACOS.c
[166/200] Compiling ta_ACCBANDS.c
[167/200] Compiling ta_retcode.c
[168/200] Compiling table_z.c
[169/200] Compiling ta_global.c
[170/200] Compiling table_y.c
[171/200] Compiling table_x.c
[172/200] Compiling table_w.c
[173/200] Compiling table_u.c
[174/200] Compiling table_t.c
[175/200] Compiling table_v.c
[176/200] Compiling table_r.c
[177/200] Compiling table_s.c
[178/200] Compiling table_q.c
[179/200] Compiling table_p.c
[180/200] Compiling table_n.c
[181/200] Compiling table_o.c
[182/200] Compiling table_m.c
[183/200] Compiling table_l.c
[184/200] Compiling table_k.c
[185/200] Compiling table_j.c
[186/200] Compiling table_i.c
[187/200] Compiling table_h.c
[188/200] Compiling table_g.c
[189/200] Compiling table_f.c
[190/200] Compiling table_e.c
[191/200] Compiling table_d.c
[192/200] Compiling table_c.c
[193/200] Compiling table_a.c
[194/200] Compiling ta_group_idx.c
[195/200] Compiling table_b.c
[196/200] Compiling ta_def_ui.c
[197/200] Compiling ta_abstract.c
[198/200] Compiling ta_frame.c
[199/200] Compiling ta_func_api.c
[201/202] Compiling SwiftTA TALib.swift
[202/202] Emitting module SwiftTA
[203/221] Compiling SwiftTradingView ContextInfo.swift
[204/221] Compiling SwiftTradingView ScrollOffsetPreferenceKey.swift
[205/222] Compiling SwiftTradingView CalculatedData.swift
[206/222] Compiling SwiftTradingView CandlesInfo.swift
[207/222] Compiling SwiftTradingView MACDIndicator.swift
[208/222] Compiling SwiftTradingView MAIndicator.swift
[209/222] Compiling SwiftTradingView Candles.swift
[210/222] Compiling SwiftTradingView Content.swift
[211/222] Compiling SwiftTradingView VolumeIndicator.swift
[212/222] Compiling SwiftTradingView WRIndicator.swift
[213/222] Compiling SwiftTradingView BBIndicator.swift
[214/222] Compiling SwiftTradingView KDJIndicator.swift
[215/222] Compiling SwiftTradingView Axis.swift
[216/222] Compiling SwiftTradingView XAxis.swift
[217/222] Compiling SwiftTradingView YAxis.swift
[218/222] Compiling SwiftTradingView CandleData.swift
[219/222] Emitting module SwiftTradingView
[220/222] Compiling SwiftTradingView RSIIndicator.swift
[221/222] Compiling SwiftTradingView StochRSIIndicator.swift
[222/222] Compiling SwiftTradingView TradingView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTradingView/TradingView.swift:122:26: error: variable 'self.secondaryContent' used before being initialized
        self.candleWidth = (candleWidth.lowerBound + candleWidth.upperBound) / 2
                         ^
error: fatalError
BUILD FAILURE 5.9 macosSpm