Skip to content

Update Project.toml #210

Update Project.toml

Update Project.toml #210

Triggered via push April 3, 2024 13:14
Status Failure
Total duration 14m 34s
Artifacts

CI.yml

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

Annotations

8 errors, 8 warnings, and 1 notice
Julia 1 - ubuntu-latest - x64 - push
Process completed with exit code 1.
Julia 1.9 - ubuntu-latest - x64 - push
Process completed with exit code 1.
Documentation: ../../../.julia/packages/Documenter/2OZOh/src/utilities/utilities.jl#L44
failed to run `@example` block in src/model_coupling/multiscale.md:105-146 ```@example usepkg mapping = Dict( "Scene" => ToyDegreeDaysCumulModel(), "Plant" => ( MultiScaleModel( model=ToyLAIModel(), mapping=[ :TT_cu => "Scene", ], ), Beer(0.6), MultiScaleModel( model=ToyCAllocationModel(), mapping=[ :A => ["Leaf"], :carbon_demand => ["Leaf", "Internode"], :carbon_allocation => ["Leaf", "Internode"] ], ), ), "Internode" => ( MultiScaleModel( model=ToyCDemandModel(optimal_biomass=10.0, development_duration=200.0), mapping=[:TT => "Scene",], ) ), "Leaf" => ( MultiScaleModel( model=ToyAssimModel(), mapping=[:soil_water_content => "Soil", :aPPFD => "Plant"], ), MultiScaleModel( model=ToyCDemandModel(optimal_biomass=10.0, development_duration=200.0), mapping=[:TT => "Scene",], ), ), "Soil" => ( ToySoilWaterModel(), ), ); nothing # hide ``` exception = Mapping for model PlantSimEngine.Examples.ToyCAllocationModel() defines variable A, but it is not a variable of the model. Stacktrace: [1] error(s::String) @ Base ./error.jl:35 [2] (MultiScaleModel{PlantSimEngine.Examples.ToyCAllocationModel})(model::PlantSimEngine.Examples.ToyCAllocationModel, mapping::Vector{Pair{Symbol, Vector{String}}}) @ PlantSimEngine ~/work/PlantSimEngine.jl/PlantSimEngine.jl/src/mtg/MultiScaleModel.jl:100 [3] MultiScaleModel @ ~/work/PlantSimEngine.jl/PlantSimEngine.jl/src/mtg/MultiScaleModel.jl:130 [inlined] [4] #MultiScaleModel#28 @ ~/work/PlantSimEngine.jl/PlantSimEngine.jl/src/mtg/MultiScaleModel.jl:132 [inlined] [5] top-level scope @ multiscale.md:106 [6] eval @ ./boot.jl:385 [inlined] [7] #58 @ ~/.julia/packages/Documenter/2OZOh/src/expander_pipeline.jl:754 [inlined] [8] cd(f::Documenter.var"#58#60"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [9] (::Documenter.var"#57#59"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/2OZOh/src/expander_pipeline.jl:753 [10] (::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 [11] with_logstate(f::Function, logstate::Any) @ Base.CoreLogging ./logging.jl:515 [12] with_logger @ ./logging.jl:627 [inlined] [13] 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 [14] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/2OZOh/src/expander_pipeline.jl:752
Documentation: ../../../.julia/packages/Documenter/2OZOh/src/utilities/utilities.jl#L44
failed to run `@example` block in src/model_coupling/multiscale.md:211-214 ```@example usepkg sim = run!(mtg, mapping, meteo, outputs = outs); nothing # hide ``` exception = You requested outputs for organs Soil, Internode, Scene, Plant, Leaf, but organs Internode, Scene, Plant have no models. Stacktrace: [1] error(s::String) @ Base ./error.jl:35 [2] pre_allocate_outputs(statuses::Dict{String, Vector{Status}}, outs::Dict{String, Tuple{Symbol, Vararg{Symbol}}}, nsteps::Int64; check::Bool) @ PlantSimEngine ~/work/PlantSimEngine.jl/PlantSimEngine.jl/src/mtg/save_results.jl:127 [3] pre_allocate_outputs @ ~/work/PlantSimEngine.jl/PlantSimEngine.jl/src/mtg/save_results.jl:112 [inlined] [4] init_simulation(mtg::MultiScaleTreeGraph.Node{MultiScaleTreeGraph.NodeMTG, Dict{Symbol, Any}}, mapping::Dict{String, Any}; nsteps::Int64, outputs::Dict{String, Tuple{Symbol, Vararg{Symbol}}}, type_promotion::Nothing, check::Bool, verbose::Bool) @ PlantSimEngine ~/work/PlantSimEngine.jl/PlantSimEngine.jl/src/mtg/initialisation.jl:285 [5] init_simulation @ ~/work/PlantSimEngine.jl/PlantSimEngine.jl/src/mtg/initialisation.jl:269 [inlined] [6] #GraphSimulation#120 @ ~/work/PlantSimEngine.jl/PlantSimEngine.jl/src/mtg/GraphSimulation.jl:41 [inlined] [7] GraphSimulation @ ~/work/PlantSimEngine.jl/PlantSimEngine.jl/src/mtg/GraphSimulation.jl:40 [inlined] [8] run!(object::MultiScaleTreeGraph.Node{MultiScaleTreeGraph.NodeMTG, Dict{Symbol, Any}}, mapping::Dict{String, Any}, meteo::TimeStepTable{Atmosphere{(:date, :duration, :T, :Wind, :P, :Rh, :Precipitations, :Cₐ, :e, :eₛ, :VPD, :ρ, :λ, :γ, :ε, :Δ, :clearness, :Ri_SW_f, :Ri_PAR_f, :Ri_NIR_f, :Ri_TIR_f, :Ri_custom_f), Tuple{Dates.DateTime, Dates.Second, Vararg{Float64, 20}}}}, constants::Constants{Float64}, extra::Nothing; nsteps::Nothing, outputs::Dict{String, Tuple{Symbol, Vararg{Symbol}}}, check::Bool, executor::ThreadedEx{@NamedTuple{}}) @ PlantSimEngine ~/work/PlantSimEngine.jl/PlantSimEngine.jl/src/run.jl:331 [9] run! @ ~/work/PlantSimEngine.jl/PlantSimEngine.jl/src/run.jl:318 [inlined] [10] top-level scope @ multiscale.md:212 [11] eval @ ./boot.jl:385 [inlined] [12] #58 @ ~/.julia/packages/Documenter/2OZOh/src/expander_pipeline.jl:754 [inlined] [13] cd(f::Documenter.var"#58#60"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [14] (::Documenter.var"#57#59"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/2OZOh/src/expander_pipeline.jl:753 [15] (::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 [16] with_logstate(f::Function, logstate::Any) @ Base.CoreLogging ./logging.jl:515 [17] with_logger @ ./logging.jl:627 [inlined] [18] 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 [19] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/2OZOh/src/expander_pipeline.jl:752
Documentation: ../../../.julia/packages/Documenter/2OZOh/src/utilities/utilities.jl#L44
failed to run `@example` block in src/model_coupling/multiscale.md:220-223 ```@example usepkg outputs(sim); nothing # hide ``` exception = UndefVarError: `sim` not defined Stacktrace: [1] top-level scope @ multiscale.md:221 [2] eval @ ./boot.jl:385 [inlined] [3] #58 @ ~/.julia/packages/Documenter/2OZOh/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/2OZOh/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/2OZOh/src/expander_pipeline.jl:752
Documentation: ../../../.julia/packages/Documenter/2OZOh/src/utilities/utilities.jl#L44
failed to run `@example` block in src/model_coupling/multiscale.md:227-230 ```@example usepkg using DataFrames outputs(sim, DataFrame) ``` exception = UndefVarError: `sim` not defined Stacktrace: [1] top-level scope @ multiscale.md:229 [2] eval @ ./boot.jl:385 [inlined] [3] #58 @ ~/.julia/packages/Documenter/2OZOh/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/2OZOh/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/2OZOh/src/expander_pipeline.jl:752
Documentation: ../../../.julia/packages/Documenter/2OZOh/src/utilities/utilities.jl#L44
failed to run `@example` block in src/model_coupling/multiscale.md:234-237 ```@example usepkg status(sim); nothing # hide ``` exception = UndefVarError: `sim` not defined Stacktrace: [1] top-level scope @ multiscale.md:235 [2] eval @ ./boot.jl:385 [inlined] [3] #58 @ ~/.julia/packages/Documenter/2OZOh/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/2OZOh/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/2OZOh/src/expander_pipeline.jl:752
Documentation
Process completed 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`
Julia 1 - ubuntu-latest - x64 - push
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 - ubuntu-latest - x64 - push
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 - push
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 - push
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: src/run.jl#L242
A parallel executor was provided (`executor=ThreadedEx()`) but some models cannot be run in parallel: PlantSimEngine.Examples.ToyRUEGrowthModel{Float64}(0.2). The simulation will be run sequentially. Use `executor=SequentialEx()` to remove this warning. maxlog = 1
Documentation: src/run.jl#L242
A parallel executor was provided (`executor=ThreadedEx()`) but some models cannot be run in parallel: PlantSimEngine.Examples.ToyAssimGrowthModel{Float64}(0.2, 0.5, 1.2). The simulation will be run sequentially. Use `executor=SequentialEx()` to remove this warning. maxlog = 1
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/