Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crates/hyperqueue/src/client/commands/journal/report.rs
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ fn create_report(jstats: &JournalStats) -> String {
y: &trace.value,
name: format!(
"{name} alloc on {wres}",
wres = &wres_str,
wres = wres_str,
name = jstats.get_resource_name(*rid)
),
r#type: "scatter",
Expand Down
2 changes: 1 addition & 1 deletion crates/hyperqueue/src/client/commands/wait.rs
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ pub async fn wait_for_jobs_with_progress(
| EventPayload::TaskNotify(..) => {}
},
_ => {
log::warn!("Unexpected message from server: {:?}", &msg);
log::warn!("Unexpected message from server: {:?}", msg);
}
}
} else {
Expand Down
4 changes: 2 additions & 2 deletions crates/hyperqueue/src/client/output/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1636,7 +1636,7 @@ fn resources_full_describe(resources: &ResourceDescriptor) -> String {
result,
"{}{}: {}",
if first { "" } else { "\n" },
&descriptor.name,
descriptor.name,
format_descriptor_kind(&descriptor.kind),
)
.unwrap();
Expand Down Expand Up @@ -1721,7 +1721,7 @@ fn resources_summary(resources: &ResourceDescriptor, multiline: bool) -> String
} else {
"; "
},
&descriptor.name,
descriptor.name,
if multiline { ":" } else { "" },
special_format(descriptor).unwrap_or_else(|| resource_summary_kind(&descriptor.kind)),
if coupled.contains(&(i as u8)) {
Expand Down
2 changes: 1 addition & 1 deletion crates/hyperqueue/src/server/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ impl State {
if !aborted_tasks.is_empty() {
log::debug!(
"Tasks {:?} aborted because of task dependency fails",
&aborted_tasks
aborted_tasks
);
}

Expand Down
1 change: 0 additions & 1 deletion crates/tako/src/internal/server/rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,6 @@ async fn worker_rpc_loop(
let CoreSplitMut {
task_map: _,
worker_map,
request_map: _,
..
} = core.split_mut();
let worker = worker_map.get_worker_mut(worker_id);
Expand Down
2 changes: 1 addition & 1 deletion crates/tako/src/internal/server/task.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ impl Task {
entry: Option<EntryType>,
configuration: Rc<TaskConfiguration>,
) -> Self {
log::debug!("New task rs={} {:?} {:?}", id, resource_rq_id, &task_deps,);
log::debug!("New task rs={} {:?} {:?}", id, resource_rq_id, task_deps,);

Self {
id,
Expand Down
2 changes: 1 addition & 1 deletion crates/tako/src/internal/worker/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ impl WorkerState {
log::debug!(
"New worker={} announced at {}",
other_worker.worker_id,
&other_worker.address
other_worker.address
);
assert_ne!(self.worker_id, other_worker.worker_id); // We should not receive message about ourselves
assert!(
Expand Down
Loading