-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash in tests upon upgrade from v1.15.0 to v1.15.1 #43
Comments
This is an expected failure: there was a bug in 1.15.0 that meant features that should have been enabled by default disabled (#35, 4dda64b, 156e7d6). The raised error is likely correct in this situation - by default, |
Or the obvious alternative - which I didn't think of in the above comment - is to simply disable the |
Thanks for your quick and thorough response! I figured it was more of a failure because of an upstream behavior (in the As far as fixes go, I'll probably opt-in to the unsafe behavior or disable the |
I'd be more than happy to see a contribution adding that feature! It should be a little easier to add than some previous similar features as it can use the existing |
Released v1.16.0 with options to use UTC timestamps. Thanks! |
related: borntyping/rust-simple_logger#43 This patch disables the timestamp feature.
UTC timestamps are now the default in simple_logger 2.0.0. |
The following (MWE) test has regressed to an unexpected failure upon upgrade from v1.15.0 to v1.15.1.
The new error upon upgrade is:
This does not happen when the same code is put into
src/main.rs
and run viacargo run
. It seems to just be when running in a test suite. (I discovered this in one of mytests/*.rs
files on a recent CI run.)I am running Linux 5.15.4-arch1-1, cargo and rustc 1.57.0 (latest). The same crash also happens in an
ubuntu-20.04
GitHub Actions environment.📝 A successful test on log = 0.4.14 and simple_logger = 1.15.0:
📝 The exact same test, but replacing
=1.15.0
with=1.15.1
inCargo.toml
:The text was updated successfully, but these errors were encountered: