File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -165,6 +165,10 @@ fn run_command(cmd: Command) -> anyhow::Result<()> {
165
165
|| line. contains ( "error: invalid type: " )
166
166
|| line. contains ( "error: cyclic feature dependency: feature " )
167
167
|| line. contains ( "error: cyclic package dependency: package " )
168
+ || ( line. contains ( "error: package collision in the lockfile: packages " )
169
+ && line. contains (
170
+ " are different, but only one can be written to lockfile unambiguously" ,
171
+ ) )
168
172
{
169
173
broken_deps = true ;
170
174
} else if line. contains ( "error: failed to parse lock file at" )
@@ -409,7 +413,7 @@ pub enum PrepareError {
409
413
/// Some of the dependencies do not exist anymore.
410
414
#[ error( "the crate depends on missing dependencies: \n \n {0}" ) ]
411
415
MissingDependencies ( String ) ,
412
- /// cargo rejected the lockfile
416
+ /// cargo rejected (generating) the lockfile
413
417
#[ error( "the crate has a broken lockfile: \n \n {0}" ) ]
414
418
InvalidCargoLock ( String ) ,
415
419
/// git clone/fetch failed, but repository didn't appear to be private
You can’t perform that action at this time.
0 commit comments