to repro:
$ cargo test -p move-mv-llvm-compiler --test rbpf-tests
error[E0412]: cannot find type `Option` in this scope
--> /home/adityak/.cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.152/src/std_error.rs:45:25
|
45 | fn source(&self) -> Option<&(Error + 'static)> {
| ^^^^^^ not found in this scope
|
help: there is an enum variant `de::Unexpected::Option`; try using the variant's enum
|
45 | fn source(&self) -> de::Unexpected {
| ~~~~~~~~~~~~~~
error[E0425]: cannot find value `None` in this scope
--> /home/adityak/.cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.152/src/std_error.rs:46:9
|
46 | None
| ^^^^ not found in this scope
Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433, E0463, E0531.
error: could not compile `serde` due to 4284 previous errors
thread 'run_test::assert.move' panicked at 'running SBF cargo failed', language/tools/move-mv-llvm-compiler/tests/rbpf-tests.rs:135:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'thread 'run_test::abort.moverun_test::multi-module.move' panicked at '' panicked at 'Once instance has previously been poisonedOnce instance has previously been poisoned', ', language/tools/move-mv-llvm-compiler/tests/rbpf-tests.rslanguage/tools/move-mv-llvm-compiler/tests/rbpf-tests.rs::110110::1111
thread 'run_test::script.move' panicked at 'Once instance has previously been poisoned', language/tools/move-mv-llvm-compiler/tests/rbpf-tests.rs:test run_test::assert.move ... FAILED110
:11
test run_test::abort.move ... FAILED
test run_test::multi-module.move ... FAILED
test run_test::script.move ... FAILED
failures:
run_test::assert.move
run_test::abort.move
run_test::multi-module.move
run_test::script.move
test result: FAILED. 0 passed; 4 failed; 0 filtered out