diff -Nru cargo-0.57.0/debian/changelog cargo-0.57.0/debian/changelog --- cargo-0.57.0/debian/changelog 2021-10-24 13:11:00.000000000 +0000 +++ cargo-0.57.0/debian/changelog 2021-11-27 14:13:08.000000000 +0000 @@ -1,3 +1,9 @@ +cargo (0.57.0-3+rpi1) bookworm-staging; urgency=medium + + * Disable build_script_scan_eacces test. + + -- Peter Michael Green Sat, 27 Nov 2021 14:13:08 +0000 + cargo (0.57.0-3) unstable; urgency=medium * Actually fix failing tests. diff -Nru cargo-0.57.0/debian/patches/9000-disable-build-script-scan-eaccess.patch cargo-0.57.0/debian/patches/9000-disable-build-script-scan-eaccess.patch --- cargo-0.57.0/debian/patches/9000-disable-build-script-scan-eaccess.patch 1970-01-01 00:00:00.000000000 +0000 +++ cargo-0.57.0/debian/patches/9000-disable-build-script-scan-eaccess.patch 2021-11-27 14:13:08.000000000 +0000 @@ -0,0 +1,23 @@ +Description: Disable build_script_scan_eacces test. +Author: Peter Michael Green + +--- cargo-0.57.0.orig/tests/testsuite/build_script.rs ++++ cargo-0.57.0/tests/testsuite/build_script.rs +@@ -4618,7 +4618,7 @@ fn links_interrupted_can_restart() { + .run(); + } + +-#[cargo_test] ++/*#[cargo_test] + #[cfg(unix)] + fn build_script_scan_eacces() { + // build.rs causes a scan of the whole project, which can be a problem if +@@ -4679,7 +4679,7 @@ Caused by: + + // Restore permissions so that the directory can be deleted. + fs::set_permissions(&path, fs::Permissions::from_mode(0o755)).unwrap(); +-} ++}*/ + + #[cargo_test] + fn dev_dep_with_links() { diff -Nru cargo-0.57.0/debian/patches/series cargo-0.57.0/debian/patches/series --- cargo-0.57.0/debian/patches/series 2021-10-24 13:09:52.000000000 +0000 +++ cargo-0.57.0/debian/patches/series 2021-11-27 14:13:08.000000000 +0000 @@ -10,3 +10,4 @@ 2111-curl-no-rebuild.patch 2112-handle-4-siphasher-algorithms.patch +9000-disable-build-script-scan-eaccess.patch