Closed Hobo2k closed 5 months ago
if you are not using latest main branch, use git pull
to fast forward. Then try issuing the following three command:
$ cargo clean
$ cargo update
$ cargo build
That should help.
Didn't work
cargo clean root@hms-w-2t:~/hms-whg1# cargo update Updating crates.io index error: failed to select a version for
env_logger. ... required by package
hms-mqtt-publish v0.2.0 (/root/hms-whg1) versions that meet the requirements
^0.11.2are: 0.11.3, 0.11.2 the package
hms-mqtt-publishdepends on
env_logger, with features:
anstream but
env_loggerdoes not have these features. It has an optional dependency with that name, but that dependency uses the "dep:" syntax in the features table, so it does not have an implicit feature with that name. failed to select a version for
env_loggerwhich could resolve this conflict root@hms-w-2t:~/hms-whg1# cargo build Updating crates.io index error: failed to select a version for
env_logger. ... required by package
hms-mqtt-publish v0.2.0 (/root/hms-whg1) versions that meet the requirements
^0.11.2are: 0.11.3, 0.11.2 the package
hms-mqtt-publishdepends on
env_logger, with features:
anstream but
env_loggerdoes not have these features. It has an optional dependency with that name, but that dependency uses the "dep:" syntax in the features table, so it does not have an implicit feature with that name. failed to select a version for
env_loggerwhich could resolve this conflict
okay fixed it by updating to rustc 1.7x - in debian 1.63 is stable and seems to be too old
Hi,
I can't compile it and don't find an solution:
Thanks for your help.