Skip to content

Don't de-optimize @b lit where lit is a literal constant. #81

Don't de-optimize @b lit where lit is a literal constant.

Don't de-optimize @b lit where lit is a literal constant. #81

Triggered via pull request February 24, 2024 21:04
Status Failure
Total duration 4m 14s
Artifacts

CI.yml

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

Annotations

21 errors, 24 warnings, and 1 notice
Julia 1 - ubuntu-latest - x64 - pull_request
Process completed with exit code 1.
Julia 1.0 - ubuntu-latest - x64 - pull_request
Process completed with exit code 1.
Julia nightly - ubuntu-latest - x64 - pull_request
Process completed with exit code 1.
Julia 1.6 - ubuntu-latest - x64 - pull_request
Process completed with exit code 1.
Julia 1 - windows-latest - x64 - pull_request
Process completed with exit code 1.
Julia 1.0 - macOS-latest - x64 - pull_request
Process completed with exit code 1.
Julia nightly - windows-latest - x64 - pull_request
Process completed with exit code 1.
Documentation: docs/src/index.md#L17
doctest failure in src/index.md:17-38 ```jldoctest julia> f(n) = sum(rand() for _ in 1:n) f (generic function with 1 method) julia> @b f(1000) 1.074 μs julia> @b f(1000) 1.075 μs julia> @b f(1000) 1.076 μs julia> @b f(1010) 1.086 μs julia> @b f(1010) 1.087 μs julia> @b f(1010) 1.087 μs ``` Subexpression: @b f(1000) Evaluated output: ERROR: LoadError: UndefVarError: `body` not defined Stacktrace: [1] process_args(exprs::Any) @ Chairmarks ~/work/Chairmarks.jl/Chairmarks.jl/src/macro_tools.jl:43 [2] var"@b"(__source__::LineNumberNode, __module__::Module, args::Vararg{Any}) @ Chairmarks ~/work/Chairmarks.jl/Chairmarks.jl/src/public.jl:118 in expression starting at none:1 Expected output: 1.074 μs diff = Warning: Diff output requires color. 1.074 μsERROR: LoadError: UndefVarError: `body` not defined Stacktrace: [1] process_args(exprs::Any) @ Chairmarks ~/work/Chairmarks.jl/Chairmarks.jl/src/macro_tools.jl:43 [2] var"@b"(__source__::LineNumberNode, __module__::Module, args::Vararg{Any}) @ Chairmarks ~/work/Chairmarks.jl/Chairmarks.jl/src/public.jl:118 in expression starting at none:1
Documentation: docs/src/index.md#L17
doctest failure in src/index.md:17-38 ```jldoctest julia> f(n) = sum(rand() for _ in 1:n) f (generic function with 1 method) julia> @b f(1000) 1.074 μs julia> @b f(1000) 1.075 μs julia> @b f(1000) 1.076 μs julia> @b f(1010) 1.086 μs julia> @b f(1010) 1.087 μs julia> @b f(1010) 1.087 μs ``` Subexpression: @b f(1000) Evaluated output: ERROR: LoadError: UndefVarError: `body` not defined Stacktrace: [1] process_args(exprs::Any) @ Chairmarks ~/work/Chairmarks.jl/Chairmarks.jl/src/macro_tools.jl:43 [2] var"@b"(__source__::LineNumberNode, __module__::Module, args::Vararg{Any}) @ Chairmarks ~/work/Chairmarks.jl/Chairmarks.jl/src/public.jl:118 in expression starting at none:1 Expected output: 1.075 μs diff = Warning: Diff output requires color. 1.075 μsERROR: LoadError: UndefVarError: `body` not defined Stacktrace: [1] process_args(exprs::Any) @ Chairmarks ~/work/Chairmarks.jl/Chairmarks.jl/src/macro_tools.jl:43 [2] var"@b"(__source__::LineNumberNode, __module__::Module, args::Vararg{Any}) @ Chairmarks ~/work/Chairmarks.jl/Chairmarks.jl/src/public.jl:118 in expression starting at none:1
Documentation: docs/src/index.md#L17
doctest failure in src/index.md:17-38 ```jldoctest julia> f(n) = sum(rand() for _ in 1:n) f (generic function with 1 method) julia> @b f(1000) 1.074 μs julia> @b f(1000) 1.075 μs julia> @b f(1000) 1.076 μs julia> @b f(1010) 1.086 μs julia> @b f(1010) 1.087 μs julia> @b f(1010) 1.087 μs ``` Subexpression: @b f(1000) Evaluated output: ERROR: LoadError: UndefVarError: `body` not defined Stacktrace: [1] process_args(exprs::Any) @ Chairmarks ~/work/Chairmarks.jl/Chairmarks.jl/src/macro_tools.jl:43 [2] var"@b"(__source__::LineNumberNode, __module__::Module, args::Vararg{Any}) @ Chairmarks ~/work/Chairmarks.jl/Chairmarks.jl/src/public.jl:118 in expression starting at none:1 Expected output: 1.076 μs diff = Warning: Diff output requires color. 1.076 μsERROR: LoadError: UndefVarError: `body` not defined Stacktrace: [1] process_args(exprs::Any) @ Chairmarks ~/work/Chairmarks.jl/Chairmarks.jl/src/macro_tools.jl:43 [2] var"@b"(__source__::LineNumberNode, __module__::Module, args::Vararg{Any}) @ Chairmarks ~/work/Chairmarks.jl/Chairmarks.jl/src/public.jl:118 in expression starting at none:1
Documentation: docs/src/index.md#L17
doctest failure in src/index.md:17-38 ```jldoctest julia> f(n) = sum(rand() for _ in 1:n) f (generic function with 1 method) julia> @b f(1000) 1.074 μs julia> @b f(1000) 1.075 μs julia> @b f(1000) 1.076 μs julia> @b f(1010) 1.086 μs julia> @b f(1010) 1.087 μs julia> @b f(1010) 1.087 μs ``` Subexpression: @b f(1010) Evaluated output: ERROR: LoadError: UndefVarError: `body` not defined Stacktrace: [1] process_args(exprs::Any) @ Chairmarks ~/work/Chairmarks.jl/Chairmarks.jl/src/macro_tools.jl:43 [2] var"@b"(__source__::LineNumberNode, __module__::Module, args::Vararg{Any}) @ Chairmarks ~/work/Chairmarks.jl/Chairmarks.jl/src/public.jl:118 in expression starting at none:1 Expected output: 1.086 μs diff = Warning: Diff output requires color. 1.086 μsERROR: LoadError: UndefVarError: `body` not defined Stacktrace: [1] process_args(exprs::Any) @ Chairmarks ~/work/Chairmarks.jl/Chairmarks.jl/src/macro_tools.jl:43 [2] var"@b"(__source__::LineNumberNode, __module__::Module, args::Vararg{Any}) @ Chairmarks ~/work/Chairmarks.jl/Chairmarks.jl/src/public.jl:118 in expression starting at none:1
Documentation: docs/src/index.md#L17
doctest failure in src/index.md:17-38 ```jldoctest julia> f(n) = sum(rand() for _ in 1:n) f (generic function with 1 method) julia> @b f(1000) 1.074 μs julia> @b f(1000) 1.075 μs julia> @b f(1000) 1.076 μs julia> @b f(1010) 1.086 μs julia> @b f(1010) 1.087 μs julia> @b f(1010) 1.087 μs ``` Subexpression: @b f(1010) Evaluated output: ERROR: LoadError: UndefVarError: `body` not defined Stacktrace: [1] process_args(exprs::Any) @ Chairmarks ~/work/Chairmarks.jl/Chairmarks.jl/src/macro_tools.jl:43 [2] var"@b"(__source__::LineNumberNode, __module__::Module, args::Vararg{Any}) @ Chairmarks ~/work/Chairmarks.jl/Chairmarks.jl/src/public.jl:118 in expression starting at none:1 Expected output: 1.087 μs diff = Warning: Diff output requires color. 1.087 μsERROR: LoadError: UndefVarError: `body` not defined Stacktrace: [1] process_args(exprs::Any) @ Chairmarks ~/work/Chairmarks.jl/Chairmarks.jl/src/macro_tools.jl:43 [2] var"@b"(__source__::LineNumberNode, __module__::Module, args::Vararg{Any}) @ Chairmarks ~/work/Chairmarks.jl/Chairmarks.jl/src/public.jl:118 in expression starting at none:1
Documentation: docs/src/index.md#L17
doctest failure in src/index.md:17-38 ```jldoctest julia> f(n) = sum(rand() for _ in 1:n) f (generic function with 1 method) julia> @b f(1000) 1.074 μs julia> @b f(1000) 1.075 μs julia> @b f(1000) 1.076 μs julia> @b f(1010) 1.086 μs julia> @b f(1010) 1.087 μs julia> @b f(1010) 1.087 μs ``` Subexpression: @b f(1010) Evaluated output: ERROR: LoadError: UndefVarError: `body` not defined Stacktrace: [1] process_args(exprs::Any) @ Chairmarks ~/work/Chairmarks.jl/Chairmarks.jl/src/macro_tools.jl:43 [2] var"@b"(__source__::LineNumberNode, __module__::Module, args::Vararg{Any}) @ Chairmarks ~/work/Chairmarks.jl/Chairmarks.jl/src/public.jl:118 in expression starting at none:1 Expected output: 1.087 μs diff = Warning: Diff output requires color. 1.087 μsERROR: LoadError: UndefVarError: `body` not defined Stacktrace: [1] process_args(exprs::Any) @ Chairmarks ~/work/Chairmarks.jl/Chairmarks.jl/src/macro_tools.jl:43 [2] var"@b"(__source__::LineNumberNode, __module__::Module, args::Vararg{Any}) @ Chairmarks ~/work/Chairmarks.jl/Chairmarks.jl/src/public.jl:118 in expression starting at none:1
Documentation: docs/src/index.md#L44
doctest failure in src/index.md:44-47 ```jldoctest julia> @b sort(rand(100)) 1.500 μs (3 allocs: 2.625 KiB) ``` Subexpression: @b sort(rand(100)) Evaluated output: ERROR: LoadError: UndefVarError: `body` not defined Stacktrace: [1] process_args(exprs::Any) @ Chairmarks ~/work/Chairmarks.jl/Chairmarks.jl/src/macro_tools.jl:43 [2] var"@b"(__source__::LineNumberNode, __module__::Module, args::Vararg{Any}) @ Chairmarks ~/work/Chairmarks.jl/Chairmarks.jl/src/public.jl:118 in expression starting at none:1 Expected output: 1.500 μs (3 allocs: 2.625 KiB) diff = Warning: Diff output requires color. 1.500 μs (3 allocs: 2.625 KiB)ERROR: LoadError: UndefVarError: `body` not defined Stacktrace: [1] process_args(exprs::Any) @ Chairmarks ~/work/Chairmarks.jl/Chairmarks.jl/src/macro_tools.jl:43 [2] var"@b"(__source__::LineNumberNode, __module__::Module, args::Vararg{Any}) @ Chairmarks ~/work/Chairmarks.jl/Chairmarks.jl/src/public.jl:118 in expression starting at none:1
Documentation: docs/src/index.md#L51
doctest failure in src/index.md:51-54 ```jldoctest julia> @b rand(100) sort 1.018 μs (2 allocs: 1.750 KiB) ``` Subexpression: @b rand(100) sort Evaluated output: ERROR: LoadError: UndefVarError: `body` not defined Stacktrace: [1] process_args(exprs::Any) @ Chairmarks ~/work/Chairmarks.jl/Chairmarks.jl/src/macro_tools.jl:43 [2] var"@b"(__source__::LineNumberNode, __module__::Module, args::Vararg{Any}) @ Chairmarks ~/work/Chairmarks.jl/Chairmarks.jl/src/public.jl:118 in expression starting at none:1 Expected output: 1.018 μs (2 allocs: 1.750 KiB) diff = Warning: Diff output requires color. 1.018 μs (2 allocs: 1.750 KiB)ERROR: LoadError: UndefVarError: `body` not defined Stacktrace: [1] process_args(exprs::Any) @ Chairmarks ~/work/Chairmarks.jl/Chairmarks.jl/src/macro_tools.jl:43 [2] var"@b"(__source__::LineNumberNode, __module__::Module, args::Vararg{Any}) @ Chairmarks ~/work/Chairmarks.jl/Chairmarks.jl/src/public.jl:118 in expression starting at none:1
Documentation: docs/src/index.md#L58
doctest failure in src/index.md:58-61 ```jldoctest julia> @b rand(100) sort(_, by=x -> exp(-x)) 5.521 μs (2 allocs: 1.750 KiB) ``` Subexpression: @b rand(100) sort(_, by=x -> exp(-x)) Evaluated output: ERROR: LoadError: UndefVarError: `body` not defined Stacktrace: [1] process_args(exprs::Any) @ Chairmarks ~/work/Chairmarks.jl/Chairmarks.jl/src/macro_tools.jl:43 [2] var"@b"(__source__::LineNumberNode, __module__::Module, args::Vararg{Any}) @ Chairmarks ~/work/Chairmarks.jl/Chairmarks.jl/src/public.jl:118 in expression starting at none:1 Expected output: 5.521 μs (2 allocs: 1.750 KiB) diff = Warning: Diff output requires color. 5.521 μs (2 allocs: 1.750 KiB)ERROR: LoadError: UndefVarError: `body` not defined Stacktrace: [1] process_args(exprs::Any) @ Chairmarks ~/work/Chairmarks.jl/Chairmarks.jl/src/macro_tools.jl:43 [2] var"@b"(__source__::LineNumberNode, __module__::Module, args::Vararg{Any}) @ Chairmarks ~/work/Chairmarks.jl/Chairmarks.jl/src/public.jl:118 in expression starting at none:1
Documentation: docs/src/index.md#L65
doctest failure in src/index.md:65-74 ```jldoctest julia> @b rand(100) sort(_, by=x -> exp(-x)) issorted(_) || error() ERROR: Stacktrace: [1] error() [...] julia> @b rand(100) sort(_, by=x -> exp(-x)) issorted(_, rev=true) || error() 5.358 μs (2 allocs: 1.750 KiB) ``` Subexpression: @b rand(100) sort(_, by=x -> exp(-x)) issorted(_) || error() Evaluated output: ERROR: LoadError: UndefVarError: `body` not defined Stacktrace: [1] process_args(exprs::Any) @ Chairmarks ~/work/Chairmarks.jl/Chairmarks.jl/src/macro_tools.jl:43 [2] var"@b"(__source__::LineNumberNode, __module__::Module, args::Vararg{Any}) @ Chairmarks ~/work/Chairmarks.jl/Chairmarks.jl/src/public.jl:118 in expression starting at none:1 Expected output: ERROR: Stacktrace: [1] error() [...] diff = Warning: Diff output requires color. ERROR: ERROR: LoadError: UndefVarError: `body` not defined Stacktrace: [1] error() [...]process_args(exprs::Any) @ Chairmarks ~/work/Chairmarks.jl/Chairmarks.jl/src/macro_tools.jl:43 [2] var"@b"(__source__::LineNumberNode, __module__::Module, args::Vararg{Any}) @ Chairmarks ~/work/Chairmarks.jl/Chairmarks.jl/src/public.jl:118 in expression starting at none:1
Julia 1 - macOS-latest - x64 - pull_request
Process completed with exit code 1.
Julia 1.6 - macOS-latest - x64 - pull_request
Process completed with exit code 1.
Julia nightly - macOS-latest - x64 - pull_request
Process completed with exit code 1.
Julia 1.0 - windows-latest - x64 - pull_request
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 1.0 - 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.0 - 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.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 - windows-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 - windows-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.0 - macOS-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.0 - macOS-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 - windows-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 - windows-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 1 - macOS-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 - macOS-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.6 - macOS-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 - macOS-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 - macOS-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 - macOS-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.0 - windows-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.0 - windows-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-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`