diff --git a/crates/hyperqueue/src/client/commands/job.rs b/crates/hyperqueue/src/client/commands/job.rs
index df48c1eaf..3925d1fd5 100644
--- a/crates/hyperqueue/src/client/commands/job.rs
+++ b/crates/hyperqueue/src/client/commands/job.rs
@@ -8,13 +8,13 @@ use crate::client::status::{job_status, Status};
use crate::common::cli::{parse_last_all_range, parse_last_range, TaskSelectorArg};
use crate::common::utils::str::pluralize;
use crate::rpc_call;
-use crate::transfer::connection::{ClientConnection, ClientSession};
+use crate::transfer::connection::{ClientSession};
use crate::transfer::messages::{
CancelJobResponse, CancelRequest, ForgetJobRequest, FromClientMessage, IdSelector, JobDetail,
JobDetailRequest, JobInfoRequest, TaskIdSelector, TaskSelector, TaskStatusSelector,
ToClientMessage,
};
-use crate::JobId;
+
#[derive(Parser)]
pub struct JobListOpts {
@@ -107,28 +107,6 @@ pub struct JobCatOpts {
pub stream: OutputStream,
}
-pub async fn get_last_job_id(connection: &mut ClientConnection) -> crate::Result