Comments (4)
It's a strange error. This is happening while rbpf-tests is running cargo (from the sbf toolchain) to build the move-native crate. move-native is a no_std crate, which means all its dependencies should be configured not to use the standard library, but this error from inside serde seems to be related to compiling support for the std Error trait. So something here is confused about the configuration probably.
I haven't seen this yet, but it could have happened after a dependency changed in the lockfile, in this case probably language/move-native/Cargo.lock
, or it could be related to being on a different version of SBF tools, which I see has had a new release since I last ran these tests.
from move.
It could be that after an upgrade of something cargo is confused by its own metadata. The build artifacts for this particular build are in language/tools/move-mv-llvm-compiler/tests/cargo-target-dir
. Deleting that dir may solve the problem.
from move.
Removing language/tools/move-mv-llvm-compiler/tests/cargo-target-dir
did not fix it.
Attached is the full error log for the following command:
$ export LLVM_SYS_150_PREFIX=$HOME/sbf-tools/llvm-project/build
$ export SBF_TOOLS_ROOT=$HOME/sbf-tools/releases/v1.32
$ cargo test
error.txt
from move.
In the log output you posted the first error is:
building move-native runtime for sbf
Compiling generic-array v0.14.6
Compiling typenum v1.16.0
Compiling keccak v0.1.3
Compiling cfg-if v1.0.0
Compiling serde v1.0.152
error[E0463]: can't find crate for `core`
|
= note: the `sbf-solana-solana` target may not be installed
= help: consider downloading the target with `rustup target add sbf-solana-solana`
= help: consider building the standard library from source with `cargo build -Zbuild-std`
The build is failing because rustc can't find the core library for the sbf-solana-solana target. This probably indicates something broken in the sbf tools installation. the sbf tools should have a rust/lib/rustlib/sbf-solana-solana/lib
directory, and that directory should contain a file like libcore-0d7011e845091c1c.rlib
from move.
Related Issues (20)
- [Bug] Force move symbols to be less than 64 chars HOT 6
- Manage lifetimes of LLVM modules
- Specification of entry functions in solana-move
- instrument each entrypoint function that establishes precondition+postconditions HOT 3
- Rebase onto Sui HOT 10
- [Bug] Enable "specific failures" in stdlib test suite
- [Bug] Multiple issues with large vecs
- [Bug] stdlib/nursery tests fail to run
- Debug Info for Move compiler HOT 1
- [Feature Request] Update move-compiler to work with the latest v1.39 platform-tools
- Investigate and implement sui-specific native calls HOT 3
- [Feature Request] Target move for x86_64 backend
- [Feature Request] print (append) a list of entrypoints to a file.
- [Feature Request] Mutable references might also be `writeonly`
- [Bug] upgrade openssl to 0.10.48
- [Bug] Reduce the binary size of move program HOT 4
- Use llvm-sys 17 or newer HOT 1
- [Feature Request] Create a script to fix the permission on osx toolchain binaries
- [Bug] Update deprecated llvm-sys APIs to new one HOT 1
- [Bug] Upgrade to llvm-sys 18
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from move.