Closed zkbpkp closed 7 years ago
Hi,
I haven't updated the published version on crates.io yet. I actually did a refactoring recently in which I split the library into multiple sub-libraries. Now, the crates.io requires all sub-libraries to be registered separately on their database. I haven't done that yet. That's why, I couldn't update the main library on crates.io either. I am still wondering if it makes sense to publish all the individual sub-libraries separately on crates.io.
You can see the library dependency structure from the toml files.
OS: Archlinux x64 rustc: 1.16.0 (stable & nightly) scirust: 0.0.4 & 0.0.5
error message
``` error[E0432]: unresolved import `std::rt::heap::allocate` --> /home/boss/.cargo/registry/src/github.com-1ecc6299db9ec823/scirust-0.0.5/src/matrix/matrix.rs:12:21 | 12 | use std::rt::heap::{allocate, deallocate}; | ^^^^^^^^ Could not find `heap` in `rt` error[E0432]: unresolved import `std::rt::heap::deallocate` --> /home/boss/.cargo/registry/src/github.com-1ecc6299db9ec823/scirust-0.0.5/src/matrix/matrix.rs:12:31 | 12 | use std::rt::heap::{allocate, deallocate}; | ^^^^^^^^^^ Could not find `heap` in `rt` error[E0432]: unresolved import `std::raw::Slice` --> /home/boss/.cargo/registry/src/github.com-1ecc6299db9ec823/scirust-0.0.5/src/matrix/matrix.rs:14:5 | 14 | use std::raw::Slice; | ^^^^^^^^^^^^^^^ no `Slice` in `raw` error[E0432]: unresolved import `std::rt::heap::allocate` --> /home/boss/.cargo/registry/src/github.com-1ecc6299db9ec823/scirust-0.0.5/src/matrix/triangular_matrix.rs:9:5 | 9 | use std::rt::heap::allocate; | ^^^^^^^^^^^^^^^^^^^^^^^ Could not find `heap` in `rt` error[E0432]: unresolved import `std::rt::heap::deallocate` --> /home/boss/.cargo/registry/src/github.com-1ecc6299db9ec823/scirust-0.0.5/src/util/memory.rs:4:21 | 4 | use std::rt::heap::{deallocate}; | ^^^^^^^^^^ Could not find `heap` in `rt` error[E0554]: #[feature] may not be used on the stable release channel --> /home/boss/.cargo/registry/src/github.com-1ecc6299db9ec823/scirust-0.0.5/src/lib.rs:2:1 | 2 | #![feature(raw)] | ^^^^^^^^^^^^^^^^ error[E0554]: #[feature] may not be used on the stable release channel --> /home/boss/.cargo/registry/src/github.com-1ecc6299db9ec823/scirust-0.0.5/src/lib.rs:3:1 | 3 | #![feature(heap_api)] | ^^^^^^^^^^^^^^^^^^^^^ error[E0554]: #[feature] may not be used on the stable release channel --> /home/boss/.cargo/registry/src/github.com-1ecc6299db9ec823/scirust-0.0.5/src/lib.rs:4:1 | 4 | #![feature(ptr_as_ref)] | ^^^^^^^^^^^^^^^^^^^^^^^ error[E0554]: #[feature] may not be used on the stable release channel --> /home/boss/.cargo/registry/src/github.com-1ecc6299db9ec823/scirust-0.0.5/src/lib.rs:31:2 | 31 | #![feature(core)] | ^^^^^^^^^^^^^^^^^ error[E0554]: #[feature] may not be used on the stable release channel --> /home/boss/.cargo/registry/src/github.com-1ecc6299db9ec823/scirust-0.0.5/src/lib.rs:32:1 | 32 | #![feature(alloc)] | ^^^^^^^^^^^^^^^^^^ error[E0554]: #[feature] may not be used on the stable release channel --> /home/boss/.cargo/registry/src/github.com-1ecc6299db9ec823/scirust-0.0.5/src/lib.rs:33:1 | 33 | #![feature(step_by)] | ^^^^^^^^^^^^^^^^^^^^ error[E0554]: #[feature] may not be used on the stable release channel --> /home/boss/.cargo/registry/src/github.com-1ecc6299db9ec823/scirust-0.0.5/src/lib.rs:34:1 | 34 | #![feature(convert)] | ^^^^^^^^^^^^^^^^^^^^ error[E0554]: #[feature] may not be used on the stable release channel --> /home/boss/.cargo/registry/src/github.com-1ecc6299db9ec823/scirust-0.0.5/src/lib.rs:35:1 | 35 | #![feature(test)] | ^^^^^^^^^^^^^^^^^ error[E0554]: #[feature] may not be used on the stable release channel --> /home/boss/.cargo/registry/src/github.com-1ecc6299db9ec823/scirust-0.0.5/src/lib.rs:36:1 | 36 | #![feature(associated_type_defaults)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: aborting due to 9 previous errors error: Could not compile `scirust`. ```UPD: build fails with the package version, published on crates.io; git version compiles successfully