cordx56/rustowl

Can't install RustOwl 0.1.1 on Intel Mac Sequoia (Rust 1.84.1)

Closed this issue · 5 comments

When attempting to run the command line install as instructed for the extension:

curl -L "https://github.com/cordx56/rustowl/releases/download/v0.1.1/install.sh" | sh

The installation fails and I get the following errors:

error[E0463]: can't find crate for `indexmap`
 --> rustowl-core/src/lib.rs:3:1
  |
3 | pub extern crate indexmap;
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate

error[E0463]: can't find crate for `polonius_engine`
 --> rustowl-core/src/lib.rs:4:1
  |
4 | pub extern crate polonius_engine;
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate

error[E0463]: can't find crate for `rustc_borrowck`
 --> rustowl-core/src/lib.rs:5:1
  |
5 | pub extern crate rustc_borrowck;
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
  |
  = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`

error[E0463]: can't find crate for `rustc_driver`
 --> rustowl-core/src/lib.rs:6:1
  |
6 | pub extern crate rustc_driver;
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
  |
  = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`

error[E0463]: can't find crate for `rustc_errors`
 --> rustowl-core/src/lib.rs:7:1
  |
7 | pub extern crate rustc_errors;
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
  |
  = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`

error[E0463]: can't find crate for `rustc_hash`
 --> rustowl-core/src/lib.rs:8:1
  |
8 | pub extern crate rustc_hash;
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
  |
  = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`

error[E0463]: can't find crate for `rustc_hir`
 --> rustowl-core/src/lib.rs:9:1
  |
9 | pub extern crate rustc_hir;
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
  |
  = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`

error[E0463]: can't find crate for `rustc_index`
  --> rustowl-core/src/lib.rs:10:1
   |
10 | pub extern crate rustc_index;
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
   |
   = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`

error[E0463]: can't find crate for `rustc_interface`
  --> rustowl-core/src/lib.rs:11:1
   |
11 | pub extern crate rustc_interface;
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
   |
   = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`

error[E0463]: can't find crate for `rustc_middle`
  --> rustowl-core/src/lib.rs:12:1
   |
12 | pub extern crate rustc_middle;
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
   |
   = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`

error[E0463]: can't find crate for `rustc_session`
  --> rustowl-core/src/lib.rs:13:1
   |
13 | pub extern crate rustc_session;
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
   |
   = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`

error[E0463]: can't find crate for `rustc_span`
  --> rustowl-core/src/lib.rs:14:1
   |
14 | pub extern crate rustc_span;
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
   |
   = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`

error[E0463]: can't find crate for `smallvec`
  --> rustowl-core/src/lib.rs:15:1
   |
15 | pub extern crate smallvec;
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate

error[E0554]: `#![feature]` may not be used on the stable release channel
 --> rustowl-core/src/lib.rs:1:1
  |
1 | #![feature(rustc_private)]
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^

Some errors have detailed explanations: E0463, E0554.
For more information about an error, try `rustc --explain E0463`.
error: could not compile `rustowl-core` (lib) due to 14 previous errors
warning: build failed, waiting for other jobs to finish...
error: failed to compile `rustowl v0.1.1 (/private/var/folders/kg/84wkypl57pz6b8c86dvm6pcw0000gn/T/tmp.B9Wq9HHz30/rustowl-0.1.1/rustowl)`, intermediate artifacts can be found at `/private/var/folders/kg/84wkypl57pz6b8c86dvm6pcw0000gn/T/tmp.B9Wq9HHz30/rustowl-0.1.1/rustowl/target`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.

It seems the toolchain installation failed. Do you use rustup?

cxwx commented

mark

Same issue on Manjaro Linux.

It seems the toolchain installation failed. Do you use rustup?

That may be the issue. I have rust installed via homebrew.

I will reinstall rust and retry.

It seems the toolchain installation failed. Do you use rustup?

That may be the issue. I have rust installed via homebrew.

I will reinstall rust and retry.

I can confirm after replacing homebrew installed rust with rustup, rustowl now installs as expected.