New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot install rust in repl.it? #1352
Comments
Hm, looks like a repl.it issue? |
I'm also not able to run this in Replit: ~/rustlings$ rustlings
bash: rustlings: command not found I then tried clicking the huge and obvious "Run" button, which resulted in the following console output: [ -x ~/.cargo/bin/rustlings ] && ~/.cargo/bin/rustlings watch || ./install.sh
Let's get you set up with Rustlings!
Checking requirements...
SUCCESS: Git is installed
SUCCESS: cc is installed
ERROR: rustup does not seem to be installed.
Please download rustup using https://rustup.rs! Okay: ~/rustlings$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
info: downloading installer
warning: it looks like you have an existing installation of Rust at:
warning: /nix/store/yxahn76zdfg07rims69zpwajch937kxh-rustc-1.64.0/bin
warning: rustup should not be installed alongside Rust. Please uninstall your existing Rust first.
warning: Otherwise you may have confusion unless you are careful with your PATH
warning: If you are sure that you want both rustup and your already installed Rust
warning: then please reply `y' or `yes' or set RUSTUP_INIT_SKIP_PATH_CHECK to yes
warning: or pass `-y' to ignore all ignorable checks.
error: cannot install while Rust is installed
Continue? (y/N)
error: cannot install while Rust is installed I also tried running ...
copying path '/nix/store/baqp47fg1iag6bzcbsv942rzgj0r276l-llvm-14.0.6-lib' from 'https://cache.nixos.org'...
preallocating file of 2004072 bytes: Disk quota exceeded
copying path '/nix/store/bbq41iasbfwwmn94r40xm7x42lsf5py8-perl-5.36.0' from 'https://cache.nixos.org'...
error: build of '/nix/store/57dlv9h9grplass2ywczdpm555nj6cgi-cargo-1.64.0.drv', '/nix/store/6innij7yzxl5m4ylz3znj4hadmadalqy-rustc-1.64.0.drv', '/nix/store/b0s7hv8aqakpdvpp8v8r5fi5k4j8dnwi-clippy-1.64.0.drv', '/nix/store/bpgd09g79wvj1p8fdvjjjy2ddza2s3yp-rustlings.drv', '/nix/store/gajvqygc937wsfjdkpfpqrrk3mlpyy6z-stdenv-linux.drv' failed My guess is that calling |
Huh, so repl.it automatically builds a nix derivation if a |
Not exactly, from what I can tell. I ran Configuring a Repl | Replit Docs
Using Nix with Replit | Replit Docs
So maybe if the template repl set this up ahead of time, the dependencies would be built in advance for newly-created repls? But since it looks like they only support a few Nix channels, the I'm pretty sure the adjustments for |
It stopped working and needs too much manual fixing, until someone comes along to fix it, it's not great to have in the README section. Closes rust-lang#1352.
It stopped working and needs too much manual fixing, until someone comes along to fix it, it's not great to have in the README section. Closes rust-lang#1352.
error: failed to extract package (perhaps you ran out of disk space?): IO receiver for '/home/runner/.rustup/tmp/9xgyql44b714js5i_dir/rustc/lib/libLLVM-15-rust-1.67.0-stable.so' disconnected
The text was updated successfully, but these errors were encountered: