JuliaAlgebra / StarAlgebras.jl

A package for computation in *-algebras with basis
MIT License
7 stars 3 forks source link

Nightly failing #16

Open kalmarek opened 2 years ago

kalmarek commented 2 years ago

on #15 with

CachedMTable: Error During Test at /home/runner/work/StarAlgebras.jl/StarAlgebras.jl/test/mtables.jl:89
  Test threw exception
  Expression: all(iszero, mstr.table)
  type Array has no field table
  Stacktrace:
   [1] getproperty(x::Matrix{UInt8}, f::Symbol)
     @ Base ./Base.jl:37
   [2] macro expansion
     @ /opt/hostedtoolcache/julia/nightly/x64/share/julia/stdlib/v1.9/Test/src/Test.jl:477 [inlined]
   [3] macro expansion
     @ ~/work/StarAlgebras.jl/StarAlgebras.jl/test/mtables.jl:89 [inlined]
   [4] macro expansion
     @ /opt/hostedtoolcache/julia/nightly/x64/share/julia/stdlib/v1.9/Test/src/Test.jl:1496 [inlined]
   [5] top-level scope
     @ ~/work/StarAlgebras.jl/StarAlgebras.jl/test/mtables.jl:58
CachedMTable: Error During Test at /home/runner/work/StarAlgebras.jl/StarAlgebras.jl/test/mtables.jl:57
  Got exception outside of a @test
  MethodError: no method matching cache!(::Matrix{UInt8}, ::Int64, ::Int64)

  Closest candidates are:
    cache!(::StarAlgebras.CachedMTable, ::Integer, ::Integer)
     @ StarAlgebras ~/work/StarAlgebras.jl/StarAlgebras.jl/src/mtables.jl:104

  Stacktrace:
    [1] macro expansion
      @ ~/work/StarAlgebras.jl/StarAlgebras.jl/test/mtables.jl:90 [inlined]
    [2] macro expansion
      @ /opt/hostedtoolcache/julia/nightly/x64/share/julia/stdlib/v1.9/Test/src/Test.jl:1496 [inlined]
    [3] top-level scope
      @ ~/work/StarAlgebras.jl/StarAlgebras.jl/test/mtables.jl:58
    [4] include(fname::String)
      @ Base.MainInclude ./client.jl:478
    [5] macro expansion
      @ ~/work/StarAlgebras.jl/StarAlgebras.jl/test/runtests.jl:9 [inlined]
    [6] macro expansion
      @ /opt/hostedtoolcache/julia/nightly/x64/share/julia/stdlib/v1.9/Test/src/Test.jl:1496 [inlined]
    [7] top-level scope
      @ ~/work/StarAlgebras.jl/StarAlgebras.jl/test/runtests.jl:9
    [8] include(fname::String)
      @ Base.MainInclude ./client.jl:478
    [9] top-level scope
      @ none:6
   [10] eval
      @ ./boot.jl:370 [inlined]
   [11] exec_options(opts::Base.JLOptions)
      @ Base ./client.jl:280
   [12] _start()
      @ Base ./client.jl:522
  3.339809 seconds (5.83 M allocations: 367.366 MiB, 7.83% gc time, 92.81% compilation time)
Test Summary:                           | Pass  Error  Total   Time
StarAlgebras                            |  279      2    281  41.9s
  TrivialMStructure                     |   13            13   2.1s
  MTable                                |    8             8   0.9s
  CachedMTable                          |    4      2      6   3.7s
  Algebra and Elements                  |   48            48   4.5s
  Arithmetic                            |  170           170  13.6s
  Group Algebra caching                 |   15            15   0.6s
  sum of squares in FreeGroup *-algebra |   21            21   8.7s
ERROR: LoadError: Some tests did not pass: 279 passed, 0 failed, 2 errored, 0 broken.
in expression starting at /home/runner/work/StarAlgebras.jl/StarAlgebras.jl/test/runtests.jl:8
ERROR: LoadError: Package StarAlgebras errored during testing
Stacktrace:
  [1] pkgerror(msg::String)
    @ Pkg.Types /opt/hostedtoolcache/julia/nightly/x64/share/julia/stdlib/v1.9/Pkg/src/Types.jl:68
  [2] test(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; coverage::Bool, julia_args::Cmd, test_args::Cmd, test_fn::Nothing, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool)
    @ Pkg.Operations /opt/hostedtoolcache/julia/nightly/x64/share/julia/stdlib/v1.9/Pkg/src/Operations.jl:1878
  [3] test
    @ /opt/hostedtoolcache/julia/nightly/x64/share/julia/stdlib/v1.9/Pkg/src/Operations.jl:1755 [inlined]
  [4] test(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; coverage::Bool, test_fn::Nothing, julia_args::Vector{String}, test_args::Cmd, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool, kwargs::Base.Pairs{Symbol, IOContext{Base.PipeEndpoint}, Tuple{Symbol}, NamedTuple{(:io,), Tuple{IOContext{Base.PipeEndpoint}}}})
    @ Pkg.API /opt/hostedtoolcache/julia/nightly/x64/share/julia/stdlib/v1.9/Pkg/src/API.jl:435
  [5] kwcall(::NamedTuple{(:coverage, :julia_args, :force_latest_compatible_version, :io), Tuple{Bool, Vector{String}, Bool, IOContext{Base.PipeEndpoint}}}, ::typeof(Pkg.API.test), ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec})
    @ Pkg.API /opt/hostedtoolcache/julia/nightly/x64/share/julia/stdlib/v1.9/Pkg/src/API.jl:414
  [6] test(pkgs::Vector{Pkg.Types.PackageSpec}; io::IOContext{Base.PipeEndpoint}, kwargs::Base.Pairs{Symbol, Any, Tuple{Symbol, Symbol, Symbol}, NamedTuple{(:coverage, :julia_args, :force_latest_compatible_version), Tuple{Bool, Vector{String}, Bool}}})
    @ Pkg.API /opt/hostedtoolcache/julia/nightly/x64/share/julia/stdlib/v1.9/Pkg/src/API.jl:156
  [7] kwcall(::NamedTuple{(:coverage, :julia_args, :force_latest_compatible_version), Tuple{Bool, Vector{String}, Bool}}, ::typeof(Pkg.API.test), pkgs::Vector{Pkg.Types.PackageSpec})
    @ Pkg.API /opt/hostedtoolcache/julia/nightly/x64/share/julia/stdlib/v1.9/Pkg/src/API.jl:145
  [8] test(; name::Nothing, uuid::Nothing, version::Nothing, url::Nothing, rev::Nothing, path::Nothing, mode::Pkg.Types.PackageMode, subdir::Nothing, kwargs::Base.Pairs{Symbol, Any, Tuple{Symbol, Symbol, Symbol}, NamedTuple{(:coverage, :julia_args, :force_latest_compatible_version), Tuple{Bool, Vector{String}, Bool}}})
    @ Pkg.API /opt/hostedtoolcache/julia/nightly/x64/share/julia/stdlib/v1.9/Pkg/src/API.jl:171
  [9] kwcall(::NamedTuple{(:coverage, :julia_args, :force_latest_compatible_version), Tuple{Bool, Vector{String}, Bool}}, ::typeof(Pkg.API.test))
    @ Pkg.API /opt/hostedtoolcache/julia/nightly/x64/share/julia/stdlib/v1.9/Pkg/src/API.jl:162
 [10] top-level scope
    @ ~/work/_actions/julia-actions/julia-runtest/latest/test_harness.jl:15
 [11] include(fname::String)
    @ Base.MainInclude ./client.jl:478
 [12] top-level scope
    @ none:1
in expression starting at /home/runner/work/_actions/julia-actions/julia-runtest/latest/test_harness.jl:7