You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
error-stack UI tests fail under nightly-2022-07-20 #897
nightly-2022-07-20 (rust 1.64 stable) introduced rust-lang/rust#98320, which means that the UI and acceptance tests for the macro errors fail on toolchains newer than that.
= note: this error originates in the macro `$crate::report` (in Nightly builds, run with -Z macro-backtrace for more info)
This is changed to:
= note: this error originates in the macro `$crate::report` which comes from the expansion of the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `$crate::report` (in Nightly builds, run with -Z macro-backtrace for more info)
This is changed to:
= note: this error originates in the macro `$crate::report` which comes from the expansion of the macro `ensure` (in Nightly builds, run with -Z macro-backtrace for more info)
The which comes from the expansion of the macro `...` part is new.
I think the easiest way is to simply bump the nightly version used in CI, this will also fix #898. I will do this tomorrow.
(from the logs of #892 it also seems like the code to fetch the nightly toolchain version seems broken)
Currently, it uses the first rust-toolchain.toml file it finds in the repository to determine the nightly version, this is why we currently try to keep the nightly versions on par between the different projects (package/engine, packages/libs/error-stack and packages/graph(on dev/graph) ). Probably there is a better way to this, but I haven't investigated this yet.
Activity
indietyp commentedon Aug 6, 2022
To fix this, we could either
rustversionto conditionally emit additional code on toolchains that are newer than2022-07-20(from the logs of #892 it also seems like the code to fetch the nightly toolchain version seems broken)
@TimDiekmann what do you think?
[-]error-stack ui tests fail under nightly-2022-07-20[/-][+]`error-stack` UI tests fail under `nightly-2022-07-20`[/+]TimDiekmann commentedon Aug 7, 2022
Thanks for filing this!
I think the easiest way is to simply bump the nightly version used in CI, this will also fix #898. I will do this tomorrow.
Currently, it uses the first
rust-toolchain.tomlfile it finds in the repository to determine the nightly version, this is why we currently try to keep the nightly versions on par between the different projects (package/engine,packages/libs/error-stackandpackages/graph(ondev/graph) ). Probably there is a better way to this, but I haven't investigated this yet.indietyp commentedon Aug 7, 2022
What I specifically mean is the error:
Which turns up in the CI.