@@ -146,18 +146,14 @@ fn incompat_in_dependency() {
146146        . with_stderr_data ( str![ [ r#" 
147147[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s 
148148[WARNING] the following packages contain code that will be rejected by a future version of Rust: bar v1.0.0 
149- [NOTE] to solve this problem, you can try the following approaches: 
150- 
151- - ensure the maintainers know of this problem (e.g. creating a bug report if needed) 
152- or even helping with a fix (e.g. by creating a pull request) 
153- 154-   - repository: https://example.com/ 
155-   - detailed warning command: `cargo report future-incompatibilities --id 1 --package [email protected] ` 156- 
157- - use your own version of the dependency with the `[patch]` section in `Cargo.toml` 
158- For more information, see: 
159- https://doc.rust-lang.org/cargo/reference/overriding-dependencies.html#the-patch-section 
160- 
149+ [HELP] ensure the maintainers know of this problem (e.g. creating a bug report if needed) 
150+       or even helping with a fix (e.g. by creating a pull request) 
151+ 152+         - repository: https://example.com/ 
153+         - detailed warning command: `cargo report future-incompatibilities --id 1 --package [email protected] ` 154+ [HELP] use your own version of the dependency with the `[patch]` section in `Cargo.toml` 
155+       For more information, see: 
156+       https://doc.rust-lang.org/cargo/reference/overriding-dependencies.html#the-patch-section 
161157[NOTE] this report can be shown with `cargo report future-incompatibilities --id 1` 
162158
163159"# ] ] ) 
@@ -362,9 +358,9 @@ fn test_multi_crate() {
362358
363359[WARNING] the following packages contain code that will be rejected by a future version of Rust: first-dep v0.0.1, second-dep v0.0.2 
364360... 
365- 361+ 366362... 
367- 363+ 368364... 
369365" ) 
370366            . run ( ) ; 
@@ -593,30 +589,25 @@ fn suggestions_for_updates() {
593589[CHECKING] foo v0.1.0 ([ROOT]/foo) 
594590[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s 
595591[WARNING] the following packages contain code that will be rejected by a future version of Rust: big_update v1.0.0, with_updates v1.0.0, without_updates v1.0.0 
596- [NOTE] to solve this problem, you can try the following approaches: 
597- 
598- - update to a newer version to see if the issue has been fixed 
599-   - big_update v1.0.0 has the following newer versions available: 2.0.0 
600-   - with_updates v1.0.0 has the following newer versions available: 1.0.1, 1.0.2, 3.0.1 
601- 
602- - ensure the maintainers know of this problem (e.g. creating a bug report if needed) 
603- or even helping with a fix (e.g. by creating a pull request) 
604- 605-   - repository: <not found> 
606-   - detailed warning command: `cargo report future-incompatibilities --id 1 --package [email protected] ` 607- 
608- 609-   - repository: <not found> 
610-   - detailed warning command: `cargo report future-incompatibilities --id 1 --package [email protected] ` 611- 
612- 613-   - repository: <not found> 
614-   - detailed warning command: `cargo report future-incompatibilities --id 1 --package [email protected] ` 615- 
616- - use your own version of the dependency with the `[patch]` section in `Cargo.toml` 
617- For more information, see: 
618- https://doc.rust-lang.org/cargo/reference/overriding-dependencies.html#the-patch-section 
619- 
592+ [HELP] update to a newer version to see if the issue has been fixed 
593+         - big_update v1.0.0 has the following newer versions available: 2.0.0 
594+         - with_updates v1.0.0 has the following newer versions available: 1.0.1, 1.0.2, 3.0.1 
595+ [HELP] ensure the maintainers know of this problem (e.g. creating a bug report if needed) 
596+       or even helping with a fix (e.g. by creating a pull request) 
597+ 598+         - repository: <not found> 
599+         - detailed warning command: `cargo report future-incompatibilities --id 1 --package [email protected] ` 600+        
601+ 602+         - repository: <not found> 
603+         - detailed warning command: `cargo report future-incompatibilities --id 1 --package [email protected] ` 604+        
605+ 606+         - repository: <not found> 
607+         - detailed warning command: `cargo report future-incompatibilities --id 1 --package [email protected] ` 608+ [HELP] use your own version of the dependency with the `[patch]` section in `Cargo.toml` 
609+       For more information, see: 
610+       https://doc.rust-lang.org/cargo/reference/overriding-dependencies.html#the-patch-section 
620611[NOTE] this report can be shown with `cargo report future-incompatibilities --id 1` 
621612
622613"# ] ] ) 
@@ -694,18 +685,14 @@ fn correct_report_id_when_cached() {
694685[CHECKING] foo v1.0.0 ([ROOT]/foo) 
695686[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s 
696687[WARNING] the following packages contain code that will be rejected by a future version of Rust: bar v1.0.0 
697- [NOTE] to solve this problem, you can try the following approaches: 
698- 
699- - ensure the maintainers know of this problem (e.g. creating a bug report if needed) 
700- or even helping with a fix (e.g. by creating a pull request) 
701- 702-   - repository: https://example.com/ 
703-   - detailed warning command: `cargo report future-incompatibilities --id 1 --package [email protected] ` 704- 
705- - use your own version of the dependency with the `[patch]` section in `Cargo.toml` 
706- For more information, see: 
707- https://doc.rust-lang.org/cargo/reference/overriding-dependencies.html#the-patch-section 
708- 
688+ [HELP] ensure the maintainers know of this problem (e.g. creating a bug report if needed) 
689+       or even helping with a fix (e.g. by creating a pull request) 
690+ 691+         - repository: https://example.com/ 
692+         - detailed warning command: `cargo report future-incompatibilities --id 1 --package [email protected] ` 693+ [HELP] use your own version of the dependency with the `[patch]` section in `Cargo.toml` 
694+       For more information, see: 
695+       https://doc.rust-lang.org/cargo/reference/overriding-dependencies.html#the-patch-section 
709696[NOTE] this report can be shown with `cargo report future-incompatibilities --id 1` 
710697
711698"# ] ] ) 
@@ -716,18 +703,14 @@ https://doc.rust-lang.org/cargo/reference/overriding-dependencies.html#the-patch
716703        . with_stderr_data ( str![ [ r#" 
717704[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s 
718705[WARNING] the following packages contain code that will be rejected by a future version of Rust: bar v1.0.0 
719- [NOTE] to solve this problem, you can try the following approaches: 
720- 
721- - ensure the maintainers know of this problem (e.g. creating a bug report if needed) 
722- or even helping with a fix (e.g. by creating a pull request) 
723- 724-   - repository: https://example.com/ 
725-   - detailed warning command: `cargo report future-incompatibilities --id 1 --package [email protected] ` 726- 
727- - use your own version of the dependency with the `[patch]` section in `Cargo.toml` 
728- For more information, see: 
729- https://doc.rust-lang.org/cargo/reference/overriding-dependencies.html#the-patch-section 
730- 
706+ [HELP] ensure the maintainers know of this problem (e.g. creating a bug report if needed) 
707+       or even helping with a fix (e.g. by creating a pull request) 
708+ 709+         - repository: https://example.com/ 
710+         - detailed warning command: `cargo report future-incompatibilities --id 1 --package [email protected] ` 711+ [HELP] use your own version of the dependency with the `[patch]` section in `Cargo.toml` 
712+       For more information, see: 
713+       https://doc.rust-lang.org/cargo/reference/overriding-dependencies.html#the-patch-section 
731714[NOTE] this report can be shown with `cargo report future-incompatibilities --id 1` 
732715
733716"# ] ] ) 
0 commit comments