Depreceated libcollections removed from latest rust src causes compilation failure
Created by: cafeclimber
- [ x] I agree that I have searched opened and closed issues to prevent duplicates.
Description
A recent commit of the rust src removed libcollections saying it was deprecated. This causes compilation to fail as it depends on libcollections.
Environment info
- Operating system: Fedora 26
-
uname -a
: Linux host 4.13.5-200.fc26.x86_64 #1 SMP Thu Oct 5 16:53:13 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux -
rustc -V
: rustc 1.22.0-nightly (4c053db23 2017-10-22) -
git rev-parse HEAD
: 28e512c9
Steps to reproduce
git clone https://github.com/redox-os/redox.git --origin upstream --recursive
cd redox
./bootstrap.sh -d
rustup override set nightly
git submodule update --recursive --init
make all
Behavior
- Expected behavior: Succesful compilation
- Actual behavior:
...
error: failed to load source for a dependency on `collections`
Caused by:
Unable to update file:///home/rdcampbell/Documents/Programming/Rust/redox/rust/src/libcollections
Caused by:
failed to read `/home/rdcampbell/Documents/Programming/Rust/redox/rust/src/libcollections/Cargo.toml`
Caused by:
No such file or directory (os error 2)
error: `"cargo" "build" "--release" "--manifest-path" "/tmp/xargo.dszO6WgC5UqC/Cargo.toml" "--target" "x86_64-unknown-none" "-p" "alloc"` failed with exit code: Some(101)
note: run with `RUST_BACKTRACE=1` for a backtrace
- Proposed solution: A temporary solution is reverting the rust src directory to the commit before libcollections was removed. A more permanent solution may be removing this dependency.
Optional references
Related to: 19aa23b