حسب https://github.com/shepmaster/sxd-document/pull/53#issuecomment -349184896 أبلغ عن مشكلة حيث يؤدي تحديث صندوق إلى
Updating registry `https://github.com/rust-lang/crates.io-index`
error: failed to select a version for `sxd-document` (required by `sxd-xpath`):
all possible versions conflict with previously selected versions of `sxd-document`
version 0.2.5 in use by sxd-document v0.2.5
possible versions to select: 0.2.4
تم حل هذه المشكلة ، والإبلاغ عنها في حالة وجود شيء يحتاج إلى إصلاح في البضائع.
يبدو أن تشغيل cargo update -p sxd-document
يحل المشكلة عندما كنت أستخدم ملفات Cargo.toml
و Cargo.lock
المتوفرة.
أعتقد أن هذا قد يكون خداعًا لـ https://github.com/rust-lang/cargo/issues/4127؟
الإغلاق لصالح https://github.com/rust-lang/cargo/issues/4127
التعليق الأكثر فائدة
يبدو أن تشغيل
cargo update -p sxd-document
يحل المشكلة عندما كنت أستخدم ملفاتCargo.toml
وCargo.lock
المتوفرة.