@@ -324,6 +324,7 @@ impl<'a, 'cfg> Context<'a, 'cfg> {
324324 . map ( |output| output. bin_dst ( ) . clone ( ) ) )
325325 }
326326
327+ #[ tracing:: instrument( skip_all) ]
327328 pub fn prepare_units ( & mut self ) -> CargoResult < ( ) > {
328329 let dest = self . bcx . profiles . get_dir_name ( ) ;
329330 let host_layout = Layout :: new ( self . bcx . ws , None , & dest) ?;
@@ -349,6 +350,7 @@ impl<'a, 'cfg> Context<'a, 'cfg> {
349350
350351 /// Prepare this context, ensuring that all filesystem directories are in
351352 /// place.
353+ #[ tracing:: instrument( skip_all) ]
352354 pub fn prepare ( & mut self ) -> CargoResult < ( ) > {
353355 let _p = profile:: start ( "preparing layout" ) ;
354356
@@ -451,6 +453,7 @@ impl<'a, 'cfg> Context<'a, 'cfg> {
451453
452454 /// Check if any output file name collision happens.
453455 /// See <https://github.com/rust-lang/cargo/issues/6313> for more.
456+ #[ tracing:: instrument( skip_all) ]
454457 fn check_collisions ( & self ) -> CargoResult < ( ) > {
455458 let mut output_collisions = HashMap :: new ( ) ;
456459 let describe_collision = |unit : & Unit , other_unit : & Unit , path : & PathBuf | -> String {
@@ -633,6 +636,7 @@ impl<'a, 'cfg> Context<'a, 'cfg> {
633636 /// If the current crate has reverse-dependencies, such a Check unit should exist, and so
634637 /// we use that crate's metadata. If not, we use the crate's Doc unit so at least examples
635638 /// scraped from the current crate can be used when documenting the current crate.
639+ #[ tracing:: instrument( skip_all) ]
636640 pub fn compute_metadata_for_doc_units ( & mut self ) {
637641 for unit in self . bcx . unit_graph . keys ( ) {
638642 if !unit. mode . is_doc ( ) && !unit. mode . is_doc_scrape ( ) {
0 commit comments