Skip to content

Adding fullstack example #169

Adding fullstack example

Adding fullstack example #169

Triggered via pull request August 30, 2023 21:02
Status Failure
Total duration 45m 10s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

ci.yml

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

Annotations

1 error and 10 warnings
Julia 1 - t=2 - ubuntu-latest - x64 - pull_request
Process completed with exit code 1.
Documentation: ../../../.julia/packages/Documenter/bYYzK/src/Utilities/Utilities.jl#L34
failed to run `@example` block in src/tutorial/message_queues.md:129-203 ```@example messagechannel sim = Simulation() communication_delay = 1.0 channel_1to2 = DelayChannel{Bool}(sim, communication_delay) channel_2to1 = DelayChannel{Bool}(sim, communication_delay) channel_ready = DelayChannel{Bool}(sim, communication_delay) global_log = [] @Resumable function do_random_measurement_transmit_receive_compare(sim, channel_out, channel_in) @yield timeout(sim, 2+rand()) # wait for the measurement to take place local_measurement = rand() < 0.4 # simulate a random measurement result put(channel_out, local_measurement) other_measurement = @yield get(channel_in) succeeded = local_measurement == other_measurement == true return succeeded end @Resumable function reset_system(sim) s = now(sim) reset_duration = 2.0 @yield timeout(sim, reset_duration) put(channel_ready, true) push!(global_log, (:reset_system, s, now(sim))) end @Resumable function process_node1(sim) while true s = now(sim) succeeded = @yield @process do_random_measurement_transmit_receive_compare(sim, channel_1to2, channel_2to1) if succeeded throw(StopSimulation("Success!")) end push!(global_log, (:node_1_meas_tx_rx, s, now(sim))) s2 = now(sim) @yield @process reset_system(sim) push!(global_log, (:node_1_wait_for_reset, s2, now(sim))) end end @Resumable function process_node2(sim) while true s = now(sim) succeeded = @yield @process do_random_measurement_transmit_receive_compare(sim, channel_2to1, channel_1to2) if succeeded throw(StopSimulation("Success!")) end push!(global_log, (:node_2_meas_tx_rx, s, now(sim))) s2 = now(sim) @yield get(channel_ready) push!(global_log, (:node_2_wait_for_reset, s2, now(sim))) end end @process process_node1(sim) @process process_node2(sim) ConcurrentSim.run(sim) fig = Figure() ax = Axis(fig[1,1],xlabel="time") hideydecorations!(ax) for (i, symbol) in enumerate([:node_1_meas_tx_rx,:node_2_meas_tx_rx,:reset_system,:node_1_wait_for_reset,:node_2_wait_for_reset]) x_coords = [(x₀, x₁) for (s, x₀, x₁) in global_log if s==symbol] coords = [(Point(x₀,y+i/5),Point(x₁,y+i/5)) for (y,(x₀, x₁)) in enumerate(x_coords)] linesegments!(coords,color=Cycled(i),label=string(symbol),linewidth=10) flat_coords = collect(Iterators.flatten(coords)) scatter!(flat_coords,color=Cycled(i)) end axislegend(ax) fig ``` value = `Makie.convert_arguments` for the plot type MakieCore.LineSegments{Tuple{Vector{Any}}} and its conversion trait MakieCore.PointBased() was unsuccessful. The signature that could not be converted was: ::Vector{Any} Makie needs to convert all plot input arguments to types that can be consumed by the backends (typically Arrays with Float32 elements). You can define a method for `Makie.convert_arguments` (a type recipe) for these types or their supertypes to make this set of arguments convertible (See http://docs.makie.org/stable/documentation/recipes/index.html). Alternatively, you can define `Makie.convert_single_argument` for single arguments which have types that are unknown to Makie but which can be converted to known types and fed back to the conversion pipeline.
Documentation: ../../../.julia/packages/Documenter/bYYzK/src/Utilities/Utilities.jl#L34
no doc found for reference '[`AbstractRepresentation`](@ref)' in src/register_interface.md.
Documentation: ../../../.julia/packages/Documenter/bYYzK/src/Utilities/Utilities.jl#L34
no doc found for reference '[`express`](@ref)' in src/register_interface.md.
Documentation: ../../../.julia/packages/Documenter/bYYzK/src/Utilities/Utilities.jl#L34
no doc found for reference '[`AbstractRepresentation`](@ref)' in src/register_interface.md.
Documentation: ../../../.julia/packages/Documenter/bYYzK/src/Utilities/Utilities.jl#L34
no doc found for reference '[`AbstractRepresentation`](@ref)' in src/register_interface.md.
Documentation: ../../../.julia/packages/Documenter/bYYzK/src/Utilities/Utilities.jl#L34
11 docstrings not included in the manual: QuantumSavory.CircuitZoo.Purify3to1 QuantumSavory.CircuitZoo.StringentBodyNode QuantumSavory.CircuitZoo.StringentBody QuantumSavory.CircuitZoo.Purify2to1Node QuantumSavory.CircuitZoo.PurifyExpedientNode QuantumSavory.CircuitZoo.PurifyExpedient QuantumSavory.CircuitZoo.PurifyStringentNode QuantumSavory.CircuitZoo.StringentHeadNode QuantumSavory.CircuitZoo.Purify3to1Node QuantumSavory.CircuitZoo.StringentHead QuantumSavory.CircuitZoo.PurifyStringent These are docstrings in the checked modules (configured with the modules keyword) that are not included in @docs or @autodocs blocks.
Documentation: ../../../.julia/packages/Documenter/bYYzK/src/Writers/HTMLWriter.jl#L2081
invalid local link: unresolved path in register_interface.md link.text = 1-element Vector{Any}: Markdown.Code("", "AbstractRepresentation") link.url = "@ref"
Documentation: ../../../.julia/packages/Documenter/bYYzK/src/Writers/HTMLWriter.jl#L2081
invalid local link: unresolved path in register_interface.md link.text = 1-element Vector{Any}: Markdown.Code("", "express") link.url = "@ref"
Documentation: ../../../.julia/packages/Documenter/bYYzK/src/Writers/HTMLWriter.jl#L2081
invalid local link: unresolved path in register_interface.md link.text = 1-element Vector{Any}: Markdown.Code("", "AbstractRepresentation") link.url = "@ref"
Documentation: ../../../.julia/packages/Documenter/bYYzK/src/Writers/HTMLWriter.jl#L2081
invalid local link: unresolved path in register_interface.md link.text = 1-element Vector{Any}: Markdown.Code("", "AbstractRepresentation") link.url = "@ref"