Skip to content

Migrate away from Setfield, replace with Accessors #43

Migrate away from Setfield, replace with Accessors

Migrate away from Setfield, replace with Accessors #43

Triggered via pull request January 27, 2024 11:09
@MasonProtterMasonProtter
synchronize #28
updates
Status Failure
Total duration 18m 56s
Artifacts

ci.yml

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

Annotations

2 errors and 16 warnings
Documentation: src/library.jl#L1
doctest failure in ~/work/Transducers.jl/Transducers.jl/src/library.jl ```jldoctest julia> using Transducers julia> using Transducers: AdHocXF, @next julia> using Accessors: @reset julia> flushlast(rf, result) = rf(@next(rf, result, result.state)); julia> xf = AdHocXF(nothing, flushlast) do rf, result, input m = match(r"^name:(.*)", input) if m === nothing push!(result.state.lines, input) return result else chunk = result.state @reset result.state = (name=strip(m.captures[1]), lines=String[]) push!(result.state.lines, input) if chunk === nothing return result else return rf(result, chunk) end end end; julia> collect(xf, split(""" name: Map type: onetoone name: Cat type: expansive name: Filter type: contractive name: Cat |> Filter type: chaotic """, "\n"; keepempty=false)) 4-element Vector{NamedTuple{(:name, :lines), Tuple{SubString{String}, Vector{String}}}}: (name = "Map", lines = ["name: Map", "type: onetoone"]) (name = "Cat", lines = ["name: Cat", "type: expansive"]) (name = "Filter", lines = ["name: Filter", "type: contractive"]) (name = "Cat |> Filter", lines = ["name: Cat |> Filter", "type: chaotic"]) ``` Subexpression: collect(xf, split(""" name: Map type: onetoone name: Cat type: expansive name: Filter type: contractive name: Cat |> Filter type: chaotic """, "\n"; keepempty=false)) Evaluated output: 4-element Vector{@NamedTuple{name::SubString{String}, lines::Vector{String}}}: (name = "Map", lines = ["name: Map", "type: onetoone"]) (name = "Cat", lines = ["name: Cat", "type: expansive"]) (name = "Filter", lines = ["name: Filter", "type: contractive"]) (name = "Cat |> Filter", lines = ["name: Cat |> Filter", "type: chaotic"]) Expected output: 4-element Vector{NamedTuple{(:name, :lines), Tuple{SubString{String}, Vector{String}}}}: (name = "Map", lines = ["name: Map", "type: onetoone"]) (name = "Cat", lines = ["name: Cat", "type: expansive"]) (name = "Filter", lines = ["name: Filter", "type: contractive"]) (name = "Cat |> Filter", lines = ["name: Cat |> Filter", "type: chaotic"]) diff = Warning: Diff output requires color. 4-element Vector{NamedTuple{(:name, :lines), Tuple{SubString{String}, Vector{String}}}}: Vector{@NamedTuple{name::SubString{String}, lines::Vector{String}}}: (name = "Map", lines = ["name: Map", "type: onetoone"]) (name = "Cat", lines = ["name: Cat", "type: expansive"]) (name = "Filter", lines = ["name: Filter", "type: contractive"]) (name = "Cat |> Filter", lines = ["name: Cat |> Filter", "type: chaotic"])
Documentation
Process completed with exit code 1.
Julia 1 - 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 - 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 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/
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/
Julia 1 - ubuntu-latest - x86 - 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 - ubuntu-latest - x86 - 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.6 - 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.6 - 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 - x86 - 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 - x86 - 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.6 - ubuntu-latest - x86 - 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.6 - ubuntu-latest - x86 - 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, 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/.
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/