rustyscreeps / screeps-starter-rust

Starter Rust AI for Screeps, the JavaScript-based MMO game
MIT License
121 stars 47 forks source link

This project is not usable #29

Closed ttxs25830 closed 1 year ago

ttxs25830 commented 1 year ago

Caused by cargo-web stop maintained and not usable.

EmeraldSnorlax commented 1 year ago

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 commented 1 year ago

I believe there's ongoing work to fix this in https://github.com/rustyscreeps/screeps-game-api/pull/333.

It definitely doesn't seem like a trivial transition, but the problem is known, and there's been significant work towards addressing it.