Skip to content

chore: Fix CI#128

Merged
alamb merged 5 commits intoinfluxdata:mainfrom
alamb:alamb/clippy_fix
Jul 9, 2024
Merged

chore: Fix CI#128
alamb merged 5 commits intoinfluxdata:mainfrom
alamb:alamb/clippy_fix

Conversation

)?;
writeln!(
writer,
"{}#[allow(clippy::needless_borrows_for_generic_args)]",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

apparently the new version of clippy flags some of this code as "needless borrows" but under a different lint (needless_borrow previously and now needless_borrows_for_generic_args)

name: Install protobuf and git
command: pacman -Sy --noconfirm protobuf git && protoc --version
name: Install protobuf and git and dependencies
command: pacman -Sy --noconfirm protobuf git gcc-libs && protoc --version
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the fix for https://app.circleci.com/pipelines/github/influxdata/pbjson/274/workflows/b620d772-632d-4dd8-bc83-cd9a0e01a30b/jobs/1432

It appears the new version of protoc needs its libraries updated as well

let Timestamp { seconds, nanos } = value;

let dt = NaiveDateTime::from_timestamp_opt(
Self::from_timestamp(
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is needed to get clippy passing https://app.circleci.com/pipelines/github/influxdata/pbjson/274/workflows/b620d772-632d-4dd8-bc83-cd9a0e01a30b/jobs/1431

Newer versions of Chrono have deprecated several APIs

@@ -1,3 +1,3 @@
[toolchain]
channel = "1.72"
channel = "1.74"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alamb
Copy link
Contributor Author

alamb commented Jul 9, 2024

@crepererum or @jeffreyssmith2nd do you happen to have a few moments to review a PR to get CI passing again?

Copy link
Contributor

@crepererum crepererum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks

@alamb
Copy link
Contributor Author

alamb commented Jul 9, 2024

Thanks @wiedld and @crepererum

@alamb alamb merged commit 422824b into influxdata:main Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants