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 calendar_check/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "calendar_check"
version = "0.1.0"
edition = "2021"
edition = "2024"
license = "Apache-2.0"
description = "Google Calendar utils for LLVM buildbot monitoring"
authors = ["George Burgess IV <george.burgess.iv@gmail.com>"]
Expand Down
2 changes: 1 addition & 1 deletion calendar_check/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ use std::time::Duration;

use anyhow::{Context, Result};
use log::{debug, warn};
use serde::de::Deserializer;
use serde::Deserialize;
use serde::de::Deserializer;

type UtcTime = chrono::DateTime<chrono::Utc>;

Expand Down
2 changes: 1 addition & 1 deletion llvm_buildbot_monitor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "llvm_buildbot_monitor"
version = "0.1.0"
authors = ["George Burgess IV <george.burgess.iv@gmail.com>"]
edition = "2021"
edition = "2024"
license = "Apache-2.0"
description = "Discord bot that monitors LLVM buildbot status and posts updates"

Expand Down
6 changes: 3 additions & 3 deletions llvm_buildbot_monitor/src/greendragon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use std::collections::HashMap;
use std::fmt;
use std::result;

use anyhow::{bail, Context, Result};
use anyhow::{Context, Result, bail};
use lazy_static::lazy_static;
use log::{error, info, warn};
use serde::Deserialize;
Expand Down Expand Up @@ -241,8 +241,8 @@ async fn fetch_single_bot_status_snapshot(
) {
(None, None) => {
warn!(
"Bot {name} had last build ID {last_build_id}, but no successful/unsuccessful builds"
);
"Bot {name} had last build ID {last_build_id}, but no successful/unsuccessful builds"
);
return Ok(None);
}
(Some(_), None) => None,
Expand Down
2 changes: 1 addition & 1 deletion llvm_buildbot_monitor/src/lab.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use crate::Email;
use std::collections::{HashMap, HashSet};
use std::sync::{Arc, Mutex};

use anyhow::{anyhow, bail, ensure, Context, Result};
use anyhow::{Context, Result, anyhow, bail, ensure};
use lazy_static::lazy_static;
use log::{debug, info, warn};
use serde::Deserialize;
Expand Down
2 changes: 1 addition & 1 deletion llvm_buildbot_monitor/src/storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use crate::Email;
use std::cmp::min;
use std::time::Duration;

use anyhow::{bail, Result};
use anyhow::{Result, bail};
use rusqlite::params;
use serenity::model::prelude::UserId;

Expand Down