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

This project is not usable #29

Closed
ttxs25830 opened this issue Nov 6, 2022 · 2 comments · Fixed by #32
Closed

This project is not usable #29

ttxs25830 opened this issue Nov 6, 2022 · 2 comments · Fixed by #32

Comments

@ttxs25830
Copy link

ttxs25830 commented Nov 6, 2022

Caused by cargo-web stop maintained and not usable.

@EmeraldSnorlax
Copy link

i'm also experiencing this issue; cargo screeps upload panics.

   Compiling screeps-starter-rust v0.0.0 (/mnt/hdd/Projects/galactic)
warning: unused import: `std::collections::HashSet`
 --> src/main.rs:1:5
  |
1 | use std::collections::HashSet;
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` on by default

warning: unused imports: `Part`, `ResourceType`, `ReturnCode`, `RoomObjectProperties`, `find`, `prelude::*`
 --> src/main.rs:3:15
  |
3 | use screeps::{find, prelude::*, Part, ResourceType, ReturnCode, RoomObjectProperties};
  |               ^^^^  ^^^^^^^^^^  ^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^

warning: 2 warnings emitted
    Finished dev [unoptimized + debuginfo] target(s) in 33.88s
    Processing "screeps-starter-rust.wasm"...

@daboross
Copy link
Collaborator

daboross commented Jan 4, 2023

I believe there's ongoing work to fix this in rustyscreeps/screeps-game-api#333.

It definitely doesn't seem like a trivial transition, but the problem is known, and there's been significant work towards addressing 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

Successfully merging a pull request may close this issue.

3 participants