Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rust v1.78.0 router-bridge startup panic #5084

Open
str1aN opened this issue May 3, 2024 · 1 comment
Open

Rust v1.78.0 router-bridge startup panic #5084

str1aN opened this issue May 3, 2024 · 1 comment

Comments

@str1aN
Copy link

str1aN commented May 3, 2024

Upgrading Rust Toolchain to 1.78.0 causes panic on startup in router-bridge for --release builds

Steps to reproduce the behavior:

  1. Upgrade Rust toolchain to 1.78.0
  2. Build and Start router with cargo run --release -- (env vars omitted)
  3. See error on startup

Output

2024-05-03T21:42:30.961533Z ERROR panicked at /Users/[redacted]/.cargo/registry/src/index.crates.io-6f17d22bba15001f/router-bridge-0.5.18+v2.7.2/src/worker.rs:101:38: called 'Result::unwrap()' on an 'Err' value: TypeError: Error parsing args at position 1: serde_v8 error: invalid type; expected: object, got: string at send (worker.js:54:25) at run (worker.js:171:19)

Desktop (please complete the following information):

  • OS: macOS / Linux
  • Version macOS 13.6.1 / public.ecr.aws/docker/library/rust:1.78.0
@abernix
Copy link
Member

abernix commented May 6, 2024

We'll need to look into this — and we will — but we haven't yet made the jump to Rust v1.78.0 (currently, we are on Rust 1.76.0). We'll take some time to make the jump, so we would recommend using 1.76.0 for now.

@abernix abernix changed the title Upgrading Rust Toolchain to 1.78.0 causes panic on startup in router-bridge Rust v1.78.0 router-bridge panic May 6, 2024
@abernix abernix changed the title Rust v1.78.0 router-bridge panic Rust v1.78.0 router-bridge startup panic May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants