rustyscreeps/screeps-starter-rust

This project is not usable

Closed this issue · 2 comments

Caused by cargo-web stop maintained and not usable.

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"...

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.