-
-
Notifications
You must be signed in to change notification settings - Fork 181
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
ERROR cargo_tarpaulin: Failed to compile tests! #905
Comments
When trying to build > git clone git@github.com:RedisLabsModules/redismodule-rs.git
> cd redismodule-rs
> cargo tarpaulin Got the following error:
|
ref #756 |
So for RedisJSON, I got the SIGILL instruction, so I checked the readme and did Well when I cloned redismodule-rs fresh it's using nom 7 and bitvec isn't in the dependency tree, I'd recommend upgrading whatever package is bringing it in I then ran tarpaulin using
Is there any more information that could help me recreate this? Compiler versions, any configuration etc? From what I see currently it all seems to work as expected |
I just ran it with $ cargo tarpaulin --features test
...
...
Compiling chrono v0.4.19
Compiling rand v0.7.3
Compiling env_logger v0.9.0
Compiling strum_macros v0.23.1
Compiling redis-module v0.25.0
error: Broken pipe (os error 32)
warning: build failed, waiting for other jobs to finish...
error: Broken pipe (os error 32)
error: build failed
Dec 19 14:39:13.835 ERROR cargo_tarpaulin: Failed to compile tests! Error: redis-module: cannot find value `ptr` in this scope
Error: "Failed to compile tests! Error: redis-module: cannot find value `ptr` in this scope" Running on:
|
Strange, I just tried it with tarpaulin 0.18.5, with rustc 1.57.0 on ubuntu 18.04 and it worked fine. Can you do a |
|
Haven't been able to reproduce, still works fine my end and now there's |
Describe the bug
Error while building:
To Reproduce
Expected behavior
Successful build
The text was updated successfully, but these errors were encountered: