+cargo (0.47.0-3) UNRELEASED; urgency=medium
+
+ * Disable close_output test for now, it is flaky. This is a test problem not
+ a cargo problem and will be re-enabled in 0.49.0.
+
+ -- Ximin Luo <infinity0@debian.org> Tue, 08 Dec 2020 01:42:30 +0000
+
cargo (0.47.0-2) unstable; urgency=medium
* Backport a patch to fix a test on i386.
--- /dev/null
+Description:
+ Disable close_output, it is flaky.
+ .
+ It is already fixed upstream in #8587 and #8668, however these depend on
+ subsequent changes to the same file and is hard to backport. So just disable
+ it for now in Debian, it is a test problem not a cargo problem.
+ .
+ FIXME remove this patch in cargo 0.49 which contains those above FRs.
+--- a/tests/testsuite/build.rs
++++ b/tests/testsuite/build.rs
+@@ -4924,8 +4924,8 @@
+ p.process(&p.bin("foo")).run();
+ }
+
+-#[cargo_test]
+-fn close_output() {
++#[allow(dead_code)]
++fn _close_output() {
+ // What happens when stdout or stderr is closed during a build.
+
+ // Server to know when rustc has spawned.
+++ /dev/null
-Description: Disable fetch tests to allow build on arm and ppc architecture
- These tests are disabled to allow building on release architecture.
-Author: Vasudev Kamath <vasudev@copyninja.info>
-Bug: https://github.com/rust-lang/cargo/issues/5864
-Last-Update: 2018-08-05
-
---- a/tests/testsuite/fetch.rs
-+++ b/tests/testsuite/fetch.rs
-@@ -14,8 +14,8 @@
- p.cargo("fetch").with_stdout("").run();
- }
-
--#[cargo_test]
--fn fetch_all_platform_dependencies_when_no_target_is_given() {
-+#[allow(dead_code)]
-+fn _fetch_all_platform_dependencies_when_no_target_is_given() {
- if cross_compile::disabled() {
- return;
- }
-@@ -61,8 +61,8 @@
- .run();
- }
-
--#[cargo_test]
--fn fetch_platform_specific_dependencies() {
-+#[allow(dead_code)]
-+fn _fetch_platform_specific_dependencies() {
- if cross_compile::disabled() {
- return;
- }
u-8713.patch
1005_relax_deprecated_diagnostic_message_check.patch
2002_disable-net-tests.patch
-2005_disable_fetch_cross_tests.patch
+2003_disable_close_output.patch