You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: scarb/src/resolver/mod.rs
+10-12
Original file line number
Diff line number
Diff line change
@@ -320,12 +320,10 @@ mod tests {
320
320
],
321
321
&[deps![("top1","1"),("top2","1")]],
322
322
Err(indoc!{"
323
-
Version solving failed:
324
-
- top2 v1.0.0 cannot use foo v1.0.0, because top2 requires foo ^2.0.0
325
-
326
-
Scarb does not have real version solving algorithm yet.
327
-
Perhaps in the future this conflict could be resolved, but currently,
328
-
please upgrade your dependencies to use latest versions of their dependencies.
323
+
version solving failed:
324
+
Because there is no version of top2 in >1.0.0, <2.0.0 and top2 1.0.0 depends on foo >=2.0.0, <3.0.0, top2 >=1.0.0, <2.0.0 depends on foo >=2.0.0, <3.0.0.
325
+
And because top1 1.0.0 depends on foo >=1.0.0, <2.0.0 and there is no version of top1 in >1.0.0, <2.0.0, top1 >=1.0.0, <2.0.0, top2 >=1.0.0, <2.0.0 are incompatible.
326
+
And because root_1 1.0.0 depends on top1 >=1.0.0, <2.0.0 and root_1 1.0.0 depends on top2 >=1.0.0, <2.0.0, root_1 1.0.0 is forbidden.
0 commit comments