File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -407,12 +407,11 @@ impl RustwideBuilder {
407
407
// fill up disk space.
408
408
// This also prevents having multiple builders using the same rustwide workspace,
409
409
// which we don't do. Currently our separate builders use a separate rustwide workspace.
410
- {
411
- let _span = info_span ! ( "purge_all_build_dirs" ) . entered ( ) ;
410
+ info_span ! ( "purge_all_build_dirs" ) . in_scope ( || {
412
411
self . workspace
413
412
. purge_all_build_dirs ( )
414
- . map_err ( FailureError :: compat) ? ;
415
- }
413
+ . map_err ( FailureError :: compat)
414
+ } ) ? ;
416
415
417
416
let mut build_dir = self . workspace . build_dir ( & format ! ( "{name}-{version}" ) ) ;
418
417
Original file line number Diff line number Diff line change @@ -405,7 +405,7 @@ impl AsyncStorage {
405
405
406
406
let mut zip_content = {
407
407
let _span =
408
- info_span ! ( "create_zip_archive" , %archive_path, root_dir=%root_dir. display( ) ) ;
408
+ info_span ! ( "create_zip_archive" , %archive_path, root_dir=%root_dir. display( ) ) . entered ( ) ;
409
409
410
410
let options = zip:: write:: FileOptions :: default ( )
411
411
. compression_method ( zip:: CompressionMethod :: Bzip2 ) ;
@@ -427,7 +427,7 @@ impl AsyncStorage {
427
427
let remote_index_path = format ! ( "{}.index" , & archive_path) ;
428
428
let alg = CompressionAlgorithm :: default ( ) ;
429
429
let compressed_index_content = {
430
- let _span = info_span ! ( "create_archive_index" , %remote_index_path) ;
430
+ let _span = info_span ! ( "create_archive_index" , %remote_index_path) . entered ( ) ;
431
431
432
432
fs:: create_dir_all ( & temp_dir) ?;
433
433
let local_index_path =
You can’t perform that action at this time.
0 commit comments