diff --git a/tests/integration_tests.rs b/tests/integration_tests.rs
index 3deb65a7..6a626327 100644
--- a/tests/integration_tests.rs
+++ b/tests/integration_tests.rs
@@ -1,4 +1,3 @@
-use assert_cmd::cargo::CommandCargoExt;
 use predicates::boolean::PredicateBooleanExt;
 use predicates::{prelude::predicate, str::PredicateStrExt};
 use serial_test::serial;
diff --git a/tests/utils/command.rs b/tests/utils/command.rs
index 64cb0baf..87420f4b 100644
--- a/tests/utils/command.rs
+++ b/tests/utils/command.rs
@@ -1,3 +1,5 @@
+#![allow(unused)] // Because indirectly included by e.g.integration_tests.rs, but not everything inside is used
+
 use assert_cmd::cargo::CommandCargoExt;
 use std::process::Command;
 
diff --git a/tests/utils/mocked_pagers.rs b/tests/utils/mocked_pagers.rs
index d115316d..07ae6fcd 100644
--- a/tests/utils/mocked_pagers.rs
+++ b/tests/utils/mocked_pagers.rs
@@ -1,3 +1,5 @@
+#![allow(unused)] // Because indirectly included by e.g. system_wide_config.rs, but not used
+
 use assert_cmd::Command;
 use predicates::prelude::predicate;
 use std::env;