Closed fhaynes closed 6 years ago
It looks like you're using a different version of rustfmt. Try setting your rust toolchain to stable
and do a rustup update
. You may need to revert the existing formatting changes first to get it to match back up.
You'll also want to squash those commits. We generally try to keep it to one commit per PR unless there is a good reason to separate things (formatting would be a good example of this).
Yeah, just discovered I'm a bit behind on rustfmt. I updated and ran the check that failed in travis, and it passed this time. I'll squash in the meantime.
Yay, that looks better, I think.
Just a heads up, we'll probably wait for @afck to review this. He probably won't be able to until next week.
@fhaynes Thanks for adding these benchmarks!
After a lot of dramatic fighting with git rebase
, the bivar test should be cleaned out. =)
I'm not sure why, but the build is failing at this point:
$ cargo test --all-features --release
Compiling threshold_crypto v0.1.0 (file:///home/travis/build/poanetwork/threshold_crypto)
error: Could not compile `threshold_crypto`.
warning: build failed, waiting for other jobs to finish...
error: Could not compile `threshold_crypto`.
To learn more, run the command again with --verbose.
The command "cargo test --all-features --release" exited with 101.
Interestingly, if I add --verbose to the travis config, it builds fine. Am I missing something obvious here?
And that same command works fine locally
If your PR fails due to cargo fmt
Travis will cache that build and run the cached version if you push a minor update to your PR (i.e. push code that doesn't affect the binary). I cleared the cache for your PR and rebuilt it, hopefully that works.
14 minutes later...
Alright, it builds now.
Cool, I resolved the remaining conversations.
Here's a few additional benchmarks. I put in a Makefile to make running tests/benches a bit easier, but I can do that in a separate commit if you want (or remove it). I ran rustfmt per the contributing guide, but it decided several more files needed reformatting. =) Would you prefer that in a separate commit?