Skip to content

Comments

Rust toolchain 1.93.1#499

Open
side2k wants to merge 10 commits intomainfrom
rust-toolchain-1.93.1
Open

Rust toolchain 1.93.1#499
side2k wants to merge 10 commits intomainfrom
rust-toolchain-1.93.1

Conversation

@side2k
Copy link
Contributor

@side2k side2k commented Feb 19, 2026

  • bump toolchain to the latest stable version at the moment
  • update dependencies
  • pin cosmwasm-optimizer toolchain version, because rust-toolchain.toml is leaking into the container
    • I've tried updating cosmwasm-optimizer's toolchain too (see PR for 1 and PR 2), but ended up with an issue - localosmosis image's wasmd (up to version 31.0.1) is not compatible with bulk memory instructions in contracts, and Rust 1.93.1 seems to not be able to turn that feature off, despite the relevant flags
  • fix some linting issues - some were caused by clippy update, some - by the rest of toolchain update (e.g., integer types now have is_multiple_of() method since Rust 1.87)
  • increase tx timeout in postgres tests, 10s was not enough - I'm not sure why, but its seems to be something related to either Rust or dependencies update

@side2k side2k requested review from psibi and snoyberg February 19, 2026 06:15
@side2k side2k force-pushed the rust-toolchain-1.93.1 branch from 6eac845 to 015828f Compare February 19, 2026 06:25
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Feb 19, 2026

Deploying kolme with  Cloudflare Pages  Cloudflare Pages

Latest commit: 28cd31a
Status: ✅  Deploy successful!
Preview URL: https://23d02495.kolme.pages.dev
Branch Preview URL: https://rust-toolchain-1-93-1.kolme.pages.dev

View logs

Copy link
Member

@psibi psibi left a comment

Choose a reason for hiding this comment

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

Can you fix the CI failures ?

@side2k side2k force-pushed the rust-toolchain-1.93.1 branch from 5cf23ad to b14d608 Compare February 19, 2026 15:23
@side2k side2k requested a review from psibi February 19, 2026 16:48
let kolme = Kolme::new(app, code_version, store).await?;
let kolme = Kolme::new(app, code_version, store)
.await?
.set_tx_await_duration(Duration::from_secs(15));
Copy link
Member

Choose a reason for hiding this comment

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

This also looks suspicious: What was the earlier duration and why is it being changed now ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

Sorry, I missed the description of the PR.

increase tx timeout in postgres tests, 10s was not enough - I'm not sure why, but its seems to be something related to either Rust or dependencies update

Can you look into the root cause of the change? If it's just the GitHub runners, that's fine. Otherwise, we need to know what it is so we can decide how to proceed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I did look(with a limited timeframe though), and wasn't able to find the culprit. Locally it works, on CI it fails with a timeout.

Copy link
Member

Choose a reason for hiding this comment

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

Okay, some questions:

  • Is the issue currently reproducible on the main branch with 1.86 rust version ?
  • What happens in the CI if you skip the dependency upgrade ?

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.

2 participants