Skip to content
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

Flowistry 0.5.7 fails to build in VSCode on macOS (M1). #39

Closed
nsabovic opened this issue Feb 26, 2022 · 2 comments
Closed

Flowistry 0.5.7 fails to build in VSCode on macOS (M1). #39

nsabovic opened this issue Feb 26, 2022 · 2 comments

Comments

@nsabovic
Copy link

Problem

Flowistry fails to build in VSCode.

Logs

OS: darwin (21.3.0) (M1 aarch64)
VSCode: 1.64.2
Error message

Updating crates.io index
  Installing flowistry_ide v0.5.6
    Blocking waiting for file lock on package cache
 Downloading crates ...
  Downloaded flowistry v0.5.7
    Blocking waiting for file lock on package cache
   Compiling cfg-if v1.0.0
   Compiling autocfg v1.1.0
   Compiling proc-macro2 v1.0.36
   Compiling unicode-xid v0.2.2
   Compiling libc v0.2.119
   Compiling syn v1.0.86
   Compiling serde_derive v1.0.136
   Compiling serde v1.0.136
   Compiling lazy_static v1.4.0
   Compiling crossbeam-utils v0.8.7
   Compiling crossbeam-epoch v0.9.7
   Compiling log v0.4.14
   Compiling scopeguard v1.1.0
   Compiling rayon-core v1.9.1
   Compiling anyhow v1.0.55
   Compiling semver v1.0.6
   Compiling camino v1.0.7
   Compiling serde_json v1.0.79
   Compiling ppv-lite86 v0.2.16
   Compiling hashbrown v0.11.2
   Compiling unicode-width v0.1.9
   Compiling either v1.6.1
   Compiling utf8-width v0.1.5
   Compiling ryu v1.0.9
   Compiling itoa v1.0.1
   Compiling unicode-segmentation v1.9.0
   Compiling fixedbitset v0.4.1
   Compiling bitflags v1.3.2
   Compiling textwrap v0.14.2
   Compiling fluid-let v1.0.0
   Compiling textwrap v0.11.0
   Compiling itertools v0.10.3
   Compiling html-escape v0.2.9
   Compiling memoffset v0.6.5
   Compiling indexmap v1.8.0
   Compiling rayon v1.5.1
   Compiling clap v2.34.0
   Compiling crossbeam-channel v0.5.2
   Compiling quote v1.0.15
   Compiling getrandom v0.2.5
   Compiling num_cpus v1.13.1
   Compiling env_logger v0.9.0
   Compiling rand_core v0.6.3
   Compiling flowistry v0.5.7
   Compiling rand_chacha v0.3.1
   Compiling rand v0.8.5
   Compiling crossbeam-deque v0.8.1
   Compiling petgraph v0.6.0
   Compiling cargo-platform v0.1.2
   Compiling cargo_metadata v0.14.2
   Compiling flowistry_ide v0.5.6
error[E0560]: struct `flowistry::range::Range` has no field named `start`
  --> /Users/nsabovic/.cargo/registry/src/github.com-1ecc6299db9ec823/flowistry_ide-0.5.6/src/spans.rs:28:9
   |
28 |         start: 0,
   |         ^^^^^ `flowistry::range::Range` does not have this field
   |
   = note: available fields are: `char_start`, `char_end`, `byte_start`, `byte_end`, `filename`

error[E0560]: struct `flowistry::range::Range` has no field named `end`
  --> /Users/nsabovic/.cargo/registry/src/github.com-1ecc6299db9ec823/flowistry_ide-0.5.6/src/spans.rs:29:9
   |
29 |         end: 0,
   |         ^^^ `flowistry::range::Range` does not have this field
   |
   = note: available fields are: `char_start`, `char_end`, `byte_start`, `byte_end`, `filename`

For more information about this error, try `rustc --explain E0560`.
error: could not compile `flowistry_ide` due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
error: failed to compile `flowistry_ide v0.5.6`, intermediate artifacts can be found at `/var/folders/_w/137c04_d12n4qf4009jq_5rw0000gn/T/cargo-install8mFSRm`

Caused by:
  build failed

Full log: https://paste.rs/Xwi

@willcrichton
Copy link
Owner

Can you try again? This seems to be a transient issue where cargo is trying to install 0.5.6 for flowistry_ide but 0.5.7 for flowistry, leading to a version mismatch.

@nsabovic
Copy link
Author

Yup that fixed it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants