Dear game_chess
maintainers, hi @Wandalen,
Thanks for game_chess
; it looks very useful to be. Can you imagine how disappointed I was when I could not get it to run :-) ?
I simply followed the instructions in the README, so after cloning this repo and installing the deb packages, I did:
This resulted in:
(base) richel@N141CU:~/GitHubs/game_chess$ cargo make
[cargo-make] INFO - cargo make 0.35.6
[cargo-make] INFO - Build File: Makefile.toml
[cargo-make] INFO - Task: default
[cargo-make] INFO - Profile: development
[cargo-make] INFO - Execute Command: "cargo" "run" "--manifest-path" "/home/richel/GitHubs/game_chess/module/game/platform/desktop/../../Cargo.toml" "--bin" "desktop"
error: failed to parse manifest at `/home/richel/GitHubs/game_chess/module/game/Cargo.toml`
Caused by:
feature `edition2021` is required
consider adding `cargo-features = ["edition2021"]` to the manifest
[cargo-make] ERROR - Error while executing command, exit code: 101
[cargo-make] WARN - Build Failed.
I followed the advince and modified Cargo.toml
to this:
(base) richel@N141CU:~/GitHubs/game_chess$ cat Cargo.toml
cargo-features = [
"edition2021",
"named-profiles", # custom named profile
# "build-std", # rebuild srd
# "strip", # strip either symbols or debuginfo
# "weak-dep-features", # ability to use dep_name?/feat_name syntax
]
# [other things]
Then cargo make
again, however, resulting in the same error:
(base) richel@N141CU:~/GitHubs/game_chess$ cargo make
[cargo-make] INFO - cargo make 0.35.6
[cargo-make] INFO - Build File: Makefile.toml
[cargo-make] INFO - Task: default
[cargo-make] INFO - Profile: development
[cargo-make] INFO - Execute Command: "cargo" "run" "--manifest-path" "/home/richel/GitHubs/game_chess/module/game/platform/desktop/../../Cargo.toml" "--bin" "desktop"
error: failed to parse manifest at `/home/richel/GitHubs/game_chess/module/game/Cargo.toml`
Caused by:
feature `edition2021` is required
consider adding `cargo-features = ["edition2021"]` to the manifest
[cargo-make] ERROR - Error while executing command, exit code: 101
[cargo-make] WARN - Build Failed.
As a rustling, I assume the problem is at my side or how to fix it. I know that it has been a long time since a build has been tested on GitHub Actions, so I cannot conclude that game_chess
builds in one way or the other either.
Is game_chess
in a cargo make
-able state? If no, how can I fix the problem from my side?
Below are my specs.
Thanks for your help and cheers, Richel Bilderbeek
Specs
- Ubuntu 20.04 LTS with updated packages
(base) richel@N141CU:~/GitHubs/game_chess$ rustup --version
rustup 1.24.3 (ce5817a94 2021-05-31)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: The currently active `rustc` version is `rustc 1.57.0 (f1edd0429 2021-11-29)`
(base) richel@N141CU:~/GitHubs/game_chess$ cargo version
cargo 1.53.0