@@ -77,6 +77,7 @@ fn incompat_in_local_crate() {
77
77
[WARNING] `foo` (lib) generated 1 warning
78
78
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
79
79
[WARNING] the following packages contain code that will be rejected by a future version of Rust: foo v0.0.0 ([ROOT]/foo)
80
+ |
80
81
[NOTE] to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
81
82
82
83
"# ] ] )
@@ -91,6 +92,7 @@ fn incompat_in_local_crate() {
91
92
[WARNING] `foo` (lib) generated 1 warning
92
93
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
93
94
[WARNING] the following packages contain code that will be rejected by a future version of Rust: foo v0.0.0 ([ROOT]/foo)
95
+ |
94
96
[NOTE] this report can be shown with `cargo report future-incompatibilities --id 1`
95
97
96
98
"# ] ] )
@@ -136,6 +138,7 @@ fn incompat_in_dependency() {
136
138
[CHECKING] foo v1.0.0 ([ROOT]/foo)
137
139
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
138
140
[WARNING] the following packages contain code that will be rejected by a future version of Rust: bar v1.0.0
141
+ |
139
142
[NOTE] to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
140
143
141
144
"# ] ] )
@@ -146,18 +149,15 @@ fn incompat_in_dependency() {
146
149
. with_stderr_data ( str![ [ r#"
147
150
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
148
151
[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
-
152
+ |
153
+ [HELP] ensure the maintainers know of this problem (e.g. creating a bug report if needed)
154
+ or even helping with a fix (e.g. by creating a pull request)
155
+
156
+ - repository: https://example.com/
157
+ - detailed warning command: `cargo report future-incompatibilities --id 1 --package [email protected] `
158
+ [HELP] use your own version of the dependency with the `[patch]` section in `Cargo.toml`
159
+ For more information, see:
160
+ https://doc.rust-lang.org/cargo/reference/overriding-dependencies.html#the-patch-section
161
161
[NOTE] this report can be shown with `cargo report future-incompatibilities --id 1`
162
162
163
163
"# ] ] )
@@ -362,9 +362,9 @@ fn test_multi_crate() {
362
362
...
363
363
[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
364
364
...
365
-
365
+
366
366
...
367
-
367
+
368
368
...
369
369
" )
370
370
. run ( ) ;
@@ -593,30 +593,26 @@ fn suggestions_for_updates() {
593
593
[CHECKING] foo v0.1.0 ([ROOT]/foo)
594
594
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
595
595
[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
-
596
+ |
597
+ [HELP] update to a newer version to see if the issue has been fixed
598
+ - big_update v1.0.0 has the following newer versions available: 2.0.0
599
+ - with_updates v1.0.0 has the following newer versions available: 1.0.1, 1.0.2, 3.0.1
600
+ [HELP] ensure the maintainers know of this problem (e.g. creating a bug report if needed)
601
+ or even helping with a fix (e.g. by creating a pull request)
602
+
603
+ - repository: <not found>
604
+ - detailed warning command: `cargo report future-incompatibilities --id 1 --package [email protected] `
605
+
606
+
607
+ - repository: <not found>
608
+ - detailed warning command: `cargo report future-incompatibilities --id 1 --package [email protected] `
609
+
610
+
611
+ - repository: <not found>
612
+ - detailed warning command: `cargo report future-incompatibilities --id 1 --package [email protected] `
613
+ [HELP] use your own version of the dependency with the `[patch]` section in `Cargo.toml`
614
+ For more information, see:
615
+ https://doc.rust-lang.org/cargo/reference/overriding-dependencies.html#the-patch-section
620
616
[NOTE] this report can be shown with `cargo report future-incompatibilities --id 1`
621
617
622
618
"# ] ] )
@@ -694,18 +690,15 @@ fn correct_report_id_when_cached() {
694
690
[CHECKING] foo v1.0.0 ([ROOT]/foo)
695
691
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
696
692
[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
-
693
+ |
694
+ [HELP] ensure the maintainers know of this problem (e.g. creating a bug report if needed)
695
+ or even helping with a fix (e.g. by creating a pull request)
696
+
697
+ - repository: https://example.com/
698
+ - detailed warning command: `cargo report future-incompatibilities --id 1 --package [email protected] `
699
+ [HELP] use your own version of the dependency with the `[patch]` section in `Cargo.toml`
700
+ For more information, see:
701
+ https://doc.rust-lang.org/cargo/reference/overriding-dependencies.html#the-patch-section
709
702
[NOTE] this report can be shown with `cargo report future-incompatibilities --id 1`
710
703
711
704
"# ] ] )
@@ -716,18 +709,15 @@ https://doc.rust-lang.org/cargo/reference/overriding-dependencies.html#the-patch
716
709
. with_stderr_data ( str![ [ r#"
717
710
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
718
711
[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
-
712
+ |
713
+ [HELP] ensure the maintainers know of this problem (e.g. creating a bug report if needed)
714
+ or even helping with a fix (e.g. by creating a pull request)
715
+
716
+ - repository: https://example.com/
717
+ - detailed warning command: `cargo report future-incompatibilities --id 1 --package [email protected] `
718
+ [HELP] use your own version of the dependency with the `[patch]` section in `Cargo.toml`
719
+ For more information, see:
720
+ https://doc.rust-lang.org/cargo/reference/overriding-dependencies.html#the-patch-section
731
721
[NOTE] this report can be shown with `cargo report future-incompatibilities --id 1`
732
722
733
723
"# ] ] )
0 commit comments