Page MenuHomePhabricator

Upgrade to Rust 1.81
ClosedPublic

Authored by varun on Thu, Nov 7, 2:12 PM.
Tags
None
Referenced Files
F3385649: D13896.id45702.diff
Fri, Nov 29, 1:23 AM
F3383883: D13896.id45701.diff
Thu, Nov 28, 6:08 PM
Unknown Object (File)
Mon, Nov 25, 2:51 PM
Unknown Object (File)
Mon, Nov 25, 12:35 PM
Unknown Object (File)
Sun, Nov 24, 3:27 PM
Unknown Object (File)
Thu, Nov 21, 7:49 PM
Unknown Object (File)
Thu, Nov 21, 12:51 PM
Unknown Object (File)
Wed, Nov 20, 11:41 PM
Subscribers

Details

Summary

Rust 1.81 introduced new lifetime rules, which opaque-ke, a crate we depend on, violated. The maintainers of that crate have introduced a new version that satisifies these new rules, and we have upgraded to this version in D13895. Now that we've upgraded the dependency, we should bump Rust to the latest stable version.

EDIT: we can't upgrade to 1.82, the latest stable version, because of an issue with wasm-bindgen: https://linear.app/comm/issue/ENG-9892/cant-upgrade-to-rust-182

Depends on D13895

Test Plan

All crates build locally and in Docker (CI)

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Thu, Nov 7, 2:25 PM
Harbormaster failed remote builds in B32580: Diff 45699!

Upgrade to 1.81 instead. https://github.com/rustwasm/wasm-bindgen/issues/4211 wasm-bindgen doesn't seem to work with 1.82 at the moment

varun retitled this revision from Upgrade to Rust 1.82 to Upgrade to Rust 1.81.Thu, Nov 7, 3:12 PM
varun edited the summary of this revision. (Show Details)
Harbormaster returned this revision to the author for changes because remote builds failed.Thu, Nov 7, 3:21 PM
Harbormaster failed remote builds in B32581: Diff 45700!

ended up having to upgrade a lot of dependencies in the search-index-lambda. tested on staging that the lambda still works

varun requested review of this revision.Thu, Nov 7, 4:13 PM
This revision is now accepted and ready to land.Thu, Nov 7, 4:18 PM

minimal Cargo.lock update

This revision was automatically updated to reflect the committed changes.