Skip to content

Refactoring and Cleanup of Interface #328

Refactoring and Cleanup of Interface

Refactoring and Cleanup of Interface #328

Triggered via pull request June 10, 2024 23:30
@cortnercortner
synchronize #84
co/bumper
Status Failure
Total duration 6m 9s
Artifacts

CI.yml

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

Annotations

9 errors and 8 warnings
Documentation: ../../../.julia/packages/Documenter/CJeWX/src/utilities/utilities.jl#L44
failed to run `@example` block in src/literate_tutorials/polyregression.md:80-84 ```@example polyregression basis = RYlmBasis(9) @show length(basis); nothing #hide ``` exception = UndefVarError: `RYlmBasis` not defined Stacktrace: [1] top-level scope @ polyregression.md:81 [2] eval @ ./boot.jl:385 [inlined] [3] #58 @ ~/.julia/packages/Documenter/CJeWX/src/expander_pipeline.jl:754 [inlined] [4] cd(f::Documenter.var"#58#60"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [5] (::Documenter.var"#57#59"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/CJeWX/src/expander_pipeline.jl:753 [6] (::IOCapture.var"#4#7"{DataType, Documenter.var"#57#59"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/Rzdxd/src/IOCapture.jl:161 [7] with_logstate(f::Function, logstate::Any) @ Base.CoreLogging ./logging.jl:515 [8] with_logger @ ./logging.jl:627 [inlined] [9] capture(f::Documenter.var"#57#59"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer) @ IOCapture ~/.julia/packages/IOCapture/Rzdxd/src/IOCapture.jl:158 [10] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/CJeWX/src/expander_pipeline.jl:752
Documentation: ../../../.julia/packages/Documenter/CJeWX/src/utilities/utilities.jl#L44
failed to run `@example` block in src/literate_tutorials/polyregression.md:90-94 ```@example polyregression c = basis(X) \ Y p = x -> sum(c .* basis(x)); nothing #hide ``` exception = MethodError: no method matching zero(::Type{Any}) Closest candidates are: zero(::Type{Union{Missing, T}}) where T @ Base missing.jl:105 zero(!Matched::Type{Union{}}, Any...) @ Base number.jl:310 zero(!Matched::Type{Dates.Time}) @ Dates /opt/hostedtoolcache/julia/1.10.4/x64/share/julia/stdlib/v1.10/Dates/src/types.jl:440 ... Stacktrace: [1] zero(::Type{Any}) @ Base ./missing.jl:106 [2] zeros(::Type{Any}, dims::Tuple{Int64, Int64}) @ Base ./array.jl:637 [3] zeros(::Type{Any}, ::Int64, ::Int64) @ Base ./array.jl:632 [4] #2 @ ~/work/Polynomials4ML.jl/Polynomials4ML.jl/src/interface.jl:154 [inlined] [5] ntuple @ ./ntuple.jl:19 [inlined] [6] _with_safe_alloc(::Function, ::OrthPolyBasis1D3T{Float64}, ::Vararg{Any}) @ Polynomials4ML ~/work/Polynomials4ML.jl/Polynomials4ML.jl/src/interface.jl:154 [7] evaluate(l::OrthPolyBasis1D3T{Float64}, args::Vector{StaticArraysCore.SVector{3, Float64}}) @ Polynomials4ML ~/work/Polynomials4ML.jl/Polynomials4ML.jl/src/interface.jl:165 [8] (::OrthPolyBasis1D3T{Float64})(args::Vector{StaticArraysCore.SVector{3, Float64}}) @ Polynomials4ML ~/work/Polynomials4ML.jl/Polynomials4ML.jl/src/interface.jl:162 [9] top-level scope @ polyregression.md:91 [10] eval @ ./boot.jl:385 [inlined] [11] #58 @ ~/.julia/packages/Documenter/CJeWX/src/expander_pipeline.jl:754 [inlined] [12] cd(f::Documenter.var"#58#60"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [13] (::Documenter.var"#57#59"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/CJeWX/src/expander_pipeline.jl:753 [14] (::IOCapture.var"#4#7"{DataType, Documenter.var"#57#59"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/Rzdxd/src/IOCapture.jl:161 [15] with_logstate(f::Function, logstate::Any) @ Base.CoreLogging ./logging.jl:515 [16] with_logger @ ./logging.jl:627 [inlined] [17] capture(f::Documenter.var"#57#59"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer) @ IOCapture ~/.julia/packages/IOCapture/Rzdxd/src/IOCapture.jl:158 [18] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/CJeWX/src/expander_pipeline.jl:752
Documentation: ../../../.julia/packages/Documenter/CJeWX/src/utilities/utilities.jl#L44
failed to run `@example` block in src/literate_tutorials/polyregression.md:98-103 ```@example polyregression Xtest = [ (x = randn(SVector{3, Float64}); x/norm(x)) for i = 1:N ] Ytest = f2.(Xtest) println("Test RMSE: ", norm(Ytest - p.(Xtest)) / sqrt(N)); nothing #hide ``` exception = MethodError: no method matching zero(::Type{Any}) Closest candidates are: zero(::Type{Union{Missing, T}}) where T @ Base missing.jl:105 zero(!Matched::Type{Union{}}, Any...) @ Base number.jl:310 zero(!Matched::Type{Dates.Time}) @ Dates /opt/hostedtoolcache/julia/1.10.4/x64/share/julia/stdlib/v1.10/Dates/src/types.jl:440 ... Stacktrace: [1] zero(::Type{Any}) @ Base ./missing.jl:106 [2] zeros(::Type{Any}, dims::Tuple{Int64}) @ Base ./array.jl:637 [3] zeros(::Type{Any}, dims::Int64) @ Base ./array.jl:632 [4] #2 @ ~/work/Polynomials4ML.jl/Polynomials4ML.jl/src/interface.jl:154 [inlined] [5] ntuple @ ./ntuple.jl:19 [inlined] [6] _with_safe_alloc(::Function, ::OrthPolyBasis1D3T{Float64}, ::Vararg{Any}) @ Polynomials4ML ~/work/Polynomials4ML.jl/Polynomials4ML.jl/src/interface.jl:154 [7] evaluate(l::OrthPolyBasis1D3T{Float64}, args::StaticArraysCore.SVector{3, Float64}) @ Polynomials4ML ~/work/Polynomials4ML.jl/Polynomials4ML.jl/src/interface.jl:165 [8] (::OrthPolyBasis1D3T{Float64})(args::StaticArraysCore.SVector{3, Float64}) @ Polynomials4ML ~/work/Polynomials4ML.jl/Polynomials4ML.jl/src/interface.jl:162 [9] (::Main.__atexample__named__polyregression.var"#1#2")(x::StaticArraysCore.SVector{3, Float64}) @ Main.__atexample__named__polyregression ./polyregression.md:45 [10] _broadcast_getindex_evalf @ ./broadcast.jl:709 [inlined] [11] _broadcast_getindex @ ./broadcast.jl:682 [inlined] [12] getindex @ ./broadcast.jl:636 [inlined] [13] copy @ ./broadcast.jl:942 [inlined] [14] materialize(bc::Base.Broadcast.Broadcasted{Base.Broadcast.DefaultArrayStyle{1}, Nothing, Main.__atexample__named__polyregression.var"#1#2", Tuple{Vector{StaticArraysCore.SVector{3, Float64}}}}) @ Base.Broadcast ./broadcast.jl:903 [15] top-level scope @ polyregression.md:100 [16] eval @ ./boot.jl:385 [inlined] [17] #58 @ ~/.julia/packages/Documenter/CJeWX/src/expander_pipeline.jl:754 [inlined] [18] cd(f::Documenter.var"#58#60"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [19] (::Documenter.var"#57#59"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/CJeWX/src/expander_pipeline.jl:753 [20] (::IOCapture.var"#4#7"{DataType, Documenter.var"#57#59"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/Rzdxd/src/IOCapture.jl:161 [21] with_logstate(f::Function, logstate::Any) @ Base.CoreLogging ./logging.jl:515 [22] with_logger @ ./logging.jl:627 [inlined] [23] capture(f::Documenter.var"#57#59"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer) @ IOCapture ~/.julia/packages/IOCapture/Rzdxd/src/IOCapture.jl:158 [24] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/CJeWX/src/expander_pipeline.jl:752
Documentation: ../../../.julia/packages/Documenter/CJeWX/src/utilities/utilities.jl#L44
Cannot resolve @ref for md"[`LinearLayer`](@ref)" in src/tensor_api.md. - No docstring found in doc for binding `Main.LinearLayer`.
Documentation: ../../../.julia/packages/Documenter/CJeWX/src/utilities/utilities.jl#L44
Cannot resolve @ref for md"[`CYlmBasis`](@ref)" in src/api.md. - No docstring found in doc for binding `Main.CYlmBasis`.
Documentation: ../../../.julia/packages/Documenter/CJeWX/src/utilities/utilities.jl#L44
Cannot resolve @ref for md"[`RYlmBasis`](@ref)" in src/api.md. - No docstring found in doc for binding `Main.RYlmBasis`.
Documentation: ../../../.julia/packages/Documenter/CJeWX/src/utilities/utilities.jl#L44
Cannot resolve @ref for md"[`CRlmBasis`](@ref)" in src/api.md. - No docstring found in doc for binding `Main.CRlmBasis`.
Documentation: ../../../.julia/packages/Documenter/CJeWX/src/utilities/utilities.jl#L44
Cannot resolve @ref for md"[`RRlmBasis`](@ref)" in src/api.md. - No docstring found in doc for binding `Main.RRlmBasis`.
Documentation
Process completed with exit code 1.
Julia 1.10 - ubuntu-latest - x64 - pull_request
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, julia-actions/setup-julia@v1, actions/cache@4d4ae6ae148a43d0fd1eda1800170683e9882738, pyTooling/Actions/with-post-step@adef08d3bdef092282614f3b683897cefae82ee3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Julia 1.10 - ubuntu-latest - x64 - pull_request
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Julia 1.9 - ubuntu-latest - x64 - pull_request
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, julia-actions/setup-julia@v1, actions/cache@4d4ae6ae148a43d0fd1eda1800170683e9882738, pyTooling/Actions/with-post-step@adef08d3bdef092282614f3b683897cefae82ee3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Julia 1.9 - ubuntu-latest - x64 - pull_request
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Documentation
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, julia-actions/setup-julia@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Documentation
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Julia nightly - ubuntu-latest - x64 - pull_request
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, julia-actions/setup-julia@v1, actions/cache@4d4ae6ae148a43d0fd1eda1800170683e9882738, pyTooling/Actions/with-post-step@adef08d3bdef092282614f3b683897cefae82ee3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Julia nightly - ubuntu-latest - x64 - pull_request
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/