@@ -2949,15 +2949,17 @@ fn rebuild_tracks_target_src_outside_package_root() {
29492949    p. cargo ( "doc --verbose -Zrustdoc-depinfo" ) 
29502950        . masquerade_as_nightly_cargo ( & [ "rustdoc-depinfo" ] ) 
29512951        . with_stderr_data ( str![ [ r#" 
2952- [FRESH] foo v0.0.0 ([ROOT]/parent/foo) 
2952+ [DIRTY] foo v0.0.0 ([ROOT]/parent/foo): the file `../lib.rs` has changed ([TIME_DIFF_AFTER_LAST_BUILD]) 
2953+ [DOCUMENTING] foo v0.0.0 ([ROOT]/parent/foo) 
2954+ [RUNNING] `rustdoc [..]` 
29532955[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s 
29542956[GENERATED] [ROOT]/parent/foo/target/doc/foo/index.html 
29552957
29562958"# ] ] ) 
29572959        . run ( ) ; 
29582960
29592961    let  doc_html = p. read_file ( "target/doc/foo/index.html" ) ; 
2960-     assert ! ( ! doc_html. contains( "depinfo-after" ) ) ; 
2962+     assert ! ( doc_html. contains( "depinfo-after" ) ) ; 
29612963} 
29622964
29632965#[ cargo_test( nightly,  reason = "`rustdoc --emit` is unstable" ) ]  
@@ -2986,15 +2988,17 @@ fn rebuild_tracks_include_str() {
29862988    p. cargo ( "doc --verbose -Zrustdoc-depinfo" ) 
29872989        . masquerade_as_nightly_cargo ( & [ "rustdoc-depinfo" ] ) 
29882990        . with_stderr_data ( str![ [ r#" 
2989- [FRESH] foo v0.5.0 ([ROOT]/parent/foo) 
2991+ [DIRTY] foo v0.5.0 ([ROOT]/parent/foo): the file `src/../../README` has changed ([TIME_DIFF_AFTER_LAST_BUILD]) 
2992+ [DOCUMENTING] foo v0.5.0 ([ROOT]/parent/foo) 
2993+ [RUNNING] `rustdoc [..]` 
29902994[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s 
29912995[GENERATED] [ROOT]/parent/foo/target/doc/foo/index.html 
29922996
29932997"# ] ] ) 
29942998        . run ( ) ; 
29952999
29963000    let  doc_html = p. read_file ( "target/doc/foo/index.html" ) ; 
2997-     assert ! ( ! doc_html. contains( "depinfo-after" ) ) ; 
3001+     assert ! ( doc_html. contains( "depinfo-after" ) ) ; 
29983002} 
29993003
30003004#[ cargo_test( nightly,  reason = "`rustdoc --emit` is unstable" ) ]  
@@ -3023,15 +3027,17 @@ fn rebuild_tracks_path_attr() {
30233027    p. cargo ( "doc --verbose -Zrustdoc-depinfo" ) 
30243028        . masquerade_as_nightly_cargo ( & [ "rustdoc-depinfo" ] ) 
30253029        . with_stderr_data ( str![ [ r#" 
3026- [FRESH] foo v0.5.0 ([ROOT]/parent/foo) 
3030+ [DIRTY] foo v0.5.0 ([ROOT]/parent/foo): the file `src/../../bar.rs` has changed ([TIME_DIFF_AFTER_LAST_BUILD]) 
3031+ [DOCUMENTING] foo v0.5.0 ([ROOT]/parent/foo) 
3032+ [RUNNING] `rustdoc [..]` 
30273033[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s 
30283034[GENERATED] [ROOT]/parent/foo/target/doc/foo/index.html 
30293035
30303036"# ] ] ) 
30313037        . run ( ) ; 
30323038
30333039    let  doc_html = p. read_file ( "target/doc/foo/index.html" ) ; 
3034-     assert ! ( ! doc_html. contains( "depinfo-after" ) ) ; 
3040+     assert ! ( doc_html. contains( "depinfo-after" ) ) ; 
30353041} 
30363042
30373043#[ cargo_test( nightly,  reason = "`rustdoc --emit` is unstable" ) ]  
@@ -3060,15 +3066,17 @@ fn rebuild_tracks_env() {
30603066        . env ( env,  "# depinfo-after" ) 
30613067        . masquerade_as_nightly_cargo ( & [ "rustdoc-depinfo" ] ) 
30623068        . with_stderr_data ( str![ [ r#" 
3063- [FRESH] foo v0.5.0 ([ROOT]/foo) 
3069+ [DIRTY] foo v0.5.0 ([ROOT]/foo): the environment variable __RUSTDOC_INJECTED changed 
3070+ [DOCUMENTING] foo v0.5.0 ([ROOT]/foo) 
3071+ [RUNNING] `rustdoc [..]` 
30643072[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s 
30653073[GENERATED] [ROOT]/foo/target/doc/foo/index.html 
30663074
30673075"# ] ] ) 
30683076        . run ( ) ; 
30693077
30703078    let  doc_html = p. read_file ( "target/doc/foo/index.html" ) ; 
3071-     assert ! ( ! doc_html. contains( "depinfo-after" ) ) ; 
3079+     assert ! ( doc_html. contains( "depinfo-after" ) ) ; 
30723080} 
30733081
30743082#[ cargo_test( nightly,  reason = "`rustdoc --emit` is unstable" ) ]  
@@ -3119,22 +3127,27 @@ fn rebuild_tracks_env_in_dep() {
31193127    p. cargo ( "doc --verbose -Zrustdoc-depinfo" ) 
31203128        . env ( env,  "# depinfo-after" ) 
31213129        . masquerade_as_nightly_cargo ( & [ "rustdoc-depinfo" ] ) 
3122-         . with_stderr_data ( str![ [ r#" 
3130+         . with_stderr_data ( 
3131+             str![ [ r#" 
3132+ [DIRTY] bar v0.1.0: the environment variable __RUSTDOC_INJECTED changed 
3133+ [DOCUMENTING] bar v0.1.0 
31233134[DIRTY] bar v0.1.0: the environment variable __RUSTDOC_INJECTED changed 
31243135[CHECKING] bar v0.1.0 
31253136[RUNNING] `rustc --crate-name bar [..]` 
3137+ [RUNNING] `rustdoc [..]--crate-name bar [..]` 
31263138[DIRTY] foo v0.0.0 ([ROOT]/foo): the dependency bar was rebuilt 
31273139[DOCUMENTING] foo v0.0.0 ([ROOT]/foo) 
31283140[RUNNING] `rustdoc [..]--crate-name foo [..]` 
31293141[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s 
31303142[GENERATED] [ROOT]/foo/target/doc/foo/index.html 
31313143
31323144"# ] ] 
3133-     ) 
3145+             . unordered ( ) , 
3146+         ) 
31343147        . run ( ) ; 
31353148
31363149    let  doc_html = p. read_file ( "target/doc/bar/index.html" ) ; 
3137-     assert ! ( ! doc_html. contains( "depinfo-after" ) ) ; 
3150+     assert ! ( doc_html. contains( "depinfo-after" ) ) ; 
31383151} 
31393152
31403153#[ cargo_test(  
@@ -3168,7 +3181,7 @@ fn rebuild_tracks_checksum() {
31683181    p. cargo ( "doc --verbose -Zrustdoc-depinfo -Zchecksum-freshness" ) 
31693182        . masquerade_as_nightly_cargo ( & [ "rustdoc-depinfo" ] ) 
31703183        . with_stderr_data ( str![ [ r#" 
3171- [DIRTY] foo v0.5.0 ([ROOT]/parent/foo): the precalculated components  changed 
3184+ [DIRTY] foo v0.5.0 ([ROOT]/parent/foo): file size  changed (16 != 15) for `src/../../README`  
31723185[DOCUMENTING] foo v0.5.0 ([ROOT]/parent/foo) 
31733186[RUNNING] `rustdoc [..]` 
31743187[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s 
0 commit comments