[INFO] fetching crate js_sidecar 0.1.0...
[INFO] testing js_sidecar-0.1.0 against nightly-2024-10-28 for randomize-layout
[INFO] extracting crate js_sidecar 0.1.0 into /workspace/builds/worker-2-tc1/source
[INFO] validating manifest of crates.io crate js_sidecar 0.1.0 on toolchain nightly-2024-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate js_sidecar 0.1.0
[INFO] finished tweaking crates.io crate js_sidecar 0.1.0
[INFO] tweaked toml for crates.io crate js_sidecar 0.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 113 packages to latest compatible versions
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 21ffcf71a427eeea57c217fc3f35d6f0d1e03424857f4ed758c90c03bb1caa40
[INFO] running `Command { std: "docker" "start" "-a" "21ffcf71a427eeea57c217fc3f35d6f0d1e03424857f4ed758c90c03bb1caa40", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "21ffcf71a427eeea57c217fc3f35d6f0d1e03424857f4ed758c90c03bb1caa40", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "21ffcf71a427eeea57c217fc3f35d6f0d1e03424857f4ed758c90c03bb1caa40", kill_on_drop: false }`
[INFO] [stdout] 21ffcf71a427eeea57c217fc3f35d6f0d1e03424857f4ed758c90c03bb1caa40
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6e6aa0c5669ad3db3e2a89a012bf30be2124248d0d9617e636ed147de00fc403
[INFO] running `Command { std: "docker" "start" "-a" "6e6aa0c5669ad3db3e2a89a012bf30be2124248d0d9617e636ed147de00fc403", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.89
[INFO] [stderr]    Compiling unicode-ident v1.0.13
[INFO] [stderr]    Compiling libc v0.2.161
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.15
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling rustix v0.38.38
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling cfg_aliases v0.2.1
[INFO] [stderr]    Compiling serde v1.0.214
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]    Compiling serde_json v1.0.132
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling thiserror v1.0.66
[INFO] [stderr]    Compiling bytes v1.8.0
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling fastrand v2.1.1
[INFO] [stderr]    Compiling deadpool-runtime v0.1.4
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling syn v2.0.86
[INFO] [stderr]    Compiling mio v1.0.2
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling tempfile v3.13.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling serde_derive v1.0.214
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling thiserror-impl v1.0.66
[INFO] [stderr]    Compiling tokio v1.41.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling deadpool v0.12.1
[INFO] [stderr]    Compiling js_sidecar v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/connection.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 | use futures::stream::{self, StreamExt};
[INFO] [stdout]   |                       ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `io::AsyncWriteExt`
[INFO] [stdout]   --> src/connection.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     io::AsyncWriteExt,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `StreamExt`
[INFO] [stdout]  --> src/connection.rs:9:29
[INFO] [stdout]   |
[INFO] [stdout] 9 | use futures::stream::{self, StreamExt};
[INFO] [stdout]   |                             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `socket_path` is never read
[INFO] [stdout]   --> src/connection.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub struct JsSidecar {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 43 |     node_process: Option<Child>,
[INFO] [stdout] 44 |     socket_path: PathBuf,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.57s
[INFO] running `Command { std: "docker" "inspect" "6e6aa0c5669ad3db3e2a89a012bf30be2124248d0d9617e636ed147de00fc403", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6e6aa0c5669ad3db3e2a89a012bf30be2124248d0d9617e636ed147de00fc403", kill_on_drop: false }`
[INFO] [stdout] 6e6aa0c5669ad3db3e2a89a012bf30be2124248d0d9617e636ed147de00fc403
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 00cc8025929308fd7707a229b0d4d396b241ebe336992685fce437e83a6dd910
[INFO] running `Command { std: "docker" "start" "-a" "00cc8025929308fd7707a229b0d4d396b241ebe336992685fce437e83a6dd910", kill_on_drop: false }`
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling serde v1.0.214
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling half v2.4.1
[INFO] [stderr]    Compiling ciborium-io v0.2.2
[INFO] [stderr]    Compiling clap_lex v0.7.2
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling anstyle v1.0.9
[INFO] [stderr]    Compiling plotters-backend v0.3.7
[INFO] [stderr]    Compiling tokio v1.41.0
[INFO] [stderr]    Compiling cast v0.3.0
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling is-terminal v0.4.13
[INFO] [stderr]    Compiling anes v0.1.6
[INFO] [stderr]    Compiling oorandom v11.1.4
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]    Compiling plotters-svg v0.3.7
[INFO] [stderr]    Compiling clap_builder v4.5.20
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling ciborium-ll v0.2.2
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling plotters v0.3.7
[INFO] [stderr]    Compiling regex-automata v0.4.8
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling criterion-plot v0.5.0
[INFO] [stderr]    Compiling clap v4.5.20
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling serde_json v1.0.132
[INFO] [stderr]    Compiling ciborium v0.2.2
[INFO] [stderr]    Compiling tinytemplate v1.2.1
[INFO] [stderr]    Compiling deadpool v0.12.1
[INFO] [stderr]    Compiling criterion v0.5.1
[INFO] [stderr]    Compiling js_sidecar v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/connection.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 | use futures::stream::{self, StreamExt};
[INFO] [stdout]   |                       ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `io::AsyncWriteExt`
[INFO] [stdout]   --> src/connection.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     io::AsyncWriteExt,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `StreamExt`
[INFO] [stdout]  --> src/connection.rs:9:29
[INFO] [stdout]   |
[INFO] [stdout] 9 | use futures::stream::{self, StreamExt};
[INFO] [stdout]   |                             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `socket_path` is never read
[INFO] [stdout]   --> src/connection.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub struct JsSidecar {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 43 |     node_process: Option<Child>,
[INFO] [stdout] 44 |     socket_path: PathBuf,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `io::AsyncWriteExt`
[INFO] [stdout]   --> src/connection.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     io::AsyncWriteExt,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `socket_path` is never read
[INFO] [stdout]   --> src/connection.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub struct JsSidecar {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 43 |     node_process: Option<Child>,
[INFO] [stdout] 44 |     socket_path: PathBuf,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 12.04s
[INFO] running `Command { std: "docker" "inspect" "00cc8025929308fd7707a229b0d4d396b241ebe336992685fce437e83a6dd910", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "00cc8025929308fd7707a229b0d4d396b241ebe336992685fce437e83a6dd910", kill_on_drop: false }`
[INFO] [stdout] 00cc8025929308fd7707a229b0d4d396b241ebe336992685fce437e83a6dd910
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] fa7cf0d0ddcafadc27e6728ca33cf10af4806c6d8d04db7f342c0b253371a17d
[INFO] running `Command { std: "docker" "start" "-a" "fa7cf0d0ddcafadc27e6728ca33cf10af4806c6d8d04db7f342c0b253371a17d", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `self`
[INFO] [stderr]  --> src/connection.rs:9:23
[INFO] [stderr]   |
[INFO] [stderr] 9 | use futures::stream::{self, StreamExt};
[INFO] [stderr]   |                       ^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `io::AsyncWriteExt`
[INFO] [stderr]   --> src/connection.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 |     io::AsyncWriteExt,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `StreamExt`
[INFO] [stderr]  --> src/connection.rs:9:29
[INFO] [stderr]   |
[INFO] [stderr] 9 | use futures::stream::{self, StreamExt};
[INFO] [stderr]   |                             ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `socket_path` is never read
[INFO] [stderr]   --> src/connection.rs:44:5
[INFO] [stderr]    |
[INFO] [stderr] 42 | pub struct JsSidecar {
[INFO] [stderr]    |            --------- field in this struct
[INFO] [stderr] 43 |     node_process: Option<Child>,
[INFO] [stderr] 44 |     socket_path: PathBuf,
[INFO] [stderr]    |     ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `js_sidecar` (lib) generated 4 warnings (run `cargo fix --lib -p js_sidecar` to apply 2 suggestions)
[INFO] [stderr] warning: unused import: `io::AsyncWriteExt`
[INFO] [stderr]   --> src/connection.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 |     io::AsyncWriteExt,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `js_sidecar` (lib test) generated 2 warnings (1 duplicate) (run `cargo fix --lib -p js_sidecar --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/js_sidecar-1df09229ccb2f5fe)
[INFO] [stdout] 
[INFO] [stdout] running 8 tests
[INFO] [stderr] file:///tmp/js_sidecarhrH6P5.mjs:1
[INFO] [stderr] import F from"node:cluster";import Q from"node:os";import $ from"node:fs";import{parseArgs as Z}from"node:util";import q from"node:net";import{EventEmitter as tt}from"node:events";import*as R from"node:vm";var k=(o=>(o[o.RunScript=0]="RunScript",o[o.Ping=1]="Ping",o))(k||{}),z=(o=>(o[o.RunResponse=4096]="RunResponse",o[o.Log=4097]="Log",o[o.Error=4098]="Error",o[o.Pong=4099]="Pong",o))(z||{});const et=!!process.env.DEBUG_JS_SIDECAR_WORKER;function p(...o){et&&console.log(...o)}const j=12,P=0,K=4,B=8;class it extends tt{socket;buffer;expectedLength;id;cache=new Map;constructor(t){super(),this.socket=t,this.buffer=Buffer.alloc(0),this.expectedLength=null,this.id=0,this.socket.on("data",e=>this.handleData(e))}handleData(t){for(this.buffer=Buffer.concat([this.buffer,t]);this.buffer.length>0;){if(this.expectedLength===null){if(this.buffer.length<4)return;this.expectedLength=this.buffer.readUInt32LE(0),this.buffer=this.buffer.subarray(4)}if(this.buffer.length<this.expectedLength)return;const e=this.buffer.readUInt32LE(P),i=this.buffer.readUInt32LE(K),s=this.buffer.readUInt32LE(B),n=this.buffer.subarray(12,this.expectedLength);this.buffer=this.buffer.subarray(this.expectedLength),this.expectedLength=null;const r={id:i,reqId:e,type:s,data:n};this.emit("message",r)}}sendMessage(t,e,i){p("Sending message",t,e,i),i instanceof Buffer||(i=Buffer.from(i));let s=this.id++;const n=Buffer.allocUnsafe(j+4);return n.writeUInt32LE(i.length+j),n.writeUInt32LE(t,P+4),n.writeUInt32LE(s,K+4),n.writeUInt32LE(e,B+4),this.socket.write(Buffer.concat([n,i])),s}log(t,e,i){let s=JSON.stringify({level:e,message:i});this.sendMessage(t,z.Log,s)}respond(t,e){this.sendMessage(t,z.RunResponse,JSON.stringify(e))}error(t,e){let i={message:e.message,stack:e.stack},s=JSON.stringify(i);this.sendMessage(t,z.Error,s)}}const T=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,H=new Set,I=typeof process=="object"&&process?process:{},Y=(o,t,e,i)=>{typeof I.emitWarning=="function"?I.emitWarning(o,t,e,i):console.error(`[${e}] ${t}: ${o}`)};let W=globalThis.AbortController,V=globalThis.AbortSignal;if(typeof W>"u"){V=class{onabort;_onabort=[];reason;aborted=!1;addEventListener(i,s){this._onabort.push(s)}},W=class{constructor(){t()}signal=new V;abort(i){if(!this.signal.aborted){this.signal.reason=i,this.signal.aborted=!0;for(const s of this.signal._onabort)s(i);this.signal.onabort?.(i)}}};let o=I.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1";const t=()=>{o&&(o=!1,Y("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",t))}}const st=o=>!H.has(o),A=o=>o&&o===Math.floor(o)&&o>0&&isFinite(o),X=o=>A(o)?o<=Math.pow(2,8)?Uint8Array:o<=Math.pow(2,16)?Uint16Array:o<=Math.pow(2,32)?Uint32Array:o<=Number.MAX_SAFE_INTEGER?D:null:null;class D extends Array{constructor(t){super(t),this.fill(0)}}class x{heap;length;static#a=!1;static create(t){const e=X(t);if(!e)return[];x.#a=!0;const i=new x(t,e);return x.#a=!1,i}constructor(t,e){if(!x.#a)throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new e(t),this.length=0}push(t){this.heap[this.length++]=t}pop(){return this.heap[--this.length]}}class M{#a;#f;#g;#w;#R;#z;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#n;#m;#s;#i;#t;#l;#u;#h;#r;#S;#o;#b;#y;#d;#_;#O;#c;static unsafeExposeInternals(t){return{starts:t.#y,ttls:t.#d,sizes:t.#b,keyMap:t.#s,keyList:t.#i,valList:t.#t,next:t.#l,prev:t.#u,get head(){return t.#h},get tail(){return t.#r},free:t.#S,isBackgroundFetch:e=>t.#e(e),backgroundFetch:(e,i,s,n)=>t.#W(e,i,s,n),moveToTail:e=>t.#C(e),indexes:e=>t.#E(e),rindexes:e=>t.#A(e),isStale:e=>t.#p(e)}}get max(){return this.#a}get maxSize(){return this.#f}get calculatedSize(){return this.#m}get size(){return this.#n}get fetchMethod(){return this.#R}get memoMethod(){return this.#z}get dispose(){return this.#g}get disposeAfter(){return this.#w}constructor(t){const{max:e=0,ttl:i,ttlResolution:s=1,ttlAutopurge:n,updateAgeOnGet:r,updateAgeOnHas:a,allowStale:h,dispose:l,disposeAfter:w,noDisposeOnSet:c,noUpdateTTL:d,maxSize:u=0,maxEntrySize:v=0,sizeCalculation:g,fetchMethod:b,memoMethod:f,noDeleteOnFetchRejection:S,noDeleteOnStaleGet:_,allowStaleOnFetchRejection:m,allowStaleOnFetchAbort:y,ignoreFetchAbort:C}=t;if(e!==0&&!A(e))throw new TypeError("max option must be a nonnegative integer");const E=e?X(e):Array;if(!E)throw new Error("invalid max value: "+e);if(this.#a=e,this.#f=u,this.maxEntrySize=v||this.#f,this.sizeCalculation=g,this.sizeCalculation){if(!this.#f&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(f!==void 0&&typeof f!="function")throw new TypeError("memoMethod must be a function if defined");if(this.#z=f,b!==void 0&&typeof b!="function")throw new TypeError("fetchMethod must be a function if specified");if(this.#R=b,this.#O=!!b,this.#s=new Map,this.#i=new Array(e).fill(void 0),this.#t=new Array(e).fill(void 0),this.#l=new E(e),this.#u=new E(e),this.#h=0,this.#r=0,this.#S=x.create(e),this.#n=0,this.#m=0,typeof l=="function"&&(this.#g=l),typeof w=="function"?(this.#w=w,this.#o=[]):(this.#w=void 0,this.#o=void 0),this.#_=!!this.#g,this.#c=!!this.#w,this.noDisposeOnSet=!!c,this.noUpdateTTL=!!d,this.noDeleteOnFetchRejection=!!S,this.allowStaleOnFetchRejection=!!m,this.allowStaleOnFetchAbort=!!y,this.ignoreFetchAbort=!!C,this.maxEntrySize!==0){if(this.#f!==0&&!A(this.#f))throw new TypeError("maxSize must be a positive integer if specified");if(!A(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");this.#$()}if(this.allowStale=!!h,this.noDeleteOnStaleGet=!!_,this.updateAgeOnGet=!!r,this.updateAgeOnHas=!!a,this.ttlResolution=A(s)||s===0?s:1,this.ttlAutopurge=!!n,this.ttl=i||0,this.ttl){if(!A(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.#U()}if(this.#a===0&&this.ttl===0&&this.#f===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#a&&!this.#f){const L="LRU_CACHE_UNBOUNDED";st(L)&&(H.add(L),Y("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",L,M))}}getRemainingTTL(t){return this.#s.has(t)?1/0:0}#U(){const t=new D(this.#a),e=new D(this.#a);this.#d=t,this.#y=e,this.#I=(n,r,a=T.now())=>{if(e[n]=r!==0?a:0,t[n]=r,r!==0&&this.ttlAutopurge){const h=setTimeout(()=>{this.#p(n)&&this.#v(this.#i[n],"expire")},r+1);h.unref&&h.unref()}},this.#T=n=>{e[n]=t[n]!==0?T.now():0},this.#F=(n,r)=>{if(t[r]){const a=t[r],h=e[r];if(!a||!h)return;n.ttl=a,n.start=h,n.now=i||s();const l=n.now-h;n.remainingTTL=a-l}};let i=0;const s=()=>{const n=T.now();if(this.ttlResolution>0){i=n;const r=setTimeout(()=>i=0,this.ttlResolution);r.unref&&r.unref()}return n};this.getRemainingTTL=n=>{const r=this.#s.get(n);if(r===void 0)return 0;const a=t[r],h=e[r];if(!a||!h)return 1/0;const l=(i||s())-h;return a-l},this.#p=n=>{const r=e[n],a=t[n];return!!a&&!!r&&(i||s())-r>a}}#T=()=>{};#F=()=>{};#I=()=>{};#p=()=>!1;#$(){const t=new D(this.#a);this.#m=0,this.#b=t,this.#x=e=>{this.#m-=t[e],t[e]=0},this.#G=(e,i,s,n)=>{if(this.#e(i))return 0;if(!A(s))if(n){if(typeof n!="function")throw new TypeError("sizeCalculation must be a function");if(s=n(i,e),!A(s))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return s},this.#L=(e,i,s)=>{if(t[e]=i,this.#f){const n=this.#f-t[e];for(;this.#m>n;)this.#D(!0)}this.#m+=t[e],s&&(s.entrySize=i,s.totalCalculatedSize=this.#m)}}#x=t=>{};#L=(t,e,i)=>{};#G=(t,e,i,s)=>{if(i||s)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0};*#E({allowStale:t=this.allowStale}={}){if(this.#n)for(let e=this.#r;!(!this.#k(e)||((t||!this.#p(e))&&(yield e),e===this.#h));)e=this.#u[e]}*#A({allowStale:t=this.allowStale}={}){if(this.#n)for(let e=this.#h;!(!this.#k(e)||((t||!this.#p(e))&&(yield e),e===this.#r));)e=this.#l[e]}#k(t){return t!==void 0&&this.#s.get(this.#i[t])===t}*entries(){for(const t of this.#E())this.#t[t]!==void 0&&this.#i[t]!==void 0&&!this.#e(this.#t[t])&&(yield[this.#i[t],this.#t[t]])}*rentries(){for(const t of this.#A())this.#t[t]!==void 0&&this.#i[t]!==void 0&&!this.#e(this.#t[t])&&(yield[this.#i[t],this.#t[t]])}*keys(){for(const t of this.#E()){const e=this.#i[t];e!==void 0&&!this.#e(this.#t[t])&&(yield e)}}*rkeys(){for(const t of this.#A()){const e=this.#i[t];e!==void 0&&!this.#e(this.#t[t])&&(yield e)}}*values(){for(const t of this.#E())this.#t[t]!==void 0&&!this.#e(this.#t[t])&&(yield this.#t[t])}*rvalues(){for(const t of this.#A())this.#t[t]!==void 0&&!this.#e(this.#t[t])&&(yield this.#t[t])}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(t,e={}){for(const i of this.#E()){const s=this.#t[i],n=this.#e(s)?s.__staleWhileFetching:s;if(n!==void 0&&t(n,this.#i[i],this))return this.get(this.#i[i],e)}}forEach(t,e=this){for(const i of this.#E()){const s=this.#t[i],n=this.#e(s)?s.__staleWhileFetching:s;n!==void 0&&t.call(e,n,this.#i[i],this)}}rforEach(t,e=this){for(const i of this.#A()){const s=this.#t[i],n=this.#e(s)?s.__staleWhileFetching:s;n!==void 0&&t.call(e,n,this.#i[i],this)}}purgeStale(){let t=!1;for(const e of this.#A({allowStale:!0}))this.#p(e)&&(this.#v(this.#i[e],"expire"),t=!0);return t}info(t){const e=this.#s.get(t);if(e===void 0)return;const i=this.#t[e],s=this.#e(i)?i.__staleWhileFetching:i;if(s===void 0)return;const n={value:s};if(this.#d&&this.#y){const r=this.#d[e],a=this.#y[e];if(r&&a){const h=r-(T.now()-a);n.ttl=h,n.start=Date.now()}}return this.#b&&(n.size=this.#b[e]),n}dump(){const t=[];for(const e of this.#E({allowStale:!0})){const i=this.#i[e],s=this.#t[e],n=this.#e(s)?s.__staleWhileFetching:s;if(n===void 0||i===void 0)continue;const r={value:n};if(this.#d&&this.#y){r.ttl=this.#d[e];const a=T.now()-this.#y[e];r.start=Math.floor(Date.now()-a)}this.#b&&(r.size=this.#b[e]),t.unshift([i,r])}return t}load(t){this.clear();for(const[e,i]of t){if(i.start){const s=Date.now()-i.start;i.start=T.now()-s}this.set(e,i.value,i)}}set(t,e,i={}){if(e===void 0)return this.delete(t),this;const{ttl:s=this.ttl,start:n,noDisposeOnSet:r=this.noDisposeOnSet,sizeCalculation:a=this.sizeCalculation,status:h}=i;let{noUpdateTTL:l=this.noUpdateTTL}=i;const w=this.#G(t,e,i.size||0,a);if(this.maxEntrySize&&w>this.maxEntrySize)return h&&(h.set="miss",h.maxEntrySizeExceeded=!0),this.#v(t,"set"),this;let c=this.#n===0?void 0:this.#s.get(t);if(c===void 0)c=this.#n===0?this.#r:this.#S.length!==0?this.#S.pop():this.#n===this.#a?this.#D(!1):this.#n,this.#i[c]=t,this.#t[c]=e,this.#s.set(t,c),this.#l[this.#r]=c,this.#u[c]=this.#r,this.#r=c,this.#n++,this.#L(c,w,h),h&&(h.set="add"),l=!1;else{this.#C(c);const d=this.#t[c];if(e!==d){if(this.#O&&this.#e(d)){d.__abortController.abort(new Error("replaced"));const{__staleWhileFetching:u}=d;u!==void 0&&!r&&(this.#_&&this.#g?.(u,t,"set"),this.#c&&this.#o?.push([u,t,"set"]))}else r||(this.#_&&this.#g?.(d,t,"set"),this.#c&&this.#o?.push([d,t,"set"]));if(this.#x(c),this.#L(c,w,h),this.#t[c]=e,h){h.set="replace";const u=d&&this.#e(d)?d.__staleWhileFetching:d;u!==void 0&&(h.oldValue=u)}}else h&&(h.set="update")}if(s!==0&&!this.#d&&this.#U(),this.#d&&(l||this.#I(c,s,n),h&&this.#F(h,c)),!r&&this.#c&&this.#o){const d=this.#o;let u;for(;u=d?.shift();)this.#w?.(...u)}return this}pop(){try{for(;this.#n;){const t=this.#t[this.#h];if(this.#D(!0),this.#e(t)){if(t.__staleWhileFetching)return t.__staleWhileFetching}else if(t!==void 0)return t}}finally{if(this.#c&&this.#o){const t=this.#o;let e;for(;e=t?.shift();)this.#w?.(...e)}}}#D(t){const e=this.#h,i=this.#i[e],s=this.#t[e];return this.#O&&this.#e(s)?s.__abortController.abort(new Error("evicted")):(this.#_||this.#c)&&(this.#_&&this.#g?.(s,i,"evict"),this.#c&&this.#o?.push([s,i,"evict"])),this.#x(e),t&&(this.#i[e]=void 0,this.#t[e]=void 0,this.#S.push(e)),this.#n===1?(this.#h=this.#r=0,this.#S.length=0):this.#h=this.#l[e],this.#s.delete(i),this.#n--,e}has(t,e={}){const{updateAgeOnHas:i=this.updateAgeOnHas,status:s}=e,n=this.#s.get(t);if(n!==void 0){const r=this.#t[n];if(this.#e(r)&&r.__staleWhileFetching===void 0)return!1;if(this.#p(n))s&&(s.has="stale",this.#F(s,n));else return i&&this.#T(n),s&&(s.has="hit",this.#F(s,n)),!0}else s&&(s.has="miss");return!1}peek(t,e={}){const{allowStale:i=this.allowStale}=e,s=this.#s.get(t);if(s===void 0||!i&&this.#p(s))return;const n=this.#t[s];return this.#e(n)?n.__staleWhileFetching:n}#W(t,e,i,s){const n=e===void 0?void 0:this.#t[e];if(this.#e(n))return n;const r=new W,{signal:a}=i;a?.addEventListener("abort",()=>r.abort(a.reason),{signal:r.signal});const h={signal:r.signal,options:i,context:s},l=(g,b=!1)=>{const{aborted:f}=r.signal,S=i.ignoreFetchAbort&&g!==void 0;if(i.status&&(f&&!b?(i.status.fetchAborted=!0,i.status.fetchError=r.signal.reason,S&&(i.status.fetchAbortIgnored=!0)):i.status.fetchResolved=!0),f&&!S&&!b)return c(r.signal.reason);const _=u;return this.#t[e]===u&&(g===void 0?_.__staleWhileFetching?this.#t[e]=_.__staleWhileFetching:this.#v(t,"fetch"):(i.status&&(i.status.fetchUpdated=!0),this.set(t,g,h.options))),g},w=g=>(i.status&&(i.status.fetchRejected=!0,i.status.fetchError=g),c(g)),c=g=>{const{aborted:b}=r.signal,f=b&&i.allowStaleOnFetchAbort,S=f||i.allowStaleOnFetchRejection,_=S||i.noDeleteOnFetchRejection,m=u;if(this.#t[e]===u&&(!_||m.__staleWhileFetching===void 0?this.#v(t,"fetch"):f||(this.#t[e]=m.__staleWhileFetching)),S)return i.status&&m.__staleWhileFetching!==void 0&&(i.status.returnedStale=!0),m.__staleWhileFetching;if(m.__returned===m)throw g},d=(g,b)=>{const f=this.#R?.(t,n,h);f&&f instanceof Promise&&f.then(S=>g(S===void 0?void 0:S),b),r.signal.addEventListener("abort",()=>{(!i.ignoreFetchAbort||i.allowStaleOnFetchAbort)&&(g(void 0),i.allowStaleOnFetchAbort&&(g=S=>l(S,!0)))})};i.status&&(i.status.fetchDispatched=!0);const u=new Promise(d).then(l,w),v=Object.assign(u,{__abortController:r,__staleWhileFetching:n,__returned:void 0});return e===void 0?(this.set(t,v,{...h.options,status:void 0}),e=this.#s.get(t)):this.#t[e]=v,v}#e(t){if(!this.#O)return!1;const e=t;return!!e&&e instanceof Promise&&e.hasOwnProperty("__staleWhileFetching")&&e.__abortController instanceof W}async fetch(t,e={}){const{allowStale:i=this.allowStale,updateAgeOnGet:s=this.updateAgeOnGet,noDeleteOnStaleGet:n=this.noDeleteOnStaleGet,ttl:r=this.ttl,noDisposeOnSet:a=this.noDisposeOnSet,size:h=0,sizeCalculation:l=this.sizeCalculation,noUpdateTTL:w=this.noUpdateTTL,noDeleteOnFetchRejection:c=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:d=this.allowStaleOnFetchRejection,ignoreFetchAbort:u=this.ignoreFetchAbort,allowStaleOnFetchAbort:v=this.allowStaleOnFetchAbort,context:g,forceRefresh:b=!1,status:f,signal:S}=e;if(!this.#O)return f&&(f.fetch="get"),this.get(t,{allowStale:i,updateAgeOnGet:s,noDeleteOnStaleGet:n,status:f});const _={allowStale:i,updateAgeOnGet:s,noDeleteOnStaleGet:n,ttl:r,noDisposeOnSet:a,size:h,sizeCalculation:l,noUpdateTTL:w,noDeleteOnFetchRejection:c,allowStaleOnFetchRejection:d,allowStaleOnFetchAbort:v,ignoreFetchAbort:u,status:f,signal:S};let m=this.#s.get(t);if(m===void 0){f&&(f.fetch="miss");const y=this.#W(t,m,_,g);return y.__returned=y}else{const y=this.#t[m];if(this.#e(y)){const N=i&&y.__staleWhileFetching!==void 0;return f&&(f.fetch="inflight",N&&(f.returnedStale=!0)),N?y.__staleWhileFetching:y.__returned=y}const C=this.#p(m);if(!b&&!C)return f&&(f.fetch="hit"),this.#C(m),s&&this.#T(m),f&&this.#F(f,m),y;const E=this.#W(t,m,_,g),U=E.__staleWhileFetching!==void 0&&i;return f&&(f.fetch=C?"stale":"refresh",U&&C&&(f.returnedStale=!0)),U?E.__staleWhileFetching:E.__returned=E}}async forceFetch(t,e={}){const i=await this.fetch(t,e);if(i===void 0)throw new Error("fetch() returned undefined");return i}memo(t,e={}){const i=this.#z;if(!i)throw new Error("no memoMethod provided to constructor");const{context:s,forceRefresh:n,...r}=e,a=this.get(t,r);if(!n&&a!==void 0)return a;const h=i(t,a,{options:r,context:s});return this.set(t,h,r),h}get(t,e={}){const{allowStale:i=this.allowStale,updateAgeOnGet:s=this.updateAgeOnGet,noDeleteOnStaleGet:n=this.noDeleteOnStaleGet,status:r}=e,a=this.#s.get(t);if(a!==void 0){const h=this.#t[a],l=this.#e(h);return r&&this.#F(r,a),this.#p(a)?(r&&(r.get="stale"),l?(r&&i&&h.__staleWhileFetching!==void 0&&(r.returnedStale=!0),i?h.__staleWhileFetching:void 0):(n||this.#v(t,"expire"),r&&i&&(r.returnedStale=!0),i?h:void 0)):(r&&(r.get="hit"),l?h.__staleWhileFetching:(this.#C(a),s&&this.#T(a),h))}else r&&(r.get="miss")}#M(t,e){this.#u[e]=t,this.#l[t]=e}#C(t){t!==this.#r&&(t===this.#h?this.#h=this.#l[t]:this.#M(this.#u[t],this.#l[t]),this.#M(this.#r,t),this.#r=t)}delete(t){return this.#v(t,"delete")}#v(t,e){let i=!1;if(this.#n!==0){const s=this.#s.get(t);if(s!==void 0)if(i=!0,this.#n===1)this.#N(e);else{this.#x(s);const n=this.#t[s];if(this.#e(n)?n.__abortController.abort(new Error("deleted")):(this.#_||this.#c)&&(this.#_&&this.#g?.(n,t,e),this.#c&&this.#o?.push([n,t,e])),this.#s.delete(t),this.#i[s]=void 0,this.#t[s]=void 0,s===this.#r)this.#r=this.#u[s];else if(s===this.#h)this.#h=this.#l[s];else{const r=this.#u[s];this.#l[r]=this.#l[s];const a=this.#l[s];this.#u[a]=this.#u[s]}this.#n--,this.#S.push(s)}}if(this.#c&&this.#o?.length){const s=this.#o;let n;for(;n=s?.shift();)this.#w?.(...n)}return i}clear(){return this.#N("delete")}#N(t){for(const e of this.#A({allowStale:!0})){const i=this.#t[e];if(this.#e(i))i.__abortController.abort(new Error("deleted"));else{const s=this.#i[e];this.#_&&this.#g?.(i,s,t),this.#c&&this.#o?.push([i,s,t])}}if(this.#s.clear(),this.#t.fill(void 0),this.#i.fill(void 0),this.#d&&this.#y&&(this.#d.fill(0),this.#y.fill(0)),this.#b&&this.#b.fill(0),this.#h=0,this.#r=0,this.#S.length=0,this.#m=0,this.#n=0,this.#c&&this.#o){const e=this.#o;let i;for(;i=e?.shift();)this.#w?.(...i)}}}const O=new M({max:128});function G(o,t,e){return[o?"esm":"cjs",t,...e||[]].join("\0")}const J=Symbol("runCtx");function nt(o,t){let e=t.recreateContext?void 0:o.protocol.cache.get(J);if(e){if(t.globals)for(const[i,s]of Object.entries(t.globals))e.context[i]=s}else{const i={log:(...n)=>o.log(n,"info"),info:(...n)=>o.log(n,"info"),warn:(...n)=>o.log(n,"warn"),error:(...n)=>o.log(n,"error")},s=R.createContext({...t.globals,console:i});e={modules:{},context:s},o.protocol.cache.set(J,e)}for(const i of t.functions??[]){let s=G(!1,i.code,i.params),n=O.get(s),r=R.compileFunction(i.code,i.params,{parsingContext:e.context,cachedData:n,produceCachedData:!n});e.context[i.name]=r}for(const i of t.modules??[]){const s=G(!0,i.code);let n=O.get(s),r=new R.SourceTextModule(i.code,{identifier:i.name,context:e.context,cachedData:n});if(!n){let a=r.createCachedData();O.set(s,a)}e.modules[i.name]=r}return e}async function rt(o,t){let e=process.hrtime.bigint(),i=nt(t,o),s;if(!o.code)return{};const n=G(!o.expr,o.code);if(o.expr){let h=O.get(n),l=new R.Script(o.code,{filename:o.name||"<script>",cachedData:h});h||O.set(n,l.createCachedData()),s=l.runInContext(i.context,{timeout:o.timeoutMs??void 0}),typeof s?.then=="function"&&(s=await s)}else{async function h(c,d){const u=i.modules[c];if(u)return u;throw new Error(`Module not found: ${c}, referenced from ${d.identifier}`)}let l=O.get(n),w=new R.SourceTextModule(o.code,{identifier:o.name||"<script>",context:i.context,cachedData:l});if(!l){let c=w.createCachedData();c&&O.set(n,c)}await w.link(h),await w.evaluate()}const r=o.returnKeys?Object.fromEntries(o.returnKeys.map(h=>[h,i.context[h]])):i.context;let a=Number(process.hrtime.bigint()-e)/1e3;return p(`Evaluated in ${a}us`),{globals:r,returnValue:s}}function ot(o){p(`Worker ${process.pid} started`);const t=q.createServer(),e=()=>{p(`Worker ${process.pid} is shutting down`),t.close(()=>process.exit(0))};process.on("message",s=>{p(`Worker ${process.pid} received message: ${s}`),s=="shutdown"&&(p(`Worker ${process.pid} received shutdown message`),e())}),F.worker?.send("ready"),process.on("SIGTERM",e),process.on("SIGINT",e);function i(s){let n=new it(s);n.on("message",r=>ht(n,r))}t.on("error",s=>{console.error(s),process.exit(1)}),t.listen(o,()=>{p(`Worker ${process.pid} is listening on ${o}`),t.on("connection",i)})}function ht(o,{id:t,reqId:e,type:i,data:s}){if(i===k.Ping){o.sendMessage(e,z.Pong,Buffer.alloc(0));return}let n=process.hrtime.bigint(),r=!1;const a={protocol:o,reqId:e,id:t,log(h,l="info"){p(`${e}[${l}]:`,h),o.log(e,l,h)},respond(h){r=!0,o.respond(e,h)},error(h){p(`${e}: `,h.message),o.error(e,h)}};at(a,i,s).then(h=>{(h!=null||!r)&&a.respond(h??null);let l=Number(process.hrtime.bigint()-n)/1e3;p(`handle: ${l}us`)}).catch(h=>{p("Failed to handle request:"),a.error(h)})}async function at(o,t,e){switch(t){case k.RunScript:return rt(JSON.parse(e.toString()),o)}}if(F.isPrimary){let o=function(){if(n)return;let a=F.fork({SOCKET_PATH:s});a.on("message",h=>{h==="ready"&&n&&a.send("shutdown")})};const t=process.argv[1],{values:e}=Z({options:{workers:{type:"string",default:Q.cpus().length.toString()},socket:{type:"string"}}}),i=parseInt(e.workers??"1",10),s=e.socket;let n=!1;if(!s)throw new Error("No socket path provided");process.on("exit",()=>{try{$.unlinkSync(s)}catch{}});const r=()=>{p("shutting down"),n&&process.exit(1),n=!0;for(let a of Object.values(F.workers??{}))a?.send("shutdown",()=>{})};process.on("SIGTERM",r),process.on("SIGINT",r),F.on("online",a=>{p("online",a.process.pid,n),n&&a.kill("SIGKILL")}),F.on("exit",(a,h,l)=>{if(p("exit",a.process.pid,h,l,n,s),!n&&!$.existsSync(t)&&(p(`${s} script is gone, shutting down`),r()),n){const w=Object.values(F.workers??{}).map(c=>c?.process.pid);p(s,"remaining workers:",w),w.length==0&&process.exit(0);return}p(l?`Worker ${a.process.pid} died with signal ${l}. Restarting...`:`Worker ${a.process.pid} died with code ${h}. Restarting...`),o()}),p(`Primary ${process.pid} is running, starting ${i} workers and connecting to ${s}`);for(let a=0;a<i;a++)o()}else ot(process.env.SOCKET_PATH);
[INFO] [stderr]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
[INFO] [stderr] 
[INFO] [stderr] SyntaxError: Unexpected token '.'
[INFO] [stderr]     at Loader.moduleStrategy (internal/modules/esm/translators.js:133:18)
[INFO] [stderr]     at async link (internal/modules/esm/module_job.js:42:21)
[INFO] [stderr] file:///tmp/js_sidecarT1eJTU.mjs:1
[INFO] [stderr] import F from"node:cluster";import Q from"node:os";import $ from"node:fs";import{parseArgs as Z}from"node:util";import q from"node:net";import{EventEmitter as tt}from"node:events";import*as R from"node:vm";var k=(o=>(o[o.RunScript=0]="RunScript",o[o.Ping=1]="Ping",o))(k||{}),z=(o=>(o[o.RunResponse=4096]="RunResponse",o[o.Log=4097]="Log",o[o.Error=4098]="Error",o[o.Pong=4099]="Pong",o))(z||{});const et=!!process.env.DEBUG_JS_SIDECAR_WORKER;function p(...o){et&&console.log(...o)}const j=12,P=0,K=4,B=8;class it extends tt{socket;buffer;expectedLength;id;cache=new Map;constructor(t){super(),this.socket=t,this.buffer=Buffer.alloc(0),this.expectedLength=null,this.id=0,this.socket.on("data",e=>this.handleData(e))}handleData(t){for(this.buffer=Buffer.concat([this.buffer,t]);this.buffer.length>0;){if(this.expectedLength===null){if(this.buffer.length<4)return;this.expectedLength=this.buffer.readUInt32LE(0),this.buffer=this.buffer.subarray(4)}if(this.buffer.length<this.expectedLength)return;const e=this.buffer.readUInt32LE(P),i=this.buffer.readUInt32LE(K),s=this.buffer.readUInt32LE(B),n=this.buffer.subarray(12,this.expectedLength);this.buffer=this.buffer.subarray(this.expectedLength),this.expectedLength=null;const r={id:i,reqId:e,type:s,data:n};this.emit("message",r)}}sendMessage(t,e,i){p("Sending message",t,e,i),i instanceof Buffer||(i=Buffer.from(i));let s=this.id++;const n=Buffer.allocUnsafe(j+4);return n.writeUInt32LE(i.length+j),n.writeUInt32LE(t,P+4),n.writeUInt32LE(s,K+4),n.writeUInt32LE(e,B+4),this.socket.write(Buffer.concat([n,i])),s}log(t,e,i){let s=JSON.stringify({level:e,message:i});this.sendMessage(t,z.Log,s)}respond(t,e){this.sendMessage(t,z.RunResponse,JSON.stringify(e))}error(t,e){let i={message:e.message,stack:e.stack},s=JSON.stringify(i);this.sendMessage(t,z.Error,s)}}const T=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,H=new Set,I=typeof process=="object"&&process?process:{},Y=(o,t,e,i)=>{typeof I.emitWarning=="function"?I.emitWarning(o,t,e,i):console.error(`[${e}] ${t}: ${o}`)};let W=globalThis.AbortController,V=globalThis.AbortSignal;if(typeof W>"u"){V=class{onabort;_onabort=[];reason;aborted=!1;addEventListener(i,s){this._onabort.push(s)}},W=class{constructor(){t()}signal=new V;abort(i){if(!this.signal.aborted){this.signal.reason=i,this.signal.aborted=!0;for(const s of this.signal._onabort)s(i);this.signal.onabort?.(i)}}};let o=I.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1";const t=()=>{o&&(o=!1,Y("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",t))}}const st=o=>!H.has(o),A=o=>o&&o===Math.floor(o)&&o>0&&isFinite(o),X=o=>A(o)?o<=Math.pow(2,8)?Uint8Array:o<=Math.pow(2,16)?Uint16Array:o<=Math.pow(2,32)?Uint32Array:o<=Number.MAX_SAFE_INTEGER?D:null:null;class D extends Array{constructor(t){super(t),this.fill(0)}}class x{heap;length;static#a=!1;static create(t){const e=X(t);if(!e)return[];x.#a=!0;const i=new x(t,e);return x.#a=!1,i}constructor(t,e){if(!x.#a)throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new e(t),this.length=0}push(t){this.heap[this.length++]=t}pop(){return this.heap[--this.length]}}class M{#a;#f;#g;#w;#R;#z;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#n;#m;#s;#i;#t;#l;#u;#h;#r;#S;#o;#b;#y;#d;#_;#O;#c;static unsafeExposeInternals(t){return{starts:t.#y,ttls:t.#d,sizes:t.#b,keyMap:t.#s,keyList:t.#i,valList:t.#t,next:t.#l,prev:t.#u,get head(){return t.#h},get tail(){return t.#r},free:t.#S,isBackgroundFetch:e=>t.#e(e),backgroundFetch:(e,i,s,n)=>t.#W(e,i,s,n),moveToTail:e=>t.#C(e),indexes:e=>t.#E(e),rindexes:e=>t.#A(e),isStale:e=>t.#p(e)}}get max(){return this.#a}get maxSize(){return this.#f}get calculatedSize(){return this.#m}get size(){return this.#n}get fetchMethod(){return this.#R}get memoMethod(){return this.#z}get dispose(){return this.#g}get disposeAfter(){return this.#w}constructor(t){const{max:e=0,ttl:i,ttlResolution:s=1,ttlAutopurge:n,updateAgeOnGet:r,updateAgeOnHas:a,allowStale:h,dispose:l,disposeAfter:w,noDisposeOnSet:c,noUpdateTTL:d,maxSize:u=0,maxEntrySize:v=0,sizeCalculation:g,fetchMethod:b,memoMethod:f,noDeleteOnFetchRejection:S,noDeleteOnStaleGet:_,allowStaleOnFetchRejection:m,allowStaleOnFetchAbort:y,ignoreFetchAbort:C}=t;if(e!==0&&!A(e))throw new TypeError("max option must be a nonnegative integer");const E=e?X(e):Array;if(!E)throw new Error("invalid max value: "+e);if(this.#a=e,this.#f=u,this.maxEntrySize=v||this.#f,this.sizeCalculation=g,this.sizeCalculation){if(!this.#f&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(f!==void 0&&typeof f!="function")throw new TypeError("memoMethod must be a function if defined");if(this.#z=f,b!==void 0&&typeof b!="function")throw new TypeError("fetchMethod must be a function if specified");if(this.#R=b,this.#O=!!b,this.#s=new Map,this.#i=new Array(e).fill(void 0),this.#t=new Array(e).fill(void 0),this.#l=new E(e),this.#u=new E(e),this.#h=0,this.#r=0,this.#S=x.create(e),this.#n=0,this.#m=0,typeof l=="function"&&(this.#g=l),typeof w=="function"?(this.#w=w,this.#o=[]):(this.#w=void 0,this.#o=void 0),this.#_=!!this.#g,this.#c=!!this.#w,this.noDisposeOnSet=!!c,this.noUpdateTTL=!!d,this.noDeleteOnFetchRejection=!!S,this.allowStaleOnFetchRejection=!!m,this.allowStaleOnFetchAbort=!!y,this.ignoreFetchAbort=!!C,this.maxEntrySize!==0){if(this.#f!==0&&!A(this.#f))throw new TypeError("maxSize must be a positive integer if specified");if(!A(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");this.#$()}if(this.allowStale=!!h,this.noDeleteOnStaleGet=!!_,this.updateAgeOnGet=!!r,this.updateAgeOnHas=!!a,this.ttlResolution=A(s)||s===0?s:1,this.ttlAutopurge=!!n,this.ttl=i||0,this.ttl){if(!A(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.#U()}if(this.#a===0&&this.ttl===0&&this.#f===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#a&&!this.#f){const L="LRU_CACHE_UNBOUNDED";st(L)&&(H.add(L),Y("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",L,M))}}getRemainingTTL(t){return this.#s.has(t)?1/0:0}#U(){const t=new D(this.#a),e=new D(this.#a);this.#d=t,this.#y=e,this.#I=(n,r,a=T.now())=>{if(e[n]=r!==0?a:0,t[n]=r,r!==0&&this.ttlAutopurge){const h=setTimeout(()=>{this.#p(n)&&this.#v(this.#i[n],"expire")},r+1);h.unref&&h.unref()}},this.#T=n=>{e[n]=t[n]!==0?T.now():0},this.#F=(n,r)=>{if(t[r]){const a=t[r],h=e[r];if(!a||!h)return;n.ttl=a,n.start=h,n.now=i||s();const l=n.now-h;n.remainingTTL=a-l}};let i=0;const s=()=>{const n=T.now();if(this.ttlResolution>0){i=n;const r=setTimeout(()=>i=0,this.ttlResolution);r.unref&&r.unref()}return n};this.getRemainingTTL=n=>{const r=this.#s.get(n);if(r===void 0)return 0;const a=t[r],h=e[r];if(!a||!h)return 1/0;const l=(i||s())-h;return a-l},this.#p=n=>{const r=e[n],a=t[n];return!!a&&!!r&&(i||s())-r>a}}#T=()=>{};#F=()=>{};#I=()=>{};#p=()=>!1;#$(){const t=new D(this.#a);this.#m=0,this.#b=t,this.#x=e=>{this.#m-=t[e],t[e]=0},this.#G=(e,i,s,n)=>{if(this.#e(i))return 0;if(!A(s))if(n){if(typeof n!="function")throw new TypeError("sizeCalculation must be a function");if(s=n(i,e),!A(s))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return s},this.#L=(e,i,s)=>{if(t[e]=i,this.#f){const n=this.#f-t[e];for(;this.#m>n;)this.#D(!0)}this.#m+=t[e],s&&(s.entrySize=i,s.totalCalculatedSize=this.#m)}}#x=t=>{};#L=(t,e,i)=>{};#G=(t,e,i,s)=>{if(i||s)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0};*#E({allowStale:t=this.allowStale}={}){if(this.#n)for(let e=this.#r;!(!this.#k(e)||((t||!this.#p(e))&&(yield e),e===this.#h));)e=this.#u[e]}*#A({allowStale:t=this.allowStale}={}){if(this.#n)for(let e=this.#h;!(!this.#k(e)||((t||!this.#p(e))&&(yield e),e===this.#r));)e=this.#l[e]}#k(t){return t!==void 0&&this.#s.get(this.#i[t])===t}*entries(){for(const t of this.#E())this.#t[t]!==void 0&&this.#i[t]!==void 0&&!this.#e(this.#t[t])&&(yield[this.#i[t],this.#t[t]])}*rentries(){for(const t of this.#A())this.#t[t]!==void 0&&this.#i[t]!==void 0&&!this.#e(this.#t[t])&&(yield[this.#i[t],this.#t[t]])}*keys(){for(const t of this.#E()){const e=this.#i[t];e!==void 0&&!this.#e(this.#t[t])&&(yield e)}}*rkeys(){for(const t of this.#A()){const e=this.#i[t];e!==void 0&&!this.#e(this.#t[t])&&(yield e)}}*values(){for(const t of this.#E())this.#t[t]!==void 0&&!this.#e(this.#t[t])&&(yield this.#t[t])}*rvalues(){for(const t of this.#A())this.#t[t]!==void 0&&!this.#e(this.#t[t])&&(yield this.#t[t])}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(t,e={}){for(const i of this.#E()){const s=this.#t[i],n=this.#e(s)?s.__staleWhileFetching:s;if(n!==void 0&&t(n,this.#i[i],this))return this.get(this.#i[i],e)}}forEach(t,e=this){for(const i of this.#E()){const s=this.#t[i],n=this.#e(s)?s.__staleWhileFetching:s;n!==void 0&&t.call(e,n,this.#i[i],this)}}rforEach(t,e=this){for(const i of this.#A()){const s=this.#t[i],n=this.#e(s)?s.__staleWhileFetching:s;n!==void 0&&t.call(e,n,this.#i[i],this)}}purgeStale(){let t=!1;for(const e of this.#A({allowStale:!0}))this.#p(e)&&(this.#v(this.#i[e],"expire"),t=!0);return t}info(t){const e=this.#s.get(t);if(e===void 0)return;const i=this.#t[e],s=this.#e(i)?i.__staleWhileFetching:i;if(s===void 0)return;const n={value:s};if(this.#d&&this.#y){const r=this.#d[e],a=this.#y[e];if(r&&a){const h=r-(T.now()-a);n.ttl=h,n.start=Date.now()}}return this.#b&&(n.size=this.#b[e]),n}dump(){const t=[];for(const e of this.#E({allowStale:!0})){const i=this.#i[e],s=this.#t[e],n=this.#e(s)?s.__staleWhileFetching:s;if(n===void 0||i===void 0)continue;const r={value:n};if(this.#d&&this.#y){r.ttl=this.#d[e];const a=T.now()-this.#y[e];r.start=Math.floor(Date.now()-a)}this.#b&&(r.size=this.#b[e]),t.unshift([i,r])}return t}load(t){this.clear();for(const[e,i]of t){if(i.start){const s=Date.now()-i.start;i.start=T.now()-s}this.set(e,i.value,i)}}set(t,e,i={}){if(e===void 0)return this.delete(t),this;const{ttl:s=this.ttl,start:n,noDisposeOnSet:r=this.noDisposeOnSet,sizeCalculation:a=this.sizeCalculation,status:h}=i;let{noUpdateTTL:l=this.noUpdateTTL}=i;const w=this.#G(t,e,i.size||0,a);if(this.maxEntrySize&&w>this.maxEntrySize)return h&&(h.set="miss",h.maxEntrySizeExceeded=!0),this.#v(t,"set"),this;let c=this.#n===0?void 0:this.#s.get(t);if(c===void 0)c=this.#n===0?this.#r:this.#S.length!==0?this.#S.pop():this.#n===this.#a?this.#D(!1):this.#n,this.#i[c]=t,this.#t[c]=e,this.#s.set(t,c),this.#l[this.#r]=c,this.#u[c]=this.#r,this.#r=c,this.#n++,this.#L(c,w,h),h&&(h.set="add"),l=!1;else{this.#C(c);const d=this.#t[c];if(e!==d){if(this.#O&&this.#e(d)){d.__abortController.abort(new Error("replaced"));const{__staleWhileFetching:u}=d;u!==void 0&&!r&&(this.#_&&this.#g?.(u,t,"set"),this.#c&&this.#o?.push([u,t,"set"]))}else r||(this.#_&&this.#g?.(d,t,"set"),this.#c&&this.#o?.push([d,t,"set"]));if(this.#x(c),this.#L(c,w,h),this.#t[c]=e,h){h.set="replace";const u=d&&this.#e(d)?d.__staleWhileFetching:d;u!==void 0&&(h.oldValue=u)}}else h&&(h.set="update")}if(s!==0&&!this.#d&&this.#U(),this.#d&&(l||this.#I(c,s,n),h&&this.#F(h,c)),!r&&this.#c&&this.#o){const d=this.#o;let u;for(;u=d?.shift();)this.#w?.(...u)}return this}pop(){try{for(;this.#n;){const t=this.#t[this.#h];if(this.#D(!0),this.#e(t)){if(t.__staleWhileFetching)return t.__staleWhileFetching}else if(t!==void 0)return t}}finally{if(this.#c&&this.#o){const t=this.#o;let e;for(;e=t?.shift();)this.#w?.(...e)}}}#D(t){const e=this.#h,i=this.#i[e],s=this.#t[e];return this.#O&&this.#e(s)?s.__abortController.abort(new Error("evicted")):(this.#_||this.#c)&&(this.#_&&this.#g?.(s,i,"evict"),this.#c&&this.#o?.push([s,i,"evict"])),this.#x(e),t&&(this.#i[e]=void 0,this.#t[e]=void 0,this.#S.push(e)),this.#n===1?(this.#h=this.#r=0,this.#S.length=0):this.#h=this.#l[e],this.#s.delete(i),this.#n--,e}has(t,e={}){const{updateAgeOnHas:i=this.updateAgeOnHas,status:s}=e,n=this.#s.get(t);if(n!==void 0){const r=this.#t[n];if(this.#e(r)&&r.__staleWhileFetching===void 0)return!1;if(this.#p(n))s&&(s.has="stale",this.#F(s,n));else return i&&this.#T(n),s&&(s.has="hit",this.#F(s,n)),!0}else s&&(s.has="miss");return!1}peek(t,e={}){const{allowStale:i=this.allowStale}=e,s=this.#s.get(t);if(s===void 0||!i&&this.#p(s))return;const n=this.#t[s];return this.#e(n)?n.__staleWhileFetching:n}#W(t,e,i,s){const n=e===void 0?void 0:this.#t[e];if(this.#e(n))return n;const r=new W,{signal:a}=i;a?.addEventListener("abort",()=>r.abort(a.reason),{signal:r.signal});const h={signal:r.signal,options:i,context:s},l=(g,b=!1)=>{const{aborted:f}=r.signal,S=i.ignoreFetchAbort&&g!==void 0;if(i.status&&(f&&!b?(i.status.fetchAborted=!0,i.status.fetchError=r.signal.reason,S&&(i.status.fetchAbortIgnored=!0)):i.status.fetchResolved=!0),f&&!S&&!b)return c(r.signal.reason);const _=u;return this.#t[e]===u&&(g===void 0?_.__staleWhileFetching?this.#t[e]=_.__staleWhileFetching:this.#v(t,"fetch"):(i.status&&(i.status.fetchUpdated=!0),this.set(t,g,h.options))),g},w=g=>(i.status&&(i.status.fetchRejected=!0,i.status.fetchError=g),c(g)),c=g=>{const{aborted:b}=r.signal,f=b&&i.allowStaleOnFetchAbort,S=f||i.allowStaleOnFetchRejection,_=S||i.noDeleteOnFetchRejection,m=u;if(this.#t[e]===u&&(!_||m.__staleWhileFetching===void 0?this.#v(t,"fetch"):f||(this.#t[e]=m.__staleWhileFetching)),S)return i.status&&m.__staleWhileFetching!==void 0&&(i.status.returnedStale=!0),m.__staleWhileFetching;if(m.__returned===m)throw g},d=(g,b)=>{const f=this.#R?.(t,n,h);f&&f instanceof Promise&&f.then(S=>g(S===void 0?void 0:S),b),r.signal.addEventListener("abort",()=>{(!i.ignoreFetchAbort||i.allowStaleOnFetchAbort)&&(g(void 0),i.allowStaleOnFetchAbort&&(g=S=>l(S,!0)))})};i.status&&(i.status.fetchDispatched=!0);const u=new Promise(d).then(l,w),v=Object.assign(u,{__abortController:r,__staleWhileFetching:n,__returned:void 0});return e===void 0?(this.set(t,v,{...h.options,status:void 0}),e=this.#s.get(t)):this.#t[e]=v,v}#e(t){if(!this.#O)return!1;const e=t;return!!e&&e instanceof Promise&&e.hasOwnProperty("__staleWhileFetching")&&e.__abortController instanceof W}async fetch(t,e={}){const{allowStale:i=this.allowStale,updateAgeOnGet:s=this.updateAgeOnGet,noDeleteOnStaleGet:n=this.noDeleteOnStaleGet,ttl:r=this.ttl,noDisposeOnSet:a=this.noDisposeOnSet,size:h=0,sizeCalculation:l=this.sizeCalculation,noUpdateTTL:w=this.noUpdateTTL,noDeleteOnFetchRejection:c=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:d=this.allowStaleOnFetchRejection,ignoreFetchAbort:u=this.ignoreFetchAbort,allowStaleOnFetchAbort:v=this.allowStaleOnFetchAbort,context:g,forceRefresh:b=!1,status:f,signal:S}=e;if(!this.#O)return f&&(f.fetch="get"),this.get(t,{allowStale:i,updateAgeOnGet:s,noDeleteOnStaleGet:n,status:f});const _={allowStale:i,updateAgeOnGet:s,noDeleteOnStaleGet:n,ttl:r,noDisposeOnSet:a,size:h,sizeCalculation:l,noUpdateTTL:w,noDeleteOnFetchRejection:c,allowStaleOnFetchRejection:d,allowStaleOnFetchAbort:v,ignoreFetchAbort:u,status:f,signal:S};let m=this.#s.get(t);if(m===void 0){f&&(f.fetch="miss");const y=this.#W(t,m,_,g);return y.__returned=y}else{const y=this.#t[m];if(this.#e(y)){const N=i&&y.__staleWhileFetching!==void 0;return f&&(f.fetch="inflight",N&&(f.returnedStale=!0)),N?y.__staleWhileFetching:y.__returned=y}const C=this.#p(m);if(!b&&!C)return f&&(f.fetch="hit"),this.#C(m),s&&this.#T(m),f&&this.#F(f,m),y;const E=this.#W(t,m,_,g),U=E.__staleWhileFetching!==void 0&&i;return f&&(f.fetch=C?"stale":"refresh",U&&C&&(f.returnedStale=!0)),U?E.__staleWhileFetching:E.__returned=E}}async forceFetch(t,e={}){const i=await this.fetch(t,e);if(i===void 0)throw new Error("fetch() returned undefined");return i}memo(t,e={}){const i=this.#z;if(!i)throw new Error("no memoMethod provided to constructor");const{context:s,forceRefresh:n,...r}=e,a=this.get(t,r);if(!n&&a!==void 0)return a;const h=i(t,a,{options:r,context:s});return this.set(t,h,r),h}get(t,e={}){const{allowStale:i=this.allowStale,updateAgeOnGet:s=this.updateAgeOnGet,noDeleteOnStaleGet:n=this.noDeleteOnStaleGet,status:r}=e,a=this.#s.get(t);if(a!==void 0){const h=this.#t[a],l=this.#e(h);return r&&this.#F(r,a),this.#p(a)?(r&&(r.get="stale"),l?(r&&i&&h.__staleWhileFetching!==void 0&&(r.returnedStale=!0),i?h.__staleWhileFetching:void 0):(n||this.#v(t,"expire"),r&&i&&(r.returnedStale=!0),i?h:void 0)):(r&&(r.get="hit"),l?h.__staleWhileFetching:(this.#C(a),s&&this.#T(a),h))}else r&&(r.get="miss")}#M(t,e){this.#u[e]=t,this.#l[t]=e}#C(t){t!==this.#r&&(t===this.#h?this.#h=this.#l[t]:this.#M(this.#u[t],this.#l[t]),this.#M(this.#r,t),this.#r=t)}delete(t){return this.#v(t,"delete")}#v(t,e){let i=!1;if(this.#n!==0){const s=this.#s.get(t);if(s!==void 0)if(i=!0,this.#n===1)this.#N(e);else{this.#x(s);const n=this.#t[s];if(this.#e(n)?n.__abortController.abort(new Error("deleted")):(this.#_||this.#c)&&(this.#_&&this.#g?.(n,t,e),this.#c&&this.#o?.push([n,t,e])),this.#s.delete(t),this.#i[s]=void 0,this.#t[s]=void 0,s===this.#r)this.#r=this.#u[s];else if(s===this.#h)this.#h=this.#l[s];else{const r=this.#u[s];this.#l[r]=this.#l[s];const a=this.#l[s];this.#u[a]=this.#u[s]}this.#n--,this.#S.push(s)}}if(this.#c&&this.#o?.length){const s=this.#o;let n;for(;n=s?.shift();)this.#w?.(...n)}return i}clear(){return this.#N("delete")}#N(t){for(const e of this.#A({allowStale:!0})){const i=this.#t[e];if(this.#e(i))i.__abortController.abort(new Error("deleted"));else{const s=this.#i[e];this.#_&&this.#g?.(i,s,t),this.#c&&this.#o?.push([i,s,t])}}if(this.#s.clear(),this.#t.fill(void 0),this.#i.fill(void 0),this.#d&&this.#y&&(this.#d.fill(0),this.#y.fill(0)),this.#b&&this.#b.fill(0),this.#h=0,this.#r=0,this.#S.length=0,this.#m=0,this.#n=0,this.#c&&this.#o){const e=this.#o;let i;for(;i=e?.shift();)this.#w?.(...i)}}}const O=new M({max:128});function G(o,t,e){return[o?"esm":"cjs",t,...e||[]].join("\0")}const J=Symbol("runCtx");function nt(o,t){let e=t.recreateContext?void 0:o.protocol.cache.get(J);if(e){if(t.globals)for(const[i,s]of Object.entries(t.globals))e.context[i]=s}else{const i={log:(...n)=>o.log(n,"info"),info:(...n)=>o.log(n,"info"),warn:(...n)=>o.log(n,"warn"),error:(...n)=>o.log(n,"error")},s=R.createContext({...t.globals,console:i});e={modules:{},context:s},o.protocol.cache.set(J,e)}for(const i of t.functions??[]){let s=G(!1,i.code,i.params),n=O.get(s),r=R.compileFunction(i.code,i.params,{parsingContext:e.context,cachedData:n,produceCachedData:!n});e.context[i.name]=r}for(const i of t.modules??[]){const s=G(!0,i.code);let n=O.get(s),r=new R.SourceTextModule(i.code,{identifier:i.name,context:e.context,cachedData:n});if(!n){let a=r.createCachedData();O.set(s,a)}e.modules[i.name]=r}return e}async function rt(o,t){let e=process.hrtime.bigint(),i=nt(t,o),s;if(!o.code)return{};const n=G(!o.expr,o.code);if(o.expr){let h=O.get(n),l=new R.Script(o.code,{filename:o.name||"<script>",cachedData:h});h||O.set(n,l.createCachedData()),s=l.runInContext(i.context,{timeout:o.timeoutMs??void 0}),typeof s?.then=="function"&&(s=await s)}else{async function h(c,d){const u=i.modules[c];if(u)return u;throw new Error(`Module not found: ${c}, referenced from ${d.identifier}`)}let l=O.get(n),w=new R.SourceTextModule(o.code,{identifier:o.name||"<script>",context:i.context,cachedData:l});if(!l){let c=w.createCachedData();c&&O.set(n,c)}await w.link(h),await w.evaluate()}const r=o.returnKeys?Object.fromEntries(o.returnKeys.map(h=>[h,i.context[h]])):i.context;let a=Number(process.hrtime.bigint()-e)/1e3;return p(`Evaluated in ${a}us`),{globals:r,returnValue:s}}function ot(o){p(`Worker ${process.pid} started`);const t=q.createServer(),e=()=>{p(`Worker ${process.pid} is shutting down`),t.close(()=>process.exit(0))};process.on("message",s=>{p(`Worker ${process.pid} received message: ${s}`),s=="shutdown"&&(p(`Worker ${process.pid} received shutdown message`),e())}),F.worker?.send("ready"),process.on("SIGTERM",e),process.on("SIGINT",e);function i(s){let n=new it(s);n.on("message",r=>ht(n,r))}t.on("error",s=>{console.error(s),process.exit(1)}),t.listen(o,()=>{p(`Worker ${process.pid} is listening on ${o}`),t.on("connection",i)})}function ht(o,{id:t,reqId:e,type:i,data:s}){if(i===k.Ping){o.sendMessage(e,z.Pong,Buffer.alloc(0));return}let n=process.hrtime.bigint(),r=!1;const a={protocol:o,reqId:e,id:t,log(h,l="info"){p(`${e}[${l}]:`,h),o.log(e,l,h)},respond(h){r=!0,o.respond(e,h)},error(h){p(`${e}: `,h.message),o.error(e,h)}};at(a,i,s).then(h=>{(h!=null||!r)&&a.respond(h??null);let l=Number(process.hrtime.bigint()-n)/1e3;p(`handle: ${l}us`)}).catch(h=>{p("Failed to handle request:"),a.error(h)})}async function at(o,t,e){switch(t){case k.RunScript:return rt(JSON.parse(e.toString()),o)}}if(F.isPrimary){let o=function(){if(n)return;let a=F.fork({SOCKET_PATH:s});a.on("message",h=>{h==="ready"&&n&&a.send("shutdown")})};const t=process.argv[1],{values:e}=Z({options:{workers:{type:"string",default:Q.cpus().length.toString()},socket:{type:"string"}}}),i=parseInt(e.workers??"1",10),s=e.socket;let n=!1;if(!s)throw new Error("No socket path provided");process.on("exit",()=>{try{$.unlinkSync(s)}catch{}});const r=()=>{p("shutting down"),n&&process.exit(1),n=!0;for(let a of Object.values(F.workers??{}))a?.send("shutdown",()=>{})};process.on("SIGTERM",r),process.on("SIGINT",r),F.on("online",a=>{p("online",a.process.pid,n),n&&a.kill("SIGKILL")}),F.on("exit",(a,h,l)=>{if(p("exit",a.process.pid,h,l,n,s),!n&&!$.existsSync(t)&&(p(`${s} script is gone, shutting down`),r()),n){const w=Object.values(F.workers??{}).map(c=>c?.process.pid);p(s,"remaining workers:",w),w.length==0&&process.exit(0);return}p(l?`Worker ${a.process.pid} died with signal ${l}. Restarting...`:`Worker ${a.process.pid} died with code ${h}. Restarting...`),o()}),p(`Primary ${process.pid} is running, starting ${i} workers and connecting to ${s}`);for(let a=0;a<i;a++)o()}else ot(process.env.SOCKET_PATH);
[INFO] [stderr]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
[INFO] [stderr] 
[INFO] [stderr] SyntaxError: Unexpected token '.'
[INFO] [stderr]     at Loader.moduleStrategy (internal/modules/esm/translators.js:133:18)
[INFO] [stderr]     at async link (internal/modules/esm/module_job.js:42:21)
[INFO] [stderr] file:///tmp/js_sidecar1sT5uT.mjs:1
[INFO] [stderr] import F from"node:cluster";import Q from"node:os";import $ from"node:fs";import{parseArgs as Z}from"node:util";import q from"node:net";import{EventEmitter as tt}from"node:events";import*as R from"node:vm";var k=(o=>(o[o.RunScript=0]="RunScript",o[o.Ping=1]="Ping",o))(k||{}),z=(o=>(o[o.RunResponse=4096]="RunResponse",o[o.Log=4097]="Log",o[o.Error=4098]="Error",o[o.Pong=4099]="Pong",o))(z||{});const et=!!process.env.DEBUG_JS_SIDECAR_WORKER;function p(...o){et&&console.log(...o)}const j=12,P=0,K=4,B=8;class it extends tt{socket;buffer;expectedLength;id;cache=new Map;constructor(t){super(),this.socket=t,this.buffer=Buffer.alloc(0),this.expectedLength=null,this.id=0,this.socket.on("data",e=>this.handleData(e))}handleData(t){for(this.buffer=Buffer.concat([this.buffer,t]);this.buffer.length>0;){if(this.expectedLength===null){if(this.buffer.length<4)return;this.expectedLength=this.buffer.readUInt32LE(0),this.buffer=this.buffer.subarray(4)}if(this.buffer.length<this.expectedLength)return;const e=this.buffer.readUInt32LE(P),i=this.buffer.readUInt32LE(K),s=this.buffer.readUInt32LE(B),n=this.buffer.subarray(12,this.expectedLength);this.buffer=this.buffer.subarray(this.expectedLength),this.expectedLength=null;const r={id:i,reqId:e,type:s,data:n};this.emit("message",r)}}sendMessage(t,e,i){p("Sending message",t,e,i),i instanceof Buffer||(i=Buffer.from(i));let s=this.id++;const n=Buffer.allocUnsafe(j+4);return n.writeUInt32LE(i.length+j),n.writeUInt32LE(t,P+4),n.writeUInt32LE(s,K+4),n.writeUInt32LE(e,B+4),this.socket.write(Buffer.concat([n,i])),s}log(t,e,i){let s=JSON.stringify({level:e,message:i});this.sendMessage(t,z.Log,s)}respond(t,e){this.sendMessage(t,z.RunResponse,JSON.stringify(e))}error(t,e){let i={message:e.message,stack:e.stack},s=JSON.stringify(i);this.sendMessage(t,z.Error,s)}}const T=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,H=new Set,I=typeof process=="object"&&process?process:{},Y=(o,t,e,i)=>{typeof I.emitWarning=="function"?I.emitWarning(o,t,e,i):console.error(`[${e}] ${t}: ${o}`)};let W=globalThis.AbortController,V=globalThis.AbortSignal;if(typeof W>"u"){V=class{onabort;_onabort=[];reason;aborted=!1;addEventListener(i,s){this._onabort.push(s)}},W=class{constructor(){t()}signal=new V;abort(i){if(!this.signal.aborted){this.signal.reason=i,this.signal.aborted=!0;for(const s of this.signal._onabort)s(i);this.signal.onabort?.(i)}}};let o=I.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1";const t=()=>{o&&(o=!1,Y("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",t))}}const st=o=>!H.has(o),A=o=>o&&o===Math.floor(o)&&o>0&&isFinite(o),X=o=>A(o)?o<=Math.pow(2,8)?Uint8Array:o<=Math.pow(2,16)?Uint16Array:o<=Math.pow(2,32)?Uint32Array:o<=Number.MAX_SAFE_INTEGER?D:null:null;class D extends Array{constructor(t){super(t),this.fill(0)}}class x{heap;length;static#a=!1;static create(t){const e=X(t);if(!e)return[];x.#a=!0;const i=new x(t,e);return x.#a=!1,i}constructor(t,e){if(!x.#a)throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new e(t),this.length=0}push(t){this.heap[this.length++]=t}pop(){return this.heap[--this.length]}}class M{#a;#f;#g;#w;#R;#z;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#n;#m;#s;#i;#t;#l;#u;#h;#r;#S;#o;#b;#y;#d;#_;#O;#c;static unsafeExposeInternals(t){return{starts:t.#y,ttls:t.#d,sizes:t.#b,keyMap:t.#s,keyList:t.#i,valList:t.#t,next:t.#l,prev:t.#u,get head(){return t.#h},get tail(){return t.#r},free:t.#S,isBackgroundFetch:e=>t.#e(e),backgroundFetch:(e,i,s,n)=>t.#W(e,i,s,n),moveToTail:e=>t.#C(e),indexes:e=>t.#E(e),rindexes:e=>t.#A(e),isStale:e=>t.#p(e)}}get max(){return this.#a}get maxSize(){return this.#f}get calculatedSize(){return this.#m}get size(){return this.#n}get fetchMethod(){return this.#R}get memoMethod(){return this.#z}get dispose(){return this.#g}get disposeAfter(){return this.#w}constructor(t){const{max:e=0,ttl:i,ttlResolution:s=1,ttlAutopurge:n,updateAgeOnGet:r,updateAgeOnHas:a,allowStale:h,dispose:l,disposeAfter:w,noDisposeOnSet:c,noUpdateTTL:d,maxSize:u=0,maxEntrySize:v=0,sizeCalculation:g,fetchMethod:b,memoMethod:f,noDeleteOnFetchRejection:S,noDeleteOnStaleGet:_,allowStaleOnFetchRejection:m,allowStaleOnFetchAbort:y,ignoreFetchAbort:C}=t;if(e!==0&&!A(e))throw new TypeError("max option must be a nonnegative integer");const E=e?X(e):Array;if(!E)throw new Error("invalid max value: "+e);if(this.#a=e,this.#f=u,this.maxEntrySize=v||this.#f,this.sizeCalculation=g,this.sizeCalculation){if(!this.#f&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(f!==void 0&&typeof f!="function")throw new TypeError("memoMethod must be a function if defined");if(this.#z=f,b!==void 0&&typeof b!="function")throw new TypeError("fetchMethod must be a function if specified");if(this.#R=b,this.#O=!!b,this.#s=new Map,this.#i=new Array(e).fill(void 0),this.#t=new Array(e).fill(void 0),this.#l=new E(e),this.#u=new E(e),this.#h=0,this.#r=0,this.#S=x.create(e),this.#n=0,this.#m=0,typeof l=="function"&&(this.#g=l),typeof w=="function"?(this.#w=w,this.#o=[]):(this.#w=void 0,this.#o=void 0),this.#_=!!this.#g,this.#c=!!this.#w,this.noDisposeOnSet=!!c,this.noUpdateTTL=!!d,this.noDeleteOnFetchRejection=!!S,this.allowStaleOnFetchRejection=!!m,this.allowStaleOnFetchAbort=!!y,this.ignoreFetchAbort=!!C,this.maxEntrySize!==0){if(this.#f!==0&&!A(this.#f))throw new TypeError("maxSize must be a positive integer if specified");if(!A(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");this.#$()}if(this.allowStale=!!h,this.noDeleteOnStaleGet=!!_,this.updateAgeOnGet=!!r,this.updateAgeOnHas=!!a,this.ttlResolution=A(s)||s===0?s:1,this.ttlAutopurge=!!n,this.ttl=i||0,this.ttl){if(!A(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.#U()}if(this.#a===0&&this.ttl===0&&this.#f===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#a&&!this.#f){const L="LRU_CACHE_UNBOUNDED";st(L)&&(H.add(L),Y("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",L,M))}}getRemainingTTL(t){return this.#s.has(t)?1/0:0}#U(){const t=new D(this.#a),e=new D(this.#a);this.#d=t,this.#y=e,this.#I=(n,r,a=T.now())=>{if(e[n]=r!==0?a:0,t[n]=r,r!==0&&this.ttlAutopurge){const h=setTimeout(()=>{this.#p(n)&&this.#v(this.#i[n],"expire")},r+1);h.unref&&h.unref()}},this.#T=n=>{e[n]=t[n]!==0?T.now():0},this.#F=(n,r)=>{if(t[r]){const a=t[r],h=e[r];if(!a||!h)return;n.ttl=a,n.start=h,n.now=i||s();const l=n.now-h;n.remainingTTL=a-l}};let i=0;const s=()=>{const n=T.now();if(this.ttlResolution>0){i=n;const r=setTimeout(()=>i=0,this.ttlResolution);r.unref&&r.unref()}return n};this.getRemainingTTL=n=>{const r=this.#s.get(n);if(r===void 0)return 0;const a=t[r],h=e[r];if(!a||!h)return 1/0;const l=(i||s())-h;return a-l},this.#p=n=>{const r=e[n],a=t[n];return!!a&&!!r&&(i||s())-r>a}}#T=()=>{};#F=()=>{};#I=()=>{};#p=()=>!1;#$(){const t=new D(this.#a);this.#m=0,this.#b=t,this.#x=e=>{this.#m-=t[e],t[e]=0},this.#G=(e,i,s,n)=>{if(this.#e(i))return 0;if(!A(s))if(n){if(typeof n!="function")throw new TypeError("sizeCalculation must be a function");if(s=n(i,e),!A(s))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return s},this.#L=(e,i,s)=>{if(t[e]=i,this.#f){const n=this.#f-t[e];for(;this.#m>n;)this.#D(!0)}this.#m+=t[e],s&&(s.entrySize=i,s.totalCalculatedSize=this.#m)}}#x=t=>{};#L=(t,e,i)=>{};#G=(t,e,i,s)=>{if(i||s)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0};*#E({allowStale:t=this.allowStale}={}){if(this.#n)for(let e=this.#r;!(!this.#k(e)||((t||!this.#p(e))&&(yield e),e===this.#h));)e=this.#u[e]}*#A({allowStale:t=this.allowStale}={}){if(this.#n)for(let e=this.#h;!(!this.#k(e)||((t||!this.#p(e))&&(yield e),e===this.#r));)e=this.#l[e]}#k(t){return t!==void 0&&this.#s.get(this.#i[t])===t}*entries(){for(const t of this.#E())this.#t[t]!==void 0&&this.#i[t]!==void 0&&!this.#e(this.#t[t])&&(yield[this.#i[t],this.#t[t]])}*rentries(){for(const t of this.#A())this.#t[t]!==void 0&&this.#i[t]!==void 0&&!this.#e(this.#t[t])&&(yield[this.#i[t],this.#t[t]])}*keys(){for(const t of this.#E()){const e=this.#i[t];e!==void 0&&!this.#e(this.#t[t])&&(yield e)}}*rkeys(){for(const t of this.#A()){const e=this.#i[t];e!==void 0&&!this.#e(this.#t[t])&&(yield e)}}*values(){for(const t of this.#E())this.#t[t]!==void 0&&!this.#e(this.#t[t])&&(yield this.#t[t])}*rvalues(){for(const t of this.#A())this.#t[t]!==void 0&&!this.#e(this.#t[t])&&(yield this.#t[t])}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(t,e={}){for(const i of this.#E()){const s=this.#t[i],n=this.#e(s)?s.__staleWhileFetching:s;if(n!==void 0&&t(n,this.#i[i],this))return this.get(this.#i[i],e)}}forEach(t,e=this){for(const i of this.#E()){const s=this.#t[i],n=this.#e(s)?s.__staleWhileFetching:s;n!==void 0&&t.call(e,n,this.#i[i],this)}}rforEach(t,e=this){for(const i of this.#A()){const s=this.#t[i],n=this.#e(s)?s.__staleWhileFetching:s;n!==void 0&&t.call(e,n,this.#i[i],this)}}purgeStale(){let t=!1;for(const e of this.#A({allowStale:!0}))this.#p(e)&&(this.#v(this.#i[e],"expire"),t=!0);return t}info(t){const e=this.#s.get(t);if(e===void 0)return;const i=this.#t[e],s=this.#e(i)?i.__staleWhileFetching:i;if(s===void 0)return;const n={value:s};if(this.#d&&this.#y){const r=this.#d[e],a=this.#y[e];if(r&&a){const h=r-(T.now()-a);n.ttl=h,n.start=Date.now()}}return this.#b&&(n.size=this.#b[e]),n}dump(){const t=[];for(const e of this.#E({allowStale:!0})){const i=this.#i[e],s=this.#t[e],n=this.#e(s)?s.__staleWhileFetching:s;if(n===void 0||i===void 0)continue;const r={value:n};if(this.#d&&this.#y){r.ttl=this.#d[e];const a=T.now()-this.#y[e];r.start=Math.floor(Date.now()-a)}this.#b&&(r.size=this.#b[e]),t.unshift([i,r])}return t}load(t){this.clear();for(const[e,i]of t){if(i.start){const s=Date.now()-i.start;i.start=T.now()-s}this.set(e,i.value,i)}}set(t,e,i={}){if(e===void 0)return this.delete(t),this;const{ttl:s=this.ttl,start:n,noDisposeOnSet:r=this.noDisposeOnSet,sizeCalculation:a=this.sizeCalculation,status:h}=i;let{noUpdateTTL:l=this.noUpdateTTL}=i;const w=this.#G(t,e,i.size||0,a);if(this.maxEntrySize&&w>this.maxEntrySize)return h&&(h.set="miss",h.maxEntrySizeExceeded=!0),this.#v(t,"set"),this;let c=this.#n===0?void 0:this.#s.get(t);if(c===void 0)c=this.#n===0?this.#r:this.#S.length!==0?this.#S.pop():this.#n===this.#a?this.#D(!1):this.#n,this.#i[c]=t,this.#t[c]=e,this.#s.set(t,c),this.#l[this.#r]=c,this.#u[c]=this.#r,this.#r=c,this.#n++,this.#L(c,w,h),h&&(h.set="add"),l=!1;else{this.#C(c);const d=this.#t[c];if(e!==d){if(this.#O&&this.#e(d)){d.__abortController.abort(new Error("replaced"));const{__staleWhileFetching:u}=d;u!==void 0&&!r&&(this.#_&&this.#g?.(u,t,"set"),this.#c&&this.#o?.push([u,t,"set"]))}else r||(this.#_&&this.#g?.(d,t,"set"),this.#c&&this.#o?.push([d,t,"set"]));if(this.#x(c),this.#L(c,w,h),this.#t[c]=e,h){h.set="replace";const u=d&&this.#e(d)?d.__staleWhileFetching:d;u!==void 0&&(h.oldValue=u)}}else h&&(h.set="update")}if(s!==0&&!this.#d&&this.#U(),this.#d&&(l||this.#I(c,s,n),h&&this.#F(h,c)),!r&&this.#c&&this.#o){const d=this.#o;let u;for(;u=d?.shift();)this.#w?.(...u)}return this}pop(){try{for(;this.#n;){const t=this.#t[this.#h];if(this.#D(!0),this.#e(t)){if(t.__staleWhileFetching)return t.__staleWhileFetching}else if(t!==void 0)return t}}finally{if(this.#c&&this.#o){const t=this.#o;let e;for(;e=t?.shift();)this.#w?.(...e)}}}#D(t){const e=this.#h,i=this.#i[e],s=this.#t[e];return this.#O&&this.#e(s)?s.__abortController.abort(new Error("evicted")):(this.#_||this.#c)&&(this.#_&&this.#g?.(s,i,"evict"),this.#c&&this.#o?.push([s,i,"evict"])),this.#x(e),t&&(this.#i[e]=void 0,this.#t[e]=void 0,this.#S.push(e)),this.#n===1?(this.#h=this.#r=0,this.#S.length=0):this.#h=this.#l[e],this.#s.delete(i),this.#n--,e}has(t,e={}){const{updateAgeOnHas:i=this.updateAgeOnHas,status:s}=e,n=this.#s.get(t);if(n!==void 0){const r=this.#t[n];if(this.#e(r)&&r.__staleWhileFetching===void 0)return!1;if(this.#p(n))s&&(s.has="stale",this.#F(s,n));else return i&&this.#T(n),s&&(s.has="hit",this.#F(s,n)),!0}else s&&(s.has="miss");return!1}peek(t,e={}){const{allowStale:i=this.allowStale}=e,s=this.#s.get(t);if(s===void 0||!i&&this.#p(s))return;const n=this.#t[s];return this.#e(n)?n.__staleWhileFetching:n}#W(t,e,i,s){const n=e===void 0?void 0:this.#t[e];if(this.#e(n))return n;const r=new W,{signal:a}=i;a?.addEventListener("abort",()=>r.abort(a.reason),{signal:r.signal});const h={signal:r.signal,options:i,context:s},l=(g,b=!1)=>{const{aborted:f}=r.signal,S=i.ignoreFetchAbort&&g!==void 0;if(i.status&&(f&&!b?(i.status.fetchAborted=!0,i.status.fetchError=r.signal.reason,S&&(i.status.fetchAbortIgnored=!0)):i.status.fetchResolved=!0),f&&!S&&!b)return c(r.signal.reason);const _=u;return this.#t[e]===u&&(g===void 0?_.__staleWhileFetching?this.#t[e]=_.__staleWhileFetching:this.#v(t,"fetch"):(i.status&&(i.status.fetchUpdated=!0),this.set(t,g,h.options))),g},w=g=>(i.status&&(i.status.fetchRejected=!0,i.status.fetchError=g),c(g)),c=g=>{const{aborted:b}=r.signal,f=b&&i.allowStaleOnFetchAbort,S=f||i.allowStaleOnFetchRejection,_=S||i.noDeleteOnFetchRejection,m=u;if(this.#t[e]===u&&(!_||m.__staleWhileFetching===void 0?this.#v(t,"fetch"):f||(this.#t[e]=m.__staleWhileFetching)),S)return i.status&&m.__staleWhileFetching!==void 0&&(i.status.returnedStale=!0),m.__staleWhileFetching;if(m.__returned===m)throw g},d=(g,b)=>{const f=this.#R?.(t,n,h);f&&f instanceof Promise&&f.then(S=>g(S===void 0?void 0:S),b),r.signal.addEventListener("abort",()=>{(!i.ignoreFetchAbort||i.allowStaleOnFetchAbort)&&(g(void 0),i.allowStaleOnFetchAbort&&(g=S=>l(S,!0)))})};i.status&&(i.status.fetchDispatched=!0);const u=new Promise(d).then(l,w),v=Object.assign(u,{__abortController:r,__staleWhileFetching:n,__returned:void 0});return e===void 0?(this.set(t,v,{...h.options,status:void 0}),e=this.#s.get(t)):this.#t[e]=v,v}#e(t){if(!this.#O)return!1;const e=t;return!!e&&e instanceof Promise&&e.hasOwnProperty("__staleWhileFetching")&&e.__abortController instanceof W}async fetch(t,e={}){const{allowStale:i=this.allowStale,updateAgeOnGet:s=this.updateAgeOnGet,noDeleteOnStaleGet:n=this.noDeleteOnStaleGet,ttl:r=this.ttl,noDisposeOnSet:a=this.noDisposeOnSet,size:h=0,sizeCalculation:l=this.sizeCalculation,noUpdateTTL:w=this.noUpdateTTL,noDeleteOnFetchRejection:c=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:d=this.allowStaleOnFetchRejection,ignoreFetchAbort:u=this.ignoreFetchAbort,allowStaleOnFetchAbort:v=this.allowStaleOnFetchAbort,context:g,forceRefresh:b=!1,status:f,signal:S}=e;if(!this.#O)return f&&(f.fetch="get"),this.get(t,{allowStale:i,updateAgeOnGet:s,noDeleteOnStaleGet:n,status:f});const _={allowStale:i,updateAgeOnGet:s,noDeleteOnStaleGet:n,ttl:r,noDisposeOnSet:a,size:h,sizeCalculation:l,noUpdateTTL:w,noDeleteOnFetchRejection:c,allowStaleOnFetchRejection:d,allowStaleOnFetchAbort:v,ignoreFetchAbort:u,status:f,signal:S};let m=this.#s.get(t);if(m===void 0){f&&(f.fetch="miss");const y=this.#W(t,m,_,g);return y.__returned=y}else{const y=this.#t[m];if(this.#e(y)){const N=i&&y.__staleWhileFetching!==void 0;return f&&(f.fetch="inflight",N&&(f.returnedStale=!0)),N?y.__staleWhileFetching:y.__returned=y}const C=this.#p(m);if(!b&&!C)return f&&(f.fetch="hit"),this.#C(m),s&&this.#T(m),f&&this.#F(f,m),y;const E=this.#W(t,m,_,g),U=E.__staleWhileFetching!==void 0&&i;return f&&(f.fetch=C?"stale":"refresh",U&&C&&(f.returnedStale=!0)),U?E.__staleWhileFetching:E.__returned=E}}async forceFetch(t,e={}){const i=await this.fetch(t,e);if(i===void 0)throw new Error("fetch() returned undefined");return i}memo(t,e={}){const i=this.#z;if(!i)throw new Error("no memoMethod provided to constructor");const{context:s,forceRefresh:n,...r}=e,a=this.get(t,r);if(!n&&a!==void 0)return a;const h=i(t,a,{options:r,context:s});return this.set(t,h,r),h}get(t,e={}){const{allowStale:i=this.allowStale,updateAgeOnGet:s=this.updateAgeOnGet,noDeleteOnStaleGet:n=this.noDeleteOnStaleGet,status:r}=e,a=this.#s.get(t);if(a!==void 0){const h=this.#t[a],l=this.#e(h);return r&&this.#F(r,a),this.#p(a)?(r&&(r.get="stale"),l?(r&&i&&h.__staleWhileFetching!==void 0&&(r.returnedStale=!0),i?h.__staleWhileFetching:void 0):(n||this.#v(t,"expire"),r&&i&&(r.returnedStale=!0),i?h:void 0)):(r&&(r.get="hit"),l?h.__staleWhileFetching:(this.#C(a),s&&this.#T(a),h))}else r&&(r.get="miss")}#M(t,e){this.#u[e]=t,this.#l[t]=e}#C(t){t!==this.#r&&(t===this.#h?this.#h=this.#l[t]:this.#M(this.#u[t],this.#l[t]),this.#M(this.#r,t),this.#r=t)}delete(t){return this.#v(t,"delete")}#v(t,e){let i=!1;if(this.#n!==0){const s=this.#s.get(t);if(s!==void 0)if(i=!0,this.#n===1)this.#N(e);else{this.#x(s);const n=this.#t[s];if(this.#e(n)?n.__abortController.abort(new Error("deleted")):(this.#_||this.#c)&&(this.#_&&this.#g?.(n,t,e),this.#c&&this.#o?.push([n,t,e])),this.#s.delete(t),this.#i[s]=void 0,this.#t[s]=void 0,s===this.#r)this.#r=this.#u[s];else if(s===this.#h)this.#h=this.#l[s];else{const r=this.#u[s];this.#l[r]=this.#l[s];const a=this.#l[s];this.#u[a]=this.#u[s]}this.#n--,this.#S.push(s)}}if(this.#c&&this.#o?.length){const s=this.#o;let n;for(;n=s?.shift();)this.#w?.(...n)}return i}clear(){return this.#N("delete")}#N(t){for(const e of this.#A({allowStale:!0})){const i=this.#t[e];if(this.#e(i))i.__abortController.abort(new Error("deleted"));else{const s=this.#i[e];this.#_&&this.#g?.(i,s,t),this.#c&&this.#o?.push([i,s,t])}}if(this.#s.clear(),this.#t.fill(void 0),this.#i.fill(void 0),this.#d&&this.#y&&(this.#d.fill(0),this.#y.fill(0)),this.#b&&this.#b.fill(0),this.#h=0,this.#r=0,this.#S.length=0,this.#m=0,this.#n=0,this.#c&&this.#o){const e=this.#o;let i;for(;i=e?.shift();)this.#w?.(...i)}}}const O=new M({max:128});function G(o,t,e){return[o?"esm":"cjs",t,...e||[]].join("\0")}const J=Symbol("runCtx");function nt(o,t){let e=t.recreateContext?void 0:o.protocol.cache.get(J);if(e){if(t.globals)for(const[i,s]of Object.entries(t.globals))e.context[i]=s}else{const i={log:(...n)=>o.log(n,"info"),info:(...n)=>o.log(n,"info"),warn:(...n)=>o.log(n,"warn"),error:(...n)=>o.log(n,"error")},s=R.createContext({...t.globals,console:i});e={modules:{},context:s},o.protocol.cache.set(J,e)}for(const i of t.functions??[]){let s=G(!1,i.code,i.params),n=O.get(s),r=R.compileFunction(i.code,i.params,{parsingContext:e.context,cachedData:n,produceCachedData:!n});e.context[i.name]=r}for(const i of t.modules??[]){const s=G(!0,i.code);let n=O.get(s),r=new R.SourceTextModule(i.code,{identifier:i.name,context:e.context,cachedData:n});if(!n){let a=r.createCachedData();O.set(s,a)}e.modules[i.name]=r}return e}async function rt(o,t){let e=process.hrtime.bigint(),i=nt(t,o),s;if(!o.code)return{};const n=G(!o.expr,o.code);if(o.expr){let h=O.get(n),l=new R.Script(o.code,{filename:o.name||"<script>",cachedData:h});h||O.set(n,l.createCachedData()),s=l.runInContext(i.context,{timeout:o.timeoutMs??void 0}),typeof s?.then=="function"&&(s=await s)}else{async function h(c,d){const u=i.modules[c];if(u)return u;throw new Error(`Module not found: ${c}, referenced from ${d.identifier}`)}let l=O.get(n),w=new R.SourceTextModule(o.code,{identifier:o.name||"<script>",context:i.context,cachedData:l});if(!l){let c=w.createCachedData();c&&O.set(n,c)}await w.link(h),await w.evaluate()}const r=o.returnKeys?Object.fromEntries(o.returnKeys.map(h=>[h,i.context[h]])):i.context;let a=Number(process.hrtime.bigint()-e)/1e3;return p(`Evaluated in ${a}us`),{globals:r,returnValue:s}}function ot(o){p(`Worker ${process.pid} started`);const t=q.createServer(),e=()=>{p(`Worker ${process.pid} is shutting down`),t.close(()=>process.exit(0))};process.on("message",s=>{p(`Worker ${process.pid} received message: ${s}`),s=="shutdown"&&(p(`Worker ${process.pid} received shutdown message`),e())}),F.worker?.send("ready"),process.on("SIGTERM",e),process.on("SIGINT",e);function i(s){let n=new it(s);n.on("message",r=>ht(n,r))}t.on("error",s=>{console.error(s),process.exit(1)}),t.listen(o,()=>{p(`Worker ${process.pid} is listening on ${o}`),t.on("connection",i)})}function ht(o,{id:t,reqId:e,type:i,data:s}){if(i===k.Ping){o.sendMessage(e,z.Pong,Buffer.alloc(0));return}let n=process.hrtime.bigint(),r=!1;const a={protocol:o,reqId:e,id:t,log(h,l="info"){p(`${e}[${l}]:`,h),o.log(e,l,h)},respond(h){r=!0,o.respond(e,h)},error(h){p(`${e}: `,h.message),o.error(e,h)}};at(a,i,s).then(h=>{(h!=null||!r)&&a.respond(h??null);let l=Number(process.hrtime.bigint()-n)/1e3;p(`handle: ${l}us`)}).catch(h=>{p("Failed to handle request:"),a.error(h)})}async function at(o,t,e){switch(t){case k.RunScript:return rt(JSON.parse(e.toString()),o)}}if(F.isPrimary){let o=function(){if(n)return;let a=F.fork({SOCKET_PATH:s});a.on("message",h=>{h==="ready"&&n&&a.send("shutdown")})};const t=process.argv[1],{values:e}=Z({options:{workers:{type:"string",default:Q.cpus().length.toString()},socket:{type:"string"}}}),i=parseInt(e.workers??"1",10),s=e.socket;let n=!1;if(!s)throw new Error("No socket path provided");process.on("exit",()=>{try{$.unlinkSync(s)}catch{}});const r=()=>{p("shutting down"),n&&process.exit(1),n=!0;for(let a of Object.values(F.workers??{}))a?.send("shutdown",()=>{})};process.on("SIGTERM",r),process.on("SIGINT",r),F.on("online",a=>{p("online",a.process.pid,n),n&&a.kill("SIGKILL")}),F.on("exit",(a,h,l)=>{if(p("exit",a.process.pid,h,l,n,s),!n&&!$.existsSync(t)&&(p(`${s} script is gone, shutting down`),r()),n){const w=Object.values(F.workers??{}).map(c=>c?.process.pid);p(s,"remaining workers:",w),w.length==0&&process.exit(0);return}p(l?`Worker ${a.process.pid} died with signal ${l}. Restarting...`:`Worker ${a.process.pid} died with code ${h}. Restarting...`),o()}),p(`Primary ${process.pid} is running, starting ${i} workers and connecting to ${s}`);for(let a=0;a<i;a++)o()}else ot(process.env.SOCKET_PATH);
[INFO] [stderr]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
[INFO] [stderr] 
[INFO] [stderr] SyntaxError: Unexpected token '.'
[INFO] [stderr]     at Loader.moduleStrategy (internal/modules/esm/translators.js:133:18)
[INFO] [stderr]     at async link (internal/modules/esm/module_job.js:42:21)
[INFO] [stderr] file:///tmp/js_sidecaralhUEW.mjs:1
[INFO] [stderr] import F from"node:cluster";import Q from"node:os";import $ from"node:fs";import{parseArgs as Z}from"node:util";import q from"node:net";import{EventEmitter as tt}from"node:events";import*as R from"node:vm";var k=(o=>(o[o.RunScript=0]="RunScript",o[o.Ping=1]="Ping",o))(k||{}),z=(o=>(o[o.RunResponse=4096]="RunResponse",o[o.Log=4097]="Log",o[o.Error=4098]="Error",o[o.Pong=4099]="Pong",o))(z||{});const et=!!process.env.DEBUG_JS_SIDECAR_WORKER;function p(...o){et&&console.log(...o)}const j=12,P=0,K=4,B=8;class it extends tt{socket;buffer;expectedLength;id;cache=new Map;constructor(t){super(),this.socket=t,this.buffer=Buffer.alloc(0),this.expectedLength=null,this.id=0,this.socket.on("data",e=>this.handleData(e))}handleData(t){for(this.buffer=Buffer.concat([this.buffer,t]);this.buffer.length>0;){if(this.expectedLength===null){if(this.buffer.length<4)return;this.expectedLength=this.buffer.readUInt32LE(0),this.buffer=this.buffer.subarray(4)}if(this.buffer.length<this.expectedLength)return;const e=this.buffer.readUInt32LE(P),i=this.buffer.readUInt32LE(K),s=this.buffer.readUInt32LE(B),n=this.buffer.subarray(12,this.expectedLength);this.buffer=this.buffer.subarray(this.expectedLength),this.expectedLength=null;const r={id:i,reqId:e,type:s,data:n};this.emit("message",r)}}sendMessage(t,e,i){p("Sending message",t,e,i),i instanceof Buffer||(i=Buffer.from(i));let s=this.id++;const n=Buffer.allocUnsafe(j+4);return n.writeUInt32LE(i.length+j),n.writeUInt32LE(t,P+4),n.writeUInt32LE(s,K+4),n.writeUInt32LE(e,B+4),this.socket.write(Buffer.concat([n,i])),s}log(t,e,i){let s=JSON.stringify({level:e,message:i});this.sendMessage(t,z.Log,s)}respond(t,e){this.sendMessage(t,z.RunResponse,JSON.stringify(e))}error(t,e){let i={message:e.message,stack:e.stack},s=JSON.stringify(i);this.sendMessage(t,z.Error,s)}}const T=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,H=new Set,I=typeof process=="object"&&process?process:{},Y=(o,t,e,i)=>{typeof I.emitWarning=="function"?I.emitWarning(o,t,e,i):console.error(`[${e}] ${t}: ${o}`)};let W=globalThis.AbortController,V=globalThis.AbortSignal;if(typeof W>"u"){V=class{onabort;_onabort=[];reason;aborted=!1;addEventListener(i,s){this._onabort.push(s)}},W=class{constructor(){t()}signal=new V;abort(i){if(!this.signal.aborted){this.signal.reason=i,this.signal.aborted=!0;for(const s of this.signal._onabort)s(i);this.signal.onabort?.(i)}}};let o=I.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1";const t=()=>{o&&(o=!1,Y("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",t))}}const st=o=>!H.has(o),A=o=>o&&o===Math.floor(o)&&o>0&&isFinite(o),X=o=>A(o)?o<=Math.pow(2,8)?Uint8Array:o<=Math.pow(2,16)?Uint16Array:o<=Math.pow(2,32)?Uint32Array:o<=Number.MAX_SAFE_INTEGER?D:null:null;class D extends Array{constructor(t){super(t),this.fill(0)}}class x{heap;length;static#a=!1;static create(t){const e=X(t);if(!e)return[];x.#a=!0;const i=new x(t,e);return x.#a=!1,i}constructor(t,e){if(!x.#a)throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new e(t),this.length=0}push(t){this.heap[this.length++]=t}pop(){return this.heap[--this.length]}}class M{#a;#f;#g;#w;#R;#z;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#n;#m;#s;#i;#t;#l;#u;#h;#r;#S;#o;#b;#y;#d;#_;#O;#c;static unsafeExposeInternals(t){return{starts:t.#y,ttls:t.#d,sizes:t.#b,keyMap:t.#s,keyList:t.#i,valList:t.#t,next:t.#l,prev:t.#u,get head(){return t.#h},get tail(){return t.#r},free:t.#S,isBackgroundFetch:e=>t.#e(e),backgroundFetch:(e,i,s,n)=>t.#W(e,i,s,n),moveToTail:e=>t.#C(e),indexes:e=>t.#E(e),rindexes:e=>t.#A(e),isStale:e=>t.#p(e)}}get max(){return this.#a}get maxSize(){return this.#f}get calculatedSize(){return this.#m}get size(){return this.#n}get fetchMethod(){return this.#R}get memoMethod(){return this.#z}get dispose(){return this.#g}get disposeAfter(){return this.#w}constructor(t){const{max:e=0,ttl:i,ttlResolution:s=1,ttlAutopurge:n,updateAgeOnGet:r,updateAgeOnHas:a,allowStale:h,dispose:l,disposeAfter:w,noDisposeOnSet:c,noUpdateTTL:d,maxSize:u=0,maxEntrySize:v=0,sizeCalculation:g,fetchMethod:b,memoMethod:f,noDeleteOnFetchRejection:S,noDeleteOnStaleGet:_,allowStaleOnFetchRejection:m,allowStaleOnFetchAbort:y,ignoreFetchAbort:C}=t;if(e!==0&&!A(e))throw new TypeError("max option must be a nonnegative integer");const E=e?X(e):Array;if(!E)throw new Error("invalid max value: "+e);if(this.#a=e,this.#f=u,this.maxEntrySize=v||this.#f,this.sizeCalculation=g,this.sizeCalculation){if(!this.#f&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(f!==void 0&&typeof f!="function")throw new TypeError("memoMethod must be a function if defined");if(this.#z=f,b!==void 0&&typeof b!="function")throw new TypeError("fetchMethod must be a function if specified");if(this.#R=b,this.#O=!!b,this.#s=new Map,this.#i=new Array(e).fill(void 0),this.#t=new Array(e).fill(void 0),this.#l=new E(e),this.#u=new E(e),this.#h=0,this.#r=0,this.#S=x.create(e),this.#n=0,this.#m=0,typeof l=="function"&&(this.#g=l),typeof w=="function"?(this.#w=w,this.#o=[]):(this.#w=void 0,this.#o=void 0),this.#_=!!this.#g,this.#c=!!this.#w,this.noDisposeOnSet=!!c,this.noUpdateTTL=!!d,this.noDeleteOnFetchRejection=!!S,this.allowStaleOnFetchRejection=!!m,this.allowStaleOnFetchAbort=!!y,this.ignoreFetchAbort=!!C,this.maxEntrySize!==0){if(this.#f!==0&&!A(this.#f))throw new TypeError("maxSize must be a positive integer if specified");if(!A(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");this.#$()}if(this.allowStale=!!h,this.noDeleteOnStaleGet=!!_,this.updateAgeOnGet=!!r,this.updateAgeOnHas=!!a,this.ttlResolution=A(s)||s===0?s:1,this.ttlAutopurge=!!n,this.ttl=i||0,this.ttl){if(!A(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.#U()}if(this.#a===0&&this.ttl===0&&this.#f===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#a&&!this.#f){const L="LRU_CACHE_UNBOUNDED";st(L)&&(H.add(L),Y("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",L,M))}}getRemainingTTL(t){return this.#s.has(t)?1/0:0}#U(){const t=new D(this.#a),e=new D(this.#a);this.#d=t,this.#y=e,this.#I=(n,r,a=T.now())=>{if(e[n]=r!==0?a:0,t[n]=r,r!==0&&this.ttlAutopurge){const h=setTimeout(()=>{this.#p(n)&&this.#v(this.#i[n],"expire")},r+1);h.unref&&h.unref()}},this.#T=n=>{e[n]=t[n]!==0?T.now():0},this.#F=(n,r)=>{if(t[r]){const a=t[r],h=e[r];if(!a||!h)return;n.ttl=a,n.start=h,n.now=i||s();const l=n.now-h;n.remainingTTL=a-l}};let i=0;const s=()=>{const n=T.now();if(this.ttlResolution>0){i=n;const r=setTimeout(()=>i=0,this.ttlResolution);r.unref&&r.unref()}return n};this.getRemainingTTL=n=>{const r=this.#s.get(n);if(r===void 0)return 0;const a=t[r],h=e[r];if(!a||!h)return 1/0;const l=(i||s())-h;return a-l},this.#p=n=>{const r=e[n],a=t[n];return!!a&&!!r&&(i||s())-r>a}}#T=()=>{};#F=()=>{};#I=()=>{};#p=()=>!1;#$(){const t=new D(this.#a);this.#m=0,this.#b=t,this.#x=e=>{this.#m-=t[e],t[e]=0},this.#G=(e,i,s,n)=>{if(this.#e(i))return 0;if(!A(s))if(n){if(typeof n!="function")throw new TypeError("sizeCalculation must be a function");if(s=n(i,e),!A(s))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return s},this.#L=(e,i,s)=>{if(t[e]=i,this.#f){const n=this.#f-t[e];for(;this.#m>n;)this.#D(!0)}this.#m+=t[e],s&&(s.entrySize=i,s.totalCalculatedSize=this.#m)}}#x=t=>{};#L=(t,e,i)=>{};#G=(t,e,i,s)=>{if(i||s)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0};*#E({allowStale:t=this.allowStale}={}){if(this.#n)for(let e=this.#r;!(!this.#k(e)||((t||!this.#p(e))&&(yield e),e===this.#h));)e=this.#u[e]}*#A({allowStale:t=this.allowStale}={}){if(this.#n)for(let e=this.#h;!(!this.#k(e)||((t||!this.#p(e))&&(yield e),e===this.#r));)e=this.#l[e]}#k(t){return t!==void 0&&this.#s.get(this.#i[t])===t}*entries(){for(const t of this.#E())this.#t[t]!==void 0&&this.#i[t]!==void 0&&!this.#e(this.#t[t])&&(yield[this.#i[t],this.#t[t]])}*rentries(){for(const t of this.#A())this.#t[t]!==void 0&&this.#i[t]!==void 0&&!this.#e(this.#t[t])&&(yield[this.#i[t],this.#t[t]])}*keys(){for(const t of this.#E()){const e=this.#i[t];e!==void 0&&!this.#e(this.#t[t])&&(yield e)}}*rkeys(){for(const t of this.#A()){const e=this.#i[t];e!==void 0&&!this.#e(this.#t[t])&&(yield e)}}*values(){for(const t of this.#E())this.#t[t]!==void 0&&!this.#e(this.#t[t])&&(yield this.#t[t])}*rvalues(){for(const t of this.#A())this.#t[t]!==void 0&&!this.#e(this.#t[t])&&(yield this.#t[t])}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(t,e={}){for(const i of this.#E()){const s=this.#t[i],n=this.#e(s)?s.__staleWhileFetching:s;if(n!==void 0&&t(n,this.#i[i],this))return this.get(this.#i[i],e)}}forEach(t,e=this){for(const i of this.#E()){const s=this.#t[i],n=this.#e(s)?s.__staleWhileFetching:s;n!==void 0&&t.call(e,n,this.#i[i],this)}}rforEach(t,e=this){for(const i of this.#A()){const s=this.#t[i],n=this.#e(s)?s.__staleWhileFetching:s;n!==void 0&&t.call(e,n,this.#i[i],this)}}purgeStale(){let t=!1;for(const e of this.#A({allowStale:!0}))this.#p(e)&&(this.#v(this.#i[e],"expire"),t=!0);return t}info(t){const e=this.#s.get(t);if(e===void 0)return;const i=this.#t[e],s=this.#e(i)?i.__staleWhileFetching:i;if(s===void 0)return;const n={value:s};if(this.#d&&this.#y){const r=this.#d[e],a=this.#y[e];if(r&&a){const h=r-(T.now()-a);n.ttl=h,n.start=Date.now()}}return this.#b&&(n.size=this.#b[e]),n}dump(){const t=[];for(const e of this.#E({allowStale:!0})){const i=this.#i[e],s=this.#t[e],n=this.#e(s)?s.__staleWhileFetching:s;if(n===void 0||i===void 0)continue;const r={value:n};if(this.#d&&this.#y){r.ttl=this.#d[e];const a=T.now()-this.#y[e];r.start=Math.floor(Date.now()-a)}this.#b&&(r.size=this.#b[e]),t.unshift([i,r])}return t}load(t){this.clear();for(const[e,i]of t){if(i.start){const s=Date.now()-i.start;i.start=T.now()-s}this.set(e,i.value,i)}}set(t,e,i={}){if(e===void 0)return this.delete(t),this;const{ttl:s=this.ttl,start:n,noDisposeOnSet:r=this.noDisposeOnSet,sizeCalculation:a=this.sizeCalculation,status:h}=i;let{noUpdateTTL:l=this.noUpdateTTL}=i;const w=this.#G(t,e,i.size||0,a);if(this.maxEntrySize&&w>this.maxEntrySize)return h&&(h.set="miss",h.maxEntrySizeExceeded=!0),this.#v(t,"set"),this;let c=this.#n===0?void 0:this.#s.get(t);if(c===void 0)c=this.#n===0?this.#r:this.#S.length!==0?this.#S.pop():this.#n===this.#a?this.#D(!1):this.#n,this.#i[c]=t,this.#t[c]=e,this.#s.set(t,c),this.#l[this.#r]=c,this.#u[c]=this.#r,this.#r=c,this.#n++,this.#L(c,w,h),h&&(h.set="add"),l=!1;else{this.#C(c);const d=this.#t[c];if(e!==d){if(this.#O&&this.#e(d)){d.__abortController.abort(new Error("replaced"));const{__staleWhileFetching:u}=d;u!==void 0&&!r&&(this.#_&&this.#g?.(u,t,"set"),this.#c&&this.#o?.push([u,t,"set"]))}else r||(this.#_&&this.#g?.(d,t,"set"),this.#c&&this.#o?.push([d,t,"set"]));if(this.#x(c),this.#L(c,w,h),this.#t[c]=e,h){h.set="replace";const u=d&&this.#e(d)?d.__staleWhileFetching:d;u!==void 0&&(h.oldValue=u)}}else h&&(h.set="update")}if(s!==0&&!this.#d&&this.#U(),this.#d&&(l||this.#I(c,s,n),h&&this.#F(h,c)),!r&&this.#c&&this.#o){const d=this.#o;let u;for(;u=d?.shift();)this.#w?.(...u)}return this}pop(){try{for(;this.#n;){const t=this.#t[this.#h];if(this.#D(!0),this.#e(t)){if(t.__staleWhileFetching)return t.__staleWhileFetching}else if(t!==void 0)return t}}finally{if(this.#c&&this.#o){const t=this.#o;let e;for(;e=t?.shift();)this.#w?.(...e)}}}#D(t){const e=this.#h,i=this.#i[e],s=this.#t[e];return this.#O&&this.#e(s)?s.__abortController.abort(new Error("evicted")):(this.#_||this.#c)&&(this.#_&&this.#g?.(s,i,"evict"),this.#c&&this.#o?.push([s,i,"evict"])),this.#x(e),t&&(this.#i[e]=void 0,this.#t[e]=void 0,this.#S.push(e)),this.#n===1?(this.#h=this.#r=0,this.#S.length=0):this.#h=this.#l[e],this.#s.delete(i),this.#n--,e}has(t,e={}){const{updateAgeOnHas:i=this.updateAgeOnHas,status:s}=e,n=this.#s.get(t);if(n!==void 0){const r=this.#t[n];if(this.#e(r)&&r.__staleWhileFetching===void 0)return!1;if(this.#p(n))s&&(s.has="stale",this.#F(s,n));else return i&&this.#T(n),s&&(s.has="hit",this.#F(s,n)),!0}else s&&(s.has="miss");return!1}peek(t,e={}){const{allowStale:i=this.allowStale}=e,s=this.#s.get(t);if(s===void 0||!i&&this.#p(s))return;const n=this.#t[s];return this.#e(n)?n.__staleWhileFetching:n}#W(t,e,i,s){const n=e===void 0?void 0:this.#t[e];if(this.#e(n))return n;const r=new W,{signal:a}=i;a?.addEventListener("abort",()=>r.abort(a.reason),{signal:r.signal});const h={signal:r.signal,options:i,context:s},l=(g,b=!1)=>{const{aborted:f}=r.signal,S=i.ignoreFetchAbort&&g!==void 0;if(i.status&&(f&&!b?(i.status.fetchAborted=!0,i.status.fetchError=r.signal.reason,S&&(i.status.fetchAbortIgnored=!0)):i.status.fetchResolved=!0),f&&!S&&!b)return c(r.signal.reason);const _=u;return this.#t[e]===u&&(g===void 0?_.__staleWhileFetching?this.#t[e]=_.__staleWhileFetching:this.#v(t,"fetch"):(i.status&&(i.status.fetchUpdated=!0),this.set(t,g,h.options))),g},w=g=>(i.status&&(i.status.fetchRejected=!0,i.status.fetchError=g),c(g)),c=g=>{const{aborted:b}=r.signal,f=b&&i.allowStaleOnFetchAbort,S=f||i.allowStaleOnFetchRejection,_=S||i.noDeleteOnFetchRejection,m=u;if(this.#t[e]===u&&(!_||m.__staleWhileFetching===void 0?this.#v(t,"fetch"):f||(this.#t[e]=m.__staleWhileFetching)),S)return i.status&&m.__staleWhileFetching!==void 0&&(i.status.returnedStale=!0),m.__staleWhileFetching;if(m.__returned===m)throw g},d=(g,b)=>{const f=this.#R?.(t,n,h);f&&f instanceof Promise&&f.then(S=>g(S===void 0?void 0:S),b),r.signal.addEventListener("abort",()=>{(!i.ignoreFetchAbort||i.allowStaleOnFetchAbort)&&(g(void 0),i.allowStaleOnFetchAbort&&(g=S=>l(S,!0)))})};i.status&&(i.status.fetchDispatched=!0);const u=new Promise(d).then(l,w),v=Object.assign(u,{__abortController:r,__staleWhileFetching:n,__returned:void 0});return e===void 0?(this.set(t,v,{...h.options,status:void 0}),e=this.#s.get(t)):this.#t[e]=v,v}#e(t){if(!this.#O)return!1;const e=t;return!!e&&e instanceof Promise&&e.hasOwnProperty("__staleWhileFetching")&&e.__abortController instanceof W}async fetch(t,e={}){const{allowStale:i=this.allowStale,updateAgeOnGet:s=this.updateAgeOnGet,noDeleteOnStaleGet:n=this.noDeleteOnStaleGet,ttl:r=this.ttl,noDisposeOnSet:a=this.noDisposeOnSet,size:h=0,sizeCalculation:l=this.sizeCalculation,noUpdateTTL:w=this.noUpdateTTL,noDeleteOnFetchRejection:c=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:d=this.allowStaleOnFetchRejection,ignoreFetchAbort:u=this.ignoreFetchAbort,allowStaleOnFetchAbort:v=this.allowStaleOnFetchAbort,context:g,forceRefresh:b=!1,status:f,signal:S}=e;if(!this.#O)return f&&(f.fetch="get"),this.get(t,{allowStale:i,updateAgeOnGet:s,noDeleteOnStaleGet:n,status:f});const _={allowStale:i,updateAgeOnGet:s,noDeleteOnStaleGet:n,ttl:r,noDisposeOnSet:a,size:h,sizeCalculation:l,noUpdateTTL:w,noDeleteOnFetchRejection:c,allowStaleOnFetchRejection:d,allowStaleOnFetchAbort:v,ignoreFetchAbort:u,status:f,signal:S};let m=this.#s.get(t);if(m===void 0){f&&(f.fetch="miss");const y=this.#W(t,m,_,g);return y.__returned=y}else{const y=this.#t[m];if(this.#e(y)){const N=i&&y.__staleWhileFetching!==void 0;return f&&(f.fetch="inflight",N&&(f.returnedStale=!0)),N?y.__staleWhileFetching:y.__returned=y}const C=this.#p(m);if(!b&&!C)return f&&(f.fetch="hit"),this.#C(m),s&&this.#T(m),f&&this.#F(f,m),y;const E=this.#W(t,m,_,g),U=E.__staleWhileFetching!==void 0&&i;return f&&(f.fetch=C?"stale":"refresh",U&&C&&(f.returnedStale=!0)),U?E.__staleWhileFetching:E.__returned=E}}async forceFetch(t,e={}){const i=await this.fetch(t,e);if(i===void 0)throw new Error("fetch() returned undefined");return i}memo(t,e={}){const i=this.#z;if(!i)throw new Error("no memoMethod provided to constructor");const{context:s,forceRefresh:n,...r}=e,a=this.get(t,r);if(!n&&a!==void 0)return a;const h=i(t,a,{options:r,context:s});return this.set(t,h,r),h}get(t,e={}){const{allowStale:i=this.allowStale,updateAgeOnGet:s=this.updateAgeOnGet,noDeleteOnStaleGet:n=this.noDeleteOnStaleGet,status:r}=e,a=this.#s.get(t);if(a!==void 0){const h=this.#t[a],l=this.#e(h);return r&&this.#F(r,a),this.#p(a)?(r&&(r.get="stale"),l?(r&&i&&h.__staleWhileFetching!==void 0&&(r.returnedStale=!0),i?h.__staleWhileFetching:void 0):(n||this.#v(t,"expire"),r&&i&&(r.returnedStale=!0),i?h:void 0)):(r&&(r.get="hit"),l?h.__staleWhileFetching:(this.#C(a),s&&this.#T(a),h))}else r&&(r.get="miss")}#M(t,e){this.#u[e]=t,this.#l[t]=e}#C(t){t!==this.#r&&(t===this.#h?this.#h=this.#l[t]:this.#M(this.#u[t],this.#l[t]),this.#M(this.#r,t),this.#r=t)}delete(t){return this.#v(t,"delete")}#v(t,e){let i=!1;if(this.#n!==0){const s=this.#s.get(t);if(s!==void 0)if(i=!0,this.#n===1)this.#N(e);else{this.#x(s);const n=this.#t[s];if(this.#e(n)?n.__abortController.abort(new Error("deleted")):(this.#_||this.#c)&&(this.#_&&this.#g?.(n,t,e),this.#c&&this.#o?.push([n,t,e])),this.#s.delete(t),this.#i[s]=void 0,this.#t[s]=void 0,s===this.#r)this.#r=this.#u[s];else if(s===this.#h)this.#h=this.#l[s];else{const r=this.#u[s];this.#l[r]=this.#l[s];const a=this.#l[s];this.#u[a]=this.#u[s]}this.#n--,this.#S.push(s)}}if(this.#c&&this.#o?.length){const s=this.#o;let n;for(;n=s?.shift();)this.#w?.(...n)}return i}clear(){return this.#N("delete")}#N(t){for(const e of this.#A({allowStale:!0})){const i=this.#t[e];if(this.#e(i))i.__abortController.abort(new Error("deleted"));else{const s=this.#i[e];this.#_&&this.#g?.(i,s,t),this.#c&&this.#o?.push([i,s,t])}}if(this.#s.clear(),this.#t.fill(void 0),this.#i.fill(void 0),this.#d&&this.#y&&(this.#d.fill(0),this.#y.fill(0)),this.#b&&this.#b.fill(0),this.#h=0,this.#r=0,this.#S.length=0,this.#m=0,this.#n=0,this.#c&&this.#o){const e=this.#o;let i;for(;i=e?.shift();)this.#w?.(...i)}}}const O=new M({max:128});function G(o,t,e){return[o?"esm":"cjs",t,...e||[]].join("\0")}const J=Symbol("runCtx");function nt(o,t){let e=t.recreateContext?void 0:o.protocol.cache.get(J);if(e){if(t.globals)for(const[i,s]of Object.entries(t.globals))e.context[i]=s}else{const i={log:(...n)=>o.log(n,"info"),info:(...n)=>o.log(n,"info"),warn:(...n)=>o.log(n,"warn"),error:(...n)=>o.log(n,"error")},s=R.createContext({...t.globals,console:i});e={modules:{},context:s},o.protocol.cache.set(J,e)}for(const i of t.functions??[]){let s=G(!1,i.code,i.params),n=O.get(s),r=R.compileFunction(i.code,i.params,{parsingContext:e.context,cachedData:n,produceCachedData:!n});e.context[i.name]=r}for(const i of t.modules??[]){const s=G(!0,i.code);let n=O.get(s),r=new R.SourceTextModule(i.code,{identifier:i.name,context:e.context,cachedData:n});if(!n){let a=r.createCachedData();O.set(s,a)}e.modules[i.name]=r}return e}async function rt(o,t){let e=process.hrtime.bigint(),i=nt(t,o),s;if(!o.code)return{};const n=G(!o.expr,o.code);if(o.expr){let h=O.get(n),l=new R.Script(o.code,{filename:o.name||"<script>",cachedData:h});h||O.set(n,l.createCachedData()),s=l.runInContext(i.context,{timeout:o.timeoutMs??void 0}),typeof s?.then=="function"&&(s=await s)}else{async function h(c,d){const u=i.modules[c];if(u)return u;throw new Error(`Module not found: ${c}, referenced from ${d.identifier}`)}let l=O.get(n),w=new R.SourceTextModule(o.code,{identifier:o.name||"<script>",context:i.context,cachedData:l});if(!l){let c=w.createCachedData();c&&O.set(n,c)}await w.link(h),await w.evaluate()}const r=o.returnKeys?Object.fromEntries(o.returnKeys.map(h=>[h,i.context[h]])):i.context;let a=Number(process.hrtime.bigint()-e)/1e3;return p(`Evaluated in ${a}us`),{globals:r,returnValue:s}}function ot(o){p(`Worker ${process.pid} started`);const t=q.createServer(),e=()=>{p(`Worker ${process.pid} is shutting down`),t.close(()=>process.exit(0))};process.on("message",s=>{p(`Worker ${process.pid} received message: ${s}`),s=="shutdown"&&(p(`Worker ${process.pid} received shutdown message`),e())}),F.worker?.send("ready"),process.on("SIGTERM",e),process.on("SIGINT",e);function i(s){let n=new it(s);n.on("message",r=>ht(n,r))}t.on("error",s=>{console.error(s),process.exit(1)}),t.listen(o,()=>{p(`Worker ${process.pid} is listening on ${o}`),t.on("connection",i)})}function ht(o,{id:t,reqId:e,type:i,data:s}){if(i===k.Ping){o.sendMessage(e,z.Pong,Buffer.alloc(0));return}let n=process.hrtime.bigint(),r=!1;const a={protocol:o,reqId:e,id:t,log(h,l="info"){p(`${e}[${l}]:`,h),o.log(e,l,h)},respond(h){r=!0,o.respond(e,h)},error(h){p(`${e}: `,h.message),o.error(e,h)}};at(a,i,s).then(h=>{(h!=null||!r)&&a.respond(h??null);let l=Number(process.hrtime.bigint()-n)/1e3;p(`handle: ${l}us`)}).catch(h=>{p("Failed to handle request:"),a.error(h)})}async function at(o,t,e){switch(t){case k.RunScript:return rt(JSON.parse(e.toString()),o)}}if(F.isPrimary){let o=function(){if(n)return;let a=F.fork({SOCKET_PATH:s});a.on("message",h=>{h==="ready"&&n&&a.send("shutdown")})};const t=process.argv[1],{values:e}=Z({options:{workers:{type:"string",default:Q.cpus().length.toString()},socket:{type:"string"}}}),i=parseInt(e.workers??"1",10),s=e.socket;let n=!1;if(!s)throw new Error("No socket path provided");process.on("exit",()=>{try{$.unlinkSync(s)}catch{}});const r=()=>{p("shutting down"),n&&process.exit(1),n=!0;for(let a of Object.values(F.workers??{}))a?.send("shutdown",()=>{})};process.on("SIGTERM",r),process.on("SIGINT",r),F.on("online",a=>{p("online",a.process.pid,n),n&&a.kill("SIGKILL")}),F.on("exit",(a,h,l)=>{if(p("exit",a.process.pid,h,l,n,s),!n&&!$.existsSync(t)&&(p(`${s} script is gone, shutting down`),r()),n){const w=Object.values(F.workers??{}).map(c=>c?.process.pid);p(s,"remaining workers:",w),w.length==0&&process.exit(0);return}p(l?`Worker ${a.process.pid} died with signal ${l}. Restarting...`:`Worker ${a.process.pid} died with code ${h}. Restarting...`),o()}),p(`Primary ${process.pid} is running, starting ${i} workers and connecting to ${s}`);for(let a=0;a<i;a++)o()}else ot(process.env.SOCKET_PATH);
[INFO] [stderr]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
[INFO] [stderr] 
[INFO] [stderr] SyntaxError: Unexpected token '.'
[INFO] [stderr]     at Loader.moduleStrategy (internal/modules/esm/translators.js:133:18)
[INFO] [stderr]     at async link (internal/modules/esm/module_job.js:42:21)
[INFO] [stderr] file:///tmp/js_sidecarKDalli.mjs:1
[INFO] [stderr] import F from"node:cluster";import Q from"node:os";import $ from"node:fs";import{parseArgs as Z}from"node:util";import q from"node:net";import{EventEmitter as tt}from"node:events";import*as R from"node:vm";var k=(o=>(o[o.RunScript=0]="RunScript",o[o.Ping=1]="Ping",o))(k||{}),z=(o=>(o[o.RunResponse=4096]="RunResponse",o[o.Log=4097]="Log",o[o.Error=4098]="Error",o[o.Pong=4099]="Pong",o))(z||{});const et=!!process.env.DEBUG_JS_SIDECAR_WORKER;function p(...o){et&&console.log(...o)}const j=12,P=0,K=4,B=8;class it extends tt{socket;buffer;expectedLength;id;cache=new Map;constructor(t){super(),this.socket=t,this.buffer=Buffer.alloc(0),this.expectedLength=null,this.id=0,this.socket.on("data",e=>this.handleData(e))}handleData(t){for(this.buffer=Buffer.concat([this.buffer,t]);this.buffer.length>0;){if(this.expectedLength===null){if(this.buffer.length<4)return;this.expectedLength=this.buffer.readUInt32LE(0),this.buffer=this.buffer.subarray(4)}if(this.buffer.length<this.expectedLength)return;const e=this.buffer.readUInt32LE(P),i=this.buffer.readUInt32LE(K),s=this.buffer.readUInt32LE(B),n=this.buffer.subarray(12,this.expectedLength);this.buffer=this.buffer.subarray(this.expectedLength),this.expectedLength=null;const r={id:i,reqId:e,type:s,data:n};this.emit("message",r)}}sendMessage(t,e,i){p("Sending message",t,e,i),i instanceof Buffer||(i=Buffer.from(i));let s=this.id++;const n=Buffer.allocUnsafe(j+4);return n.writeUInt32LE(i.length+j),n.writeUInt32LE(t,P+4),n.writeUInt32LE(s,K+4),n.writeUInt32LE(e,B+4),this.socket.write(Buffer.concat([n,i])),s}log(t,e,i){let s=JSON.stringify({level:e,message:i});this.sendMessage(t,z.Log,s)}respond(t,e){this.sendMessage(t,z.RunResponse,JSON.stringify(e))}error(t,e){let i={message:e.message,stack:e.stack},s=JSON.stringify(i);this.sendMessage(t,z.Error,s)}}const T=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,H=new Set,I=typeof process=="object"&&process?process:{},Y=(o,t,e,i)=>{typeof I.emitWarning=="function"?I.emitWarning(o,t,e,i):console.error(`[${e}] ${t}: ${o}`)};let W=globalThis.AbortController,V=globalThis.AbortSignal;if(typeof W>"u"){V=class{onabort;_onabort=[];reason;aborted=!1;addEventListener(i,s){this._onabort.push(s)}},W=class{constructor(){t()}signal=new V;abort(i){if(!this.signal.aborted){this.signal.reason=i,this.signal.aborted=!0;for(const s of this.signal._onabort)s(i);this.signal.onabort?.(i)}}};let o=I.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1";const t=()=>{o&&(o=!1,Y("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",t))}}const st=o=>!H.has(o),A=o=>o&&o===Math.floor(o)&&o>0&&isFinite(o),X=o=>A(o)?o<=Math.pow(2,8)?Uint8Array:o<=Math.pow(2,16)?Uint16Array:o<=Math.pow(2,32)?Uint32Array:o<=Number.MAX_SAFE_INTEGER?D:null:null;class D extends Array{constructor(t){super(t),this.fill(0)}}class x{heap;length;static#a=!1;static create(t){const e=X(t);if(!e)return[];x.#a=!0;const i=new x(t,e);return x.#a=!1,i}constructor(t,e){if(!x.#a)throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new e(t),this.length=0}push(t){this.heap[this.length++]=t}pop(){return this.heap[--this.length]}}class M{#a;#f;#g;#w;#R;#z;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#n;#m;#s;#i;#t;#l;#u;#h;#r;#S;#o;#b;#y;#d;#_;#O;#c;static unsafeExposeInternals(t){return{starts:t.#y,ttls:t.#d,sizes:t.#b,keyMap:t.#s,keyList:t.#i,valList:t.#t,next:t.#l,prev:t.#u,get head(){return t.#h},get tail(){return t.#r},free:t.#S,isBackgroundFetch:e=>t.#e(e),backgroundFetch:(e,i,s,n)=>t.#W(e,i,s,n),moveToTail:e=>t.#C(e),indexes:e=>t.#E(e),rindexes:e=>t.#A(e),isStale:e=>t.#p(e)}}get max(){return this.#a}get maxSize(){return this.#f}get calculatedSize(){return this.#m}get size(){return this.#n}get fetchMethod(){return this.#R}get memoMethod(){return this.#z}get dispose(){return this.#g}get disposeAfter(){return this.#w}constructor(t){const{max:e=0,ttl:i,ttlResolution:s=1,ttlAutopurge:n,updateAgeOnGet:r,updateAgeOnHas:a,allowStale:h,dispose:l,disposeAfter:w,noDisposeOnSet:c,noUpdateTTL:d,maxSize:u=0,maxEntrySize:v=0,sizeCalculation:g,fetchMethod:b,memoMethod:f,noDeleteOnFetchRejection:S,noDeleteOnStaleGet:_,allowStaleOnFetchRejection:m,allowStaleOnFetchAbort:y,ignoreFetchAbort:C}=t;if(e!==0&&!A(e))throw new TypeError("max option must be a nonnegative integer");const E=e?X(e):Array;if(!E)throw new Error("invalid max value: "+e);if(this.#a=e,this.#f=u,this.maxEntrySize=v||this.#f,this.sizeCalculation=g,this.sizeCalculation){if(!this.#f&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(f!==void 0&&typeof f!="function")throw new TypeError("memoMethod must be a function if defined");if(this.#z=f,b!==void 0&&typeof b!="function")throw new TypeError("fetchMethod must be a function if specified");if(this.#R=b,this.#O=!!b,this.#s=new Map,this.#i=new Array(e).fill(void 0),this.#t=new Array(e).fill(void 0),this.#l=new E(e),this.#u=new E(e),this.#h=0,this.#r=0,this.#S=x.create(e),this.#n=0,this.#m=0,typeof l=="function"&&(this.#g=l),typeof w=="function"?(this.#w=w,this.#o=[]):(this.#w=void 0,this.#o=void 0),this.#_=!!this.#g,this.#c=!!this.#w,this.noDisposeOnSet=!!c,this.noUpdateTTL=!!d,this.noDeleteOnFetchRejection=!!S,this.allowStaleOnFetchRejection=!!m,this.allowStaleOnFetchAbort=!!y,this.ignoreFetchAbort=!!C,this.maxEntrySize!==0){if(this.#f!==0&&!A(this.#f))throw new TypeError("maxSize must be a positive integer if specified");if(!A(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");this.#$()}if(this.allowStale=!!h,this.noDeleteOnStaleGet=!!_,this.updateAgeOnGet=!!r,this.updateAgeOnHas=!!a,this.ttlResolution=A(s)||s===0?s:1,this.ttlAutopurge=!!n,this.ttl=i||0,this.ttl){if(!A(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.#U()}if(this.#a===0&&this.ttl===0&&this.#f===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#a&&!this.#f){const L="LRU_CACHE_UNBOUNDED";st(L)&&(H.add(L),Y("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",L,M))}}getRemainingTTL(t){return this.#s.has(t)?1/0:0}#U(){const t=new D(this.#a),e=new D(this.#a);this.#d=t,this.#y=e,this.#I=(n,r,a=T.now())=>{if(e[n]=r!==0?a:0,t[n]=r,r!==0&&this.ttlAutopurge){const h=setTimeout(()=>{this.#p(n)&&this.#v(this.#i[n],"expire")},r+1);h.unref&&h.unref()}},this.#T=n=>{e[n]=t[n]!==0?T.now():0},this.#F=(n,r)=>{if(t[r]){const a=t[r],h=e[r];if(!a||!h)return;n.ttl=a,n.start=h,n.now=i||s();const l=n.now-h;n.remainingTTL=a-l}};let i=0;const s=()=>{const n=T.now();if(this.ttlResolution>0){i=n;const r=setTimeout(()=>i=0,this.ttlResolution);r.unref&&r.unref()}return n};this.getRemainingTTL=n=>{const r=this.#s.get(n);if(r===void 0)return 0;const a=t[r],h=e[r];if(!a||!h)return 1/0;const l=(i||s())-h;return a-l},this.#p=n=>{const r=e[n],a=t[n];return!!a&&!!r&&(i||s())-r>a}}#T=()=>{};#F=()=>{};#I=()=>{};#p=()=>!1;#$(){const t=new D(this.#a);this.#m=0,this.#b=t,this.#x=e=>{this.#m-=t[e],t[e]=0},this.#G=(e,i,s,n)=>{if(this.#e(i))return 0;if(!A(s))if(n){if(typeof n!="function")throw new TypeError("sizeCalculation must be a function");if(s=n(i,e),!A(s))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return s},this.#L=(e,i,s)=>{if(t[e]=i,this.#f){const n=this.#f-t[e];for(;this.#m>n;)this.#D(!0)}this.#m+=t[e],s&&(s.entrySize=i,s.totalCalculatedSize=this.#m)}}#x=t=>{};#L=(t,e,i)=>{};#G=(t,e,i,s)=>{if(i||s)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0};*#E({allowStale:t=this.allowStale}={}){if(this.#n)for(let e=this.#r;!(!this.#k(e)||((t||!this.#p(e))&&(yield e),e===this.#h));)e=this.#u[e]}*#A({allowStale:t=this.allowStale}={}){if(this.#n)for(let e=this.#h;!(!this.#k(e)||((t||!this.#p(e))&&(yield e),e===this.#r));)e=this.#l[e]}#k(t){return t!==void 0&&this.#s.get(this.#i[t])===t}*entries(){for(const t of this.#E())this.#t[t]!==void 0&&this.#i[t]!==void 0&&!this.#e(this.#t[t])&&(yield[this.#i[t],this.#t[t]])}*rentries(){for(const t of this.#A())this.#t[t]!==void 0&&this.#i[t]!==void 0&&!this.#e(this.#t[t])&&(yield[this.#i[t],this.#t[t]])}*keys(){for(const t of this.#E()){const e=this.#i[t];e!==void 0&&!this.#e(this.#t[t])&&(yield e)}}*rkeys(){for(const t of this.#A()){const e=this.#i[t];e!==void 0&&!this.#e(this.#t[t])&&(yield e)}}*values(){for(const t of this.#E())this.#t[t]!==void 0&&!this.#e(this.#t[t])&&(yield this.#t[t])}*rvalues(){for(const t of this.#A())this.#t[t]!==void 0&&!this.#e(this.#t[t])&&(yield this.#t[t])}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(t,e={}){for(const i of this.#E()){const s=this.#t[i],n=this.#e(s)?s.__staleWhileFetching:s;if(n!==void 0&&t(n,this.#i[i],this))return this.get(this.#i[i],e)}}forEach(t,e=this){for(const i of this.#E()){const s=this.#t[i],n=this.#e(s)?s.__staleWhileFetching:s;n!==void 0&&t.call(e,n,this.#i[i],this)}}rforEach(t,e=this){for(const i of this.#A()){const s=this.#t[i],n=this.#e(s)?s.__staleWhileFetching:s;n!==void 0&&t.call(e,n,this.#i[i],this)}}purgeStale(){let t=!1;for(const e of this.#A({allowStale:!0}))this.#p(e)&&(this.#v(this.#i[e],"expire"),t=!0);return t}info(t){const e=this.#s.get(t);if(e===void 0)return;const i=this.#t[e],s=this.#e(i)?i.__staleWhileFetching:i;if(s===void 0)return;const n={value:s};if(this.#d&&this.#y){const r=this.#d[e],a=this.#y[e];if(r&&a){const h=r-(T.now()-a);n.ttl=h,n.start=Date.now()}}return this.#b&&(n.size=this.#b[e]),n}dump(){const t=[];for(const e of this.#E({allowStale:!0})){const i=this.#i[e],s=this.#t[e],n=this.#e(s)?s.__staleWhileFetching:s;if(n===void 0||i===void 0)continue;const r={value:n};if(this.#d&&this.#y){r.ttl=this.#d[e];const a=T.now()-this.#y[e];r.start=Math.floor(Date.now()-a)}this.#b&&(r.size=this.#b[e]),t.unshift([i,r])}return t}load(t){this.clear();for(const[e,i]of t){if(i.start){const s=Date.now()-i.start;i.start=T.now()-s}this.set(e,i.value,i)}}set(t,e,i={}){if(e===void 0)return this.delete(t),this;const{ttl:s=this.ttl,start:n,noDisposeOnSet:r=this.noDisposeOnSet,sizeCalculation:a=this.sizeCalculation,status:h}=i;let{noUpdateTTL:l=this.noUpdateTTL}=i;const w=this.#G(t,e,i.size||0,a);if(this.maxEntrySize&&w>this.maxEntrySize)return h&&(h.set="miss",h.maxEntrySizeExceeded=!0),this.#v(t,"set"),this;let c=this.#n===0?void 0:this.#s.get(t);if(c===void 0)c=this.#n===0?this.#r:this.#S.length!==0?this.#S.pop():this.#n===this.#a?this.#D(!1):this.#n,this.#i[c]=t,this.#t[c]=e,this.#s.set(t,c),this.#l[this.#r]=c,this.#u[c]=this.#r,this.#r=c,this.#n++,this.#L(c,w,h),h&&(h.set="add"),l=!1;else{this.#C(c);const d=this.#t[c];if(e!==d){if(this.#O&&this.#e(d)){d.__abortController.abort(new Error("replaced"));const{__staleWhileFetching:u}=d;u!==void 0&&!r&&(this.#_&&this.#g?.(u,t,"set"),this.#c&&this.#o?.push([u,t,"set"]))}else r||(this.#_&&this.#g?.(d,t,"set"),this.#c&&this.#o?.push([d,t,"set"]));if(this.#x(c),this.#L(c,w,h),this.#t[c]=e,h){h.set="replace";const u=d&&this.#e(d)?d.__staleWhileFetching:d;u!==void 0&&(h.oldValue=u)}}else h&&(h.set="update")}if(s!==0&&!this.#d&&this.#U(),this.#d&&(l||this.#I(c,s,n),h&&this.#F(h,c)),!r&&this.#c&&this.#o){const d=this.#o;let u;for(;u=d?.shift();)this.#w?.(...u)}return this}pop(){try{for(;this.#n;){const t=this.#t[this.#h];if(this.#D(!0),this.#e(t)){if(t.__staleWhileFetching)return t.__staleWhileFetching}else if(t!==void 0)return t}}finally{if(this.#c&&this.#o){const t=this.#o;let e;for(;e=t?.shift();)this.#w?.(...e)}}}#D(t){const e=this.#h,i=this.#i[e],s=this.#t[e];return this.#O&&this.#e(s)?s.__abortController.abort(new Error("evicted")):(this.#_||this.#c)&&(this.#_&&this.#g?.(s,i,"evict"),this.#c&&this.#o?.push([s,i,"evict"])),this.#x(e),t&&(this.#i[e]=void 0,this.#t[e]=void 0,this.#S.push(e)),this.#n===1?(this.#h=this.#r=0,this.#S.length=0):this.#h=this.#l[e],this.#s.delete(i),this.#n--,e}has(t,e={}){const{updateAgeOnHas:i=this.updateAgeOnHas,status:s}=e,n=this.#s.get(t);if(n!==void 0){const r=this.#t[n];if(this.#e(r)&&r.__staleWhileFetching===void 0)return!1;if(this.#p(n))s&&(s.has="stale",this.#F(s,n));else return i&&this.#T(n),s&&(s.has="hit",this.#F(s,n)),!0}else s&&(s.has="miss");return!1}peek(t,e={}){const{allowStale:i=this.allowStale}=e,s=this.#s.get(t);if(s===void 0||!i&&this.#p(s))return;const n=this.#t[s];return this.#e(n)?n.__staleWhileFetching:n}#W(t,e,i,s){const n=e===void 0?void 0:this.#t[e];if(this.#e(n))return n;const r=new W,{signal:a}=i;a?.addEventListener("abort",()=>r.abort(a.reason),{signal:r.signal});const h={signal:r.signal,options:i,context:s},l=(g,b=!1)=>{const{aborted:f}=r.signal,S=i.ignoreFetchAbort&&g!==void 0;if(i.status&&(f&&!b?(i.status.fetchAborted=!0,i.status.fetchError=r.signal.reason,S&&(i.status.fetchAbortIgnored=!0)):i.status.fetchResolved=!0),f&&!S&&!b)return c(r.signal.reason);const _=u;return this.#t[e]===u&&(g===void 0?_.__staleWhileFetching?this.#t[e]=_.__staleWhileFetching:this.#v(t,"fetch"):(i.status&&(i.status.fetchUpdated=!0),this.set(t,g,h.options))),g},w=g=>(i.status&&(i.status.fetchRejected=!0,i.status.fetchError=g),c(g)),c=g=>{const{aborted:b}=r.signal,f=b&&i.allowStaleOnFetchAbort,S=f||i.allowStaleOnFetchRejection,_=S||i.noDeleteOnFetchRejection,m=u;if(this.#t[e]===u&&(!_||m.__staleWhileFetching===void 0?this.#v(t,"fetch"):f||(this.#t[e]=m.__staleWhileFetching)),S)return i.status&&m.__staleWhileFetching!==void 0&&(i.status.returnedStale=!0),m.__staleWhileFetching;if(m.__returned===m)throw g},d=(g,b)=>{const f=this.#R?.(t,n,h);f&&f instanceof Promise&&f.then(S=>g(S===void 0?void 0:S),b),r.signal.addEventListener("abort",()=>{(!i.ignoreFetchAbort||i.allowStaleOnFetchAbort)&&(g(void 0),i.allowStaleOnFetchAbort&&(g=S=>l(S,!0)))})};i.status&&(i.status.fetchDispatched=!0);const u=new Promise(d).then(l,w),v=Object.assign(u,{__abortController:r,__staleWhileFetching:n,__returned:void 0});return e===void 0?(this.set(t,v,{...h.options,status:void 0}),e=this.#s.get(t)):this.#t[e]=v,v}#e(t){if(!this.#O)return!1;const e=t;return!!e&&e instanceof Promise&&e.hasOwnProperty("__staleWhileFetching")&&e.__abortController instanceof W}async fetch(t,e={}){const{allowStale:i=this.allowStale,updateAgeOnGet:s=this.updateAgeOnGet,noDeleteOnStaleGet:n=this.noDeleteOnStaleGet,ttl:r=this.ttl,noDisposeOnSet:a=this.noDisposeOnSet,size:h=0,sizeCalculation:l=this.sizeCalculation,noUpdateTTL:w=this.noUpdateTTL,noDeleteOnFetchRejection:c=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:d=this.allowStaleOnFetchRejection,ignoreFetchAbort:u=this.ignoreFetchAbort,allowStaleOnFetchAbort:v=this.allowStaleOnFetchAbort,context:g,forceRefresh:b=!1,status:f,signal:S}=e;if(!this.#O)return f&&(f.fetch="get"),this.get(t,{allowStale:i,updateAgeOnGet:s,noDeleteOnStaleGet:n,status:f});const _={allowStale:i,updateAgeOnGet:s,noDeleteOnStaleGet:n,ttl:r,noDisposeOnSet:a,size:h,sizeCalculation:l,noUpdateTTL:w,noDeleteOnFetchRejection:c,allowStaleOnFetchRejection:d,allowStaleOnFetchAbort:v,ignoreFetchAbort:u,status:f,signal:S};let m=this.#s.get(t);if(m===void 0){f&&(f.fetch="miss");const y=this.#W(t,m,_,g);return y.__returned=y}else{const y=this.#t[m];if(this.#e(y)){const N=i&&y.__staleWhileFetching!==void 0;return f&&(f.fetch="inflight",N&&(f.returnedStale=!0)),N?y.__staleWhileFetching:y.__returned=y}const C=this.#p(m);if(!b&&!C)return f&&(f.fetch="hit"),this.#C(m),s&&this.#T(m),f&&this.#F(f,m),y;const E=this.#W(t,m,_,g),U=E.__staleWhileFetching!==void 0&&i;return f&&(f.fetch=C?"stale":"refresh",U&&C&&(f.returnedStale=!0)),U?E.__staleWhileFetching:E.__returned=E}}async forceFetch(t,e={}){const i=await this.fetch(t,e);if(i===void 0)throw new Error("fetch() returned undefined");return i}memo(t,e={}){const i=this.#z;if(!i)throw new Error("no memoMethod provided to constructor");const{context:s,forceRefresh:n,...r}=e,a=this.get(t,r);if(!n&&a!==void 0)return a;const h=i(t,a,{options:r,context:s});return this.set(t,h,r),h}get(t,e={}){const{allowStale:i=this.allowStale,updateAgeOnGet:s=this.updateAgeOnGet,noDeleteOnStaleGet:n=this.noDeleteOnStaleGet,status:r}=e,a=this.#s.get(t);if(a!==void 0){const h=this.#t[a],l=this.#e(h);return r&&this.#F(r,a),this.#p(a)?(r&&(r.get="stale"),l?(r&&i&&h.__staleWhileFetching!==void 0&&(r.returnedStale=!0),i?h.__staleWhileFetching:void 0):(n||this.#v(t,"expire"),r&&i&&(r.returnedStale=!0),i?h:void 0)):(r&&(r.get="hit"),l?h.__staleWhileFetching:(this.#C(a),s&&this.#T(a),h))}else r&&(r.get="miss")}#M(t,e){this.#u[e]=t,this.#l[t]=e}#C(t){t!==this.#r&&(t===this.#h?this.#h=this.#l[t]:this.#M(this.#u[t],this.#l[t]),this.#M(this.#r,t),this.#r=t)}delete(t){return this.#v(t,"delete")}#v(t,e){let i=!1;if(this.#n!==0){const s=this.#s.get(t);if(s!==void 0)if(i=!0,this.#n===1)this.#N(e);else{this.#x(s);const n=this.#t[s];if(this.#e(n)?n.__abortController.abort(new Error("deleted")):(this.#_||this.#c)&&(this.#_&&this.#g?.(n,t,e),this.#c&&this.#o?.push([n,t,e])),this.#s.delete(t),this.#i[s]=void 0,this.#t[s]=void 0,s===this.#r)this.#r=this.#u[s];else if(s===this.#h)this.#h=this.#l[s];else{const r=this.#u[s];this.#l[r]=this.#l[s];const a=this.#l[s];this.#u[a]=this.#u[s]}this.#n--,this.#S.push(s)}}if(this.#c&&this.#o?.length){const s=this.#o;let n;for(;n=s?.shift();)this.#w?.(...n)}return i}clear(){return this.#N("delete")}#N(t){for(const e of this.#A({allowStale:!0})){const i=this.#t[e];if(this.#e(i))i.__abortController.abort(new Error("deleted"));else{const s=this.#i[e];this.#_&&this.#g?.(i,s,t),this.#c&&this.#o?.push([i,s,t])}}if(this.#s.clear(),this.#t.fill(void 0),this.#i.fill(void 0),this.#d&&this.#y&&(this.#d.fill(0),this.#y.fill(0)),this.#b&&this.#b.fill(0),this.#h=0,this.#r=0,this.#S.length=0,this.#m=0,this.#n=0,this.#c&&this.#o){const e=this.#o;let i;for(;i=e?.shift();)this.#w?.(...i)}}}const O=new M({max:128});function G(o,t,e){return[o?"esm":"cjs",t,...e||[]].join("\0")}const J=Symbol("runCtx");function nt(o,t){let e=t.recreateContext?void 0:o.protocol.cache.get(J);if(e){if(t.globals)for(const[i,s]of Object.entries(t.globals))e.context[i]=s}else{const i={log:(...n)=>o.log(n,"info"),info:(...n)=>o.log(n,"info"),warn:(...n)=>o.log(n,"warn"),error:(...n)=>o.log(n,"error")},s=R.createContext({...t.globals,console:i});e={modules:{},context:s},o.protocol.cache.set(J,e)}for(const i of t.functions??[]){let s=G(!1,i.code,i.params),n=O.get(s),r=R.compileFunction(i.code,i.params,{parsingContext:e.context,cachedData:n,produceCachedData:!n});e.context[i.name]=r}for(const i of t.modules??[]){const s=G(!0,i.code);let n=O.get(s),r=new R.SourceTextModule(i.code,{identifier:i.name,context:e.context,cachedData:n});if(!n){let a=r.createCachedData();O.set(s,a)}e.modules[i.name]=r}return e}async function rt(o,t){let e=process.hrtime.bigint(),i=nt(t,o),s;if(!o.code)return{};const n=G(!o.expr,o.code);if(o.expr){let h=O.get(n),l=new R.Script(o.code,{filename:o.name||"<script>",cachedData:h});h||O.set(n,l.createCachedData()),s=l.runInContext(i.context,{timeout:o.timeoutMs??void 0}),typeof s?.then=="function"&&(s=await s)}else{async function h(c,d){const u=i.modules[c];if(u)return u;throw new Error(`Module not found: ${c}, referenced from ${d.identifier}`)}let l=O.get(n),w=new R.SourceTextModule(o.code,{identifier:o.name||"<script>",context:i.context,cachedData:l});if(!l){let c=w.createCachedData();c&&O.set(n,c)}await w.link(h),await w.evaluate()}const r=o.returnKeys?Object.fromEntries(o.returnKeys.map(h=>[h,i.context[h]])):i.context;let a=Number(process.hrtime.bigint()-e)/1e3;return p(`Evaluated in ${a}us`),{globals:r,returnValue:s}}function ot(o){p(`Worker ${process.pid} started`);const t=q.createServer(),e=()=>{p(`Worker ${process.pid} is shutting down`),t.close(()=>process.exit(0))};process.on("message",s=>{p(`Worker ${process.pid} received message: ${s}`),s=="shutdown"&&(p(`Worker ${process.pid} received shutdown message`),e())}),F.worker?.send("ready"),process.on("SIGTERM",e),process.on("SIGINT",e);function i(s){let n=new it(s);n.on("message",r=>ht(n,r))}t.on("error",s=>{console.error(s),process.exit(1)}),t.listen(o,()=>{p(`Worker ${process.pid} is listening on ${o}`),t.on("connection",i)})}function ht(o,{id:t,reqId:e,type:i,data:s}){if(i===k.Ping){o.sendMessage(e,z.Pong,Buffer.alloc(0));return}let n=process.hrtime.bigint(),r=!1;const a={protocol:o,reqId:e,id:t,log(h,l="info"){p(`${e}[${l}]:`,h),o.log(e,l,h)},respond(h){r=!0,o.respond(e,h)},error(h){p(`${e}: `,h.message),o.error(e,h)}};at(a,i,s).then(h=>{(h!=null||!r)&&a.respond(h??null);let l=Number(process.hrtime.bigint()-n)/1e3;p(`handle: ${l}us`)}).catch(h=>{p("Failed to handle request:"),a.error(h)})}async function at(o,t,e){switch(t){case k.RunScript:return rt(JSON.parse(e.toString()),o)}}if(F.isPrimary){let o=function(){if(n)return;let a=F.fork({SOCKET_PATH:s});a.on("message",h=>{h==="ready"&&n&&a.send("shutdown")})};const t=process.argv[1],{values:e}=Z({options:{workers:{type:"string",default:Q.cpus().length.toString()},socket:{type:"string"}}}),i=parseInt(e.workers??"1",10),s=e.socket;let n=!1;if(!s)throw new Error("No socket path provided");process.on("exit",()=>{try{$.unlinkSync(s)}catch{}});const r=()=>{p("shutting down"),n&&process.exit(1),n=!0;for(let a of Object.values(F.workers??{}))a?.send("shutdown",()=>{})};process.on("SIGTERM",r),process.on("SIGINT",r),F.on("online",a=>{p("online",a.process.pid,n),n&&a.kill("SIGKILL")}),F.on("exit",(a,h,l)=>{if(p("exit",a.process.pid,h,l,n,s),!n&&!$.existsSync(t)&&(p(`${s} script is gone, shutting down`),r()),n){const w=Object.values(F.workers??{}).map(c=>c?.process.pid);p(s,"remaining workers:",w),w.length==0&&process.exit(0);return}p(l?`Worker ${a.process.pid} died with signal ${l}. Restarting...`:`Worker ${a.process.pid} died with code ${h}. Restarting...`),o()}),p(`Primary ${process.pid} is running, starting ${i} workers and connecting to ${s}`);for(let a=0;a<i;a++)o()}else ot(process.env.SOCKET_PATH);
[INFO] [stderr]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
[INFO] [stderr] 
[INFO] [stderr] SyntaxError: Unexpected token '.'
[INFO] [stderr]     at Loader.moduleStrategy (internal/modules/esm/translators.js:133:18)
[INFO] [stderr]     at async link (internal/modules/esm/module_job.js:42:21)
[INFO] [stderr] file:///tmp/js_sidecarj7Navf.mjs:1
[INFO] [stderr] import F from"node:cluster";import Q from"node:os";import $ from"node:fs";import{parseArgs as Z}from"node:util";import q from"node:net";import{EventEmitter as tt}from"node:events";import*as R from"node:vm";var k=(o=>(o[o.RunScript=0]="RunScript",o[o.Ping=1]="Ping",o))(k||{}),z=(o=>(o[o.RunResponse=4096]="RunResponse",o[o.Log=4097]="Log",o[o.Error=4098]="Error",o[o.Pong=4099]="Pong",o))(z||{});const et=!!process.env.DEBUG_JS_SIDECAR_WORKER;function p(...o){et&&console.log(...o)}const j=12,P=0,K=4,B=8;class it extends tt{socket;buffer;expectedLength;id;cache=new Map;constructor(t){super(),this.socket=t,this.buffer=Buffer.alloc(0),this.expectedLength=null,this.id=0,this.socket.on("data",e=>this.handleData(e))}handleData(t){for(this.buffer=Buffer.concat([this.buffer,t]);this.buffer.length>0;){if(this.expectedLength===null){if(this.buffer.length<4)return;this.expectedLength=this.buffer.readUInt32LE(0),this.buffer=this.buffer.subarray(4)}if(this.buffer.length<this.expectedLength)return;const e=this.buffer.readUInt32LE(P),i=this.buffer.readUInt32LE(K),s=this.buffer.readUInt32LE(B),n=this.buffer.subarray(12,this.expectedLength);this.buffer=this.buffer.subarray(this.expectedLength),this.expectedLength=null;const r={id:i,reqId:e,type:s,data:n};this.emit("message",r)}}sendMessage(t,e,i){p("Sending message",t,e,i),i instanceof Buffer||(i=Buffer.from(i));let s=this.id++;const n=Buffer.allocUnsafe(j+4);return n.writeUInt32LE(i.length+j),n.writeUInt32LE(t,P+4),n.writeUInt32LE(s,K+4),n.writeUInt32LE(e,B+4),this.socket.write(Buffer.concat([n,i])),s}log(t,e,i){let s=JSON.stringify({level:e,message:i});this.sendMessage(t,z.Log,s)}respond(t,e){this.sendMessage(t,z.RunResponse,JSON.stringify(e))}error(t,e){let i={message:e.message,stack:e.stack},s=JSON.stringify(i);this.sendMessage(t,z.Error,s)}}const T=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,H=new Set,I=typeof process=="object"&&process?process:{},Y=(o,t,e,i)=>{typeof I.emitWarning=="function"?I.emitWarning(o,t,e,i):console.error(`[${e}] ${t}: ${o}`)};let W=globalThis.AbortController,V=globalThis.AbortSignal;if(typeof W>"u"){V=class{onabort;_onabort=[];reason;aborted=!1;addEventListener(i,s){this._onabort.push(s)}},W=class{constructor(){t()}signal=new V;abort(i){if(!this.signal.aborted){this.signal.reason=i,this.signal.aborted=!0;for(const s of this.signal._onabort)s(i);this.signal.onabort?.(i)}}};let o=I.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1";const t=()=>{o&&(o=!1,Y("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",t))}}const st=o=>!H.has(o),A=o=>o&&o===Math.floor(o)&&o>0&&isFinite(o),X=o=>A(o)?o<=Math.pow(2,8)?Uint8Array:o<=Math.pow(2,16)?Uint16Array:o<=Math.pow(2,32)?Uint32Array:o<=Number.MAX_SAFE_INTEGER?D:null:null;class D extends Array{constructor(t){super(t),this.fill(0)}}class x{heap;length;static#a=!1;static create(t){const e=X(t);if(!e)return[];x.#a=!0;const i=new x(t,e);return x.#a=!1,i}constructor(t,e){if(!x.#a)throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new e(t),this.length=0}push(t){this.heap[this.length++]=t}pop(){return this.heap[--this.length]}}class M{#a;#f;#g;#w;#R;#z;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#n;#m;#s;#i;#t;#l;#u;#h;#r;#S;#o;#b;#y;#d;#_;#O;#c;static unsafeExposeInternals(t){return{starts:t.#y,ttls:t.#d,sizes:t.#b,keyMap:t.#s,keyList:t.#i,valList:t.#t,next:t.#l,prev:t.#u,get head(){return t.#h},get tail(){return t.#r},free:t.#S,isBackgroundFetch:e=>t.#e(e),backgroundFetch:(e,i,s,n)=>t.#W(e,i,s,n),moveToTail:e=>t.#C(e),indexes:e=>t.#E(e),rindexes:e=>t.#A(e),isStale:e=>t.#p(e)}}get max(){return this.#a}get maxSize(){return this.#f}get calculatedSize(){return this.#m}get size(){return this.#n}get fetchMethod(){return this.#R}get memoMethod(){return this.#z}get dispose(){return this.#g}get disposeAfter(){return this.#w}constructor(t){const{max:e=0,ttl:i,ttlResolution:s=1,ttlAutopurge:n,updateAgeOnGet:r,updateAgeOnHas:a,allowStale:h,dispose:l,disposeAfter:w,noDisposeOnSet:c,noUpdateTTL:d,maxSize:u=0,maxEntrySize:v=0,sizeCalculation:g,fetchMethod:b,memoMethod:f,noDeleteOnFetchRejection:S,noDeleteOnStaleGet:_,allowStaleOnFetchRejection:m,allowStaleOnFetchAbort:y,ignoreFetchAbort:C}=t;if(e!==0&&!A(e))throw new TypeError("max option must be a nonnegative integer");const E=e?X(e):Array;if(!E)throw new Error("invalid max value: "+e);if(this.#a=e,this.#f=u,this.maxEntrySize=v||this.#f,this.sizeCalculation=g,this.sizeCalculation){if(!this.#f&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(f!==void 0&&typeof f!="function")throw new TypeError("memoMethod must be a function if defined");if(this.#z=f,b!==void 0&&typeof b!="function")throw new TypeError("fetchMethod must be a function if specified");if(this.#R=b,this.#O=!!b,this.#s=new Map,this.#i=new Array(e).fill(void 0),this.#t=new Array(e).fill(void 0),this.#l=new E(e),this.#u=new E(e),this.#h=0,this.#r=0,this.#S=x.create(e),this.#n=0,this.#m=0,typeof l=="function"&&(this.#g=l),typeof w=="function"?(this.#w=w,this.#o=[]):(this.#w=void 0,this.#o=void 0),this.#_=!!this.#g,this.#c=!!this.#w,this.noDisposeOnSet=!!c,this.noUpdateTTL=!!d,this.noDeleteOnFetchRejection=!!S,this.allowStaleOnFetchRejection=!!m,this.allowStaleOnFetchAbort=!!y,this.ignoreFetchAbort=!!C,this.maxEntrySize!==0){if(this.#f!==0&&!A(this.#f))throw new TypeError("maxSize must be a positive integer if specified");if(!A(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");this.#$()}if(this.allowStale=!!h,this.noDeleteOnStaleGet=!!_,this.updateAgeOnGet=!!r,this.updateAgeOnHas=!!a,this.ttlResolution=A(s)||s===0?s:1,this.ttlAutopurge=!!n,this.ttl=i||0,this.ttl){if(!A(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.#U()}if(this.#a===0&&this.ttl===0&&this.#f===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#a&&!this.#f){const L="LRU_CACHE_UNBOUNDED";st(L)&&(H.add(L),Y("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",L,M))}}getRemainingTTL(t){return this.#s.has(t)?1/0:0}#U(){const t=new D(this.#a),e=new D(this.#a);this.#d=t,this.#y=e,this.#I=(n,r,a=T.now())=>{if(e[n]=r!==0?a:0,t[n]=r,r!==0&&this.ttlAutopurge){const h=setTimeout(()=>{this.#p(n)&&this.#v(this.#i[n],"expire")},r+1);h.unref&&h.unref()}},this.#T=n=>{e[n]=t[n]!==0?T.now():0},this.#F=(n,r)=>{if(t[r]){const a=t[r],h=e[r];if(!a||!h)return;n.ttl=a,n.start=h,n.now=i||s();const l=n.now-h;n.remainingTTL=a-l}};let i=0;const s=()=>{const n=T.now();if(this.ttlResolution>0){i=n;const r=setTimeout(()=>i=0,this.ttlResolution);r.unref&&r.unref()}return n};this.getRemainingTTL=n=>{const r=this.#s.get(n);if(r===void 0)return 0;const a=t[r],h=e[r];if(!a||!h)return 1/0;const l=(i||s())-h;return a-l},this.#p=n=>{const r=e[n],a=t[n];return!!a&&!!r&&(i||s())-r>a}}#T=()=>{};#F=()=>{};#I=()=>{};#p=()=>!1;#$(){const t=new D(this.#a);this.#m=0,this.#b=t,this.#x=e=>{this.#m-=t[e],t[e]=0},this.#G=(e,i,s,n)=>{if(this.#e(i))return 0;if(!A(s))if(n){if(typeof n!="function")throw new TypeError("sizeCalculation must be a function");if(s=n(i,e),!A(s))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return s},this.#L=(e,i,s)=>{if(t[e]=i,this.#f){const n=this.#f-t[e];for(;this.#m>n;)this.#D(!0)}this.#m+=t[e],s&&(s.entrySize=i,s.totalCalculatedSize=this.#m)}}#x=t=>{};#L=(t,e,i)=>{};#G=(t,e,i,s)=>{if(i||s)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0};*#E({allowStale:t=this.allowStale}={}){if(this.#n)for(let e=this.#r;!(!this.#k(e)||((t||!this.#p(e))&&(yield e),e===this.#h));)e=this.#u[e]}*#A({allowStale:t=this.allowStale}={}){if(this.#n)for(let e=this.#h;!(!this.#k(e)||((t||!this.#p(e))&&(yield e),e===this.#r));)e=this.#l[e]}#k(t){return t!==void 0&&this.#s.get(this.#i[t])===t}*entries(){for(const t of this.#E())this.#t[t]!==void 0&&this.#i[t]!==void 0&&!this.#e(this.#t[t])&&(yield[this.#i[t],this.#t[t]])}*rentries(){for(const t of this.#A())this.#t[t]!==void 0&&this.#i[t]!==void 0&&!this.#e(this.#t[t])&&(yield[this.#i[t],this.#t[t]])}*keys(){for(const t of this.#E()){const e=this.#i[t];e!==void 0&&!this.#e(this.#t[t])&&(yield e)}}*rkeys(){for(const t of this.#A()){const e=this.#i[t];e!==void 0&&!this.#e(this.#t[t])&&(yield e)}}*values(){for(const t of this.#E())this.#t[t]!==void 0&&!this.#e(this.#t[t])&&(yield this.#t[t])}*rvalues(){for(const t of this.#A())this.#t[t]!==void 0&&!this.#e(this.#t[t])&&(yield this.#t[t])}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(t,e={}){for(const i of this.#E()){const s=this.#t[i],n=this.#e(s)?s.__staleWhileFetching:s;if(n!==void 0&&t(n,this.#i[i],this))return this.get(this.#i[i],e)}}forEach(t,e=this){for(const i of this.#E()){const s=this.#t[i],n=this.#e(s)?s.__staleWhileFetching:s;n!==void 0&&t.call(e,n,this.#i[i],this)}}rforEach(t,e=this){for(const i of this.#A()){const s=this.#t[i],n=this.#e(s)?s.__staleWhileFetching:s;n!==void 0&&t.call(e,n,this.#i[i],this)}}purgeStale(){let t=!1;for(const e of this.#A({allowStale:!0}))this.#p(e)&&(this.#v(this.#i[e],"expire"),t=!0);return t}info(t){const e=this.#s.get(t);if(e===void 0)return;const i=this.#t[e],s=this.#e(i)?i.__staleWhileFetching:i;if(s===void 0)return;const n={value:s};if(this.#d&&this.#y){const r=this.#d[e],a=this.#y[e];if(r&&a){const h=r-(T.now()-a);n.ttl=h,n.start=Date.now()}}return this.#b&&(n.size=this.#b[e]),n}dump(){const t=[];for(const e of this.#E({allowStale:!0})){const i=this.#i[e],s=this.#t[e],n=this.#e(s)?s.__staleWhileFetching:s;if(n===void 0||i===void 0)continue;const r={value:n};if(this.#d&&this.#y){r.ttl=this.#d[e];const a=T.now()-this.#y[e];r.start=Math.floor(Date.now()-a)}this.#b&&(r.size=this.#b[e]),t.unshift([i,r])}return t}load(t){this.clear();for(const[e,i]of t){if(i.start){const s=Date.now()-i.start;i.start=T.now()-s}this.set(e,i.value,i)}}set(t,e,i={}){if(e===void 0)return this.delete(t),this;const{ttl:s=this.ttl,start:n,noDisposeOnSet:r=this.noDisposeOnSet,sizeCalculation:a=this.sizeCalculation,status:h}=i;let{noUpdateTTL:l=this.noUpdateTTL}=i;const w=this.#G(t,e,i.size||0,a);if(this.maxEntrySize&&w>this.maxEntrySize)return h&&(h.set="miss",h.maxEntrySizeExceeded=!0),this.#v(t,"set"),this;let c=this.#n===0?void 0:this.#s.get(t);if(c===void 0)c=this.#n===0?this.#r:this.#S.length!==0?this.#S.pop():this.#n===this.#a?this.#D(!1):this.#n,this.#i[c]=t,this.#t[c]=e,this.#s.set(t,c),this.#l[this.#r]=c,this.#u[c]=this.#r,this.#r=c,this.#n++,this.#L(c,w,h),h&&(h.set="add"),l=!1;else{this.#C(c);const d=this.#t[c];if(e!==d){if(this.#O&&this.#e(d)){d.__abortController.abort(new Error("replaced"));const{__staleWhileFetching:u}=d;u!==void 0&&!r&&(this.#_&&this.#g?.(u,t,"set"),this.#c&&this.#o?.push([u,t,"set"]))}else r||(this.#_&&this.#g?.(d,t,"set"),this.#c&&this.#o?.push([d,t,"set"]));if(this.#x(c),this.#L(c,w,h),this.#t[c]=e,h){h.set="replace";const u=d&&this.#e(d)?d.__staleWhileFetching:d;u!==void 0&&(h.oldValue=u)}}else h&&(h.set="update")}if(s!==0&&!this.#d&&this.#U(),this.#d&&(l||this.#I(c,s,n),h&&this.#F(h,c)),!r&&this.#c&&this.#o){const d=this.#o;let u;for(;u=d?.shift();)this.#w?.(...u)}return this}pop(){try{for(;this.#n;){const t=this.#t[this.#h];if(this.#D(!0),this.#e(t)){if(t.__staleWhileFetching)return t.__staleWhileFetching}else if(t!==void 0)return t}}finally{if(this.#c&&this.#o){const t=this.#o;let e;for(;e=t?.shift();)this.#w?.(...e)}}}#D(t){const e=this.#h,i=this.#i[e],s=this.#t[e];return this.#O&&this.#e(s)?s.__abortController.abort(new Error("evicted")):(this.#_||this.#c)&&(this.#_&&this.#g?.(s,i,"evict"),this.#c&&this.#o?.push([s,i,"evict"])),this.#x(e),t&&(this.#i[e]=void 0,this.#t[e]=void 0,this.#S.push(e)),this.#n===1?(this.#h=this.#r=0,this.#S.length=0):this.#h=this.#l[e],this.#s.delete(i),this.#n--,e}has(t,e={}){const{updateAgeOnHas:i=this.updateAgeOnHas,status:s}=e,n=this.#s.get(t);if(n!==void 0){const r=this.#t[n];if(this.#e(r)&&r.__staleWhileFetching===void 0)return!1;if(this.#p(n))s&&(s.has="stale",this.#F(s,n));else return i&&this.#T(n),s&&(s.has="hit",this.#F(s,n)),!0}else s&&(s.has="miss");return!1}peek(t,e={}){const{allowStale:i=this.allowStale}=e,s=this.#s.get(t);if(s===void 0||!i&&this.#p(s))return;const n=this.#t[s];return this.#e(n)?n.__staleWhileFetching:n}#W(t,e,i,s){const n=e===void 0?void 0:this.#t[e];if(this.#e(n))return n;const r=new W,{signal:a}=i;a?.addEventListener("abort",()=>r.abort(a.reason),{signal:r.signal});const h={signal:r.signal,options:i,context:s},l=(g,b=!1)=>{const{aborted:f}=r.signal,S=i.ignoreFetchAbort&&g!==void 0;if(i.status&&(f&&!b?(i.status.fetchAborted=!0,i.status.fetchError=r.signal.reason,S&&(i.status.fetchAbortIgnored=!0)):i.status.fetchResolved=!0),f&&!S&&!b)return c(r.signal.reason);const _=u;return this.#t[e]===u&&(g===void 0?_.__staleWhileFetching?this.#t[e]=_.__staleWhileFetching:this.#v(t,"fetch"):(i.status&&(i.status.fetchUpdated=!0),this.set(t,g,h.options))),g},w=g=>(i.status&&(i.status.fetchRejected=!0,i.status.fetchError=g),c(g)),c=g=>{const{aborted:b}=r.signal,f=b&&i.allowStaleOnFetchAbort,S=f||i.allowStaleOnFetchRejection,_=S||i.noDeleteOnFetchRejection,m=u;if(this.#t[e]===u&&(!_||m.__staleWhileFetching===void 0?this.#v(t,"fetch"):f||(this.#t[e]=m.__staleWhileFetching)),S)return i.status&&m.__staleWhileFetching!==void 0&&(i.status.returnedStale=!0),m.__staleWhileFetching;if(m.__returned===m)throw g},d=(g,b)=>{const f=this.#R?.(t,n,h);f&&f instanceof Promise&&f.then(S=>g(S===void 0?void 0:S),b),r.signal.addEventListener("abort",()=>{(!i.ignoreFetchAbort||i.allowStaleOnFetchAbort)&&(g(void 0),i.allowStaleOnFetchAbort&&(g=S=>l(S,!0)))})};i.status&&(i.status.fetchDispatched=!0);const u=new Promise(d).then(l,w),v=Object.assign(u,{__abortController:r,__staleWhileFetching:n,__returned:void 0});return e===void 0?(this.set(t,v,{...h.options,status:void 0}),e=this.#s.get(t)):this.#t[e]=v,v}#e(t){if(!this.#O)return!1;const e=t;return!!e&&e instanceof Promise&&e.hasOwnProperty("__staleWhileFetching")&&e.__abortController instanceof W}async fetch(t,e={}){const{allowStale:i=this.allowStale,updateAgeOnGet:s=this.updateAgeOnGet,noDeleteOnStaleGet:n=this.noDeleteOnStaleGet,ttl:r=this.ttl,noDisposeOnSet:a=this.noDisposeOnSet,size:h=0,sizeCalculation:l=this.sizeCalculation,noUpdateTTL:w=this.noUpdateTTL,noDeleteOnFetchRejection:c=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:d=this.allowStaleOnFetchRejection,ignoreFetchAbort:u=this.ignoreFetchAbort,allowStaleOnFetchAbort:v=this.allowStaleOnFetchAbort,context:g,forceRefresh:b=!1,status:f,signal:S}=e;if(!this.#O)return f&&(f.fetch="get"),this.get(t,{allowStale:i,updateAgeOnGet:s,noDeleteOnStaleGet:n,status:f});const _={allowStale:i,updateAgeOnGet:s,noDeleteOnStaleGet:n,ttl:r,noDisposeOnSet:a,size:h,sizeCalculation:l,noUpdateTTL:w,noDeleteOnFetchRejection:c,allowStaleOnFetchRejection:d,allowStaleOnFetchAbort:v,ignoreFetchAbort:u,status:f,signal:S};let m=this.#s.get(t);if(m===void 0){f&&(f.fetch="miss");const y=this.#W(t,m,_,g);return y.__returned=y}else{const y=this.#t[m];if(this.#e(y)){const N=i&&y.__staleWhileFetching!==void 0;return f&&(f.fetch="inflight",N&&(f.returnedStale=!0)),N?y.__staleWhileFetching:y.__returned=y}const C=this.#p(m);if(!b&&!C)return f&&(f.fetch="hit"),this.#C(m),s&&this.#T(m),f&&this.#F(f,m),y;const E=this.#W(t,m,_,g),U=E.__staleWhileFetching!==void 0&&i;return f&&(f.fetch=C?"stale":"refresh",U&&C&&(f.returnedStale=!0)),U?E.__staleWhileFetching:E.__returned=E}}async forceFetch(t,e={}){const i=await this.fetch(t,e);if(i===void 0)throw new Error("fetch() returned undefined");return i}memo(t,e={}){const i=this.#z;if(!i)throw new Error("no memoMethod provided to constructor");const{context:s,forceRefresh:n,...r}=e,a=this.get(t,r);if(!n&&a!==void 0)return a;const h=i(t,a,{options:r,context:s});return this.set(t,h,r),h}get(t,e={}){const{allowStale:i=this.allowStale,updateAgeOnGet:s=this.updateAgeOnGet,noDeleteOnStaleGet:n=this.noDeleteOnStaleGet,status:r}=e,a=this.#s.get(t);if(a!==void 0){const h=this.#t[a],l=this.#e(h);return r&&this.#F(r,a),this.#p(a)?(r&&(r.get="stale"),l?(r&&i&&h.__staleWhileFetching!==void 0&&(r.returnedStale=!0),i?h.__staleWhileFetching:void 0):(n||this.#v(t,"expire"),r&&i&&(r.returnedStale=!0),i?h:void 0)):(r&&(r.get="hit"),l?h.__staleWhileFetching:(this.#C(a),s&&this.#T(a),h))}else r&&(r.get="miss")}#M(t,e){this.#u[e]=t,this.#l[t]=e}#C(t){t!==this.#r&&(t===this.#h?this.#h=this.#l[t]:this.#M(this.#u[t],this.#l[t]),this.#M(this.#r,t),this.#r=t)}delete(t){return this.#v(t,"delete")}#v(t,e){let i=!1;if(this.#n!==0){const s=this.#s.get(t);if(s!==void 0)if(i=!0,this.#n===1)this.#N(e);else{this.#x(s);const n=this.#t[s];if(this.#e(n)?n.__abortController.abort(new Error("deleted")):(this.#_||this.#c)&&(this.#_&&this.#g?.(n,t,e),this.#c&&this.#o?.push([n,t,e])),this.#s.delete(t),this.#i[s]=void 0,this.#t[s]=void 0,s===this.#r)this.#r=this.#u[s];else if(s===this.#h)this.#h=this.#l[s];else{const r=this.#u[s];this.#l[r]=this.#l[s];const a=this.#l[s];this.#u[a]=this.#u[s]}this.#n--,this.#S.push(s)}}if(this.#c&&this.#o?.length){const s=this.#o;let n;for(;n=s?.shift();)this.#w?.(...n)}return i}clear(){return this.#N("delete")}#N(t){for(const e of this.#A({allowStale:!0})){const i=this.#t[e];if(this.#e(i))i.__abortController.abort(new Error("deleted"));else{const s=this.#i[e];this.#_&&this.#g?.(i,s,t),this.#c&&this.#o?.push([i,s,t])}}if(this.#s.clear(),this.#t.fill(void 0),this.#i.fill(void 0),this.#d&&this.#y&&(this.#d.fill(0),this.#y.fill(0)),this.#b&&this.#b.fill(0),this.#h=0,this.#r=0,this.#S.length=0,this.#m=0,this.#n=0,this.#c&&this.#o){const e=this.#o;let i;for(;i=e?.shift();)this.#w?.(...i)}}}const O=new M({max:128});function G(o,t,e){return[o?"esm":"cjs",t,...e||[]].join("\0")}const J=Symbol("runCtx");function nt(o,t){let e=t.recreateContext?void 0:o.protocol.cache.get(J);if(e){if(t.globals)for(const[i,s]of Object.entries(t.globals))e.context[i]=s}else{const i={log:(...n)=>o.log(n,"info"),info:(...n)=>o.log(n,"info"),warn:(...n)=>o.log(n,"warn"),error:(...n)=>o.log(n,"error")},s=R.createContext({...t.globals,console:i});e={modules:{},context:s},o.protocol.cache.set(J,e)}for(const i of t.functions??[]){let s=G(!1,i.code,i.params),n=O.get(s),r=R.compileFunction(i.code,i.params,{parsingContext:e.context,cachedData:n,produceCachedData:!n});e.context[i.name]=r}for(const i of t.modules??[]){const s=G(!0,i.code);let n=O.get(s),r=new R.SourceTextModule(i.code,{identifier:i.name,context:e.context,cachedData:n});if(!n){let a=r.createCachedData();O.set(s,a)}e.modules[i.name]=r}return e}async function rt(o,t){let e=process.hrtime.bigint(),i=nt(t,o),s;if(!o.code)return{};const n=G(!o.expr,o.code);if(o.expr){let h=O.get(n),l=new R.Script(o.code,{filename:o.name||"<script>",cachedData:h});h||O.set(n,l.createCachedData()),s=l.runInContext(i.context,{timeout:o.timeoutMs??void 0}),typeof s?.then=="function"&&(s=await s)}else{async function h(c,d){const u=i.modules[c];if(u)return u;throw new Error(`Module not found: ${c}, referenced from ${d.identifier}`)}let l=O.get(n),w=new R.SourceTextModule(o.code,{identifier:o.name||"<script>",context:i.context,cachedData:l});if(!l){let c=w.createCachedData();c&&O.set(n,c)}await w.link(h),await w.evaluate()}const r=o.returnKeys?Object.fromEntries(o.returnKeys.map(h=>[h,i.context[h]])):i.context;let a=Number(process.hrtime.bigint()-e)/1e3;return p(`Evaluated in ${a}us`),{globals:r,returnValue:s}}function ot(o){p(`Worker ${process.pid} started`);const t=q.createServer(),e=()=>{p(`Worker ${process.pid} is shutting down`),t.close(()=>process.exit(0))};process.on("message",s=>{p(`Worker ${process.pid} received message: ${s}`),s=="shutdown"&&(p(`Worker ${process.pid} received shutdown message`),e())}),F.worker?.send("ready"),process.on("SIGTERM",e),process.on("SIGINT",e);function i(s){let n=new it(s);n.on("message",r=>ht(n,r))}t.on("error",s=>{console.error(s),process.exit(1)}),t.listen(o,()=>{p(`Worker ${process.pid} is listening on ${o}`),t.on("connection",i)})}function ht(o,{id:t,reqId:e,type:i,data:s}){if(i===k.Ping){o.sendMessage(e,z.Pong,Buffer.alloc(0));return}let n=process.hrtime.bigint(),r=!1;const a={protocol:o,reqId:e,id:t,log(h,l="info"){p(`${e}[${l}]:`,h),o.log(e,l,h)},respond(h){r=!0,o.respond(e,h)},error(h){p(`${e}: `,h.message),o.error(e,h)}};at(a,i,s).then(h=>{(h!=null||!r)&&a.respond(h??null);let l=Number(process.hrtime.bigint()-n)/1e3;p(`handle: ${l}us`)}).catch(h=>{p("Failed to handle request:"),a.error(h)})}async function at(o,t,e){switch(t){case k.RunScript:return rt(JSON.parse(e.toString()),o)}}if(F.isPrimary){let o=function(){if(n)return;let a=F.fork({SOCKET_PATH:s});a.on("message",h=>{h==="ready"&&n&&a.send("shutdown")})};const t=process.argv[1],{values:e}=Z({options:{workers:{type:"string",default:Q.cpus().length.toString()},socket:{type:"string"}}}),i=parseInt(e.workers??"1",10),s=e.socket;let n=!1;if(!s)throw new Error("No socket path provided");process.on("exit",()=>{try{$.unlinkSync(s)}catch{}});const r=()=>{p("shutting down"),n&&process.exit(1),n=!0;for(let a of Object.values(F.workers??{}))a?.send("shutdown",()=>{})};process.on("SIGTERM",r),process.on("SIGINT",r),F.on("online",a=>{p("online",a.process.pid,n),n&&a.kill("SIGKILL")}),F.on("exit",(a,h,l)=>{if(p("exit",a.process.pid,h,l,n,s),!n&&!$.existsSync(t)&&(p(`${s} script is gone, shutting down`),r()),n){const w=Object.values(F.workers??{}).map(c=>c?.process.pid);p(s,"remaining workers:",w),w.length==0&&process.exit(0);return}p(l?`Worker ${a.process.pid} died with signal ${l}. Restarting...`:`Worker ${a.process.pid} died with code ${h}. Restarting...`),o()}),p(`Primary ${process.pid} is running, starting ${i} workers and connecting to ${s}`);for(let a=0;a<i;a++)o()}else ot(process.env.SOCKET_PATH);
[INFO] [stderr]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
[INFO] [stderr] 
[INFO] [stderr] SyntaxError: Unexpected token '.'
[INFO] [stderr]     at Loader.moduleStrategy (internal/modules/esm/translators.js:133:18)
[INFO] [stderr]     at async link (internal/modules/esm/module_job.js:42:21)
[INFO] [stderr] file:///tmp/js_sidecart0ih1C.mjs:1
[INFO] [stderr] import F from"node:cluster";import Q from"node:os";import $ from"node:fs";import{parseArgs as Z}from"node:util";import q from"node:net";import{EventEmitter as tt}from"node:events";import*as R from"node:vm";var k=(o=>(o[o.RunScript=0]="RunScript",o[o.Ping=1]="Ping",o))(k||{}),z=(o=>(o[o.RunResponse=4096]="RunResponse",o[o.Log=4097]="Log",o[o.Error=4098]="Error",o[o.Pong=4099]="Pong",o))(z||{});const et=!!process.env.DEBUG_JS_SIDECAR_WORKER;function p(...o){et&&console.log(...o)}const j=12,P=0,K=4,B=8;class it extends tt{socket;buffer;expectedLength;id;cache=new Map;constructor(t){super(),this.socket=t,this.buffer=Buffer.alloc(0),this.expectedLength=null,this.id=0,this.socket.on("data",e=>this.handleData(e))}handleData(t){for(this.buffer=Buffer.concat([this.buffer,t]);this.buffer.length>0;){if(this.expectedLength===null){if(this.buffer.length<4)return;this.expectedLength=this.buffer.readUInt32LE(0),this.buffer=this.buffer.subarray(4)}if(this.buffer.length<this.expectedLength)return;const e=this.buffer.readUInt32LE(P),i=this.buffer.readUInt32LE(K),s=this.buffer.readUInt32LE(B),n=this.buffer.subarray(12,this.expectedLength);this.buffer=this.buffer.subarray(this.expectedLength),this.expectedLength=null;const r={id:i,reqId:e,type:s,data:n};this.emit("message",r)}}sendMessage(t,e,i){p("Sending message",t,e,i),i instanceof Buffer||(i=Buffer.from(i));let s=this.id++;const n=Buffer.allocUnsafe(j+4);return n.writeUInt32LE(i.length+j),n.writeUInt32LE(t,P+4),n.writeUInt32LE(s,K+4),n.writeUInt32LE(e,B+4),this.socket.write(Buffer.concat([n,i])),s}log(t,e,i){let s=JSON.stringify({level:e,message:i});this.sendMessage(t,z.Log,s)}respond(t,e){this.sendMessage(t,z.RunResponse,JSON.stringify(e))}error(t,e){let i={message:e.message,stack:e.stack},s=JSON.stringify(i);this.sendMessage(t,z.Error,s)}}const T=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,H=new Set,I=typeof process=="object"&&process?process:{},Y=(o,t,e,i)=>{typeof I.emitWarning=="function"?I.emitWarning(o,t,e,i):console.error(`[${e}] ${t}: ${o}`)};let W=globalThis.AbortController,V=globalThis.AbortSignal;if(typeof W>"u"){V=class{onabort;_onabort=[];reason;aborted=!1;addEventListener(i,s){this._onabort.push(s)}},W=class{constructor(){t()}signal=new V;abort(i){if(!this.signal.aborted){this.signal.reason=i,this.signal.aborted=!0;for(const s of this.signal._onabort)s(i);this.signal.onabort?.(i)}}};let o=I.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1";const t=()=>{o&&(o=!1,Y("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",t))}}const st=o=>!H.has(o),A=o=>o&&o===Math.floor(o)&&o>0&&isFinite(o),X=o=>A(o)?o<=Math.pow(2,8)?Uint8Array:o<=Math.pow(2,16)?Uint16Array:o<=Math.pow(2,32)?Uint32Array:o<=Number.MAX_SAFE_INTEGER?D:null:null;class D extends Array{constructor(t){super(t),this.fill(0)}}class x{heap;length;static#a=!1;static create(t){const e=X(t);if(!e)return[];x.#a=!0;const i=new x(t,e);return x.#a=!1,i}constructor(t,e){if(!x.#a)throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new e(t),this.length=0}push(t){this.heap[this.length++]=t}pop(){return this.heap[--this.length]}}class M{#a;#f;#g;#w;#R;#z;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#n;#m;#s;#i;#t;#l;#u;#h;#r;#S;#o;#b;#y;#d;#_;#O;#c;static unsafeExposeInternals(t){return{starts:t.#y,ttls:t.#d,sizes:t.#b,keyMap:t.#s,keyList:t.#i,valList:t.#t,next:t.#l,prev:t.#u,get head(){return t.#h},get tail(){return t.#r},free:t.#S,isBackgroundFetch:e=>t.#e(e),backgroundFetch:(e,i,s,n)=>t.#W(e,i,s,n),moveToTail:e=>t.#C(e),indexes:e=>t.#E(e),rindexes:e=>t.#A(e),isStale:e=>t.#p(e)}}get max(){return this.#a}get maxSize(){return this.#f}get calculatedSize(){return this.#m}get size(){return this.#n}get fetchMethod(){return this.#R}get memoMethod(){return this.#z}get dispose(){return this.#g}get disposeAfter(){return this.#w}constructor(t){const{max:e=0,ttl:i,ttlResolution:s=1,ttlAutopurge:n,updateAgeOnGet:r,updateAgeOnHas:a,allowStale:h,dispose:l,disposeAfter:w,noDisposeOnSet:c,noUpdateTTL:d,maxSize:u=0,maxEntrySize:v=0,sizeCalculation:g,fetchMethod:b,memoMethod:f,noDeleteOnFetchRejection:S,noDeleteOnStaleGet:_,allowStaleOnFetchRejection:m,allowStaleOnFetchAbort:y,ignoreFetchAbort:C}=t;if(e!==0&&!A(e))throw new TypeError("max option must be a nonnegative integer");const E=e?X(e):Array;if(!E)throw new Error("invalid max value: "+e);if(this.#a=e,this.#f=u,this.maxEntrySize=v||this.#f,this.sizeCalculation=g,this.sizeCalculation){if(!this.#f&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(f!==void 0&&typeof f!="function")throw new TypeError("memoMethod must be a function if defined");if(this.#z=f,b!==void 0&&typeof b!="function")throw new TypeError("fetchMethod must be a function if specified");if(this.#R=b,this.#O=!!b,this.#s=new Map,this.#i=new Array(e).fill(void 0),this.#t=new Array(e).fill(void 0),this.#l=new E(e),this.#u=new E(e),this.#h=0,this.#r=0,this.#S=x.create(e),this.#n=0,this.#m=0,typeof l=="function"&&(this.#g=l),typeof w=="function"?(this.#w=w,this.#o=[]):(this.#w=void 0,this.#o=void 0),this.#_=!!this.#g,this.#c=!!this.#w,this.noDisposeOnSet=!!c,this.noUpdateTTL=!!d,this.noDeleteOnFetchRejection=!!S,this.allowStaleOnFetchRejection=!!m,this.allowStaleOnFetchAbort=!!y,this.ignoreFetchAbort=!!C,this.maxEntrySize!==0){if(this.#f!==0&&!A(this.#f))throw new TypeError("maxSize must be a positive integer if specified");if(!A(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");this.#$()}if(this.allowStale=!!h,this.noDeleteOnStaleGet=!!_,this.updateAgeOnGet=!!r,this.updateAgeOnHas=!!a,this.ttlResolution=A(s)||s===0?s:1,this.ttlAutopurge=!!n,this.ttl=i||0,this.ttl){if(!A(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.#U()}if(this.#a===0&&this.ttl===0&&this.#f===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#a&&!this.#f){const L="LRU_CACHE_UNBOUNDED";st(L)&&(H.add(L),Y("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",L,M))}}getRemainingTTL(t){return this.#s.has(t)?1/0:0}#U(){const t=new D(this.#a),e=new D(this.#a);this.#d=t,this.#y=e,this.#I=(n,r,a=T.now())=>{if(e[n]=r!==0?a:0,t[n]=r,r!==0&&this.ttlAutopurge){const h=setTimeout(()=>{this.#p(n)&&this.#v(this.#i[n],"expire")},r+1);h.unref&&h.unref()}},this.#T=n=>{e[n]=t[n]!==0?T.now():0},this.#F=(n,r)=>{if(t[r]){const a=t[r],h=e[r];if(!a||!h)return;n.ttl=a,n.start=h,n.now=i||s();const l=n.now-h;n.remainingTTL=a-l}};let i=0;const s=()=>{const n=T.now();if(this.ttlResolution>0){i=n;const r=setTimeout(()=>i=0,this.ttlResolution);r.unref&&r.unref()}return n};this.getRemainingTTL=n=>{const r=this.#s.get(n);if(r===void 0)return 0;const a=t[r],h=e[r];if(!a||!h)return 1/0;const l=(i||s())-h;return a-l},this.#p=n=>{const r=e[n],a=t[n];return!!a&&!!r&&(i||s())-r>a}}#T=()=>{};#F=()=>{};#I=()=>{};#p=()=>!1;#$(){const t=new D(this.#a);this.#m=0,this.#b=t,this.#x=e=>{this.#m-=t[e],t[e]=0},this.#G=(e,i,s,n)=>{if(this.#e(i))return 0;if(!A(s))if(n){if(typeof n!="function")throw new TypeError("sizeCalculation must be a function");if(s=n(i,e),!A(s))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return s},this.#L=(e,i,s)=>{if(t[e]=i,this.#f){const n=this.#f-t[e];for(;this.#m>n;)this.#D(!0)}this.#m+=t[e],s&&(s.entrySize=i,s.totalCalculatedSize=this.#m)}}#x=t=>{};#L=(t,e,i)=>{};#G=(t,e,i,s)=>{if(i||s)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0};*#E({allowStale:t=this.allowStale}={}){if(this.#n)for(let e=this.#r;!(!this.#k(e)||((t||!this.#p(e))&&(yield e),e===this.#h));)e=this.#u[e]}*#A({allowStale:t=this.allowStale}={}){if(this.#n)for(let e=this.#h;!(!this.#k(e)||((t||!this.#p(e))&&(yield e),e===this.#r));)e=this.#l[e]}#k(t){return t!==void 0&&this.#s.get(this.#i[t])===t}*entries(){for(const t of this.#E())this.#t[t]!==void 0&&this.#i[t]!==void 0&&!this.#e(this.#t[t])&&(yield[this.#i[t],this.#t[t]])}*rentries(){for(const t of this.#A())this.#t[t]!==void 0&&this.#i[t]!==void 0&&!this.#e(this.#t[t])&&(yield[this.#i[t],this.#t[t]])}*keys(){for(const t of this.#E()){const e=this.#i[t];e!==void 0&&!this.#e(this.#t[t])&&(yield e)}}*rkeys(){for(const t of this.#A()){const e=this.#i[t];e!==void 0&&!this.#e(this.#t[t])&&(yield e)}}*values(){for(const t of this.#E())this.#t[t]!==void 0&&!this.#e(this.#t[t])&&(yield this.#t[t])}*rvalues(){for(const t of this.#A())this.#t[t]!==void 0&&!this.#e(this.#t[t])&&(yield this.#t[t])}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(t,e={}){for(const i of this.#E()){const s=this.#t[i],n=this.#e(s)?s.__staleWhileFetching:s;if(n!==void 0&&t(n,this.#i[i],this))return this.get(this.#i[i],e)}}forEach(t,e=this){for(const i of this.#E()){const s=this.#t[i],n=this.#e(s)?s.__staleWhileFetching:s;n!==void 0&&t.call(e,n,this.#i[i],this)}}rforEach(t,e=this){for(const i of this.#A()){const s=this.#t[i],n=this.#e(s)?s.__staleWhileFetching:s;n!==void 0&&t.call(e,n,this.#i[i],this)}}purgeStale(){let t=!1;for(const e of this.#A({allowStale:!0}))this.#p(e)&&(this.#v(this.#i[e],"expire"),t=!0);return t}info(t){const e=this.#s.get(t);if(e===void 0)return;const i=this.#t[e],s=this.#e(i)?i.__staleWhileFetching:i;if(s===void 0)return;const n={value:s};if(this.#d&&this.#y){const r=this.#d[e],a=this.#y[e];if(r&&a){const h=r-(T.now()-a);n.ttl=h,n.start=Date.now()}}return this.#b&&(n.size=this.#b[e]),n}dump(){const t=[];for(const e of this.#E({allowStale:!0})){const i=this.#i[e],s=this.#t[e],n=this.#e(s)?s.__staleWhileFetching:s;if(n===void 0||i===void 0)continue;const r={value:n};if(this.#d&&this.#y){r.ttl=this.#d[e];const a=T.now()-this.#y[e];r.start=Math.floor(Date.now()-a)}this.#b&&(r.size=this.#b[e]),t.unshift([i,r])}return t}load(t){this.clear();for(const[e,i]of t){if(i.start){const s=Date.now()-i.start;i.start=T.now()-s}this.set(e,i.value,i)}}set(t,e,i={}){if(e===void 0)return this.delete(t),this;const{ttl:s=this.ttl,start:n,noDisposeOnSet:r=this.noDisposeOnSet,sizeCalculation:a=this.sizeCalculation,status:h}=i;let{noUpdateTTL:l=this.noUpdateTTL}=i;const w=this.#G(t,e,i.size||0,a);if(this.maxEntrySize&&w>this.maxEntrySize)return h&&(h.set="miss",h.maxEntrySizeExceeded=!0),this.#v(t,"set"),this;let c=this.#n===0?void 0:this.#s.get(t);if(c===void 0)c=this.#n===0?this.#r:this.#S.length!==0?this.#S.pop():this.#n===this.#a?this.#D(!1):this.#n,this.#i[c]=t,this.#t[c]=e,this.#s.set(t,c),this.#l[this.#r]=c,this.#u[c]=this.#r,this.#r=c,this.#n++,this.#L(c,w,h),h&&(h.set="add"),l=!1;else{this.#C(c);const d=this.#t[c];if(e!==d){if(this.#O&&this.#e(d)){d.__abortController.abort(new Error("replaced"));const{__staleWhileFetching:u}=d;u!==void 0&&!r&&(this.#_&&this.#g?.(u,t,"set"),this.#c&&this.#o?.push([u,t,"set"]))}else r||(this.#_&&this.#g?.(d,t,"set"),this.#c&&this.#o?.push([d,t,"set"]));if(this.#x(c),this.#L(c,w,h),this.#t[c]=e,h){h.set="replace";const u=d&&this.#e(d)?d.__staleWhileFetching:d;u!==void 0&&(h.oldValue=u)}}else h&&(h.set="update")}if(s!==0&&!this.#d&&this.#U(),this.#d&&(l||this.#I(c,s,n),h&&this.#F(h,c)),!r&&this.#c&&this.#o){const d=this.#o;let u;for(;u=d?.shift();)this.#w?.(...u)}return this}pop(){try{for(;this.#n;){const t=this.#t[this.#h];if(this.#D(!0),this.#e(t)){if(t.__staleWhileFetching)return t.__staleWhileFetching}else if(t!==void 0)return t}}finally{if(this.#c&&this.#o){const t=this.#o;let e;for(;e=t?.shift();)this.#w?.(...e)}}}#D(t){const e=this.#h,i=this.#i[e],s=this.#t[e];return this.#O&&this.#e(s)?s.__abortController.abort(new Error("evicted")):(this.#_||this.#c)&&(this.#_&&this.#g?.(s,i,"evict"),this.#c&&this.#o?.push([s,i,"evict"])),this.#x(e),t&&(this.#i[e]=void 0,this.#t[e]=void 0,this.#S.push(e)),this.#n===1?(this.#h=this.#r=0,this.#S.length=0):this.#h=this.#l[e],this.#s.delete(i),this.#n--,e}has(t,e={}){const{updateAgeOnHas:i=this.updateAgeOnHas,status:s}=e,n=this.#s.get(t);if(n!==void 0){const r=this.#t[n];if(this.#e(r)&&r.__staleWhileFetching===void 0)return!1;if(this.#p(n))s&&(s.has="stale",this.#F(s,n));else return i&&this.#T(n),s&&(s.has="hit",this.#F(s,n)),!0}else s&&(s.has="miss");return!1}peek(t,e={}){const{allowStale:i=this.allowStale}=e,s=this.#s.get(t);if(s===void 0||!i&&this.#p(s))return;const n=this.#t[s];return this.#e(n)?n.__staleWhileFetching:n}#W(t,e,i,s){const n=e===void 0?void 0:this.#t[e];if(this.#e(n))return n;const r=new W,{signal:a}=i;a?.addEventListener("abort",()=>r.abort(a.reason),{signal:r.signal});const h={signal:r.signal,options:i,context:s},l=(g,b=!1)=>{const{aborted:f}=r.signal,S=i.ignoreFetchAbort&&g!==void 0;if(i.status&&(f&&!b?(i.status.fetchAborted=!0,i.status.fetchError=r.signal.reason,S&&(i.status.fetchAbortIgnored=!0)):i.status.fetchResolved=!0),f&&!S&&!b)return c(r.signal.reason);const _=u;return this.#t[e]===u&&(g===void 0?_.__staleWhileFetching?this.#t[e]=_.__staleWhileFetching:this.#v(t,"fetch"):(i.status&&(i.status.fetchUpdated=!0),this.set(t,g,h.options))),g},w=g=>(i.status&&(i.status.fetchRejected=!0,i.status.fetchError=g),c(g)),c=g=>{const{aborted:b}=r.signal,f=b&&i.allowStaleOnFetchAbort,S=f||i.allowStaleOnFetchRejection,_=S||i.noDeleteOnFetchRejection,m=u;if(this.#t[e]===u&&(!_||m.__staleWhileFetching===void 0?this.#v(t,"fetch"):f||(this.#t[e]=m.__staleWhileFetching)),S)return i.status&&m.__staleWhileFetching!==void 0&&(i.status.returnedStale=!0),m.__staleWhileFetching;if(m.__returned===m)throw g},d=(g,b)=>{const f=this.#R?.(t,n,h);f&&f instanceof Promise&&f.then(S=>g(S===void 0?void 0:S),b),r.signal.addEventListener("abort",()=>{(!i.ignoreFetchAbort||i.allowStaleOnFetchAbort)&&(g(void 0),i.allowStaleOnFetchAbort&&(g=S=>l(S,!0)))})};i.status&&(i.status.fetchDispatched=!0);const u=new Promise(d).then(l,w),v=Object.assign(u,{__abortController:r,__staleWhileFetching:n,__returned:void 0});return e===void 0?(this.set(t,v,{...h.options,status:void 0}),e=this.#s.get(t)):this.#t[e]=v,v}#e(t){if(!this.#O)return!1;const e=t;return!!e&&e instanceof Promise&&e.hasOwnProperty("__staleWhileFetching")&&e.__abortController instanceof W}async fetch(t,e={}){const{allowStale:i=this.allowStale,updateAgeOnGet:s=this.updateAgeOnGet,noDeleteOnStaleGet:n=this.noDeleteOnStaleGet,ttl:r=this.ttl,noDisposeOnSet:a=this.noDisposeOnSet,size:h=0,sizeCalculation:l=this.sizeCalculation,noUpdateTTL:w=this.noUpdateTTL,noDeleteOnFetchRejection:c=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:d=this.allowStaleOnFetchRejection,ignoreFetchAbort:u=this.ignoreFetchAbort,allowStaleOnFetchAbort:v=this.allowStaleOnFetchAbort,context:g,forceRefresh:b=!1,status:f,signal:S}=e;if(!this.#O)return f&&(f.fetch="get"),this.get(t,{allowStale:i,updateAgeOnGet:s,noDeleteOnStaleGet:n,status:f});const _={allowStale:i,updateAgeOnGet:s,noDeleteOnStaleGet:n,ttl:r,noDisposeOnSet:a,size:h,sizeCalculation:l,noUpdateTTL:w,noDeleteOnFetchRejection:c,allowStaleOnFetchRejection:d,allowStaleOnFetchAbort:v,ignoreFetchAbort:u,status:f,signal:S};let m=this.#s.get(t);if(m===void 0){f&&(f.fetch="miss");const y=this.#W(t,m,_,g);return y.__returned=y}else{const y=this.#t[m];if(this.#e(y)){const N=i&&y.__staleWhileFetching!==void 0;return f&&(f.fetch="inflight",N&&(f.returnedStale=!0)),N?y.__staleWhileFetching:y.__returned=y}const C=this.#p(m);if(!b&&!C)return f&&(f.fetch="hit"),this.#C(m),s&&this.#T(m),f&&this.#F(f,m),y;const E=this.#W(t,m,_,g),U=E.__staleWhileFetching!==void 0&&i;return f&&(f.fetch=C?"stale":"refresh",U&&C&&(f.returnedStale=!0)),U?E.__staleWhileFetching:E.__returned=E}}async forceFetch(t,e={}){const i=await this.fetch(t,e);if(i===void 0)throw new Error("fetch() returned undefined");return i}memo(t,e={}){const i=this.#z;if(!i)throw new Error("no memoMethod provided to constructor");const{context:s,forceRefresh:n,...r}=e,a=this.get(t,r);if(!n&&a!==void 0)return a;const h=i(t,a,{options:r,context:s});return this.set(t,h,r),h}get(t,e={}){const{allowStale:i=this.allowStale,updateAgeOnGet:s=this.updateAgeOnGet,noDeleteOnStaleGet:n=this.noDeleteOnStaleGet,status:r}=e,a=this.#s.get(t);if(a!==void 0){const h=this.#t[a],l=this.#e(h);return r&&this.#F(r,a),this.#p(a)?(r&&(r.get="stale"),l?(r&&i&&h.__staleWhileFetching!==void 0&&(r.returnedStale=!0),i?h.__staleWhileFetching:void 0):(n||this.#v(t,"expire"),r&&i&&(r.returnedStale=!0),i?h:void 0)):(r&&(r.get="hit"),l?h.__staleWhileFetching:(this.#C(a),s&&this.#T(a),h))}else r&&(r.get="miss")}#M(t,e){this.#u[e]=t,this.#l[t]=e}#C(t){t!==this.#r&&(t===this.#h?this.#h=this.#l[t]:this.#M(this.#u[t],this.#l[t]),this.#M(this.#r,t),this.#r=t)}delete(t){return this.#v(t,"delete")}#v(t,e){let i=!1;if(this.#n!==0){const s=this.#s.get(t);if(s!==void 0)if(i=!0,this.#n===1)this.#N(e);else{this.#x(s);const n=this.#t[s];if(this.#e(n)?n.__abortController.abort(new Error("deleted")):(this.#_||this.#c)&&(this.#_&&this.#g?.(n,t,e),this.#c&&this.#o?.push([n,t,e])),this.#s.delete(t),this.#i[s]=void 0,this.#t[s]=void 0,s===this.#r)this.#r=this.#u[s];else if(s===this.#h)this.#h=this.#l[s];else{const r=this.#u[s];this.#l[r]=this.#l[s];const a=this.#l[s];this.#u[a]=this.#u[s]}this.#n--,this.#S.push(s)}}if(this.#c&&this.#o?.length){const s=this.#o;let n;for(;n=s?.shift();)this.#w?.(...n)}return i}clear(){return this.#N("delete")}#N(t){for(const e of this.#A({allowStale:!0})){const i=this.#t[e];if(this.#e(i))i.__abortController.abort(new Error("deleted"));else{const s=this.#i[e];this.#_&&this.#g?.(i,s,t),this.#c&&this.#o?.push([i,s,t])}}if(this.#s.clear(),this.#t.fill(void 0),this.#i.fill(void 0),this.#d&&this.#y&&(this.#d.fill(0),this.#y.fill(0)),this.#b&&this.#b.fill(0),this.#h=0,this.#r=0,this.#S.length=0,this.#m=0,this.#n=0,this.#c&&this.#o){const e=this.#o;let i;for(;i=e?.shift();)this.#w?.(...i)}}}const O=new M({max:128});function G(o,t,e){return[o?"esm":"cjs",t,...e||[]].join("\0")}const J=Symbol("runCtx");function nt(o,t){let e=t.recreateContext?void 0:o.protocol.cache.get(J);if(e){if(t.globals)for(const[i,s]of Object.entries(t.globals))e.context[i]=s}else{const i={log:(...n)=>o.log(n,"info"),info:(...n)=>o.log(n,"info"),warn:(...n)=>o.log(n,"warn"),error:(...n)=>o.log(n,"error")},s=R.createContext({...t.globals,console:i});e={modules:{},context:s},o.protocol.cache.set(J,e)}for(const i of t.functions??[]){let s=G(!1,i.code,i.params),n=O.get(s),r=R.compileFunction(i.code,i.params,{parsingContext:e.context,cachedData:n,produceCachedData:!n});e.context[i.name]=r}for(const i of t.modules??[]){const s=G(!0,i.code);let n=O.get(s),r=new R.SourceTextModule(i.code,{identifier:i.name,context:e.context,cachedData:n});if(!n){let a=r.createCachedData();O.set(s,a)}e.modules[i.name]=r}return e}async function rt(o,t){let e=process.hrtime.bigint(),i=nt(t,o),s;if(!o.code)return{};const n=G(!o.expr,o.code);if(o.expr){let h=O.get(n),l=new R.Script(o.code,{filename:o.name||"<script>",cachedData:h});h||O.set(n,l.createCachedData()),s=l.runInContext(i.context,{timeout:o.timeoutMs??void 0}),typeof s?.then=="function"&&(s=await s)}else{async function h(c,d){const u=i.modules[c];if(u)return u;throw new Error(`Module not found: ${c}, referenced from ${d.identifier}`)}let l=O.get(n),w=new R.SourceTextModule(o.code,{identifier:o.name||"<script>",context:i.context,cachedData:l});if(!l){let c=w.createCachedData();c&&O.set(n,c)}await w.link(h),await w.evaluate()}const r=o.returnKeys?Object.fromEntries(o.returnKeys.map(h=>[h,i.context[h]])):i.context;let a=Number(process.hrtime.bigint()-e)/1e3;return p(`Evaluated in ${a}us`),{globals:r,returnValue:s}}function ot(o){p(`Worker ${process.pid} started`);const t=q.createServer(),e=()=>{p(`Worker ${process.pid} is shutting down`),t.close(()=>process.exit(0))};process.on("message",s=>{p(`Worker ${process.pid} received message: ${s}`),s=="shutdown"&&(p(`Worker ${process.pid} received shutdown message`),e())}),F.worker?.send("ready"),process.on("SIGTERM",e),process.on("SIGINT",e);function i(s){let n=new it(s);n.on("message",r=>ht(n,r))}t.on("error",s=>{console.error(s),process.exit(1)}),t.listen(o,()=>{p(`Worker ${process.pid} is listening on ${o}`),t.on("connection",i)})}function ht(o,{id:t,reqId:e,type:i,data:s}){if(i===k.Ping){o.sendMessage(e,z.Pong,Buffer.alloc(0));return}let n=process.hrtime.bigint(),r=!1;const a={protocol:o,reqId:e,id:t,log(h,l="info"){p(`${e}[${l}]:`,h),o.log(e,l,h)},respond(h){r=!0,o.respond(e,h)},error(h){p(`${e}: `,h.message),o.error(e,h)}};at(a,i,s).then(h=>{(h!=null||!r)&&a.respond(h??null);let l=Number(process.hrtime.bigint()-n)/1e3;p(`handle: ${l}us`)}).catch(h=>{p("Failed to handle request:"),a.error(h)})}async function at(o,t,e){switch(t){case k.RunScript:return rt(JSON.parse(e.toString()),o)}}if(F.isPrimary){let o=function(){if(n)return;let a=F.fork({SOCKET_PATH:s});a.on("message",h=>{h==="ready"&&n&&a.send("shutdown")})};const t=process.argv[1],{values:e}=Z({options:{workers:{type:"string",default:Q.cpus().length.toString()},socket:{type:"string"}}}),i=parseInt(e.workers??"1",10),s=e.socket;let n=!1;if(!s)throw new Error("No socket path provided");process.on("exit",()=>{try{$.unlinkSync(s)}catch{}});const r=()=>{p("shutting down"),n&&process.exit(1),n=!0;for(let a of Object.values(F.workers??{}))a?.send("shutdown",()=>{})};process.on("SIGTERM",r),process.on("SIGINT",r),F.on("online",a=>{p("online",a.process.pid,n),n&&a.kill("SIGKILL")}),F.on("exit",(a,h,l)=>{if(p("exit",a.process.pid,h,l,n,s),!n&&!$.existsSync(t)&&(p(`${s} script is gone, shutting down`),r()),n){const w=Object.values(F.workers??{}).map(c=>c?.process.pid);p(s,"remaining workers:",w),w.length==0&&process.exit(0);return}p(l?`Worker ${a.process.pid} died with signal ${l}. Restarting...`:`Worker ${a.process.pid} died with code ${h}. Restarting...`),o()}),p(`Primary ${process.pid} is running, starting ${i} workers and connecting to ${s}`);for(let a=0;a<i;a++)o()}else ot(process.env.SOCKET_PATH);
[INFO] [stderr]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
[INFO] [stderr] 
[INFO] [stderr] SyntaxError: Unexpected token '.'
[INFO] [stderr]     at Loader.moduleStrategy (internal/modules/esm/translators.js:133:18)
[INFO] [stderr]     at async link (internal/modules/esm/module_job.js:42:21)
[INFO] [stderr] file:///tmp/js_sidecarkjfqwY.mjs:1
[INFO] [stderr] import F from"node:cluster";import Q from"node:os";import $ from"node:fs";import{parseArgs as Z}from"node:util";import q from"node:net";import{EventEmitter as tt}from"node:events";import*as R from"node:vm";var k=(o=>(o[o.RunScript=0]="RunScript",o[o.Ping=1]="Ping",o))(k||{}),z=(o=>(o[o.RunResponse=4096]="RunResponse",o[o.Log=4097]="Log",o[o.Error=4098]="Error",o[o.Pong=4099]="Pong",o))(z||{});const et=!!process.env.DEBUG_JS_SIDECAR_WORKER;function p(...o){et&&console.log(...o)}const j=12,P=0,K=4,B=8;class it extends tt{socket;buffer;expectedLength;id;cache=new Map;constructor(t){super(),this.socket=t,this.buffer=Buffer.alloc(0),this.expectedLength=null,this.id=0,this.socket.on("data",e=>this.handleData(e))}handleData(t){for(this.buffer=Buffer.concat([this.buffer,t]);this.buffer.length>0;){if(this.expectedLength===null){if(this.buffer.length<4)return;this.expectedLength=this.buffer.readUInt32LE(0),this.buffer=this.buffer.subarray(4)}if(this.buffer.length<this.expectedLength)return;const e=this.buffer.readUInt32LE(P),i=this.buffer.readUInt32LE(K),s=this.buffer.readUInt32LE(B),n=this.buffer.subarray(12,this.expectedLength);this.buffer=this.buffer.subarray(this.expectedLength),this.expectedLength=null;const r={id:i,reqId:e,type:s,data:n};this.emit("message",r)}}sendMessage(t,e,i){p("Sending message",t,e,i),i instanceof Buffer||(i=Buffer.from(i));let s=this.id++;const n=Buffer.allocUnsafe(j+4);return n.writeUInt32LE(i.length+j),n.writeUInt32LE(t,P+4),n.writeUInt32LE(s,K+4),n.writeUInt32LE(e,B+4),this.socket.write(Buffer.concat([n,i])),s}log(t,e,i){let s=JSON.stringify({level:e,message:i});this.sendMessage(t,z.Log,s)}respond(t,e){this.sendMessage(t,z.RunResponse,JSON.stringify(e))}error(t,e){let i={message:e.message,stack:e.stack},s=JSON.stringify(i);this.sendMessage(t,z.Error,s)}}const T=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,H=new Set,I=typeof process=="object"&&process?process:{},Y=(o,t,e,i)=>{typeof I.emitWarning=="function"?I.emitWarning(o,t,e,i):console.error(`[${e}] ${t}: ${o}`)};let W=globalThis.AbortController,V=globalThis.AbortSignal;if(typeof W>"u"){V=class{onabort;_onabort=[];reason;aborted=!1;addEventListener(i,s){this._onabort.push(s)}},W=class{constructor(){t()}signal=new V;abort(i){if(!this.signal.aborted){this.signal.reason=i,this.signal.aborted=!0;for(const s of this.signal._onabort)s(i);this.signal.onabort?.(i)}}};let o=I.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1";const t=()=>{o&&(o=!1,Y("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",t))}}const st=o=>!H.has(o),A=o=>o&&o===Math.floor(o)&&o>0&&isFinite(o),X=o=>A(o)?o<=Math.pow(2,8)?Uint8Array:o<=Math.pow(2,16)?Uint16Array:o<=Math.pow(2,32)?Uint32Array:o<=Number.MAX_SAFE_INTEGER?D:null:null;class D extends Array{constructor(t){super(t),this.fill(0)}}class x{heap;length;static#a=!1;static create(t){const e=X(t);if(!e)return[];x.#a=!0;const i=new x(t,e);return x.#a=!1,i}constructor(t,e){if(!x.#a)throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new e(t),this.length=0}push(t){this.heap[this.length++]=t}pop(){return this.heap[--this.length]}}class M{#a;#f;#g;#w;#R;#z;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#n;#m;#s;#i;#t;#l;#u;#h;#r;#S;#o;#b;#y;#d;#_;#O;#c;static unsafeExposeInternals(t){return{starts:t.#y,ttls:t.#d,sizes:t.#b,keyMap:t.#s,keyList:t.#i,valList:t.#t,next:t.#l,prev:t.#u,get head(){return t.#h},get tail(){return t.#r},free:t.#S,isBackgroundFetch:e=>t.#e(e),backgroundFetch:(e,i,s,n)=>t.#W(e,i,s,n),moveToTail:e=>t.#C(e),indexes:e=>t.#E(e),rindexes:e=>t.#A(e),isStale:e=>t.#p(e)}}get max(){return this.#a}get maxSize(){return this.#f}get calculatedSize(){return this.#m}get size(){return this.#n}get fetchMethod(){return this.#R}get memoMethod(){return this.#z}get dispose(){return this.#g}get disposeAfter(){return this.#w}constructor(t){const{max:e=0,ttl:i,ttlResolution:s=1,ttlAutopurge:n,updateAgeOnGet:r,updateAgeOnHas:a,allowStale:h,dispose:l,disposeAfter:w,noDisposeOnSet:c,noUpdateTTL:d,maxSize:u=0,maxEntrySize:v=0,sizeCalculation:g,fetchMethod:b,memoMethod:f,noDeleteOnFetchRejection:S,noDeleteOnStaleGet:_,allowStaleOnFetchRejection:m,allowStaleOnFetchAbort:y,ignoreFetchAbort:C}=t;if(e!==0&&!A(e))throw new TypeError("max option must be a nonnegative integer");const E=e?X(e):Array;if(!E)throw new Error("invalid max value: "+e);if(this.#a=e,this.#f=u,this.maxEntrySize=v||this.#f,this.sizeCalculation=g,this.sizeCalculation){if(!this.#f&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(f!==void 0&&typeof f!="function")throw new TypeError("memoMethod must be a function if defined");if(this.#z=f,b!==void 0&&typeof b!="function")throw new TypeError("fetchMethod must be a function if specified");if(this.#R=b,this.#O=!!b,this.#s=new Map,this.#i=new Array(e).fill(void 0),this.#t=new Array(e).fill(void 0),this.#l=new E(e),this.#u=new E(e),this.#h=0,this.#r=0,this.#S=x.create(e),this.#n=0,this.#m=0,typeof l=="function"&&(this.#g=l),typeof w=="function"?(this.#w=w,this.#o=[]):(this.#w=void 0,this.#o=void 0),this.#_=!!this.#g,this.#c=!!this.#w,this.noDisposeOnSet=!!c,this.noUpdateTTL=!!d,this.noDeleteOnFetchRejection=!!S,this.allowStaleOnFetchRejection=!!m,this.allowStaleOnFetchAbort=!!y,this.ignoreFetchAbort=!!C,this.maxEntrySize!==0){if(this.#f!==0&&!A(this.#f))throw new TypeError("maxSize must be a positive integer if specified");if(!A(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");this.#$()}if(this.allowStale=!!h,this.noDeleteOnStaleGet=!!_,this.updateAgeOnGet=!!r,this.updateAgeOnHas=!!a,this.ttlResolution=A(s)||s===0?s:1,this.ttlAutopurge=!!n,this.ttl=i||0,this.ttl){if(!A(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.#U()}if(this.#a===0&&this.ttl===0&&this.#f===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#a&&!this.#f){const L="LRU_CACHE_UNBOUNDED";st(L)&&(H.add(L),Y("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",L,M))}}getRemainingTTL(t){return this.#s.has(t)?1/0:0}#U(){const t=new D(this.#a),e=new D(this.#a);this.#d=t,this.#y=e,this.#I=(n,r,a=T.now())=>{if(e[n]=r!==0?a:0,t[n]=r,r!==0&&this.ttlAutopurge){const h=setTimeout(()=>{this.#p(n)&&this.#v(this.#i[n],"expire")},r+1);h.unref&&h.unref()}},this.#T=n=>{e[n]=t[n]!==0?T.now():0},this.#F=(n,r)=>{if(t[r]){const a=t[r],h=e[r];if(!a||!h)return;n.ttl=a,n.start=h,n.now=i||s();const l=n.now-h;n.remainingTTL=a-l}};let i=0;const s=()=>{const n=T.now();if(this.ttlResolution>0){i=n;const r=setTimeout(()=>i=0,this.ttlResolution);r.unref&&r.unref()}return n};this.getRemainingTTL=n=>{const r=this.#s.get(n);if(r===void 0)return 0;const a=t[r],h=e[r];if(!a||!h)return 1/0;const l=(i||s())-h;return a-l},this.#p=n=>{const r=e[n],a=t[n];return!!a&&!!r&&(i||s())-r>a}}#T=()=>{};#F=()=>{};#I=()=>{};#p=()=>!1;#$(){const t=new D(this.#a);this.#m=0,this.#b=t,this.#x=e=>{this.#m-=t[e],t[e]=0},this.#G=(e,i,s,n)=>{if(this.#e(i))return 0;if(!A(s))if(n){if(typeof n!="function")throw new TypeError("sizeCalculation must be a function");if(s=n(i,e),!A(s))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return s},this.#L=(e,i,s)=>{if(t[e]=i,this.#f){const n=this.#f-t[e];for(;this.#m>n;)this.#D(!0)}this.#m+=t[e],s&&(s.entrySize=i,s.totalCalculatedSize=this.#m)}}#x=t=>{};#L=(t,e,i)=>{};#G=(t,e,i,s)=>{if(i||s)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0};*#E({allowStale:t=this.allowStale}={}){if(this.#n)for(let e=this.#r;!(!this.#k(e)||((t||!this.#p(e))&&(yield e),e===this.#h));)e=this.#u[e]}*#A({allowStale:t=this.allowStale}={}){if(this.#n)for(let e=this.#h;!(!this.#k(e)||((t||!this.#p(e))&&(yield e),e===this.#r));)e=this.#l[e]}#k(t){return t!==void 0&&this.#s.get(this.#i[t])===t}*entries(){for(const t of this.#E())this.#t[t]!==void 0&&this.#i[t]!==void 0&&!this.#e(this.#t[t])&&(yield[this.#i[t],this.#t[t]])}*rentries(){for(const t of this.#A())this.#t[t]!==void 0&&this.#i[t]!==void 0&&!this.#e(this.#t[t])&&(yield[this.#i[t],this.#t[t]])}*keys(){for(const t of this.#E()){const e=this.#i[t];e!==void 0&&!this.#e(this.#t[t])&&(yield e)}}*rkeys(){for(const t of this.#A()){const e=this.#i[t];e!==void 0&&!this.#e(this.#t[t])&&(yield e)}}*values(){for(const t of this.#E())this.#t[t]!==void 0&&!this.#e(this.#t[t])&&(yield this.#t[t])}*rvalues(){for(const t of this.#A())this.#t[t]!==void 0&&!this.#e(this.#t[t])&&(yield this.#t[t])}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(t,e={}){for(const i of this.#E()){const s=this.#t[i],n=this.#e(s)?s.__staleWhileFetching:s;if(n!==void 0&&t(n,this.#i[i],this))return this.get(this.#i[i],e)}}forEach(t,e=this){for(const i of this.#E()){const s=this.#t[i],n=this.#e(s)?s.__staleWhileFetching:s;n!==void 0&&t.call(e,n,this.#i[i],this)}}rforEach(t,e=this){for(const i of this.#A()){const s=this.#t[i],n=this.#e(s)?s.__staleWhileFetching:s;n!==void 0&&t.call(e,n,this.#i[i],this)}}purgeStale(){let t=!1;for(const e of this.#A({allowStale:!0}))this.#p(e)&&(this.#v(this.#i[e],"expire"),t=!0);return t}info(t){const e=this.#s.get(t);if(e===void 0)return;const i=this.#t[e],s=this.#e(i)?i.__staleWhileFetching:i;if(s===void 0)return;const n={value:s};if(this.#d&&this.#y){const r=this.#d[e],a=this.#y[e];if(r&&a){const h=r-(T.now()-a);n.ttl=h,n.start=Date.now()}}return this.#b&&(n.size=this.#b[e]),n}dump(){const t=[];for(const e of this.#E({allowStale:!0})){const i=this.#i[e],s=this.#t[e],n=this.#e(s)?s.__staleWhileFetching:s;if(n===void 0||i===void 0)continue;const r={value:n};if(this.#d&&this.#y){r.ttl=this.#d[e];const a=T.now()-this.#y[e];r.start=Math.floor(Date.now()-a)}this.#b&&(r.size=this.#b[e]),t.unshift([i,r])}return t}load(t){this.clear();for(const[e,i]of t){if(i.start){const s=Date.now()-i.start;i.start=T.now()-s}this.set(e,i.value,i)}}set(t,e,i={}){if(e===void 0)return this.delete(t),this;const{ttl:s=this.ttl,start:n,noDisposeOnSet:r=this.noDisposeOnSet,sizeCalculation:a=this.sizeCalculation,status:h}=i;let{noUpdateTTL:l=this.noUpdateTTL}=i;const w=this.#G(t,e,i.size||0,a);if(this.maxEntrySize&&w>this.maxEntrySize)return h&&(h.set="miss",h.maxEntrySizeExceeded=!0),this.#v(t,"set"),this;let c=this.#n===0?void 0:this.#s.get(t);if(c===void 0)c=this.#n===0?this.#r:this.#S.length!==0?this.#S.pop():this.#n===this.#a?this.#D(!1):this.#n,this.#i[c]=t,this.#t[c]=e,this.#s.set(t,c),this.#l[this.#r]=c,this.#u[c]=this.#r,this.#r=c,this.#n++,this.#L(c,w,h),h&&(h.set="add"),l=!1;else{this.#C(c);const d=this.#t[c];if(e!==d){if(this.#O&&this.#e(d)){d.__abortController.abort(new Error("replaced"));const{__staleWhileFetching:u}=d;u!==void 0&&!r&&(this.#_&&this.#g?.(u,t,"set"),this.#c&&this.#o?.push([u,t,"set"]))}else r||(this.#_&&this.#g?.(d,t,"set"),this.#c&&this.#o?.push([d,t,"set"]));if(this.#x(c),this.#L(c,w,h),this.#t[c]=e,h){h.set="replace";const u=d&&this.#e(d)?d.__staleWhileFetching:d;u!==void 0&&(h.oldValue=u)}}else h&&(h.set="update")}if(s!==0&&!this.#d&&this.#U(),this.#d&&(l||this.#I(c,s,n),h&&this.#F(h,c)),!r&&this.#c&&this.#o){const d=this.#o;let u;for(;u=d?.shift();)this.#w?.(...u)}return this}pop(){try{for(;this.#n;){const t=this.#t[this.#h];if(this.#D(!0),this.#e(t)){if(t.__staleWhileFetching)return t.__staleWhileFetching}else if(t!==void 0)return t}}finally{if(this.#c&&this.#o){const t=this.#o;let e;for(;e=t?.shift();)this.#w?.(...e)}}}#D(t){const e=this.#h,i=this.#i[e],s=this.#t[e];return this.#O&&this.#e(s)?s.__abortController.abort(new Error("evicted")):(this.#_||this.#c)&&(this.#_&&this.#g?.(s,i,"evict"),this.#c&&this.#o?.push([s,i,"evict"])),this.#x(e),t&&(this.#i[e]=void 0,this.#t[e]=void 0,this.#S.push(e)),this.#n===1?(this.#h=this.#r=0,this.#S.length=0):this.#h=this.#l[e],this.#s.delete(i),this.#n--,e}has(t,e={}){const{updateAgeOnHas:i=this.updateAgeOnHas,status:s}=e,n=this.#s.get(t);if(n!==void 0){const r=this.#t[n];if(this.#e(r)&&r.__staleWhileFetching===void 0)return!1;if(this.#p(n))s&&(s.has="stale",this.#F(s,n));else return i&&this.#T(n),s&&(s.has="hit",this.#F(s,n)),!0}else s&&(s.has="miss");return!1}peek(t,e={}){const{allowStale:i=this.allowStale}=e,s=this.#s.get(t);if(s===void 0||!i&&this.#p(s))return;const n=this.#t[s];return this.#e(n)?n.__staleWhileFetching:n}#W(t,e,i,s){const n=e===void 0?void 0:this.#t[e];if(this.#e(n))return n;const r=new W,{signal:a}=i;a?.addEventListener("abort",()=>r.abort(a.reason),{signal:r.signal});const h={signal:r.signal,options:i,context:s},l=(g,b=!1)=>{const{aborted:f}=r.signal,S=i.ignoreFetchAbort&&g!==void 0;if(i.status&&(f&&!b?(i.status.fetchAborted=!0,i.status.fetchError=r.signal.reason,S&&(i.status.fetchAbortIgnored=!0)):i.status.fetchResolved=!0),f&&!S&&!b)return c(r.signal.reason);const _=u;return this.#t[e]===u&&(g===void 0?_.__staleWhileFetching?this.#t[e]=_.__staleWhileFetching:this.#v(t,"fetch"):(i.status&&(i.status.fetchUpdated=!0),this.set(t,g,h.options))),g},w=g=>(i.status&&(i.status.fetchRejected=!0,i.status.fetchError=g),c(g)),c=g=>{const{aborted:b}=r.signal,f=b&&i.allowStaleOnFetchAbort,S=f||i.allowStaleOnFetchRejection,_=S||i.noDeleteOnFetchRejection,m=u;if(this.#t[e]===u&&(!_||m.__staleWhileFetching===void 0?this.#v(t,"fetch"):f||(this.#t[e]=m.__staleWhileFetching)),S)return i.status&&m.__staleWhileFetching!==void 0&&(i.status.returnedStale=!0),m.__staleWhileFetching;if(m.__returned===m)throw g},d=(g,b)=>{const f=this.#R?.(t,n,h);f&&f instanceof Promise&&f.then(S=>g(S===void 0?void 0:S),b),r.signal.addEventListener("abort",()=>{(!i.ignoreFetchAbort||i.allowStaleOnFetchAbort)&&(g(void 0),i.allowStaleOnFetchAbort&&(g=S=>l(S,!0)))})};i.status&&(i.status.fetchDispatched=!0);const u=new Promise(d).then(l,w),v=Object.assign(u,{__abortController:r,__staleWhileFetching:n,__returned:void 0});return e===void 0?(this.set(t,v,{...h.options,status:void 0}),e=this.#s.get(t)):this.#t[e]=v,v}#e(t){if(!this.#O)return!1;const e=t;return!!e&&e instanceof Promise&&e.hasOwnProperty("__staleWhileFetching")&&e.__abortController instanceof W}async fetch(t,e={}){const{allowStale:i=this.allowStale,updateAgeOnGet:s=this.updateAgeOnGet,noDeleteOnStaleGet:n=this.noDeleteOnStaleGet,ttl:r=this.ttl,noDisposeOnSet:a=this.noDisposeOnSet,size:h=0,sizeCalculation:l=this.sizeCalculation,noUpdateTTL:w=this.noUpdateTTL,noDeleteOnFetchRejection:c=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:d=this.allowStaleOnFetchRejection,ignoreFetchAbort:u=this.ignoreFetchAbort,allowStaleOnFetchAbort:v=this.allowStaleOnFetchAbort,context:g,forceRefresh:b=!1,status:f,signal:S}=e;if(!this.#O)return f&&(f.fetch="get"),this.get(t,{allowStale:i,updateAgeOnGet:s,noDeleteOnStaleGet:n,status:f});const _={allowStale:i,updateAgeOnGet:s,noDeleteOnStaleGet:n,ttl:r,noDisposeOnSet:a,size:h,sizeCalculation:l,noUpdateTTL:w,noDeleteOnFetchRejection:c,allowStaleOnFetchRejection:d,allowStaleOnFetchAbort:v,ignoreFetchAbort:u,status:f,signal:S};let m=this.#s.get(t);if(m===void 0){f&&(f.fetch="miss");const y=this.#W(t,m,_,g);return y.__returned=y}else{const y=this.#t[m];if(this.#e(y)){const N=i&&y.__staleWhileFetching!==void 0;return f&&(f.fetch="inflight",N&&(f.returnedStale=!0)),N?y.__staleWhileFetching:y.__returned=y}const C=this.#p(m);if(!b&&!C)return f&&(f.fetch="hit"),this.#C(m),s&&this.#T(m),f&&this.#F(f,m),y;const E=this.#W(t,m,_,g),U=E.__staleWhileFetching!==void 0&&i;return f&&(f.fetch=C?"stale":"refresh",U&&C&&(f.returnedStale=!0)),U?E.__staleWhileFetching:E.__returned=E}}async forceFetch(t,e={}){const i=await this.fetch(t,e);if(i===void 0)throw new Error("fetch() returned undefined");return i}memo(t,e={}){const i=this.#z;if(!i)throw new Error("no memoMethod provided to constructor");const{context:s,forceRefresh:n,...r}=e,a=this.get(t,r);if(!n&&a!==void 0)return a;const h=i(t,a,{options:r,context:s});return this.set(t,h,r),h}get(t,e={}){const{allowStale:i=this.allowStale,updateAgeOnGet:s=this.updateAgeOnGet,noDeleteOnStaleGet:n=this.noDeleteOnStaleGet,status:r}=e,a=this.#s.get(t);if(a!==void 0){const h=this.#t[a],l=this.#e(h);return r&&this.#F(r,a),this.#p(a)?(r&&(r.get="stale"),l?(r&&i&&h.__staleWhileFetching!==void 0&&(r.returnedStale=!0),i?h.__staleWhileFetching:void 0):(n||this.#v(t,"expire"),r&&i&&(r.returnedStale=!0),i?h:void 0)):(r&&(r.get="hit"),l?h.__staleWhileFetching:(this.#C(a),s&&this.#T(a),h))}else r&&(r.get="miss")}#M(t,e){this.#u[e]=t,this.#l[t]=e}#C(t){t!==this.#r&&(t===this.#h?this.#h=this.#l[t]:this.#M(this.#u[t],this.#l[t]),this.#M(this.#r,t),this.#r=t)}delete(t){return this.#v(t,"delete")}#v(t,e){let i=!1;if(this.#n!==0){const s=this.#s.get(t);if(s!==void 0)if(i=!0,this.#n===1)this.#N(e);else{this.#x(s);const n=this.#t[s];if(this.#e(n)?n.__abortController.abort(new Error("deleted")):(this.#_||this.#c)&&(this.#_&&this.#g?.(n,t,e),this.#c&&this.#o?.push([n,t,e])),this.#s.delete(t),this.#i[s]=void 0,this.#t[s]=void 0,s===this.#r)this.#r=this.#u[s];else if(s===this.#h)this.#h=this.#l[s];else{const r=this.#u[s];this.#l[r]=this.#l[s];const a=this.#l[s];this.#u[a]=this.#u[s]}this.#n--,this.#S.push(s)}}if(this.#c&&this.#o?.length){const s=this.#o;let n;for(;n=s?.shift();)this.#w?.(...n)}return i}clear(){return this.#N("delete")}#N(t){for(const e of this.#A({allowStale:!0})){const i=this.#t[e];if(this.#e(i))i.__abortController.abort(new Error("deleted"));else{const s=this.#i[e];this.#_&&this.#g?.(i,s,t),this.#c&&this.#o?.push([i,s,t])}}if(this.#s.clear(),this.#t.fill(void 0),this.#i.fill(void 0),this.#d&&this.#y&&(this.#d.fill(0),this.#y.fill(0)),this.#b&&this.#b.fill(0),this.#h=0,this.#r=0,this.#S.length=0,this.#m=0,this.#n=0,this.#c&&this.#o){const e=this.#o;let i;for(;i=e?.shift();)this.#w?.(...i)}}}const O=new M({max:128});function G(o,t,e){return[o?"esm":"cjs",t,...e||[]].join("\0")}const J=Symbol("runCtx");function nt(o,t){let e=t.recreateContext?void 0:o.protocol.cache.get(J);if(e){if(t.globals)for(const[i,s]of Object.entries(t.globals))e.context[i]=s}else{const i={log:(...n)=>o.log(n,"info"),info:(...n)=>o.log(n,"info"),warn:(...n)=>o.log(n,"warn"),error:(...n)=>o.log(n,"error")},s=R.createContext({...t.globals,console:i});e={modules:{},context:s},o.protocol.cache.set(J,e)}for(const i of t.functions??[]){let s=G(!1,i.code,i.params),n=O.get(s),r=R.compileFunction(i.code,i.params,{parsingContext:e.context,cachedData:n,produceCachedData:!n});e.context[i.name]=r}for(const i of t.modules??[]){const s=G(!0,i.code);let n=O.get(s),r=new R.SourceTextModule(i.code,{identifier:i.name,context:e.context,cachedData:n});if(!n){let a=r.createCachedData();O.set(s,a)}e.modules[i.name]=r}return e}async function rt(o,t){let e=process.hrtime.bigint(),i=nt(t,o),s;if(!o.code)return{};const n=G(!o.expr,o.code);if(o.expr){let h=O.get(n),l=new R.Script(o.code,{filename:o.name||"<script>",cachedData:h});h||O.set(n,l.createCachedData()),s=l.runInContext(i.context,{timeout:o.timeoutMs??void 0}),typeof s?.then=="function"&&(s=await s)}else{async function h(c,d){const u=i.modules[c];if(u)return u;throw new Error(`Module not found: ${c}, referenced from ${d.identifier}`)}let l=O.get(n),w=new R.SourceTextModule(o.code,{identifier:o.name||"<script>",context:i.context,cachedData:l});if(!l){let c=w.createCachedData();c&&O.set(n,c)}await w.link(h),await w.evaluate()}const r=o.returnKeys?Object.fromEntries(o.returnKeys.map(h=>[h,i.context[h]])):i.context;let a=Number(process.hrtime.bigint()-e)/1e3;return p(`Evaluated in ${a}us`),{globals:r,returnValue:s}}function ot(o){p(`Worker ${process.pid} started`);const t=q.createServer(),e=()=>{p(`Worker ${process.pid} is shutting down`),t.close(()=>process.exit(0))};process.on("message",s=>{p(`Worker ${process.pid} received message: ${s}`),s=="shutdown"&&(p(`Worker ${process.pid} received shutdown message`),e())}),F.worker?.send("ready"),process.on("SIGTERM",e),process.on("SIGINT",e);function i(s){let n=new it(s);n.on("message",r=>ht(n,r))}t.on("error",s=>{console.error(s),process.exit(1)}),t.listen(o,()=>{p(`Worker ${process.pid} is listening on ${o}`),t.on("connection",i)})}function ht(o,{id:t,reqId:e,type:i,data:s}){if(i===k.Ping){o.sendMessage(e,z.Pong,Buffer.alloc(0));return}let n=process.hrtime.bigint(),r=!1;const a={protocol:o,reqId:e,id:t,log(h,l="info"){p(`${e}[${l}]:`,h),o.log(e,l,h)},respond(h){r=!0,o.respond(e,h)},error(h){p(`${e}: `,h.message),o.error(e,h)}};at(a,i,s).then(h=>{(h!=null||!r)&&a.respond(h??null);let l=Number(process.hrtime.bigint()-n)/1e3;p(`handle: ${l}us`)}).catch(h=>{p("Failed to handle request:"),a.error(h)})}async function at(o,t,e){switch(t){case k.RunScript:return rt(JSON.parse(e.toString()),o)}}if(F.isPrimary){let o=function(){if(n)return;let a=F.fork({SOCKET_PATH:s});a.on("message",h=>{h==="ready"&&n&&a.send("shutdown")})};const t=process.argv[1],{values:e}=Z({options:{workers:{type:"string",default:Q.cpus().length.toString()},socket:{type:"string"}}}),i=parseInt(e.workers??"1",10),s=e.socket;let n=!1;if(!s)throw new Error("No socket path provided");process.on("exit",()=>{try{$.unlinkSync(s)}catch{}});const r=()=>{p("shutting down"),n&&process.exit(1),n=!0;for(let a of Object.values(F.workers??{}))a?.send("shutdown",()=>{})};process.on("SIGTERM",r),process.on("SIGINT",r),F.on("online",a=>{p("online",a.process.pid,n),n&&a.kill("SIGKILL")}),F.on("exit",(a,h,l)=>{if(p("exit",a.process.pid,h,l,n,s),!n&&!$.existsSync(t)&&(p(`${s} script is gone, shutting down`),r()),n){const w=Object.values(F.workers??{}).map(c=>c?.process.pid);p(s,"remaining workers:",w),w.length==0&&process.exit(0);return}p(l?`Worker ${a.process.pid} died with signal ${l}. Restarting...`:`Worker ${a.process.pid} died with code ${h}. Restarting...`),o()}),p(`Primary ${process.pid} is running, starting ${i} workers and connecting to ${s}`);for(let a=0;a<i;a++)o()}else ot(process.env.SOCKET_PATH);
[INFO] [stderr]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
[INFO] [stderr] 
[INFO] [stderr] SyntaxError: Unexpected token '.'
[INFO] [stderr]     at Loader.moduleStrategy (internal/modules/esm/translators.js:133:18)
[INFO] [stderr]     at async link (internal/modules/esm/module_job.js:42:21)
[INFO] [stdout] test connection::tests::expression_execution ... FAILED
[INFO] [stdout] test connection::tests::multiple_connections ... FAILED
[INFO] [stdout] test connection::tests::multiple_connections_and_workers ... FAILED
[INFO] [stdout] test connection::tests::high_connection_count ... FAILED
[INFO] [stdout] test connection::tests::run_script_and_wait ... FAILED
[INFO] [stdout] test connection::tests::regular_execution ... FAILED
[INFO] [stdout] test connection::tests::syntax_error ... FAILED
[INFO] [stdout] test connection::tests::error ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- connection::tests::expression_execution stdout ----
[INFO] [stdout] thread 'connection::tests::expression_execution' panicked at src/connection.rs:410:54:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: StartWorker(Custom { kind: Other, error: "Timed out waiting for socket to be ready" })
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x604c0c4e64ea - std::backtrace_rs::backtrace::libunwind::trace::h207520d6e9873551
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x604c0c4e64ea - std::backtrace_rs::backtrace::trace_unsynchronized::h2ed7433f370e3eca
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x604c0c4e64ea - std::sys::backtrace::_print_fmt::h916fac51166b18d7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x604c0c4e64ea - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::ha0a4c9b8ce3802e6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x604c0c50dc53 - core::fmt::rt::Argument::fmt::h4cfc8587d52b3eb5
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x604c0c50dc53 - core::fmt::write::h522cc39e5b36ae9f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/mod.rs:1190:21
[INFO] [stdout]    6:     0x604c0c4e2853 - std::io::Write::write_fmt::h7d3c26752da97734
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/io/mod.rs:1839:15
[INFO] [stdout]    7:     0x604c0c4e6332 - std::sys::backtrace::BacktraceLock::print::h4b9e00b29e9c0942
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x604c0c4e797a - std::panicking::default_hook::{{closure}}::hb59b88280d0324d9
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:268:22
[INFO] [stdout]    9:     0x604c0c4e7784 - std::panicking::default_hook::he1dd496665be4a29
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:292:9
[INFO] [stdout]   10:     0x604c0c3bbdc9 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h4ff71de18744e1dc
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   11:     0x604c0c3bbdc9 - test::test_main::{{closure}}::hcf7c055ce117aa81
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:133:21
[INFO] [stdout]   12:     0x604c0c4e8078 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1d66c6bbd60c9692
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   13:     0x604c0c4e8078 - std::panicking::rust_panic_with_hook::h2ff17fe8f26dfcf8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:809:13
[INFO] [stdout]   14:     0x604c0c4e7e3a - std::panicking::begin_panic_handler::{{closure}}::h4fad77951c07e101
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:674:13
[INFO] [stdout]   15:     0x604c0c4e69c9 - std::sys::backtrace::__rust_end_short_backtrace::hb1a25b3da5d0ea08
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:170:18
[INFO] [stdout]   16:     0x604c0c4e7acc - rust_begin_unwind
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:665:5
[INFO] [stdout]   17:     0x604c0c50c2a0 - core::panicking::panic_fmt::ha9db07b529f9b256
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panicking.rs:75:14
[INFO] [stdout]   18:     0x604c0c50c746 - core::result::unwrap_failed::h5e8218e4d4338b8a
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/result.rs:1698:5
[INFO] [stdout]   19:     0x604c0c3475b1 - core::result::Result<T,E>::unwrap::h0b49c2e338f3074b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/result.rs:1103:23
[INFO] [stdout]   20:     0x604c0c3475b1 - js_sidecar::connection::tests::expression_execution::{{closure}}::h0a1d81228f8973be
[INFO] [stdout]                                at /opt/rustwide/workdir/src/connection.rs:410:27
[INFO] [stdout]   21:     0x604c0c3604a2 - <core::pin::Pin<P> as core::future::future::Future>::poll::hde96a37d17d8f161
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/future/future.rs:123:9
[INFO] [stdout]   22:     0x604c0c36039d - <core::pin::Pin<P> as core::future::future::Future>::poll::h21f4ec099c3feb25
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/future/future.rs:123:9
[INFO] [stdout]   23:     0x604c0c32d22f - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::h5d4ab86bb3005fb5
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:729:57
[INFO] [stdout]   24:     0x604c0c32d115 - tokio::runtime::coop::with_budget::hc12d05569f7bda20
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/coop.rs:107:5
[INFO] [stdout]   25:     0x604c0c32d115 - tokio::runtime::coop::budget::h1472bb9ef46adac5
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/coop.rs:73:5
[INFO] [stdout]   26:     0x604c0c32d115 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::h22310f3efc9fec41
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:729:25
[INFO] [stdout]   27:     0x604c0c32a750 - tokio::runtime::scheduler::current_thread::Context::enter::h3e4fec5582787b4a
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:428:19
[INFO] [stdout]   28:     0x604c0c32c7de - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::hade116164cab1730
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:728:36
[INFO] [stdout]   29:     0x604c0c32bc54 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::h43f8e00a76e2df3b
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:807:68
[INFO] [stdout]   30:     0x604c0c33022b - tokio::runtime::context::scoped::Scoped<T>::set::h95eb6542f26af0fa
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/context/scoped.rs:40:9
[INFO] [stdout]   31:     0x604c0c344589 - tokio::runtime::context::set_scheduler::{{closure}}::h0ebe193ae24b3a72
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/context.rs:180:26
[INFO] [stdout]   32:     0x604c0c30fd8d - std::thread::local::LocalKey<T>::try_with::h6f0fd0546effa21e
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/local.rs:283:12
[INFO] [stdout]   33:     0x604c0c30efca - std::thread::local::LocalKey<T>::with::hf4fb843b14b51186
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/local.rs:260:9
[INFO] [stdout]   34:     0x604c0c3444fd - tokio::runtime::context::set_scheduler::h35113186819d1e6b
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/context.rs:180:9
[INFO] [stdout]   35:     0x604c0c32b5c0 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::h9fb250941c0448eb
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:807:27
[INFO] [stdout]   36:     0x604c0c32bc73 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::h0f72ba62bdccd88e
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:716:19
[INFO] [stdout]   37:     0x604c0c328e8f - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::hd33be17b92c89628
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:196:28
[INFO] [stdout]   38:     0x604c0c31cb56 - tokio::runtime::context::runtime::enter_runtime::hb4f1f253fec5d55f
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/context/runtime.rs:65:16
[INFO] [stdout]   39:     0x604c0c328b81 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::h0bd0564e0d21d321
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:184:9
[INFO] [stdout]   40:     0x604c0c321213 - tokio::runtime::runtime::Runtime::block_on_inner::hd7b55a4ba85264fa
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/runtime.rs:368:47
[INFO] [stdout]   41:     0x604c0c321407 - tokio::runtime::runtime::Runtime::block_on::h71e8f6f40b6c8561
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/runtime.rs:342:13
[INFO] [stdout]   42:     0x604c0c3471a1 - js_sidecar::connection::tests::expression_execution::h26d5d0822cdfd415
[INFO] [stdout]                                at /opt/rustwide/workdir/src/connection.rs:451:9
[INFO] [stdout]   43:     0x604c0c347047 - js_sidecar::connection::tests::expression_execution::{{closure}}::h7d251135e34df3e2
[INFO] [stdout]                                at /opt/rustwide/workdir/src/connection.rs:409:36
[INFO] [stdout]   44:     0x604c0c2eed66 - core::ops::function::FnOnce::call_once::he6f5da12e224dce9
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x604c0c3c069b - core::ops::function::FnOnce::call_once::h22c3ba5715e93f05
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   46:     0x604c0c3c069b - test::__rust_begin_short_backtrace::h8e82d8113d0da17f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:621:18
[INFO] [stdout]   47:     0x604c0c3c0017 - test::run_test_in_process::{{closure}}::h33235f4f20b7b7c7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:60
[INFO] [stdout]   48:     0x604c0c3c0017 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb5043206310c586f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   49:     0x604c0c3c0017 - std::panicking::try::do_call::h9ad4731a60ab23e2
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   50:     0x604c0c3c0017 - std::panicking::try::h3824d23db772a716
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   51:     0x604c0c3c0017 - std::panic::catch_unwind::h5afd514605fde46b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   52:     0x604c0c3c0017 - test::run_test_in_process::h0d5cbfa7067d1720
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:27
[INFO] [stdout]   53:     0x604c0c3c0017 - test::run_test::{{closure}}::h708eb8872708115d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:565:43
[INFO] [stdout]   54:     0x604c0c383734 - test::run_test::{{closure}}::h392c51cee94713ab
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:595:41
[INFO] [stdout]   55:     0x604c0c383734 - std::sys::backtrace::__rust_begin_short_backtrace::h2f40290710935a8b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:154:18
[INFO] [stdout]   56:     0x604c0c386ede - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h3fd968d89053a903
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:541:17
[INFO] [stdout]   57:     0x604c0c386ede - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h743f637ba4229880
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   58:     0x604c0c386ede - std::panicking::try::do_call::h07440897322525a6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   59:     0x604c0c386ede - std::panicking::try::he5a2e00188156637
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   60:     0x604c0c386ede - std::panic::catch_unwind::hbaf3cae49b3c6433
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   61:     0x604c0c386ede - std::thread::Builder::spawn_unchecked_::{{closure}}::h8e141ea224820bce
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:540:30
[INFO] [stdout]   62:     0x604c0c386ede - core::ops::function::FnOnce::call_once{{vtable.shim}}::h90d312fedd7b8ea8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   63:     0x604c0c4ec35b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h69aa08ddb6adb8b6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   64:     0x604c0c4ec35b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5aa36efdb79c806f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   65:     0x604c0c4ec35b - std::sys::pal::unix::thread::Thread::new::thread_start::h6cd80a1b4be5158d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/pal/unix/thread.rs:105:17
[INFO] [stdout]   66:     0x78a1ec5deac3 - <unknown>
[INFO] [stdout]   67:     0x78a1ec66fa04 - clone
[INFO] [stdout]   68:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- connection::tests::multiple_connections stdout ----
[INFO] [stdout] thread 'connection::tests::multiple_connections' panicked at src/connection.rs:531:57:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: StartWorker(Custom { kind: Other, error: "Timed out waiting for socket to be ready" })
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x604c0c4e64ea - std::backtrace_rs::backtrace::libunwind::trace::h207520d6e9873551
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x604c0c4e64ea - std::backtrace_rs::backtrace::trace_unsynchronized::h2ed7433f370e3eca
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x604c0c4e64ea - std::sys::backtrace::_print_fmt::h916fac51166b18d7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x604c0c4e64ea - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::ha0a4c9b8ce3802e6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x604c0c50dc53 - core::fmt::rt::Argument::fmt::h4cfc8587d52b3eb5
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x604c0c50dc53 - core::fmt::write::h522cc39e5b36ae9f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/mod.rs:1190:21
[INFO] [stdout]    6:     0x604c0c4e2853 - std::io::Write::write_fmt::h7d3c26752da97734
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/io/mod.rs:1839:15
[INFO] [stdout]    7:     0x604c0c4e6332 - std::sys::backtrace::BacktraceLock::print::h4b9e00b29e9c0942
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x604c0c4e797a - std::panicking::default_hook::{{closure}}::hb59b88280d0324d9
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:268:22
[INFO] [stdout]    9:     0x604c0c4e7784 - std::panicking::default_hook::he1dd496665be4a29
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:292:9
[INFO] [stdout]   10:     0x604c0c3bbdc9 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h4ff71de18744e1dc
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   11:     0x604c0c3bbdc9 - test::test_main::{{closure}}::hcf7c055ce117aa81
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:133:21
[INFO] [stdout]   12:     0x604c0c4e8078 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1d66c6bbd60c9692
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   13:     0x604c0c4e8078 - std::panicking::rust_panic_with_hook::h2ff17fe8f26dfcf8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:809:13
[INFO] [stdout]   14:     0x604c0c4e7e3a - std::panicking::begin_panic_handler::{{closure}}::h4fad77951c07e101
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:674:13
[INFO] [stdout]   15:     0x604c0c4e69c9 - std::sys::backtrace::__rust_end_short_backtrace::hb1a25b3da5d0ea08
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:170:18
[INFO] [stdout]   16:     0x604c0c4e7acc - rust_begin_unwind
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:665:5
[INFO] [stdout]   17:     0x604c0c50c2a0 - core::panicking::panic_fmt::ha9db07b529f9b256
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panicking.rs:75:14
[INFO] [stdout]   18:     0x604c0c50c746 - core::result::unwrap_failed::h5e8218e4d4338b8a
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/result.rs:1698:5
[INFO] [stdout]   19:     0x604c0c34cfd1 - core::result::Result<T,E>::unwrap::h0b49c2e338f3074b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/result.rs:1103:23
[INFO] [stdout]   20:     0x604c0c34cfd1 - js_sidecar::connection::tests::multiple_connections::{{closure}}::h99cf1767e349dee8
[INFO] [stdout]                                at /opt/rustwide/workdir/src/connection.rs:531:27
[INFO] [stdout]   21:     0x604c0c3604a2 - <core::pin::Pin<P> as core::future::future::Future>::poll::hde96a37d17d8f161
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/future/future.rs:123:9
[INFO] [stdout]   22:     0x604c0c36039d - <core::pin::Pin<P> as core::future::future::Future>::poll::h21f4ec099c3feb25
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/future/future.rs:123:9
[INFO] [stdout]   23:     0x604c0c32d22f - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::h5d4ab86bb3005fb5
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:729:57
[INFO] [stdout]   24:     0x604c0c32d115 - tokio::runtime::coop::with_budget::hc12d05569f7bda20
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/coop.rs:107:5
[INFO] [stdout]   25:     0x604c0c32d115 - tokio::runtime::coop::budget::h1472bb9ef46adac5
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/coop.rs:73:5
[INFO] [stdout]   26:     0x604c0c32d115 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::h22310f3efc9fec41
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:729:25
[INFO] [stdout]   27:     0x604c0c32a750 - tokio::runtime::scheduler::current_thread::Context::enter::h3e4fec5582787b4a
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:428:19
[INFO] [stdout]   28:     0x604c0c32c7de - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::hade116164cab1730
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:728:36
[INFO] [stdout]   29:     0x604c0c32bc54 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::h43f8e00a76e2df3b
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:807:68
[INFO] [stdout]   30:     0x604c0c33022b - tokio::runtime::context::scoped::Scoped<T>::set::h95eb6542f26af0fa
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/context/scoped.rs:40:9
[INFO] [stdout]   31:     0x604c0c344589 - tokio::runtime::context::set_scheduler::{{closure}}::h0ebe193ae24b3a72
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/context.rs:180:26
[INFO] [stdout]   32:     0x604c0c30fd8d - std::thread::local::LocalKey<T>::try_with::h6f0fd0546effa21e
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/local.rs:283:12
[INFO] [stdout]   33:     0x604c0c30efca - std::thread::local::LocalKey<T>::with::hf4fb843b14b51186
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/local.rs:260:9
[INFO] [stdout]   34:     0x604c0c3444fd - tokio::runtime::context::set_scheduler::h35113186819d1e6b
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/context.rs:180:9
[INFO] [stdout]   35:     0x604c0c32b5c0 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::h9fb250941c0448eb
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:807:27
[INFO] [stdout]   36:     0x604c0c32bc73 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::h0f72ba62bdccd88e
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:716:19
[INFO] [stdout]   37:     0x604c0c328e8f - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::hd33be17b92c89628
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:196:28
[INFO] [stdout]   38:     0x604c0c31cb56 - tokio::runtime::context::runtime::enter_runtime::hb4f1f253fec5d55f
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/context/runtime.rs:65:16
[INFO] [stdout]   39:     0x604c0c328b81 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::h0bd0564e0d21d321
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:184:9
[INFO] [stdout]   40:     0x604c0c321213 - tokio::runtime::runtime::Runtime::block_on_inner::hd7b55a4ba85264fa
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/runtime.rs:368:47
[INFO] [stdout]   41:     0x604c0c321407 - tokio::runtime::runtime::Runtime::block_on::h71e8f6f40b6c8561
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/runtime.rs:342:13
[INFO] [stdout]   42:     0x604c0c34cc81 - js_sidecar::connection::tests::multiple_connections::h44fde161e9bfac9c
[INFO] [stdout]                                at /opt/rustwide/workdir/src/connection.rs:557:9
[INFO] [stdout]   43:     0x604c0c34cb27 - js_sidecar::connection::tests::multiple_connections::{{closure}}::h25aedfd0467785a5
[INFO] [stdout]                                at /opt/rustwide/workdir/src/connection.rs:530:36
[INFO] [stdout]   44:     0x604c0c2ee656 - core::ops::function::FnOnce::call_once::h7110c4085bb013fb
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x604c0c3c069b - core::ops::function::FnOnce::call_once::h22c3ba5715e93f05
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   46:     0x604c0c3c069b - test::__rust_begin_short_backtrace::h8e82d8113d0da17f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:621:18
[INFO] [stdout]   47:     0x604c0c3c0017 - test::run_test_in_process::{{closure}}::h33235f4f20b7b7c7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:60
[INFO] [stdout]   48:     0x604c0c3c0017 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb5043206310c586f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   49:     0x604c0c3c0017 - std::panicking::try::do_call::h9ad4731a60ab23e2
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   50:     0x604c0c3c0017 - std::panicking::try::h3824d23db772a716
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   51:     0x604c0c3c0017 - std::panic::catch_unwind::h5afd514605fde46b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   52:     0x604c0c3c0017 - test::run_test_in_process::h0d5cbfa7067d1720
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:27
[INFO] [stdout]   53:     0x604c0c3c0017 - test::run_test::{{closure}}::h708eb8872708115d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:565:43
[INFO] [stdout]   54:     0x604c0c383734 - test::run_test::{{closure}}::h392c51cee94713ab
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:595:41
[INFO] [stdout]   55:     0x604c0c383734 - std::sys::backtrace::__rust_begin_short_backtrace::h2f40290710935a8b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:154:18
[INFO] [stdout]   56:     0x604c0c386ede - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h3fd968d89053a903
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:541:17
[INFO] [stdout]   57:     0x604c0c386ede - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h743f637ba4229880
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   58:     0x604c0c386ede - std::panicking::try::do_call::h07440897322525a6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   59:     0x604c0c386ede - std::panicking::try::he5a2e00188156637
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   60:     0x604c0c386ede - std::panic::catch_unwind::hbaf3cae49b3c6433
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   61:     0x604c0c386ede - std::thread::Builder::spawn_unchecked_::{{closure}}::h8e141ea224820bce
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:540:30
[INFO] [stdout]   62:     0x604c0c386ede - core::ops::function::FnOnce::call_once{{vtable.shim}}::h90d312fedd7b8ea8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   63:     0x604c0c4ec35b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h69aa08ddb6adb8b6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   64:     0x604c0c4ec35b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5aa36efdb79c806f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   65:     0x604c0c4ec35b - std::sys::pal::unix::thread::Thread::new::thread_start::h6cd80a1b4be5158d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/pal/unix/thread.rs:105:17
[INFO] [stdout]   66:     0x78a1ec5deac3 - <unknown>
[INFO] [stdout]   67:     0x78a1ec66fa04 - clone
[INFO] [stdout]   68:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- connection::tests::multiple_connections_and_workers stdout ----
[INFO] [stdout] thread 'connection::tests::multiple_connections_and_workers' panicked at src/connection.rs:562:57:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: StartWorker(Custom { kind: Other, error: "Timed out waiting for socket to be ready" })
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x604c0c4e64ea - std::backtrace_rs::backtrace::libunwind::trace::h207520d6e9873551
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x604c0c4e64ea - std::backtrace_rs::backtrace::trace_unsynchronized::h2ed7433f370e3eca
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x604c0c4e64ea - std::sys::backtrace::_print_fmt::h916fac51166b18d7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x604c0c4e64ea - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::ha0a4c9b8ce3802e6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x604c0c50dc53 - core::fmt::rt::Argument::fmt::h4cfc8587d52b3eb5
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x604c0c50dc53 - core::fmt::write::h522cc39e5b36ae9f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/mod.rs:1190:21
[INFO] [stdout]    6:     0x604c0c4e2853 - std::io::Write::write_fmt::h7d3c26752da97734
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/io/mod.rs:1839:15
[INFO] [stdout]    7:     0x604c0c4e6332 - std::sys::backtrace::BacktraceLock::print::h4b9e00b29e9c0942
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x604c0c4e797a - std::panicking::default_hook::{{closure}}::hb59b88280d0324d9
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:268:22
[INFO] [stdout]    9:     0x604c0c4e7784 - std::panicking::default_hook::he1dd496665be4a29
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:292:9
[INFO] [stdout]   10:     0x604c0c3bbdc9 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h4ff71de18744e1dc
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   11:     0x604c0c3bbdc9 - test::test_main::{{closure}}::hcf7c055ce117aa81
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:133:21
[INFO] [stdout]   12:     0x604c0c4e8078 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1d66c6bbd60c9692
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   13:     0x604c0c4e8078 - std::panicking::rust_panic_with_hook::h2ff17fe8f26dfcf8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:809:13
[INFO] [stdout]   14:     0x604c0c4e7e3a - std::panicking::begin_panic_handler::{{closure}}::h4fad77951c07e101
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:674:13
[INFO] [stdout]   15:     0x604c0c4e69c9 - std::sys::backtrace::__rust_end_short_backtrace::hb1a25b3da5d0ea08
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:170:18
[INFO] [stdout]   16:     0x604c0c4e7acc - rust_begin_unwind
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:665:5
[INFO] [stdout]   17:     0x604c0c50c2a0 - core::panicking::panic_fmt::ha9db07b529f9b256
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panicking.rs:75:14
[INFO] [stdout]   18:     0x604c0c50c746 - core::result::unwrap_failed::h5e8218e4d4338b8a
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/result.rs:1698:5
[INFO] [stdout]   19:     0x604c0c34e691 - core::result::Result<T,E>::unwrap::h0b49c2e338f3074b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/result.rs:1103:23
[INFO] [stdout]   20:     0x604c0c34e691 - js_sidecar::connection::tests::multiple_connections_and_workers::{{closure}}::hb7dc4ca9f84218c2
[INFO] [stdout]                                at /opt/rustwide/workdir/src/connection.rs:562:27
[INFO] [stdout]   21:     0x604c0c3604a2 - <core::pin::Pin<P> as core::future::future::Future>::poll::hde96a37d17d8f161
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/future/future.rs:123:9
[INFO] [stdout]   22:     0x604c0c36039d - <core::pin::Pin<P> as core::future::future::Future>::poll::h21f4ec099c3feb25
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/future/future.rs:123:9
[INFO] [stdout]   23:     0x604c0c32d22f - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::h5d4ab86bb3005fb5
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:729:57
[INFO] [stdout]   24:     0x604c0c32d115 - tokio::runtime::coop::with_budget::hc12d05569f7bda20
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/coop.rs:107:5
[INFO] [stdout]   25:     0x604c0c32d115 - tokio::runtime::coop::budget::h1472bb9ef46adac5
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/coop.rs:73:5
[INFO] [stdout]   26:     0x604c0c32d115 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::h22310f3efc9fec41
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:729:25
[INFO] [stdout]   27:     0x604c0c32a750 - tokio::runtime::scheduler::current_thread::Context::enter::h3e4fec5582787b4a
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:428:19
[INFO] [stdout]   28:     0x604c0c32c7de - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::hade116164cab1730
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:728:36
[INFO] [stdout]   29:     0x604c0c32bc54 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::h43f8e00a76e2df3b
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:807:68
[INFO] [stdout]   30:     0x604c0c33022b - tokio::runtime::context::scoped::Scoped<T>::set::h95eb6542f26af0fa
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/context/scoped.rs:40:9
[INFO] [stdout]   31:     0x604c0c344589 - tokio::runtime::context::set_scheduler::{{closure}}::h0ebe193ae24b3a72
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/context.rs:180:26
[INFO] [stdout]   32:     0x604c0c30fd8d - std::thread::local::LocalKey<T>::try_with::h6f0fd0546effa21e
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/local.rs:283:12
[INFO] [stdout]   33:     0x604c0c30efca - std::thread::local::LocalKey<T>::with::hf4fb843b14b51186
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/local.rs:260:9
[INFO] [stdout]   34:     0x604c0c3444fd - tokio::runtime::context::set_scheduler::h35113186819d1e6b
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/context.rs:180:9
[INFO] [stdout]   35:     0x604c0c32b5c0 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::h9fb250941c0448eb
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:807:27
[INFO] [stdout]   36:     0x604c0c32bc73 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::h0f72ba62bdccd88e
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:716:19
[INFO] [stdout]   37:     0x604c0c328e8f - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::hd33be17b92c89628
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:196:28
[INFO] [stdout]   38:     0x604c0c31cb56 - tokio::runtime::context::runtime::enter_runtime::hb4f1f253fec5d55f
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/context/runtime.rs:65:16
[INFO] [stdout]   39:     0x604c0c328b81 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::h0bd0564e0d21d321
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:184:9
[INFO] [stdout]   40:     0x604c0c321213 - tokio::runtime::runtime::Runtime::block_on_inner::hd7b55a4ba85264fa
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/runtime.rs:368:47
[INFO] [stdout]   41:     0x604c0c321407 - tokio::runtime::runtime::Runtime::block_on::h71e8f6f40b6c8561
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/runtime.rs:342:13
[INFO] [stdout]   42:     0x604c0c34e341 - js_sidecar::connection::tests::multiple_connections_and_workers::h2d88daf4668ef028
[INFO] [stdout]                                at /opt/rustwide/workdir/src/connection.rs:588:9
[INFO] [stdout]   43:     0x604c0c34e1e7 - js_sidecar::connection::tests::multiple_connections_and_workers::{{closure}}::hed414c64171a232d
[INFO] [stdout]                                at /opt/rustwide/workdir/src/connection.rs:561:48
[INFO] [stdout]   44:     0x604c0c2edf36 - core::ops::function::FnOnce::call_once::h162ad9b5147d37a8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x604c0c3c069b - core::ops::function::FnOnce::call_once::h22c3ba5715e93f05
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   46:     0x604c0c3c069b - test::__rust_begin_short_backtrace::h8e82d8113d0da17f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:621:18
[INFO] [stdout]   47:     0x604c0c3c0017 - test::run_test_in_process::{{closure}}::h33235f4f20b7b7c7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:60
[INFO] [stdout]   48:     0x604c0c3c0017 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb5043206310c586f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   49:     0x604c0c3c0017 - std::panicking::try::do_call::h9ad4731a60ab23e2
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   50:     0x604c0c3c0017 - std::panicking::try::h3824d23db772a716
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   51:     0x604c0c3c0017 - std::panic::catch_unwind::h5afd514605fde46b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   52:     0x604c0c3c0017 - test::run_test_in_process::h0d5cbfa7067d1720
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:27
[INFO] [stdout]   53:     0x604c0c3c0017 - test::run_test::{{closure}}::h708eb8872708115d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:565:43
[INFO] [stdout]   54:     0x604c0c383734 - test::run_test::{{closure}}::h392c51cee94713ab
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:595:41
[INFO] [stdout]   55:     0x604c0c383734 - std::sys::backtrace::__rust_begin_short_backtrace::h2f40290710935a8b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:154:18
[INFO] [stdout]   56:     0x604c0c386ede - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h3fd968d89053a903
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:541:17
[INFO] [stdout]   57:     0x604c0c386ede - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h743f637ba4229880
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   58:     0x604c0c386ede - std::panicking::try::do_call::h07440897322525a6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   59:     0x604c0c386ede - std::panicking::try::he5a2e00188156637
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   60:     0x604c0c386ede - std::panic::catch_unwind::hbaf3cae49b3c6433
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   61:     0x604c0c386ede - std::thread::Builder::spawn_unchecked_::{{closure}}::h8e141ea224820bce
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:540:30
[INFO] [stdout]   62:     0x604c0c386ede - core::ops::function::FnOnce::call_once{{vtable.shim}}::h90d312fedd7b8ea8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   63:     0x604c0c4ec35b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h69aa08ddb6adb8b6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   64:     0x604c0c4ec35b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5aa36efdb79c806f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   65:     0x604c0c4ec35b - std::sys::pal::unix::thread::Thread::new::thread_start::h6cd80a1b4be5158d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/pal/unix/thread.rs:105:17
[INFO] [stdout]   66:     0x78a1ec5deac3 - <unknown>
[INFO] [stdout]   67:     0x78a1ec66fa04 - clone
[INFO] [stdout]   68:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- connection::tests::high_connection_count stdout ----
[INFO] [stdout] thread 'connection::tests::high_connection_count' panicked at src/connection.rs:593:57:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: StartWorker(Custom { kind: Other, error: "Timed out waiting for socket to be ready" })
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x604c0c4e64ea - std::backtrace_rs::backtrace::libunwind::trace::h207520d6e9873551
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x604c0c4e64ea - std::backtrace_rs::backtrace::trace_unsynchronized::h2ed7433f370e3eca
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x604c0c4e64ea - std::sys::backtrace::_print_fmt::h916fac51166b18d7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x604c0c4e64ea - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::ha0a4c9b8ce3802e6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x604c0c50dc53 - core::fmt::rt::Argument::fmt::h4cfc8587d52b3eb5
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x604c0c50dc53 - core::fmt::write::h522cc39e5b36ae9f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/mod.rs:1190:21
[INFO] [stdout]    6:     0x604c0c4e2853 - std::io::Write::write_fmt::h7d3c26752da97734
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/io/mod.rs:1839:15
[INFO] [stdout]    7:     0x604c0c4e6332 - std::sys::backtrace::BacktraceLock::print::h4b9e00b29e9c0942
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x604c0c4e797a - std::panicking::default_hook::{{closure}}::hb59b88280d0324d9
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:268:22
[INFO] [stdout]    9:     0x604c0c4e7784 - std::panicking::default_hook::he1dd496665be4a29
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:292:9
[INFO] [stdout]   10:     0x604c0c3bbdc9 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h4ff71de18744e1dc
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   11:     0x604c0c3bbdc9 - test::test_main::{{closure}}::hcf7c055ce117aa81
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:133:21
[INFO] [stdout]   12:     0x604c0c4e8078 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1d66c6bbd60c9692
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   13:     0x604c0c4e8078 - std::panicking::rust_panic_with_hook::h2ff17fe8f26dfcf8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:809:13
[INFO] [stdout]   14:     0x604c0c4e7e3a - std::panicking::begin_panic_handler::{{closure}}::h4fad77951c07e101
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:674:13
[INFO] [stdout]   15:     0x604c0c4e69c9 - std::sys::backtrace::__rust_end_short_backtrace::hb1a25b3da5d0ea08
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:170:18
[INFO] [stdout]   16:     0x604c0c4e7acc - rust_begin_unwind
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:665:5
[INFO] [stdout]   17:     0x604c0c50c2a0 - core::panicking::panic_fmt::ha9db07b529f9b256
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panicking.rs:75:14
[INFO] [stdout]   18:     0x604c0c50c746 - core::result::unwrap_failed::h5e8218e4d4338b8a
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/result.rs:1698:5
[INFO] [stdout]   19:     0x604c0c34fd8d - core::result::Result<T,E>::unwrap::h0b49c2e338f3074b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/result.rs:1103:23
[INFO] [stdout]   20:     0x604c0c34fd8d - js_sidecar::connection::tests::high_connection_count::{{closure}}::h9523a683d1fcfaf6
[INFO] [stdout]                                at /opt/rustwide/workdir/src/connection.rs:593:27
[INFO] [stdout]   21:     0x604c0c3604a2 - <core::pin::Pin<P> as core::future::future::Future>::poll::hde96a37d17d8f161
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/future/future.rs:123:9
[INFO] [stdout]   22:     0x604c0c36039d - <core::pin::Pin<P> as core::future::future::Future>::poll::h21f4ec099c3feb25
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/future/future.rs:123:9
[INFO] [stdout]   23:     0x604c0c32d22f - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::h5d4ab86bb3005fb5
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:729:57
[INFO] [stdout]   24:     0x604c0c32d115 - tokio::runtime::coop::with_budget::hc12d05569f7bda20
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/coop.rs:107:5
[INFO] [stdout]   25:     0x604c0c32d115 - tokio::runtime::coop::budget::h1472bb9ef46adac5
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/coop.rs:73:5
[INFO] [stdout]   26:     0x604c0c32d115 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::h22310f3efc9fec41
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:729:25
[INFO] [stdout]   27:     0x604c0c32a750 - tokio::runtime::scheduler::current_thread::Context::enter::h3e4fec5582787b4a
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:428:19
[INFO] [stdout]   28:     0x604c0c32c7de - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::hade116164cab1730
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:728:36
[INFO] [stdout]   29:     0x604c0c32bc54 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::h43f8e00a76e2df3b
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:807:68
[INFO] [stdout]   30:     0x604c0c33022b - tokio::runtime::context::scoped::Scoped<T>::set::h95eb6542f26af0fa
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/context/scoped.rs:40:9
[INFO] [stdout]   31:     0x604c0c344589 - tokio::runtime::context::set_scheduler::{{closure}}::h0ebe193ae24b3a72
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/context.rs:180:26
[INFO] [stdout]   32:     0x604c0c30fd8d - std::thread::local::LocalKey<T>::try_with::h6f0fd0546effa21e
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/local.rs:283:12
[INFO] [stdout]   33:     0x604c0c30efca - std::thread::local::LocalKey<T>::with::hf4fb843b14b51186
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/local.rs:260:9
[INFO] [stdout]   34:     0x604c0c3444fd - tokio::runtime::context::set_scheduler::h35113186819d1e6b
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/context.rs:180:9
[INFO] [stdout]   35:     0x604c0c32b5c0 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::h9fb250941c0448eb
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:807:27
[INFO] [stdout]   36:     0x604c0c32bc73 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::h0f72ba62bdccd88e
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:716:19
[INFO] [stdout]   37:     0x604c0c328e8f - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::hd33be17b92c89628
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:196:28
[INFO] [stdout]   38:     0x604c0c31cb56 - tokio::runtime::context::runtime::enter_runtime::hb4f1f253fec5d55f
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/context/runtime.rs:65:16
[INFO] [stdout]   39:     0x604c0c328b81 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::h0bd0564e0d21d321
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:184:9
[INFO] [stdout]   40:     0x604c0c321213 - tokio::runtime::runtime::Runtime::block_on_inner::hd7b55a4ba85264fa
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/runtime.rs:368:47
[INFO] [stdout]   41:     0x604c0c321407 - tokio::runtime::runtime::Runtime::block_on::h71e8f6f40b6c8561
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/runtime.rs:342:13
[INFO] [stdout]   42:     0x604c0c34fa01 - js_sidecar::connection::tests::high_connection_count::h5c7a74e29ce26add
[INFO] [stdout]                                at /opt/rustwide/workdir/src/connection.rs:612:9
[INFO] [stdout]   43:     0x604c0c34f8a7 - js_sidecar::connection::tests::high_connection_count::{{closure}}::hece0ddb06885c04a
[INFO] [stdout]                                at /opt/rustwide/workdir/src/connection.rs:592:37
[INFO] [stdout]   44:     0x604c0c2ee396 - core::ops::function::FnOnce::call_once::h4bd255e7852a8f06
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x604c0c3c069b - core::ops::function::FnOnce::call_once::h22c3ba5715e93f05
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   46:     0x604c0c3c069b - test::__rust_begin_short_backtrace::h8e82d8113d0da17f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:621:18
[INFO] [stdout]   47:     0x604c0c3c0017 - test::run_test_in_process::{{closure}}::h33235f4f20b7b7c7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:60
[INFO] [stdout]   48:     0x604c0c3c0017 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb5043206310c586f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   49:     0x604c0c3c0017 - std::panicking::try::do_call::h9ad4731a60ab23e2
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   50:     0x604c0c3c0017 - std::panicking::try::h3824d23db772a716
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   51:     0x604c0c3c0017 - std::panic::catch_unwind::h5afd514605fde46b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   52:     0x604c0c3c0017 - test::run_test_in_process::h0d5cbfa7067d1720
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:27
[INFO] [stdout]   53:     0x604c0c3c0017 - test::run_test::{{closure}}::h708eb8872708115d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:565:43
[INFO] [stdout]   54:     0x604c0c383734 - test::run_test::{{closure}}::h392c51cee94713ab
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:595:41
[INFO] [stdout]   55:     0x604c0c383734 - std::sys::backtrace::__rust_begin_short_backtrace::h2f40290710935a8b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:154:18
[INFO] [stdout]   56:     0x604c0c386ede - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h3fd968d89053a903
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:541:17
[INFO] [stdout]   57:     0x604c0c386ede - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h743f637ba4229880
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   58:     0x604c0c386ede - std::panicking::try::do_call::h07440897322525a6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   59:     0x604c0c386ede - std::panicking::try::he5a2e00188156637
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   60:     0x604c0c386ede - std::panic::catch_unwind::hbaf3cae49b3c6433
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   61:     0x604c0c386ede - std::thread::Builder::spawn_unchecked_::{{closure}}::h8e141ea224820bce
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:540:30
[INFO] [stdout]   62:     0x604c0c386ede - core::ops::function::FnOnce::call_once{{vtable.shim}}::h90d312fedd7b8ea8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   63:     0x604c0c4ec35b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h69aa08ddb6adb8b6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   64:     0x604c0c4ec35b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5aa36efdb79c806f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   65:     0x604c0c4ec35b - std::sys::pal::unix::thread::Thread::new::thread_start::h6cd80a1b4be5158d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/pal/unix/thread.rs:105:17
[INFO] [stdout]   66:     0x78a1ec5deac3 - <unknown>
[INFO] [stdout]   67:     0x78a1ec66fa04 - clone
[INFO] [stdout]   68:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- connection::tests::run_script_and_wait stdout ----
[INFO] [stdout] thread 'connection::tests::run_script_and_wait' panicked at src/connection.rs:456:57:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: StartWorker(Custom { kind: Other, error: "Timed out waiting for socket to be ready" })
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x604c0c4e64ea - std::backtrace_rs::backtrace::libunwind::trace::h207520d6e9873551
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x604c0c4e64ea - std::backtrace_rs::backtrace::trace_unsynchronized::h2ed7433f370e3eca
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x604c0c4e64ea - std::sys::backtrace::_print_fmt::h916fac51166b18d7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x604c0c4e64ea - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::ha0a4c9b8ce3802e6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x604c0c50dc53 - core::fmt::rt::Argument::fmt::h4cfc8587d52b3eb5
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x604c0c50dc53 - core::fmt::write::h522cc39e5b36ae9f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/mod.rs:1190:21
[INFO] [stdout]    6:     0x604c0c4e2853 - std::io::Write::write_fmt::h7d3c26752da97734
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/io/mod.rs:1839:15
[INFO] [stdout]    7:     0x604c0c4e6332 - std::sys::backtrace::BacktraceLock::print::h4b9e00b29e9c0942
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x604c0c4e797a - std::panicking::default_hook::{{closure}}::hb59b88280d0324d9
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:268:22
[INFO] [stdout]    9:     0x604c0c4e7784 - std::panicking::default_hook::he1dd496665be4a29
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:292:9
[INFO] [stdout]   10:     0x604c0c3bbdc9 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h4ff71de18744e1dc
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   11:     0x604c0c3bbdc9 - test::test_main::{{closure}}::hcf7c055ce117aa81
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:133:21
[INFO] [stdout]   12:     0x604c0c4e8078 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1d66c6bbd60c9692
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   13:     0x604c0c4e8078 - std::panicking::rust_panic_with_hook::h2ff17fe8f26dfcf8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:809:13
[INFO] [stdout]   14:     0x604c0c4e7e3a - std::panicking::begin_panic_handler::{{closure}}::h4fad77951c07e101
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:674:13
[INFO] [stdout]   15:     0x604c0c4e69c9 - std::sys::backtrace::__rust_end_short_backtrace::hb1a25b3da5d0ea08
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:170:18
[INFO] [stdout]   16:     0x604c0c4e7acc - rust_begin_unwind
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:665:5
[INFO] [stdout]   17:     0x604c0c50c2a0 - core::panicking::panic_fmt::ha9db07b529f9b256
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panicking.rs:75:14
[INFO] [stdout]   18:     0x604c0c50c746 - core::result::unwrap_failed::h5e8218e4d4338b8a
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/result.rs:1698:5
[INFO] [stdout]   19:     0x604c0c3494b7 - core::result::Result<T,E>::unwrap::h0b49c2e338f3074b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/result.rs:1103:23
[INFO] [stdout]   20:     0x604c0c3494b7 - js_sidecar::connection::tests::run_script_and_wait::{{closure}}::hd4e63482b6fcd261
[INFO] [stdout]                                at /opt/rustwide/workdir/src/connection.rs:456:27
[INFO] [stdout]   21:     0x604c0c3604a2 - <core::pin::Pin<P> as core::future::future::Future>::poll::hde96a37d17d8f161
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/future/future.rs:123:9
[INFO] [stdout]   22:     0x604c0c36039d - <core::pin::Pin<P> as core::future::future::Future>::poll::h21f4ec099c3feb25
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/future/future.rs:123:9
[INFO] [stdout]   23:     0x604c0c32d22f - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::h5d4ab86bb3005fb5
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:729:57
[INFO] [stdout]   24:     0x604c0c32d115 - tokio::runtime::coop::with_budget::hc12d05569f7bda20
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/coop.rs:107:5
[INFO] [stdout]   25:     0x604c0c32d115 - tokio::runtime::coop::budget::h1472bb9ef46adac5
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/coop.rs:73:5
[INFO] [stdout]   26:     0x604c0c32d115 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::h22310f3efc9fec41
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:729:25
[INFO] [stdout]   27:     0x604c0c32a750 - tokio::runtime::scheduler::current_thread::Context::enter::h3e4fec5582787b4a
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:428:19
[INFO] [stdout]   28:     0x604c0c32c7de - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::hade116164cab1730
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:728:36
[INFO] [stdout]   29:     0x604c0c32bc54 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::h43f8e00a76e2df3b
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:807:68
[INFO] [stdout]   30:     0x604c0c33022b - tokio::runtime::context::scoped::Scoped<T>::set::h95eb6542f26af0fa
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/context/scoped.rs:40:9
[INFO] [stdout]   31:     0x604c0c344589 - tokio::runtime::context::set_scheduler::{{closure}}::h0ebe193ae24b3a72
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/context.rs:180:26
[INFO] [stdout]   32:     0x604c0c30fd8d - std::thread::local::LocalKey<T>::try_with::h6f0fd0546effa21e
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/local.rs:283:12
[INFO] [stdout]   33:     0x604c0c30efca - std::thread::local::LocalKey<T>::with::hf4fb843b14b51186
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/local.rs:260:9
[INFO] [stdout]   34:     0x604c0c3444fd - tokio::runtime::context::set_scheduler::h35113186819d1e6b
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/context.rs:180:9
[INFO] [stdout]   35:     0x604c0c32b5c0 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::h9fb250941c0448eb
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:807:27
[INFO] [stdout]   36:     0x604c0c32bc73 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::h0f72ba62bdccd88e
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:716:19
[INFO] [stdout]   37:     0x604c0c328e8f - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::hd33be17b92c89628
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:196:28
[INFO] [stdout]   38:     0x604c0c31cb56 - tokio::runtime::context::runtime::enter_runtime::hb4f1f253fec5d55f
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/context/runtime.rs:65:16
[INFO] [stdout]   39:     0x604c0c328b81 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::h0bd0564e0d21d321
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:184:9
[INFO] [stdout]   40:     0x604c0c321213 - tokio::runtime::runtime::Runtime::block_on_inner::hd7b55a4ba85264fa
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/runtime.rs:368:47
[INFO] [stdout]   41:     0x604c0c321407 - tokio::runtime::runtime::Runtime::block_on::h71e8f6f40b6c8561
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/runtime.rs:342:13
[INFO] [stdout]   42:     0x604c0c3490c1 - js_sidecar::connection::tests::run_script_and_wait::h24eee589eaf8b230
[INFO] [stdout]                                at /opt/rustwide/workdir/src/connection.rs:478:9
[INFO] [stdout]   43:     0x604c0c348f67 - js_sidecar::connection::tests::run_script_and_wait::{{closure}}::hb0fd4f492023ab15
[INFO] [stdout]                                at /opt/rustwide/workdir/src/connection.rs:455:35
[INFO] [stdout]   44:     0x604c0c2ee106 - core::ops::function::FnOnce::call_once::h382c6626633744d2
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x604c0c3c069b - core::ops::function::FnOnce::call_once::h22c3ba5715e93f05
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   46:     0x604c0c3c069b - test::__rust_begin_short_backtrace::h8e82d8113d0da17f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:621:18
[INFO] [stdout]   47:     0x604c0c3c0017 - test::run_test_in_process::{{closure}}::h33235f4f20b7b7c7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:60
[INFO] [stdout]   48:     0x604c0c3c0017 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb5043206310c586f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   49:     0x604c0c3c0017 - std::panicking::try::do_call::h9ad4731a60ab23e2
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   50:     0x604c0c3c0017 - std::panicking::try::h3824d23db772a716
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   51:     0x604c0c3c0017 - std::panic::catch_unwind::h5afd514605fde46b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   52:     0x604c0c3c0017 - test::run_test_in_process::h0d5cbfa7067d1720
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:27
[INFO] [stdout]   53:     0x604c0c3c0017 - test::run_test::{{closure}}::h708eb8872708115d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:565:43
[INFO] [stdout]   54:     0x604c0c383734 - test::run_test::{{closure}}::h392c51cee94713ab
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:595:41
[INFO] [stdout]   55:     0x604c0c383734 - std::sys::backtrace::__rust_begin_short_backtrace::h2f40290710935a8b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:154:18
[INFO] [stdout]   56:     0x604c0c386ede - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h3fd968d89053a903
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:541:17
[INFO] [stdout]   57:     0x604c0c386ede - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h743f637ba4229880
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   58:     0x604c0c386ede - std::panicking::try::do_call::h07440897322525a6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   59:     0x604c0c386ede - std::panicking::try::he5a2e00188156637
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   60:     0x604c0c386ede - std::panic::catch_unwind::hbaf3cae49b3c6433
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   61:     0x604c0c386ede - std::thread::Builder::spawn_unchecked_::{{closure}}::h8e141ea224820bce
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:540:30
[INFO] [stdout]   62:     0x604c0c386ede - core::ops::function::FnOnce::call_once{{vtable.shim}}::h90d312fedd7b8ea8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   63:     0x604c0c4ec35b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h69aa08ddb6adb8b6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   64:     0x604c0c4ec35b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5aa36efdb79c806f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   65:     0x604c0c4ec35b - std::sys::pal::unix::thread::Thread::new::thread_start::h6cd80a1b4be5158d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/pal/unix/thread.rs:105:17
[INFO] [stdout]   66:     0x78a1ec5deac3 - <unknown>
[INFO] [stdout]   67:     0x78a1ec66fa04 - clone
[INFO] [stdout]   68:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- connection::tests::regular_execution stdout ----
[INFO] [stdout] thread 'connection::tests::regular_execution' panicked at src/connection.rs:359:57:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: StartWorker(Custom { kind: Other, error: "Timed out waiting for socket to be ready" })
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x604c0c4e64ea - std::backtrace_rs::backtrace::libunwind::trace::h207520d6e9873551
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x604c0c4e64ea - std::backtrace_rs::backtrace::trace_unsynchronized::h2ed7433f370e3eca
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x604c0c4e64ea - std::sys::backtrace::_print_fmt::h916fac51166b18d7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x604c0c4e64ea - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::ha0a4c9b8ce3802e6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x604c0c50dc53 - core::fmt::rt::Argument::fmt::h4cfc8587d52b3eb5
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x604c0c50dc53 - core::fmt::write::h522cc39e5b36ae9f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/mod.rs:1190:21
[INFO] [stdout]    6:     0x604c0c4e2853 - std::io::Write::write_fmt::h7d3c26752da97734
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/io/mod.rs:1839:15
[INFO] [stdout]    7:     0x604c0c4e6332 - std::sys::backtrace::BacktraceLock::print::h4b9e00b29e9c0942
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x604c0c4e797a - std::panicking::default_hook::{{closure}}::hb59b88280d0324d9
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:268:22
[INFO] [stdout]    9:     0x604c0c4e7784 - std::panicking::default_hook::he1dd496665be4a29
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:292:9
[INFO] [stdout]   10:     0x604c0c3bbdc9 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h4ff71de18744e1dc
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   11:     0x604c0c3bbdc9 - test::test_main::{{closure}}::hcf7c055ce117aa81
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:133:21
[INFO] [stdout]   12:     0x604c0c4e8078 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1d66c6bbd60c9692
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   13:     0x604c0c4e8078 - std::panicking::rust_panic_with_hook::h2ff17fe8f26dfcf8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:809:13
[INFO] [stdout]   14:     0x604c0c4e7e3a - std::panicking::begin_panic_handler::{{closure}}::h4fad77951c07e101
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:674:13
[INFO] [stdout]   15:     0x604c0c4e69c9 - std::sys::backtrace::__rust_end_short_backtrace::hb1a25b3da5d0ea08
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:170:18
[INFO] [stdout]   16:     0x604c0c4e7acc - rust_begin_unwind
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:665:5
[INFO] [stdout]   17:     0x604c0c50c2a0 - core::panicking::panic_fmt::ha9db07b529f9b256
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panicking.rs:75:14
[INFO] [stdout]   18:     0x604c0c50c746 - core::result::unwrap_failed::h5e8218e4d4338b8a
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/result.rs:1698:5
[INFO] [stdout]   19:     0x604c0c34527c - core::result::Result<T,E>::unwrap::h0b49c2e338f3074b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/result.rs:1103:23
[INFO] [stdout]   20:     0x604c0c34527c - js_sidecar::connection::tests::regular_execution::{{closure}}::hb7dbc2e251d9e386
[INFO] [stdout]                                at /opt/rustwide/workdir/src/connection.rs:359:27
[INFO] [stdout]   21:     0x604c0c3604a2 - <core::pin::Pin<P> as core::future::future::Future>::poll::hde96a37d17d8f161
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/future/future.rs:123:9
[INFO] [stdout]   22:     0x604c0c36039d - <core::pin::Pin<P> as core::future::future::Future>::poll::h21f4ec099c3feb25
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/future/future.rs:123:9
[INFO] [stdout]   23:     0x604c0c32d22f - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::h5d4ab86bb3005fb5
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:729:57
[INFO] [stdout]   24:     0x604c0c32d115 - tokio::runtime::coop::with_budget::hc12d05569f7bda20
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/coop.rs:107:5
[INFO] [stdout]   25:     0x604c0c32d115 - tokio::runtime::coop::budget::h1472bb9ef46adac5
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/coop.rs:73:5
[INFO] [stdout]   26:     0x604c0c32d115 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::h22310f3efc9fec41
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:729:25
[INFO] [stdout]   27:     0x604c0c32a750 - tokio::runtime::scheduler::current_thread::Context::enter::h3e4fec5582787b4a
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:428:19
[INFO] [stdout]   28:     0x604c0c32c7de - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::hade116164cab1730
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:728:36
[INFO] [stdout]   29:     0x604c0c32bc54 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::h43f8e00a76e2df3b
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:807:68
[INFO] [stdout]   30:     0x604c0c33022b - tokio::runtime::context::scoped::Scoped<T>::set::h95eb6542f26af0fa
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/context/scoped.rs:40:9
[INFO] [stdout]   31:     0x604c0c344589 - tokio::runtime::context::set_scheduler::{{closure}}::h0ebe193ae24b3a72
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/context.rs:180:26
[INFO] [stdout]   32:     0x604c0c30fd8d - std::thread::local::LocalKey<T>::try_with::h6f0fd0546effa21e
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/local.rs:283:12
[INFO] [stdout]   33:     0x604c0c30efca - std::thread::local::LocalKey<T>::with::hf4fb843b14b51186
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/local.rs:260:9
[INFO] [stdout]   34:     0x604c0c3444fd - tokio::runtime::context::set_scheduler::h35113186819d1e6b
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/context.rs:180:9
[INFO] [stdout]   35:     0x604c0c32b5c0 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::h9fb250941c0448eb
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:807:27
[INFO] [stdout]   36:     0x604c0c32bc73 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::h0f72ba62bdccd88e
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:716:19
[INFO] [stdout]   37:     0x604c0c328e8f - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::hd33be17b92c89628
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:196:28
[INFO] [stdout]   38:     0x604c0c31cb56 - tokio::runtime::context::runtime::enter_runtime::hb4f1f253fec5d55f
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/context/runtime.rs:65:16
[INFO] [stdout]   39:     0x604c0c328b81 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::h0bd0564e0d21d321
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:184:9
[INFO] [stdout]   40:     0x604c0c321213 - tokio::runtime::runtime::Runtime::block_on_inner::hd7b55a4ba85264fa
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/runtime.rs:368:47
[INFO] [stdout]   41:     0x604c0c321407 - tokio::runtime::runtime::Runtime::block_on::h71e8f6f40b6c8561
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/runtime.rs:342:13
[INFO] [stdout]   42:     0x604c0c344e61 - js_sidecar::connection::tests::regular_execution::h939f1fb974450f9a
[INFO] [stdout]                                at /opt/rustwide/workdir/src/connection.rs:405:9
[INFO] [stdout]   43:     0x604c0c344d07 - js_sidecar::connection::tests::regular_execution::{{closure}}::he8dd3c71b2dec09c
[INFO] [stdout]                                at /opt/rustwide/workdir/src/connection.rs:358:33
[INFO] [stdout]   44:     0x604c0c2eeca6 - core::ops::function::FnOnce::call_once::he205de80fbab962c
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x604c0c3c069b - core::ops::function::FnOnce::call_once::h22c3ba5715e93f05
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   46:     0x604c0c3c069b - test::__rust_begin_short_backtrace::h8e82d8113d0da17f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:621:18
[INFO] [stdout]   47:     0x604c0c3c0017 - test::run_test_in_process::{{closure}}::h33235f4f20b7b7c7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:60
[INFO] [stdout]   48:     0x604c0c3c0017 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb5043206310c586f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   49:     0x604c0c3c0017 - std::panicking::try::do_call::h9ad4731a60ab23e2
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   50:     0x604c0c3c0017 - std::panicking::try::h3824d23db772a716
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   51:     0x604c0c3c0017 - std::panic::catch_unwind::h5afd514605fde46b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   52:     0x604c0c3c0017 - test::run_test_in_process::h0d5cbfa7067d1720
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:27
[INFO] [stdout]   53:     0x604c0c3c0017 - test::run_test::{{closure}}::h708eb8872708115d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:565:43
[INFO] [stdout]   54:     0x604c0c383734 - test::run_test::{{closure}}::h392c51cee94713ab
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:595:41
[INFO] [stdout]   55:     0x604c0c383734 - std::sys::backtrace::__rust_begin_short_backtrace::h2f40290710935a8b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:154:18
[INFO] [stdout]   56:     0x604c0c386ede - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h3fd968d89053a903
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:541:17
[INFO] [stdout]   57:     0x604c0c386ede - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h743f637ba4229880
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   58:     0x604c0c386ede - std::panicking::try::do_call::h07440897322525a6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   59:     0x604c0c386ede - std::panicking::try::he5a2e00188156637
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   60:     0x604c0c386ede - std::panic::catch_unwind::hbaf3cae49b3c6433
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   61:     0x604c0c386ede - std::thread::Builder::spawn_unchecked_::{{closure}}::h8e141ea224820bce
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:540:30
[INFO] [stdout]   62:     0x604c0c386ede - core::ops::function::FnOnce::call_once{{vtable.shim}}::h90d312fedd7b8ea8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   63:     0x604c0c4ec35b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h69aa08ddb6adb8b6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   64:     0x604c0c4ec35b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5aa36efdb79c806f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   65:     0x604c0c4ec35b - std::sys::pal::unix::thread::Thread::new::thread_start::h6cd80a1b4be5158d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/pal/unix/thread.rs:105:17
[INFO] [stdout]   66:     0x78a1ec5deac3 - <unknown>
[INFO] [stdout]   67:     0x78a1ec66fa04 - clone
[INFO] [stdout]   68:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- connection::tests::syntax_error stdout ----
[INFO] [stdout] thread 'connection::tests::syntax_error' panicked at src/connection.rs:507:57:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: StartWorker(Custom { kind: Other, error: "Timed out waiting for socket to be ready" })
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x604c0c4e64ea - std::backtrace_rs::backtrace::libunwind::trace::h207520d6e9873551
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x604c0c4e64ea - std::backtrace_rs::backtrace::trace_unsynchronized::h2ed7433f370e3eca
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x604c0c4e64ea - std::sys::backtrace::_print_fmt::h916fac51166b18d7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x604c0c4e64ea - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::ha0a4c9b8ce3802e6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x604c0c50dc53 - core::fmt::rt::Argument::fmt::h4cfc8587d52b3eb5
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x604c0c50dc53 - core::fmt::write::h522cc39e5b36ae9f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/mod.rs:1190:21
[INFO] [stdout]    6:     0x604c0c4e2853 - std::io::Write::write_fmt::h7d3c26752da97734
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/io/mod.rs:1839:15
[INFO] [stdout]    7:     0x604c0c4e6332 - std::sys::backtrace::BacktraceLock::print::h4b9e00b29e9c0942
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x604c0c4e797a - std::panicking::default_hook::{{closure}}::hb59b88280d0324d9
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:268:22
[INFO] [stdout]    9:     0x604c0c4e7784 - std::panicking::default_hook::he1dd496665be4a29
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:292:9
[INFO] [stdout]   10:     0x604c0c3bbdc9 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h4ff71de18744e1dc
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   11:     0x604c0c3bbdc9 - test::test_main::{{closure}}::hcf7c055ce117aa81
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:133:21
[INFO] [stdout]   12:     0x604c0c4e8078 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1d66c6bbd60c9692
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   13:     0x604c0c4e8078 - std::panicking::rust_panic_with_hook::h2ff17fe8f26dfcf8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:809:13
[INFO] [stdout]   14:     0x604c0c4e7e3a - std::panicking::begin_panic_handler::{{closure}}::h4fad77951c07e101
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:674:13
[INFO] [stdout]   15:     0x604c0c4e69c9 - std::sys::backtrace::__rust_end_short_backtrace::hb1a25b3da5d0ea08
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:170:18
[INFO] [stdout]   16:     0x604c0c4e7acc - rust_begin_unwind
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:665:5
[INFO] [stdout]   17:     0x604c0c50c2a0 - core::panicking::panic_fmt::ha9db07b529f9b256
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panicking.rs:75:14
[INFO] [stdout]   18:     0x604c0c50c746 - core::result::unwrap_failed::h5e8218e4d4338b8a
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/result.rs:1698:5
[INFO] [stdout]   19:     0x604c0c34bd77 - core::result::Result<T,E>::unwrap::h0b49c2e338f3074b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/result.rs:1103:23
[INFO] [stdout]   20:     0x604c0c34bd77 - js_sidecar::connection::tests::syntax_error::{{closure}}::hc3c328f3f4015281
[INFO] [stdout]                                at /opt/rustwide/workdir/src/connection.rs:507:27
[INFO] [stdout]   21:     0x604c0c3604a2 - <core::pin::Pin<P> as core::future::future::Future>::poll::hde96a37d17d8f161
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/future/future.rs:123:9
[INFO] [stdout]   22:     0x604c0c36039d - <core::pin::Pin<P> as core::future::future::Future>::poll::h21f4ec099c3feb25
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/future/future.rs:123:9
[INFO] [stdout]   23:     0x604c0c32d22f - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::h5d4ab86bb3005fb5
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:729:57
[INFO] [stdout]   24:     0x604c0c32d115 - tokio::runtime::coop::with_budget::hc12d05569f7bda20
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/coop.rs:107:5
[INFO] [stdout]   25:     0x604c0c32d115 - tokio::runtime::coop::budget::h1472bb9ef46adac5
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/coop.rs:73:5
[INFO] [stdout]   26:     0x604c0c32d115 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::h22310f3efc9fec41
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:729:25
[INFO] [stdout]   27:     0x604c0c32a750 - tokio::runtime::scheduler::current_thread::Context::enter::h3e4fec5582787b4a
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:428:19
[INFO] [stdout]   28:     0x604c0c32c7de - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::hade116164cab1730
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:728:36
[INFO] [stdout]   29:     0x604c0c32bc54 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::h43f8e00a76e2df3b
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:807:68
[INFO] [stdout]   30:     0x604c0c33022b - tokio::runtime::context::scoped::Scoped<T>::set::h95eb6542f26af0fa
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/context/scoped.rs:40:9
[INFO] [stdout]   31:     0x604c0c344589 - tokio::runtime::context::set_scheduler::{{closure}}::h0ebe193ae24b3a72
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/context.rs:180:26
[INFO] [stdout]   32:     0x604c0c30fd8d - std::thread::local::LocalKey<T>::try_with::h6f0fd0546effa21e
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/local.rs:283:12
[INFO] [stdout]   33:     0x604c0c30efca - std::thread::local::LocalKey<T>::with::hf4fb843b14b51186
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/local.rs:260:9
[INFO] [stdout]   34:     0x604c0c3444fd - tokio::runtime::context::set_scheduler::h35113186819d1e6b
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/context.rs:180:9
[INFO] [stdout]   35:     0x604c0c32b5c0 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::h9fb250941c0448eb
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:807:27
[INFO] [stdout]   36:     0x604c0c32bc73 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::h0f72ba62bdccd88e
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:716:19
[INFO] [stdout]   37:     0x604c0c328e8f - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::hd33be17b92c89628
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:196:28
[INFO] [stdout]   38:     0x604c0c31cb56 - tokio::runtime::context::runtime::enter_runtime::hb4f1f253fec5d55f
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/context/runtime.rs:65:16
[INFO] [stdout]   39:     0x604c0c328b81 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::h0bd0564e0d21d321
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:184:9
[INFO] [stdout]   40:     0x604c0c321213 - tokio::runtime::runtime::Runtime::block_on_inner::hd7b55a4ba85264fa
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/runtime.rs:368:47
[INFO] [stdout]   41:     0x604c0c321407 - tokio::runtime::runtime::Runtime::block_on::h71e8f6f40b6c8561
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/runtime.rs:342:13
[INFO] [stdout]   42:     0x604c0c34b981 - js_sidecar::connection::tests::syntax_error::hb5623f377d55035a
[INFO] [stdout]                                at /opt/rustwide/workdir/src/connection.rs:526:9
[INFO] [stdout]   43:     0x604c0c34b827 - js_sidecar::connection::tests::syntax_error::{{closure}}::h8281ed08858a61c2
[INFO] [stdout]                                at /opt/rustwide/workdir/src/connection.rs:506:28
[INFO] [stdout]   44:     0x604c0c2ee8a6 - core::ops::function::FnOnce::call_once::h8827d88585c7fdc4
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x604c0c3c069b - core::ops::function::FnOnce::call_once::h22c3ba5715e93f05
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   46:     0x604c0c3c069b - test::__rust_begin_short_backtrace::h8e82d8113d0da17f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:621:18
[INFO] [stdout]   47:     0x604c0c3c0017 - test::run_test_in_process::{{closure}}::h33235f4f20b7b7c7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:60
[INFO] [stdout]   48:     0x604c0c3c0017 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb5043206310c586f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   49:     0x604c0c3c0017 - std::panicking::try::do_call::h9ad4731a60ab23e2
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   50:     0x604c0c3c0017 - std::panicking::try::h3824d23db772a716
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   51:     0x604c0c3c0017 - std::panic::catch_unwind::h5afd514605fde46b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   52:     0x604c0c3c0017 - test::run_test_in_process::h0d5cbfa7067d1720
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:27
[INFO] [stdout]   53:     0x604c0c3c0017 - test::run_test::{{closure}}::h708eb8872708115d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:565:43
[INFO] [stdout]   54:     0x604c0c383734 - test::run_test::{{closure}}::h392c51cee94713ab
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:595:41
[INFO] [stdout]   55:     0x604c0c383734 - std::sys::backtrace::__rust_begin_short_backtrace::h2f40290710935a8b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:154:18
[INFO] [stdout]   56:     0x604c0c386ede - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h3fd968d89053a903
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:541:17
[INFO] [stdout]   57:     0x604c0c386ede - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h743f637ba4229880
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   58:     0x604c0c386ede - std::panicking::try::do_call::h07440897322525a6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   59:     0x604c0c386ede - std::panicking::try::he5a2e00188156637
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   60:     0x604c0c386ede - std::panic::catch_unwind::hbaf3cae49b3c6433
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   61:     0x604c0c386ede - std::thread::Builder::spawn_unchecked_::{{closure}}::h8e141ea224820bce
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:540:30
[INFO] [stdout]   62:     0x604c0c386ede - core::ops::function::FnOnce::call_once{{vtable.shim}}::h90d312fedd7b8ea8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   63:     0x604c0c4ec35b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h69aa08ddb6adb8b6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   64:     0x604c0c4ec35b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5aa36efdb79c806f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   65:     0x604c0c4ec35b - std::sys::pal::unix::thread::Thread::new::thread_start::h6cd80a1b4be5158d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/pal/unix/thread.rs:105:17
[INFO] [stdout]   66:     0x78a1ec5deac3 - <unknown>
[INFO] [stdout]   67:     0x78a1ec66fa04 - clone
[INFO] [stdout]   68:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- connection::tests::error stdout ----
[INFO] [stdout] thread 'connection::tests::error' panicked at src/connection.rs:483:57:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: StartWorker(Custom { kind: Other, error: "Timed out waiting for socket to be ready" })
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x604c0c4e64ea - std::backtrace_rs::backtrace::libunwind::trace::h207520d6e9873551
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x604c0c4e64ea - std::backtrace_rs::backtrace::trace_unsynchronized::h2ed7433f370e3eca
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x604c0c4e64ea - std::sys::backtrace::_print_fmt::h916fac51166b18d7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x604c0c4e64ea - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::ha0a4c9b8ce3802e6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x604c0c50dc53 - core::fmt::rt::Argument::fmt::h4cfc8587d52b3eb5
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x604c0c50dc53 - core::fmt::write::h522cc39e5b36ae9f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/mod.rs:1190:21
[INFO] [stdout]    6:     0x604c0c4e2853 - std::io::Write::write_fmt::h7d3c26752da97734
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/io/mod.rs:1839:15
[INFO] [stdout]    7:     0x604c0c4e6332 - std::sys::backtrace::BacktraceLock::print::h4b9e00b29e9c0942
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x604c0c4e797a - std::panicking::default_hook::{{closure}}::hb59b88280d0324d9
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:268:22
[INFO] [stdout]    9:     0x604c0c4e7784 - std::panicking::default_hook::he1dd496665be4a29
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:292:9
[INFO] [stdout]   10:     0x604c0c3bbdc9 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h4ff71de18744e1dc
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   11:     0x604c0c3bbdc9 - test::test_main::{{closure}}::hcf7c055ce117aa81
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:133:21
[INFO] [stdout]   12:     0x604c0c4e8078 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1d66c6bbd60c9692
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   13:     0x604c0c4e8078 - std::panicking::rust_panic_with_hook::h2ff17fe8f26dfcf8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:809:13
[INFO] [stdout]   14:     0x604c0c4e7e3a - std::panicking::begin_panic_handler::{{closure}}::h4fad77951c07e101
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:674:13
[INFO] [stdout]   15:     0x604c0c4e69c9 - std::sys::backtrace::__rust_end_short_backtrace::hb1a25b3da5d0ea08
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:170:18
[INFO] [stdout]   16:     0x604c0c4e7acc - rust_begin_unwind
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:665:5
[INFO] [stdout]   17:     0x604c0c50c2a0 - core::panicking::panic_fmt::ha9db07b529f9b256
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panicking.rs:75:14
[INFO] [stdout]   18:     0x604c0c50c746 - core::result::unwrap_failed::h5e8218e4d4338b8a
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/result.rs:1698:5
[INFO] [stdout]   19:     0x604c0c34aa77 - core::result::Result<T,E>::unwrap::h0b49c2e338f3074b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/result.rs:1103:23
[INFO] [stdout]   20:     0x604c0c34aa77 - js_sidecar::connection::tests::error::{{closure}}::h254ac59117e6a26c
[INFO] [stdout]                                at /opt/rustwide/workdir/src/connection.rs:483:27
[INFO] [stdout]   21:     0x604c0c3604a2 - <core::pin::Pin<P> as core::future::future::Future>::poll::hde96a37d17d8f161
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/future/future.rs:123:9
[INFO] [stdout]   22:     0x604c0c36039d - <core::pin::Pin<P> as core::future::future::Future>::poll::h21f4ec099c3feb25
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/future/future.rs:123:9
[INFO] [stdout]   23:     0x604c0c32d22f - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::h5d4ab86bb3005fb5
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:729:57
[INFO] [stdout]   24:     0x604c0c32d115 - tokio::runtime::coop::with_budget::hc12d05569f7bda20
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/coop.rs:107:5
[INFO] [stdout]   25:     0x604c0c32d115 - tokio::runtime::coop::budget::h1472bb9ef46adac5
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/coop.rs:73:5
[INFO] [stdout]   26:     0x604c0c32d115 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::h22310f3efc9fec41
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:729:25
[INFO] [stdout]   27:     0x604c0c32a750 - tokio::runtime::scheduler::current_thread::Context::enter::h3e4fec5582787b4a
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:428:19
[INFO] [stdout]   28:     0x604c0c32c7de - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::hade116164cab1730
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:728:36
[INFO] [stdout]   29:     0x604c0c32bc54 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::h43f8e00a76e2df3b
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:807:68
[INFO] [stdout]   30:     0x604c0c33022b - tokio::runtime::context::scoped::Scoped<T>::set::h95eb6542f26af0fa
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/context/scoped.rs:40:9
[INFO] [stdout]   31:     0x604c0c344589 - tokio::runtime::context::set_scheduler::{{closure}}::h0ebe193ae24b3a72
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/context.rs:180:26
[INFO] [stdout]   32:     0x604c0c30fd8d - std::thread::local::LocalKey<T>::try_with::h6f0fd0546effa21e
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/local.rs:283:12
[INFO] [stdout]   33:     0x604c0c30efca - std::thread::local::LocalKey<T>::with::hf4fb843b14b51186
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/local.rs:260:9
[INFO] [stdout]   34:     0x604c0c3444fd - tokio::runtime::context::set_scheduler::h35113186819d1e6b
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/context.rs:180:9
[INFO] [stdout]   35:     0x604c0c32b5c0 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::h9fb250941c0448eb
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:807:27
[INFO] [stdout]   36:     0x604c0c32bc73 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::h0f72ba62bdccd88e
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:716:19
[INFO] [stdout]   37:     0x604c0c328e8f - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::hd33be17b92c89628
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:196:28
[INFO] [stdout]   38:     0x604c0c31cb56 - tokio::runtime::context::runtime::enter_runtime::hb4f1f253fec5d55f
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/context/runtime.rs:65:16
[INFO] [stdout]   39:     0x604c0c328b81 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::h0bd0564e0d21d321
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/scheduler/current_thread/mod.rs:184:9
[INFO] [stdout]   40:     0x604c0c321213 - tokio::runtime::runtime::Runtime::block_on_inner::hd7b55a4ba85264fa
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/runtime.rs:368:47
[INFO] [stdout]   41:     0x604c0c321407 - tokio::runtime::runtime::Runtime::block_on::h71e8f6f40b6c8561
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/runtime/runtime.rs:342:13
[INFO] [stdout]   42:     0x604c0c34a681 - js_sidecar::connection::tests::error::h5de10db6036ec6cc
[INFO] [stdout]                                at /opt/rustwide/workdir/src/connection.rs:502:9
[INFO] [stdout]   43:     0x604c0c34a527 - js_sidecar::connection::tests::error::{{closure}}::h2f0ed29c26b54626
[INFO] [stdout]                                at /opt/rustwide/workdir/src/connection.rs:482:21
[INFO] [stdout]   44:     0x604c0c2ee926 - core::ops::function::FnOnce::call_once::h946c72e079948f3b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x604c0c3c069b - core::ops::function::FnOnce::call_once::h22c3ba5715e93f05
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   46:     0x604c0c3c069b - test::__rust_begin_short_backtrace::h8e82d8113d0da17f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:621:18
[INFO] [stdout]   47:     0x604c0c3c0017 - test::run_test_in_process::{{closure}}::h33235f4f20b7b7c7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:60
[INFO] [stdout]   48:     0x604c0c3c0017 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb5043206310c586f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   49:     0x604c0c3c0017 - std::panicking::try::do_call::h9ad4731a60ab23e2
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   50:     0x604c0c3c0017 - std::panicking::try::h3824d23db772a716
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   51:     0x604c0c3c0017 - std::panic::catch_unwind::h5afd514605fde46b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   52:     0x604c0c3c0017 - test::run_test_in_process::h0d5cbfa7067d1720
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:27
[INFO] [stdout]   53:     0x604c0c3c0017 - test::run_test::{{closure}}::h708eb8872708115d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:565:43
[INFO] [stdout]   54:     0x604c0c383734 - test::run_test::{{closure}}::h392c51cee94713ab
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:595:41
[INFO] [stdout]   55:     0x604c0c383734 - std::sys::backtrace::__rust_begin_short_backtrace::h2f40290710935a8b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:154:18
[INFO] [stdout]   56:     0x604c0c386ede - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h3fd968d89053a903
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:541:17
[INFO] [stdout]   57:     0x604c0c386ede - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h743f637ba4229880
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   58:     0x604c0c386ede - std::panicking::try::do_call::h07440897322525a6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   59:     0x604c0c386ede - std::panicking::try::he5a2e00188156637
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   60:     0x604c0c386ede - std::panic::catch_unwind::hbaf3cae49b3c6433
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   61:     0x604c0c386ede - std::thread::Builder::spawn_unchecked_::{{closure}}::h8e141ea224820bce
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:540:30
[INFO] [stdout]   62:     0x604c0c386ede - core::ops::function::FnOnce::call_once{{vtable.shim}}::h90d312fedd7b8ea8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   63:     0x604c0c4ec35b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h69aa08ddb6adb8b6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   64:     0x604c0c4ec35b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5aa36efdb79c806f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   65:     0x604c0c4ec35b - std::sys::pal::unix::thread::Thread::new::thread_start::h6cd80a1b4be5158d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/pal/unix/thread.rs:105:17
[INFO] [stdout]   66:     0x78a1ec5deac3 - <unknown>
[INFO] [stdout]   67:     0x78a1ec66fa04 - clone
[INFO] [stdout]   68:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     connection::tests::error
[INFO] [stdout]     connection::tests::expression_execution
[INFO] [stdout]     connection::tests::high_connection_count
[INFO] [stdout]     connection::tests::multiple_connections
[INFO] [stdout]     connection::tests::multiple_connections_and_workers
[INFO] [stdout]     connection::tests::regular_execution
[INFO] [stdout]     connection::tests::run_script_and_wait
[INFO] [stdout]     connection::tests::syntax_error
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.60s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "fa7cf0d0ddcafadc27e6728ca33cf10af4806c6d8d04db7f342c0b253371a17d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fa7cf0d0ddcafadc27e6728ca33cf10af4806c6d8d04db7f342c0b253371a17d", kill_on_drop: false }`
[INFO] [stdout] fa7cf0d0ddcafadc27e6728ca33cf10af4806c6d8d04db7f342c0b253371a17d
