Skip to content

remove constructor #270

remove constructor

remove constructor #270

Triggered via push October 16, 2024 21:58
Status Failure
Total duration 9m 24s
Artifacts

CI.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

7 errors, 5 warnings, and 1 notice
Documentation: ../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L44
failed to run `@example` block in src/DuctAPE/tutorial.md:407-412 ```@example tutorial outs, success_flag = DuctAPE.analyze( ducted_rotor, operating_point, reference_parameters, options ) nothing # hide ``` exception = type Section has no field ref Stacktrace: [1] _broadcast_getindex_evalf @ ./broadcast.jl:673 [inlined] [2] _broadcast_getindex @ ./broadcast.jl:646 [inlined] [3] getindex @ ./broadcast.jl:605 [inlined] [4] copy @ ./broadcast.jl:906 [inlined] [5] materialize @ ./broadcast.jl:867 [inlined] [6] getproperty(obj::Vector{DuctAPE.C4Blade.Section{Float64, Float64, Float64, DuctAPE.C4Blade.DFDCairfoil{Float64, Bool}}}, sym::Symbol) @ DuctAPE.C4Blade ~/work/DuctAPE.jl/DuctAPE.jl/src/C4Blade/C4Blade.jl:107 [7] dataids(A::Vector{DuctAPE.C4Blade.Section{Float64, Float64, Float64, DuctAPE.C4Blade.DFDCairfoil{Float64, Bool}}}) @ Base ./abstractarray.jl:1562 [8] mightalias @ ./abstractarray.jl:1537 [inlined] [9] unalias @ ./abstractarray.jl:1500 [inlined] [10] broadcast_unalias @ ./broadcast.jl:941 [inlined] [11] preprocess @ ./broadcast.jl:948 [inlined] [12] preprocess_args @ ./broadcast.jl:950 [inlined] [13] preprocess @ ./broadcast.jl:947 [inlined] [14] copyto! @ ./broadcast.jl:964 [inlined] [15] copyto! @ ./broadcast.jl:920 [inlined] [16] copy @ ./broadcast.jl:892 [inlined] [17] materialize @ ./broadcast.jl:867 [inlined] [18] initialize_velocities!(solver_options::ChainSolverOptions{Bool, Int64, DuctAPE.ExternalSolverOptions}, vz_rotor::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, vtheta_rotor::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, Cm_wake::SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, operating_point::@NamedTuple{Vinf::SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, rhoinf::SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, muinf::SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, asound::SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Omega::SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}}, blade_elements::@NamedTuple{B::SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Rtip::SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Rhub::SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, fliplift::SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, chords::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, twists::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, stagger::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, solidity::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, rotor_panel_centers::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, inner_fraction::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, outer_airfoil::Matrix{DuctAPE.C4Blade.DFDCairfoil{Float64, Bool}}, inner_airfoil::Matrix{DuctAPE.C4Blade.DFDCairfoil{Float64, Bool}}}, linsys::@NamedTuple{A_bb::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, b_bf::SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, A_bw::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, A_pw::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}
Documentation: ../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L44
failed to run `@example` block in src/DuctAPE/tutorial.md:418-421 ```@example tutorial # Total Thrust Coefficient outs.totals.CT ``` exception = UndefVarError: `outs` not defined in `Main.__atexample__named__tutorial` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ :0 [2] eval @ ./boot.jl:430 [inlined] [3] #60 @ ~/.julia/packages/Documenter/C1XEF/src/expander_pipeline.jl:754 [inlined] [4] cd(f::Documenter.var"#60#62"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [5] (::Documenter.var"#59#61"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/C1XEF/src/expander_pipeline.jl:753 [6] (::IOCapture.var"#5#9"{DataType, Documenter.var"#59#61"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:170 [7] with_logstate(f::IOCapture.var"#5#9"{DataType, Documenter.var"#59#61"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}}, logstate::Base.CoreLogging.LogState) @ Base.CoreLogging ./logging/logging.jl:522 [8] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) @ Base.CoreLogging ./logging/logging.jl:632 [9] capture(f::Documenter.var"#59#61"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:167 [10] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/C1XEF/src/expander_pipeline.jl:752
Documentation: ../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L44
failed to run `@example` block in src/DuctAPE/tutorial.md:422-425 ```@example tutorial # Total Torque Coefficient outs.totals.CQ ``` exception = UndefVarError: `outs` not defined in `Main.__atexample__named__tutorial` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ :0 [2] eval @ ./boot.jl:430 [inlined] [3] #60 @ ~/.julia/packages/Documenter/C1XEF/src/expander_pipeline.jl:754 [inlined] [4] cd(f::Documenter.var"#60#62"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [5] (::Documenter.var"#59#61"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/C1XEF/src/expander_pipeline.jl:753 [6] (::IOCapture.var"#5#9"{DataType, Documenter.var"#59#61"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:170 [7] with_logstate(f::IOCapture.var"#5#9"{DataType, Documenter.var"#59#61"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}}, logstate::Base.CoreLogging.LogState) @ Base.CoreLogging ./logging/logging.jl:522 [8] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) @ Base.CoreLogging ./logging/logging.jl:632 [9] capture(f::Documenter.var"#59#61"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:167 [10] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/C1XEF/src/expander_pipeline.jl:752
Documentation: ../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L44
failed to run `@example` block in src/DuctAPE/tutorial.md:437-460 ```@example tutorial # - Advance Ratio Range - # Js = range(0.0, 2.0; step=0.01) # - Calculate Vinfs - # D = 2.0 * rotor.Rtip[1] # rotor diameter n = RPM / 60.0 # rotation rate in revolutions per second Vinfs = Js * n * D # - Set Operating Points - # operating_points = [deepcopy(operating_point) for i in 1:length(Vinfs)] for (iv, v) in enumerate(Vinfs) operating_points[iv].Vinf[] = v end # - Run Multi-point Analysis - # outs_vec, success_flags = DuctAPE.analyze( ducted_rotor, operating_points, reference_parameters, DuctAPE.set_options(operating_points), ) nothing #hide ``` exception = type Section has no field ref Stacktrace: [1] _broadcast_getindex_evalf @ ./broadcast.jl:673 [inlined] [2] _broadcast_getindex @ ./broadcast.jl:646 [inlined] [3] getindex @ ./broadcast.jl:605 [inlined] [4] copy @ ./broadcast.jl:906 [inlined] [5] materialize @ ./broadcast.jl:867 [inlined] [6] getproperty(obj::Vector{DuctAPE.C4Blade.Section{Float64, Float64, Float64, DuctAPE.C4Blade.DFDCairfoil{Float64, Bool}}}, sym::Symbol) @ DuctAPE.C4Blade ~/work/DuctAPE.jl/DuctAPE.jl/src/C4Blade/C4Blade.jl:107 [7] dataids(A::Vector{DuctAPE.C4Blade.Section{Float64, Float64, Float64, DuctAPE.C4Blade.DFDCairfoil{Float64, Bool}}}) @ Base ./abstractarray.jl:1562 [8] mightalias @ ./abstractarray.jl:1537 [inlined] [9] unalias @ ./abstractarray.jl:1500 [inlined] [10] broadcast_unalias @ ./broadcast.jl:941 [inlined] [11] preprocess @ ./broadcast.jl:948 [inlined] [12] preprocess_args @ ./broadcast.jl:950 [inlined] [13] preprocess @ ./broadcast.jl:947 [inlined] [14] copyto! @ ./broadcast.jl:964 [inlined] [15] copyto! @ ./broadcast.jl:920 [inlined] [16] copy @ ./broadcast.jl:892 [inlined] [17] materialize @ ./broadcast.jl:867 [inlined] [18] initialize_velocities!(solver_options::ChainSolverOptions{Bool, Int64, DuctAPE.ExternalSolverOptions}, vz_rotor::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, vtheta_rotor::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, Cm_wake::SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, operating_point::@NamedTuple{Vinf::SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, rhoinf::SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, muinf::SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, asound::SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Omega::SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}}, blade_elements::@NamedTuple{B::SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Rtip::SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Rhub::SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, fliplift::SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, chords::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, twists::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, stagger::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, solidity::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, rotor_panel_centers::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, inner_fraction::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, outer_airfoil::Matrix{DuctAPE.C4Blade.DFDCairfoil{Float64, Bool}}, inner_airfoil::Matrix{DuctAPE.C4Blade.DFDCairfoil{Floa
Documentation: ../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L44
failed to run `@example` block in src/DuctAPE/tutorial.md:509-521 ```@example tutorial # - extract efficiency, power, and thrust coefficients - # # efficiency eta = (p->p.totals.total_efficiency[1]).(outs_vec) # power c_p = (p->p.totals.CP[1]).(outs_vec) # thrust c_t = (p->p.totals.CT[1]).(outs_vec) nothing #hide ``` exception = UndefVarError: `outs_vec` not defined in `Main.__atexample__named__tutorial` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ tutorial.md:513 [2] eval @ ./boot.jl:430 [inlined] [3] #60 @ ~/.julia/packages/Documenter/C1XEF/src/expander_pipeline.jl:754 [inlined] [4] cd(f::Documenter.var"#60#62"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [5] (::Documenter.var"#59#61"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/C1XEF/src/expander_pipeline.jl:753 [6] (::IOCapture.var"#5#9"{DataType, Documenter.var"#59#61"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:170 [7] with_logstate(f::IOCapture.var"#5#9"{DataType, Documenter.var"#59#61"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}}, logstate::Base.CoreLogging.LogState) @ Base.CoreLogging ./logging/logging.jl:522 [8] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) @ Base.CoreLogging ./logging/logging.jl:632 [9] capture(f::Documenter.var"#59#61"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:167 [10] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/C1XEF/src/expander_pipeline.jl:752
Documentation: ../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L44
failed to run `@example` block in src/DuctAPE/tutorial.md:525-607 ```@example tutorial using Plots # set up efficiency plot pe = plot(; xlabel="Advance Ratio", ylabel="Efficiency") # plot DFDC data plot!( pe, dfdc_J, dfdc_eta; seriestype=:scatter, markersize=5, markercolor=plotsgray, # hide markerstrokecolor=plotsgray, # hide label="DFDC", ) # Plot DuctAPE outputs plot!( pe, Js, eta; linewidth=2, color=primary, # hide label="DuctAPE", ) # setup c_p/c_t plot ppt = plot(; xlabel="Advance Ratio") # plot DFDC data plot!( ppt, dfdc_J, dfdc_cp; seriestype=:scatter, markersize=5, markercolor=plotsgray, # hide markerstrokecolor=primary, # hide markerstrokewidth=2, label="DFDC Cp", ) plot!( ppt, dfdc_J, dfdc_ct; seriestype=:scatter, markersize=5, markercolor=plotsgray, # hide markerstrokecolor=secondary, # hide markerstrokewidth=2, label="DFDC Ct", ) # plot DuctAPE outputs plot!( ppt, Js, c_p; linewidth=1.5, color=primary, # hide label="DuctAPE c_p", ) plot!( ppt, Js, c_t; linewidth=1.5, color=secondary, # hide label="DuctAPE Ct", ) plot( pe, ppt; size=(700, 350), layout=(1, 2), margin=2mm, # hide ) ``` exception = UndefVarError: `eta` not defined in `Main.__atexample__named__tutorial` Suggestion: check for spelling errors or missing imports. Hint: a global variable of this name may be made accessible by importing SpecialFunctions in the current active module Main Stacktrace: [1] top-level scope @ tutorial.md:544 [2] eval @ ./boot.jl:430 [inlined] [3] #60 @ ~/.julia/packages/Documenter/C1XEF/src/expander_pipeline.jl:754 [inlined] [4] cd(f::Documenter.var"#60#62"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [5] (::Documenter.var"#59#61"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/C1XEF/src/expander_pipeline.jl:753 [6] (::IOCapture.var"#5#9"{DataType, Documenter.var"#59#61"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:170 [7] with_logstate(f::IOCapture.var"#5#9"{DataType, Documenter.var"#59#61"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}}, logstate::Base.CoreLogging.LogState) @ Base.CoreLogging ./logging/logging.jl:522 [8] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) @ Base.CoreLogging ./logging/logging.jl:632 [9] capture(f::Documenter.var"#59#61"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:167 [10] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/C1XEF/src/expander_pipeline.jl:752
Documentation
Process completed with exit code 1.
Julia 1.10 - ubuntu-latest - x64 - push
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
Julia 1.10 - macos-latest - x64 - push
Codecov: Failed to properly create commit: The process '/Users/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
Julia 1.10 - ubuntu-latest - x86 - push
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
Julia 1.10 - windows-latest - x64 - push
Codecov: Failed to properly create commit: The process 'D:\a\_actions\codecov\codecov-action\v4\dist\codecov.exe' failed with exit code 1
Julia 1.10 - windows-latest - x86 - push
Codecov: Failed to properly create commit: The process 'D:\a\_actions\codecov\codecov-action\v4\dist\codecov.exe' failed with exit code 1
[julia-buildpkg] Caching of the julia depot was not detected
Consider using `julia-actions/cache` to speed up runs https://github.com/julia-actions/cache. To ignore, set input `ignore-no-cache: true`