[INFO] fetching crate js_sidecar 0.1.0...
[INFO] testing js_sidecar-0.1.0 against beta-2024-12-08 for beta-1.84.0-4-retry
[INFO] extracting crate js_sidecar 0.1.0 into /workspace/builds/worker-2-tc2/source
[INFO] validating manifest of crates.io crate js_sidecar 0.1.0 on toolchain beta-2024-12-08
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-12-08" "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-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-12-08" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 113 packages to latest compatible versions
[INFO] [stderr]       Adding thiserror v1.0.69 (available: v2.0.7)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-12-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] aa82ab41d1dacbae35c19b8d5988ff8365fef3ad476db389728b6822f65584e2
[INFO] running `Command { std: "docker" "start" "-a" "aa82ab41d1dacbae35c19b8d5988ff8365fef3ad476db389728b6822f65584e2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "aa82ab41d1dacbae35c19b8d5988ff8365fef3ad476db389728b6822f65584e2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aa82ab41d1dacbae35c19b8d5988ff8365fef3ad476db389728b6822f65584e2", kill_on_drop: false }`
[INFO] [stdout] aa82ab41d1dacbae35c19b8d5988ff8365fef3ad476db389728b6822f65584e2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 119204c3a2b09d2aa98aee2c2a38109ab1b53db4597f4e4df1cac9b0a58997cd
[INFO] running `Command { std: "docker" "start" "-a" "119204c3a2b09d2aa98aee2c2a38109ab1b53db4597f4e4df1cac9b0a58997cd", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.92
[INFO] [stderr]    Compiling unicode-ident v1.0.14
[INFO] [stderr]    Compiling libc v0.2.168
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.15
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling rustix v0.38.42
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling cfg_aliases v0.2.1
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling serde v1.0.216
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]    Compiling serde_json v1.0.133
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling bytes v1.9.0
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling deadpool-runtime v0.1.4
[INFO] [stderr]    Compiling itoa v1.0.14
[INFO] [stderr]    Compiling ryu v1.0.18
[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.90
[INFO] [stderr]    Compiling socket2 v0.5.8
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling tempfile v3.14.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling serde_derive v1.0.216
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling tokio v1.42.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling tracing v0.1.41
[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 23.47s
[INFO] running `Command { std: "docker" "inspect" "119204c3a2b09d2aa98aee2c2a38109ab1b53db4597f4e4df1cac9b0a58997cd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "119204c3a2b09d2aa98aee2c2a38109ab1b53db4597f4e4df1cac9b0a58997cd", kill_on_drop: false }`
[INFO] [stdout] 119204c3a2b09d2aa98aee2c2a38109ab1b53db4597f4e4df1cac9b0a58997cd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9b4cdd701f0c2f0e479022e88e932c785c5a4b5314785b2b32f75e72826a6b2f
[INFO] running `Command { std: "docker" "start" "-a" "9b4cdd701f0c2f0e479022e88e932c785c5a4b5314785b2b32f75e72826a6b2f", kill_on_drop: false }`
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling serde v1.0.216
[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 regex-syntax v0.8.5
[INFO] [stderr]    Compiling clap_lex v0.7.4
[INFO] [stderr]    Compiling tokio v1.42.0
[INFO] [stderr]    Compiling plotters-backend v0.3.7
[INFO] [stderr]    Compiling anstyle v1.0.10
[INFO] [stderr]    Compiling ciborium-io v0.2.2
[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 clap_builder v4.5.23
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling ciborium-ll v0.2.2
[INFO] [stderr]    Compiling plotters-svg v0.3.7
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling plotters v0.3.7
[INFO] [stderr]    Compiling crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling clap v4.5.23
[INFO] [stderr]    Compiling criterion-plot v0.5.0
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling serde_json v1.0.133
[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 17.70s
[INFO] running `Command { std: "docker" "inspect" "9b4cdd701f0c2f0e479022e88e932c785c5a4b5314785b2b32f75e72826a6b2f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9b4cdd701f0c2f0e479022e88e932c785c5a4b5314785b2b32f75e72826a6b2f", kill_on_drop: false }`
[INFO] [stdout] 9b4cdd701f0c2f0e479022e88e932c785c5a4b5314785b2b32f75e72826a6b2f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 6a7c6956204906c42cf32c5c9ec63cabadff040e06aeb8d2afced6ed1d7fd1e5
[INFO] running `Command { std: "docker" "start" "-a" "6a7c6956204906c42cf32c5c9ec63cabadff040e06aeb8d2afced6ed1d7fd1e5", 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: 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) generated 4 warnings (run `cargo fix --lib -p js_sidecar` to apply 2 suggestions)
[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-cac5912641170d79)
[INFO] [stdout] 
[INFO] [stdout] running 8 tests
[INFO] [stderr] file:///tmp/js_sidecartjfqK1.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_sidecarowfCiY.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_sidecarQ7Ac0m.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_sidecarHdD0Fh.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_sidecarXs8x2t.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_sidecarNNzvDJ.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_sidecar3ZSXvu.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_sidecarwRMOWY.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::multiple_connections_and_workers ... 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::expression_execution ... FAILED
[INFO] [stdout] test connection::tests::high_connection_count ... FAILED
[INFO] [stdout] test connection::tests::multiple_connections ... FAILED
[INFO] [stdout] test connection::tests::error ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[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:     0x5d2e61d1534a - std::backtrace_rs::backtrace::libunwind::trace::h8810477743020387
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x5d2e61d1534a - std::backtrace_rs::backtrace::trace_unsynchronized::h3aa55355dd6c54a6
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x5d2e61d1534a - std::sys::backtrace::_print_fmt::h8588b0f62410823f
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5d2e61d1534a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h98c26ac25ffe89bb
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5d2e61d3b923 - core::fmt::rt::Argument::fmt::hf95377f4aebd453b
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x5d2e61d3b923 - core::fmt::write::h0dd5f6e2238c7982
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/fmt/mod.rs:1189:21
[INFO] [stdout]    6:     0x5d2e61d11c93 - std::io::Write::write_fmt::h03bb0ca26e6faf8c
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/io/mod.rs:1884:15
[INFO] [stdout]    7:     0x5d2e61d15192 - std::sys::backtrace::BacktraceLock::print::h5c19c1c038ee186d
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x5d2e61d167cd - std::panicking::default_hook::{{closure}}::h77172f079a1fcb13
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:268:22
[INFO] [stdout]    9:     0x5d2e61d165d7 - std::panicking::default_hook::he5f8e3b203ccddba
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:292:9
[INFO] [stdout]   10:     0x5d2e61be97c7 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h7a3c7b4a1ae77f2f
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1986:9
[INFO] [stdout]   11:     0x5d2e61be97c7 - test::test_main::{{closure}}::hf0d3b69ae9b353d1
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:134:21
[INFO] [stdout]   12:     0x5d2e61d16e78 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h6332e82e7b189abd
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1986:9
[INFO] [stdout]   13:     0x5d2e61d16e78 - std::panicking::rust_panic_with_hook::h53863d4e9018df39
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:809:13
[INFO] [stdout]   14:     0x5d2e61d16c3a - std::panicking::begin_panic_handler::{{closure}}::h67280e6fa0757873
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:674:13
[INFO] [stdout]   15:     0x5d2e61d15829 - std::sys::backtrace::__rust_end_short_backtrace::h1dac3f54d6fbbeb2
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:170:18
[INFO] [stdout]   16:     0x5d2e61d168cc - rust_begin_unwind
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:665:5
[INFO] [stdout]   17:     0x5d2e61b1b190 - core::panicking::panic_fmt::h6792bd1b2bf01041
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/panicking.rs:76:14
[INFO] [stdout]   18:     0x5d2e61b1b636 - core::result::unwrap_failed::h05e0602ed34287c5
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/result.rs:1699:5
[INFO] [stdout]   19:     0x5d2e61bad251 - core::result::Result<T,E>::unwrap::h51f0537f566ef529
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/result.rs:1104:23
[INFO] [stdout]   20:     0x5d2e61bad251 - js_sidecar::connection::tests::multiple_connections_and_workers::{{closure}}::h911bf458aecc248a
[INFO] [stdout]                                at /opt/rustwide/workdir/src/connection.rs:562:27
[INFO] [stdout]   21:     0x5d2e61b945a2 - <core::pin::Pin<P> as core::future::future::Future>::poll::h0034fb72c5c626f9
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/future/future.rs:124:9
[INFO] [stdout]   22:     0x5d2e61b9477d - <core::pin::Pin<P> as core::future::future::Future>::poll::hecb1b5dab42f35b4
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/future/future.rs:124:9
[INFO] [stdout]   23:     0x5d2e61b8cb2f - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::h89ec782dd7ef1af0
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:729:57
[INFO] [stdout]   24:     0x5d2e61b8ca25 - tokio::runtime::coop::with_budget::h351bc8ad0b58dbdc
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/coop.rs:107:5
[INFO] [stdout]   25:     0x5d2e61b8ca25 - tokio::runtime::coop::budget::h434929a0963d1377
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/coop.rs:73:5
[INFO] [stdout]   26:     0x5d2e61b8ca25 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::hdfed51f2e642cea6
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:729:25
[INFO] [stdout]   27:     0x5d2e61b8a380 - tokio::runtime::scheduler::current_thread::Context::enter::h5e34af12bfac6932
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:428:19
[INFO] [stdout]   28:     0x5d2e61b8b83e - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::h574d2af82f2231cc
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:728:36
[INFO] [stdout]   29:     0x5d2e61b8b534 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::h27dd14318efea80f
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:807:68
[INFO] [stdout]   30:     0x5d2e61b314db - tokio::runtime::context::scoped::Scoped<T>::set::hce599d252ad6b114
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/context/scoped.rs:40:9
[INFO] [stdout]   31:     0x5d2e61b9f739 - tokio::runtime::context::set_scheduler::{{closure}}::h2be227fb2c5eea5a
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/context.rs:180:26
[INFO] [stdout]   32:     0x5d2e61b493bd - std::thread::local::LocalKey<T>::try_with::h785281beb19bb10c
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/thread/local.rs:283:12
[INFO] [stdout]   33:     0x5d2e61b487ba - std::thread::local::LocalKey<T>::with::he4ee3c7e08cf930c
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/thread/local.rs:260:9
[INFO] [stdout]   34:     0x5d2e61b9f6ad - tokio::runtime::context::set_scheduler::h65ad95a106634ea5
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/context.rs:180:9
[INFO] [stdout]   35:     0x5d2e61b8b2e0 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::h64c0bf7699122718
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:807:27
[INFO] [stdout]   36:     0x5d2e61b8b5d3 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::h92a089522d409816
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:716:19
[INFO] [stdout]   37:     0x5d2e61b88c3f - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::h665696865217f187
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:196:28
[INFO] [stdout]   38:     0x5d2e61b47896 - tokio::runtime::context::runtime::enter_runtime::h684e330c4bc0f6be
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/context/runtime.rs:65:16
[INFO] [stdout]   39:     0x5d2e61b88531 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::hd6439fe26b6e8c2c
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:184:9
[INFO] [stdout]   40:     0x5d2e61b80e13 - tokio::runtime::runtime::Runtime::block_on_inner::ha7a9a3fd687cf595
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/runtime.rs:368:47
[INFO] [stdout]   41:     0x5d2e61b81007 - tokio::runtime::runtime::Runtime::block_on::hdc15ca03c1b3e162
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/runtime.rs:342:13
[INFO] [stdout]   42:     0x5d2e61bacf01 - js_sidecar::connection::tests::multiple_connections_and_workers::hd685337f5dace3f4
[INFO] [stdout]                                at /opt/rustwide/workdir/src/connection.rs:588:9
[INFO] [stdout]   43:     0x5d2e61bacda7 - js_sidecar::connection::tests::multiple_connections_and_workers::{{closure}}::ha00137b942c5d761
[INFO] [stdout]                                at /opt/rustwide/workdir/src/connection.rs:561:48
[INFO] [stdout]   44:     0x5d2e61b1bea6 - core::ops::function::FnOnce::call_once::h1d90720fd6e28b59
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x5d2e61bee2eb - core::ops::function::FnOnce::call_once::h871bf86719ec9aa4
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   46:     0x5d2e61bee2eb - test::__rust_begin_short_backtrace::h2167df1e2b7d76fd
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:632:18
[INFO] [stdout]   47:     0x5d2e61bedcd8 - test::run_test_in_process::{{closure}}::h15d92f75a3adfb79
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:655:60
[INFO] [stdout]   48:     0x5d2e61bedcd8 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb6c8955835a8dbbb
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   49:     0x5d2e61bedcd8 - std::panicking::try::do_call::hc79d0fc888a0bd30
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:557:40
[INFO] [stdout]   50:     0x5d2e61bedcd8 - std::panicking::try::hb8a7878e3a8589d6
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:520:19
[INFO] [stdout]   51:     0x5d2e61bedcd8 - std::panic::catch_unwind::hb8e4600ff0ff5cfa
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panic.rs:358:14
[INFO] [stdout]   52:     0x5d2e61bedcd8 - test::run_test_in_process::hc2900b0b18688dd6
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:655:27
[INFO] [stdout]   53:     0x5d2e61bedcd8 - test::run_test::{{closure}}::hac2a9cb07be3d48d
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:576:43
[INFO] [stdout]   54:     0x5d2e61bb177a - test::run_test::{{closure}}::h4a5b729e66a38cd8
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:606:41
[INFO] [stdout]   55:     0x5d2e61bb177a - std::sys::backtrace::__rust_begin_short_backtrace::h0496fb742492f573
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:154:18
[INFO] [stdout]   56:     0x5d2e61bb50f4 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbb6d257c550a54bd
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/thread/mod.rs:561:17
[INFO] [stdout]   57:     0x5d2e61bb50f4 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h46696fe4a6832328
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   58:     0x5d2e61bb50f4 - std::panicking::try::do_call::h2625a51b667bfb64
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:557:40
[INFO] [stdout]   59:     0x5d2e61bb50f4 - std::panicking::try::hb956a59a1973aa4c
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:520:19
[INFO] [stdout]   60:     0x5d2e61bb50f4 - std::panic::catch_unwind::h64f3b9d1067ef6a0
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panic.rs:358:14
[INFO] [stdout]   61:     0x5d2e61bb50f4 - std::thread::Builder::spawn_unchecked_::{{closure}}::h42b2841295b6c0b2
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/thread/mod.rs:559:30
[INFO] [stdout]   62:     0x5d2e61bb50f4 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6127de71b8124639
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   63:     0x5d2e61d1b2ab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h42f0ba71002a1b2c
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1972:9
[INFO] [stdout]   64:     0x5d2e61d1b2ab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::had9e47d7a3dcecb8
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1972:9
[INFO] [stdout]   65:     0x5d2e61d1b2ab - std::sys::pal::unix::thread::Thread::new::thread_start::h48cf765408f6f5f2
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/pal/unix/thread.rs:105:17
[INFO] [stdout]   66:     0x7c2f4d58eac3 - <unknown>
[INFO] [stdout]   67:     0x7c2f4d61fa04 - 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:     0x5d2e61d1534a - std::backtrace_rs::backtrace::libunwind::trace::h8810477743020387
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x5d2e61d1534a - std::backtrace_rs::backtrace::trace_unsynchronized::h3aa55355dd6c54a6
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x5d2e61d1534a - std::sys::backtrace::_print_fmt::h8588b0f62410823f
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5d2e61d1534a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h98c26ac25ffe89bb
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5d2e61d3b923 - core::fmt::rt::Argument::fmt::hf95377f4aebd453b
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x5d2e61d3b923 - core::fmt::write::h0dd5f6e2238c7982
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/fmt/mod.rs:1189:21
[INFO] [stdout]    6:     0x5d2e61d11c93 - std::io::Write::write_fmt::h03bb0ca26e6faf8c
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/io/mod.rs:1884:15
[INFO] [stdout]    7:     0x5d2e61d15192 - std::sys::backtrace::BacktraceLock::print::h5c19c1c038ee186d
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x5d2e61d167cd - std::panicking::default_hook::{{closure}}::h77172f079a1fcb13
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:268:22
[INFO] [stdout]    9:     0x5d2e61d165d7 - std::panicking::default_hook::he5f8e3b203ccddba
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:292:9
[INFO] [stdout]   10:     0x5d2e61be97c7 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h7a3c7b4a1ae77f2f
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1986:9
[INFO] [stdout]   11:     0x5d2e61be97c7 - test::test_main::{{closure}}::hf0d3b69ae9b353d1
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:134:21
[INFO] [stdout]   12:     0x5d2e61d16e78 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h6332e82e7b189abd
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1986:9
[INFO] [stdout]   13:     0x5d2e61d16e78 - std::panicking::rust_panic_with_hook::h53863d4e9018df39
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:809:13
[INFO] [stdout]   14:     0x5d2e61d16c3a - std::panicking::begin_panic_handler::{{closure}}::h67280e6fa0757873
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:674:13
[INFO] [stdout]   15:     0x5d2e61d15829 - std::sys::backtrace::__rust_end_short_backtrace::h1dac3f54d6fbbeb2
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:170:18
[INFO] [stdout]   16:     0x5d2e61d168cc - rust_begin_unwind
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:665:5
[INFO] [stdout]   17:     0x5d2e61b1b190 - core::panicking::panic_fmt::h6792bd1b2bf01041
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/panicking.rs:76:14
[INFO] [stdout]   18:     0x5d2e61b1b636 - core::result::unwrap_failed::h05e0602ed34287c5
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/result.rs:1699:5
[INFO] [stdout]   19:     0x5d2e61ba8077 - core::result::Result<T,E>::unwrap::h51f0537f566ef529
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/result.rs:1104:23
[INFO] [stdout]   20:     0x5d2e61ba8077 - js_sidecar::connection::tests::run_script_and_wait::{{closure}}::he5347057f7d2042d
[INFO] [stdout]                                at /opt/rustwide/workdir/src/connection.rs:456:27
[INFO] [stdout]   21:     0x5d2e61b945a2 - <core::pin::Pin<P> as core::future::future::Future>::poll::h0034fb72c5c626f9
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/future/future.rs:124:9
[INFO] [stdout]   22:     0x5d2e61b9477d - <core::pin::Pin<P> as core::future::future::Future>::poll::hecb1b5dab42f35b4
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/future/future.rs:124:9
[INFO] [stdout]   23:     0x5d2e61b8cb2f - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::h89ec782dd7ef1af0
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:729:57
[INFO] [stdout]   24:     0x5d2e61b8ca25 - tokio::runtime::coop::with_budget::h351bc8ad0b58dbdc
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/coop.rs:107:5
[INFO] [stdout]   25:     0x5d2e61b8ca25 - tokio::runtime::coop::budget::h434929a0963d1377
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/coop.rs:73:5
[INFO] [stdout]   26:     0x5d2e61b8ca25 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::hdfed51f2e642cea6
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:729:25
[INFO] [stdout]   27:     0x5d2e61b8a380 - tokio::runtime::scheduler::current_thread::Context::enter::h5e34af12bfac6932
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:428:19
[INFO] [stdout]   28:     0x5d2e61b8b83e - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::h574d2af82f2231cc
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:728:36
[INFO] [stdout]   29:     0x5d2e61b8b534 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::h27dd14318efea80f
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:807:68
[INFO] [stdout]   30:     0x5d2e61b314db - tokio::runtime::context::scoped::Scoped<T>::set::hce599d252ad6b114
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/context/scoped.rs:40:9
[INFO] [stdout]   31:     0x5d2e61b9f739 - tokio::runtime::context::set_scheduler::{{closure}}::h2be227fb2c5eea5a
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/context.rs:180:26
[INFO] [stdout]   32:     0x5d2e61b493bd - std::thread::local::LocalKey<T>::try_with::h785281beb19bb10c
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/thread/local.rs:283:12
[INFO] [stdout]   33:     0x5d2e61b487ba - std::thread::local::LocalKey<T>::with::he4ee3c7e08cf930c
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/thread/local.rs:260:9
[INFO] [stdout]   34:     0x5d2e61b9f6ad - tokio::runtime::context::set_scheduler::h65ad95a106634ea5
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/context.rs:180:9
[INFO] [stdout]   35:     0x5d2e61b8b2e0 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::h64c0bf7699122718
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:807:27
[INFO] [stdout]   36:     0x5d2e61b8b5d3 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::h92a089522d409816
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:716:19
[INFO] [stdout]   37:     0x5d2e61b88c3f - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::h665696865217f187
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:196:28
[INFO] [stdout]   38:     0x5d2e61b47896 - tokio::runtime::context::runtime::enter_runtime::h684e330c4bc0f6be
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/context/runtime.rs:65:16
[INFO] [stdout]   39:     0x5d2e61b88531 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::hd6439fe26b6e8c2c
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:184:9
[INFO] [stdout]   40:     0x5d2e61b80e13 - tokio::runtime::runtime::Runtime::block_on_inner::ha7a9a3fd687cf595
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/runtime.rs:368:47
[INFO] [stdout]   41:     0x5d2e61b81007 - tokio::runtime::runtime::Runtime::block_on::hdc15ca03c1b3e162
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/runtime.rs:342:13
[INFO] [stdout]   42:     0x5d2e61ba7c81 - js_sidecar::connection::tests::run_script_and_wait::h46b70002ba1f0e8b
[INFO] [stdout]                                at /opt/rustwide/workdir/src/connection.rs:478:9
[INFO] [stdout]   43:     0x5d2e61ba7b27 - js_sidecar::connection::tests::run_script_and_wait::{{closure}}::h0a4f9ae9e66f7442
[INFO] [stdout]                                at /opt/rustwide/workdir/src/connection.rs:455:35
[INFO] [stdout]   44:     0x5d2e61b1ccf6 - core::ops::function::FnOnce::call_once::hd378190087aa741d
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x5d2e61bee2eb - core::ops::function::FnOnce::call_once::h871bf86719ec9aa4
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   46:     0x5d2e61bee2eb - test::__rust_begin_short_backtrace::h2167df1e2b7d76fd
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:632:18
[INFO] [stdout]   47:     0x5d2e61bedcd8 - test::run_test_in_process::{{closure}}::h15d92f75a3adfb79
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:655:60
[INFO] [stdout]   48:     0x5d2e61bedcd8 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb6c8955835a8dbbb
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   49:     0x5d2e61bedcd8 - std::panicking::try::do_call::hc79d0fc888a0bd30
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:557:40
[INFO] [stdout]   50:     0x5d2e61bedcd8 - std::panicking::try::hb8a7878e3a8589d6
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:520:19
[INFO] [stdout]   51:     0x5d2e61bedcd8 - std::panic::catch_unwind::hb8e4600ff0ff5cfa
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panic.rs:358:14
[INFO] [stdout]   52:     0x5d2e61bedcd8 - test::run_test_in_process::hc2900b0b18688dd6
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:655:27
[INFO] [stdout]   53:     0x5d2e61bedcd8 - test::run_test::{{closure}}::hac2a9cb07be3d48d
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:576:43
[INFO] [stdout]   54:     0x5d2e61bb177a - test::run_test::{{closure}}::h4a5b729e66a38cd8
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:606:41
[INFO] [stdout]   55:     0x5d2e61bb177a - std::sys::backtrace::__rust_begin_short_backtrace::h0496fb742492f573
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:154:18
[INFO] [stdout]   56:     0x5d2e61bb50f4 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbb6d257c550a54bd
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/thread/mod.rs:561:17
[INFO] [stdout]   57:     0x5d2e61bb50f4 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h46696fe4a6832328
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   58:     0x5d2e61bb50f4 - std::panicking::try::do_call::h2625a51b667bfb64
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:557:40
[INFO] [stdout]   59:     0x5d2e61bb50f4 - std::panicking::try::hb956a59a1973aa4c
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:520:19
[INFO] [stdout]   60:     0x5d2e61bb50f4 - std::panic::catch_unwind::h64f3b9d1067ef6a0
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panic.rs:358:14
[INFO] [stdout]   61:     0x5d2e61bb50f4 - std::thread::Builder::spawn_unchecked_::{{closure}}::h42b2841295b6c0b2
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/thread/mod.rs:559:30
[INFO] [stdout]   62:     0x5d2e61bb50f4 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6127de71b8124639
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   63:     0x5d2e61d1b2ab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h42f0ba71002a1b2c
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1972:9
[INFO] [stdout]   64:     0x5d2e61d1b2ab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::had9e47d7a3dcecb8
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1972:9
[INFO] [stdout]   65:     0x5d2e61d1b2ab - std::sys::pal::unix::thread::Thread::new::thread_start::h48cf765408f6f5f2
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/pal/unix/thread.rs:105:17
[INFO] [stdout]   66:     0x7c2f4d58eac3 - <unknown>
[INFO] [stdout]   67:     0x7c2f4d61fa04 - 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:     0x5d2e61d1534a - std::backtrace_rs::backtrace::libunwind::trace::h8810477743020387
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x5d2e61d1534a - std::backtrace_rs::backtrace::trace_unsynchronized::h3aa55355dd6c54a6
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x5d2e61d1534a - std::sys::backtrace::_print_fmt::h8588b0f62410823f
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5d2e61d1534a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h98c26ac25ffe89bb
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5d2e61d3b923 - core::fmt::rt::Argument::fmt::hf95377f4aebd453b
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x5d2e61d3b923 - core::fmt::write::h0dd5f6e2238c7982
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/fmt/mod.rs:1189:21
[INFO] [stdout]    6:     0x5d2e61d11c93 - std::io::Write::write_fmt::h03bb0ca26e6faf8c
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/io/mod.rs:1884:15
[INFO] [stdout]    7:     0x5d2e61d15192 - std::sys::backtrace::BacktraceLock::print::h5c19c1c038ee186d
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x5d2e61d167cd - std::panicking::default_hook::{{closure}}::h77172f079a1fcb13
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:268:22
[INFO] [stdout]    9:     0x5d2e61d165d7 - std::panicking::default_hook::he5f8e3b203ccddba
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:292:9
[INFO] [stdout]   10:     0x5d2e61be97c7 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h7a3c7b4a1ae77f2f
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1986:9
[INFO] [stdout]   11:     0x5d2e61be97c7 - test::test_main::{{closure}}::hf0d3b69ae9b353d1
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:134:21
[INFO] [stdout]   12:     0x5d2e61d16e78 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h6332e82e7b189abd
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1986:9
[INFO] [stdout]   13:     0x5d2e61d16e78 - std::panicking::rust_panic_with_hook::h53863d4e9018df39
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:809:13
[INFO] [stdout]   14:     0x5d2e61d16c3a - std::panicking::begin_panic_handler::{{closure}}::h67280e6fa0757873
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:674:13
[INFO] [stdout]   15:     0x5d2e61d15829 - std::sys::backtrace::__rust_end_short_backtrace::h1dac3f54d6fbbeb2
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:170:18
[INFO] [stdout]   16:     0x5d2e61d168cc - rust_begin_unwind
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:665:5
[INFO] [stdout]   17:     0x5d2e61b1b190 - core::panicking::panic_fmt::h6792bd1b2bf01041
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/panicking.rs:76:14
[INFO] [stdout]   18:     0x5d2e61b1b636 - core::result::unwrap_failed::h05e0602ed34287c5
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/result.rs:1699:5
[INFO] [stdout]   19:     0x5d2e61ba3e3c - core::result::Result<T,E>::unwrap::h51f0537f566ef529
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/result.rs:1104:23
[INFO] [stdout]   20:     0x5d2e61ba3e3c - js_sidecar::connection::tests::regular_execution::{{closure}}::h55df956bb8b74d60
[INFO] [stdout]                                at /opt/rustwide/workdir/src/connection.rs:359:27
[INFO] [stdout]   21:     0x5d2e61b945a2 - <core::pin::Pin<P> as core::future::future::Future>::poll::h0034fb72c5c626f9
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/future/future.rs:124:9
[INFO] [stdout]   22:     0x5d2e61b9477d - <core::pin::Pin<P> as core::future::future::Future>::poll::hecb1b5dab42f35b4
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/future/future.rs:124:9
[INFO] [stdout]   23:     0x5d2e61b8cb2f - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::h89ec782dd7ef1af0
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:729:57
[INFO] [stdout]   24:     0x5d2e61b8ca25 - tokio::runtime::coop::with_budget::h351bc8ad0b58dbdc
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/coop.rs:107:5
[INFO] [stdout]   25:     0x5d2e61b8ca25 - tokio::runtime::coop::budget::h434929a0963d1377
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/coop.rs:73:5
[INFO] [stdout]   26:     0x5d2e61b8ca25 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::hdfed51f2e642cea6
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:729:25
[INFO] [stdout]   27:     0x5d2e61b8a380 - tokio::runtime::scheduler::current_thread::Context::enter::h5e34af12bfac6932
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:428:19
[INFO] [stdout]   28:     0x5d2e61b8b83e - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::h574d2af82f2231cc
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:728:36
[INFO] [stdout]   29:     0x5d2e61b8b534 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::h27dd14318efea80f
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:807:68
[INFO] [stdout]   30:     0x5d2e61b314db - tokio::runtime::context::scoped::Scoped<T>::set::hce599d252ad6b114
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/context/scoped.rs:40:9
[INFO] [stdout]   31:     0x5d2e61b9f739 - tokio::runtime::context::set_scheduler::{{closure}}::h2be227fb2c5eea5a
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/context.rs:180:26
[INFO] [stdout]   32:     0x5d2e61b493bd - std::thread::local::LocalKey<T>::try_with::h785281beb19bb10c
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/thread/local.rs:283:12
[INFO] [stdout]   33:     0x5d2e61b487ba - std::thread::local::LocalKey<T>::with::he4ee3c7e08cf930c
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/thread/local.rs:260:9
[INFO] [stdout]   34:     0x5d2e61b9f6ad - tokio::runtime::context::set_scheduler::h65ad95a106634ea5
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/context.rs:180:9
[INFO] [stdout]   35:     0x5d2e61b8b2e0 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::h64c0bf7699122718
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:807:27
[INFO] [stdout]   36:     0x5d2e61b8b5d3 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::h92a089522d409816
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:716:19
[INFO] [stdout]   37:     0x5d2e61b88c3f - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::h665696865217f187
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:196:28
[INFO] [stdout]   38:     0x5d2e61b47896 - tokio::runtime::context::runtime::enter_runtime::h684e330c4bc0f6be
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/context/runtime.rs:65:16
[INFO] [stdout]   39:     0x5d2e61b88531 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::hd6439fe26b6e8c2c
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:184:9
[INFO] [stdout]   40:     0x5d2e61b80e13 - tokio::runtime::runtime::Runtime::block_on_inner::ha7a9a3fd687cf595
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/runtime.rs:368:47
[INFO] [stdout]   41:     0x5d2e61b81007 - tokio::runtime::runtime::Runtime::block_on::hdc15ca03c1b3e162
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/runtime.rs:342:13
[INFO] [stdout]   42:     0x5d2e61ba3a21 - js_sidecar::connection::tests::regular_execution::h7f854b3e348eb2ae
[INFO] [stdout]                                at /opt/rustwide/workdir/src/connection.rs:405:9
[INFO] [stdout]   43:     0x5d2e61ba38c7 - js_sidecar::connection::tests::regular_execution::{{closure}}::ha8d7862e6e6f8858
[INFO] [stdout]                                at /opt/rustwide/workdir/src/connection.rs:358:33
[INFO] [stdout]   44:     0x5d2e61b1c876 - core::ops::function::FnOnce::call_once::h8922f6c6f2b98772
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x5d2e61bee2eb - core::ops::function::FnOnce::call_once::h871bf86719ec9aa4
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   46:     0x5d2e61bee2eb - test::__rust_begin_short_backtrace::h2167df1e2b7d76fd
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:632:18
[INFO] [stdout]   47:     0x5d2e61bedcd8 - test::run_test_in_process::{{closure}}::h15d92f75a3adfb79
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:655:60
[INFO] [stdout]   48:     0x5d2e61bedcd8 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb6c8955835a8dbbb
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   49:     0x5d2e61bedcd8 - std::panicking::try::do_call::hc79d0fc888a0bd30
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:557:40
[INFO] [stdout]   50:     0x5d2e61bedcd8 - std::panicking::try::hb8a7878e3a8589d6
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:520:19
[INFO] [stdout]   51:     0x5d2e61bedcd8 - std::panic::catch_unwind::hb8e4600ff0ff5cfa
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panic.rs:358:14
[INFO] [stdout]   52:     0x5d2e61bedcd8 - test::run_test_in_process::hc2900b0b18688dd6
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:655:27
[INFO] [stdout]   53:     0x5d2e61bedcd8 - test::run_test::{{closure}}::hac2a9cb07be3d48d
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:576:43
[INFO] [stdout]   54:     0x5d2e61bb177a - test::run_test::{{closure}}::h4a5b729e66a38cd8
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:606:41
[INFO] [stdout]   55:     0x5d2e61bb177a - std::sys::backtrace::__rust_begin_short_backtrace::h0496fb742492f573
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:154:18
[INFO] [stdout]   56:     0x5d2e61bb50f4 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbb6d257c550a54bd
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/thread/mod.rs:561:17
[INFO] [stdout]   57:     0x5d2e61bb50f4 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h46696fe4a6832328
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   58:     0x5d2e61bb50f4 - std::panicking::try::do_call::h2625a51b667bfb64
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:557:40
[INFO] [stdout]   59:     0x5d2e61bb50f4 - std::panicking::try::hb956a59a1973aa4c
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:520:19
[INFO] [stdout]   60:     0x5d2e61bb50f4 - std::panic::catch_unwind::h64f3b9d1067ef6a0
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panic.rs:358:14
[INFO] [stdout]   61:     0x5d2e61bb50f4 - std::thread::Builder::spawn_unchecked_::{{closure}}::h42b2841295b6c0b2
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/thread/mod.rs:559:30
[INFO] [stdout]   62:     0x5d2e61bb50f4 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6127de71b8124639
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   63:     0x5d2e61d1b2ab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h42f0ba71002a1b2c
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1972:9
[INFO] [stdout]   64:     0x5d2e61d1b2ab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::had9e47d7a3dcecb8
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1972:9
[INFO] [stdout]   65:     0x5d2e61d1b2ab - std::sys::pal::unix::thread::Thread::new::thread_start::h48cf765408f6f5f2
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/pal/unix/thread.rs:105:17
[INFO] [stdout]   66:     0x7c2f4d58eac3 - <unknown>
[INFO] [stdout]   67:     0x7c2f4d61fa04 - 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:     0x5d2e61d1534a - std::backtrace_rs::backtrace::libunwind::trace::h8810477743020387
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x5d2e61d1534a - std::backtrace_rs::backtrace::trace_unsynchronized::h3aa55355dd6c54a6
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x5d2e61d1534a - std::sys::backtrace::_print_fmt::h8588b0f62410823f
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5d2e61d1534a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h98c26ac25ffe89bb
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5d2e61d3b923 - core::fmt::rt::Argument::fmt::hf95377f4aebd453b
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x5d2e61d3b923 - core::fmt::write::h0dd5f6e2238c7982
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/fmt/mod.rs:1189:21
[INFO] [stdout]    6:     0x5d2e61d11c93 - std::io::Write::write_fmt::h03bb0ca26e6faf8c
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/io/mod.rs:1884:15
[INFO] [stdout]    7:     0x5d2e61d15192 - std::sys::backtrace::BacktraceLock::print::h5c19c1c038ee186d
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x5d2e61d167cd - std::panicking::default_hook::{{closure}}::h77172f079a1fcb13
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:268:22
[INFO] [stdout]    9:     0x5d2e61d165d7 - std::panicking::default_hook::he5f8e3b203ccddba
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:292:9
[INFO] [stdout]   10:     0x5d2e61be97c7 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h7a3c7b4a1ae77f2f
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1986:9
[INFO] [stdout]   11:     0x5d2e61be97c7 - test::test_main::{{closure}}::hf0d3b69ae9b353d1
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:134:21
[INFO] [stdout]   12:     0x5d2e61d16e78 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h6332e82e7b189abd
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1986:9
[INFO] [stdout]   13:     0x5d2e61d16e78 - std::panicking::rust_panic_with_hook::h53863d4e9018df39
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:809:13
[INFO] [stdout]   14:     0x5d2e61d16c3a - std::panicking::begin_panic_handler::{{closure}}::h67280e6fa0757873
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:674:13
[INFO] [stdout]   15:     0x5d2e61d15829 - std::sys::backtrace::__rust_end_short_backtrace::h1dac3f54d6fbbeb2
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:170:18
[INFO] [stdout]   16:     0x5d2e61d168cc - rust_begin_unwind
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:665:5
[INFO] [stdout]   17:     0x5d2e61b1b190 - core::panicking::panic_fmt::h6792bd1b2bf01041
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/panicking.rs:76:14
[INFO] [stdout]   18:     0x5d2e61b1b636 - core::result::unwrap_failed::h05e0602ed34287c5
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/result.rs:1699:5
[INFO] [stdout]   19:     0x5d2e61baa937 - core::result::Result<T,E>::unwrap::h51f0537f566ef529
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/result.rs:1104:23
[INFO] [stdout]   20:     0x5d2e61baa937 - js_sidecar::connection::tests::syntax_error::{{closure}}::h0957abfda3e0af48
[INFO] [stdout]                                at /opt/rustwide/workdir/src/connection.rs:507:27
[INFO] [stdout]   21:     0x5d2e61b945a2 - <core::pin::Pin<P> as core::future::future::Future>::poll::h0034fb72c5c626f9
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/future/future.rs:124:9
[INFO] [stdout]   22:     0x5d2e61b9477d - <core::pin::Pin<P> as core::future::future::Future>::poll::hecb1b5dab42f35b4
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/future/future.rs:124:9
[INFO] [stdout]   23:     0x5d2e61b8cb2f - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::h89ec782dd7ef1af0
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:729:57
[INFO] [stdout]   24:     0x5d2e61b8ca25 - tokio::runtime::coop::with_budget::h351bc8ad0b58dbdc
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/coop.rs:107:5
[INFO] [stdout]   25:     0x5d2e61b8ca25 - tokio::runtime::coop::budget::h434929a0963d1377
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/coop.rs:73:5
[INFO] [stdout]   26:     0x5d2e61b8ca25 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::hdfed51f2e642cea6
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:729:25
[INFO] [stdout]   27:     0x5d2e61b8a380 - tokio::runtime::scheduler::current_thread::Context::enter::h5e34af12bfac6932
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:428:19
[INFO] [stdout]   28:     0x5d2e61b8b83e - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::h574d2af82f2231cc
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:728:36
[INFO] [stdout]   29:     0x5d2e61b8b534 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::h27dd14318efea80f
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:807:68
[INFO] [stdout]   30:     0x5d2e61b314db - tokio::runtime::context::scoped::Scoped<T>::set::hce599d252ad6b114
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/context/scoped.rs:40:9
[INFO] [stdout]   31:     0x5d2e61b9f739 - tokio::runtime::context::set_scheduler::{{closure}}::h2be227fb2c5eea5a
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/context.rs:180:26
[INFO] [stdout]   32:     0x5d2e61b493bd - std::thread::local::LocalKey<T>::try_with::h785281beb19bb10c
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/thread/local.rs:283:12
[INFO] [stdout]   33:     0x5d2e61b487ba - std::thread::local::LocalKey<T>::with::he4ee3c7e08cf930c
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/thread/local.rs:260:9
[INFO] [stdout]   34:     0x5d2e61b9f6ad - tokio::runtime::context::set_scheduler::h65ad95a106634ea5
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/context.rs:180:9
[INFO] [stdout]   35:     0x5d2e61b8b2e0 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::h64c0bf7699122718
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:807:27
[INFO] [stdout]   36:     0x5d2e61b8b5d3 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::h92a089522d409816
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:716:19
[INFO] [stdout]   37:     0x5d2e61b88c3f - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::h665696865217f187
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:196:28
[INFO] [stdout]   38:     0x5d2e61b47896 - tokio::runtime::context::runtime::enter_runtime::h684e330c4bc0f6be
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/context/runtime.rs:65:16
[INFO] [stdout]   39:     0x5d2e61b88531 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::hd6439fe26b6e8c2c
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:184:9
[INFO] [stdout]   40:     0x5d2e61b80e13 - tokio::runtime::runtime::Runtime::block_on_inner::ha7a9a3fd687cf595
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/runtime.rs:368:47
[INFO] [stdout]   41:     0x5d2e61b81007 - tokio::runtime::runtime::Runtime::block_on::hdc15ca03c1b3e162
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/runtime.rs:342:13
[INFO] [stdout]   42:     0x5d2e61baa541 - js_sidecar::connection::tests::syntax_error::h84594d41840a91fb
[INFO] [stdout]                                at /opt/rustwide/workdir/src/connection.rs:526:9
[INFO] [stdout]   43:     0x5d2e61baa3e7 - js_sidecar::connection::tests::syntax_error::{{closure}}::h155d600fb6d69473
[INFO] [stdout]                                at /opt/rustwide/workdir/src/connection.rs:506:28
[INFO] [stdout]   44:     0x5d2e61b1c166 - core::ops::function::FnOnce::call_once::h46f29d5bdc822e94
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x5d2e61bee2eb - core::ops::function::FnOnce::call_once::h871bf86719ec9aa4
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   46:     0x5d2e61bee2eb - test::__rust_begin_short_backtrace::h2167df1e2b7d76fd
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:632:18
[INFO] [stdout]   47:     0x5d2e61bedcd8 - test::run_test_in_process::{{closure}}::h15d92f75a3adfb79
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:655:60
[INFO] [stdout]   48:     0x5d2e61bedcd8 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb6c8955835a8dbbb
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   49:     0x5d2e61bedcd8 - std::panicking::try::do_call::hc79d0fc888a0bd30
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:557:40
[INFO] [stdout]   50:     0x5d2e61bedcd8 - std::panicking::try::hb8a7878e3a8589d6
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:520:19
[INFO] [stdout]   51:     0x5d2e61bedcd8 - std::panic::catch_unwind::hb8e4600ff0ff5cfa
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panic.rs:358:14
[INFO] [stdout]   52:     0x5d2e61bedcd8 - test::run_test_in_process::hc2900b0b18688dd6
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:655:27
[INFO] [stdout]   53:     0x5d2e61bedcd8 - test::run_test::{{closure}}::hac2a9cb07be3d48d
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:576:43
[INFO] [stdout]   54:     0x5d2e61bb177a - test::run_test::{{closure}}::h4a5b729e66a38cd8
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:606:41
[INFO] [stdout]   55:     0x5d2e61bb177a - std::sys::backtrace::__rust_begin_short_backtrace::h0496fb742492f573
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:154:18
[INFO] [stdout]   56:     0x5d2e61bb50f4 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbb6d257c550a54bd
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/thread/mod.rs:561:17
[INFO] [stdout]   57:     0x5d2e61bb50f4 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h46696fe4a6832328
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   58:     0x5d2e61bb50f4 - std::panicking::try::do_call::h2625a51b667bfb64
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:557:40
[INFO] [stdout]   59:     0x5d2e61bb50f4 - std::panicking::try::hb956a59a1973aa4c
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:520:19
[INFO] [stdout]   60:     0x5d2e61bb50f4 - std::panic::catch_unwind::h64f3b9d1067ef6a0
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panic.rs:358:14
[INFO] [stdout]   61:     0x5d2e61bb50f4 - std::thread::Builder::spawn_unchecked_::{{closure}}::h42b2841295b6c0b2
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/thread/mod.rs:559:30
[INFO] [stdout]   62:     0x5d2e61bb50f4 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6127de71b8124639
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   63:     0x5d2e61d1b2ab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h42f0ba71002a1b2c
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1972:9
[INFO] [stdout]   64:     0x5d2e61d1b2ab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::had9e47d7a3dcecb8
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1972:9
[INFO] [stdout]   65:     0x5d2e61d1b2ab - std::sys::pal::unix::thread::Thread::new::thread_start::h48cf765408f6f5f2
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/pal/unix/thread.rs:105:17
[INFO] [stdout]   66:     0x7c2f4d58eac3 - <unknown>
[INFO] [stdout]   67:     0x7c2f4d61fa04 - clone
[INFO] [stdout]   68:                0x0 - <unknown>
[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:     0x5d2e61d1534a - std::backtrace_rs::backtrace::libunwind::trace::h8810477743020387
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x5d2e61d1534a - std::backtrace_rs::backtrace::trace_unsynchronized::h3aa55355dd6c54a6
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x5d2e61d1534a - std::sys::backtrace::_print_fmt::h8588b0f62410823f
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5d2e61d1534a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h98c26ac25ffe89bb
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5d2e61d3b923 - core::fmt::rt::Argument::fmt::hf95377f4aebd453b
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x5d2e61d3b923 - core::fmt::write::h0dd5f6e2238c7982
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/fmt/mod.rs:1189:21
[INFO] [stdout]    6:     0x5d2e61d11c93 - std::io::Write::write_fmt::h03bb0ca26e6faf8c
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/io/mod.rs:1884:15
[INFO] [stdout]    7:     0x5d2e61d15192 - std::sys::backtrace::BacktraceLock::print::h5c19c1c038ee186d
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x5d2e61d167cd - std::panicking::default_hook::{{closure}}::h77172f079a1fcb13
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:268:22
[INFO] [stdout]    9:     0x5d2e61d165d7 - std::panicking::default_hook::he5f8e3b203ccddba
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:292:9
[INFO] [stdout]   10:     0x5d2e61be97c7 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h7a3c7b4a1ae77f2f
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1986:9
[INFO] [stdout]   11:     0x5d2e61be97c7 - test::test_main::{{closure}}::hf0d3b69ae9b353d1
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:134:21
[INFO] [stdout]   12:     0x5d2e61d16e78 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h6332e82e7b189abd
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1986:9
[INFO] [stdout]   13:     0x5d2e61d16e78 - std::panicking::rust_panic_with_hook::h53863d4e9018df39
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:809:13
[INFO] [stdout]   14:     0x5d2e61d16c3a - std::panicking::begin_panic_handler::{{closure}}::h67280e6fa0757873
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:674:13
[INFO] [stdout]   15:     0x5d2e61d15829 - std::sys::backtrace::__rust_end_short_backtrace::h1dac3f54d6fbbeb2
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:170:18
[INFO] [stdout]   16:     0x5d2e61d168cc - rust_begin_unwind
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:665:5
[INFO] [stdout]   17:     0x5d2e61b1b190 - core::panicking::panic_fmt::h6792bd1b2bf01041
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/panicking.rs:76:14
[INFO] [stdout]   18:     0x5d2e61b1b636 - core::result::unwrap_failed::h05e0602ed34287c5
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/result.rs:1699:5
[INFO] [stdout]   19:     0x5d2e61ba6171 - core::result::Result<T,E>::unwrap::h51f0537f566ef529
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/result.rs:1104:23
[INFO] [stdout]   20:     0x5d2e61ba6171 - js_sidecar::connection::tests::expression_execution::{{closure}}::h2581be127f697367
[INFO] [stdout]                                at /opt/rustwide/workdir/src/connection.rs:410:27
[INFO] [stdout]   21:     0x5d2e61b945a2 - <core::pin::Pin<P> as core::future::future::Future>::poll::h0034fb72c5c626f9
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/future/future.rs:124:9
[INFO] [stdout]   22:     0x5d2e61b9477d - <core::pin::Pin<P> as core::future::future::Future>::poll::hecb1b5dab42f35b4
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/future/future.rs:124:9
[INFO] [stdout]   23:     0x5d2e61b8cb2f - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::h89ec782dd7ef1af0
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:729:57
[INFO] [stdout]   24:     0x5d2e61b8ca25 - tokio::runtime::coop::with_budget::h351bc8ad0b58dbdc
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/coop.rs:107:5
[INFO] [stdout]   25:     0x5d2e61b8ca25 - tokio::runtime::coop::budget::h434929a0963d1377
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/coop.rs:73:5
[INFO] [stdout]   26:     0x5d2e61b8ca25 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::hdfed51f2e642cea6
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:729:25
[INFO] [stdout]   27:     0x5d2e61b8a380 - tokio::runtime::scheduler::current_thread::Context::enter::h5e34af12bfac6932
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:428:19
[INFO] [stdout]   28:     0x5d2e61b8b83e - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::h574d2af82f2231cc
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:728:36
[INFO] [stdout]   29:     0x5d2e61b8b534 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::h27dd14318efea80f
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:807:68
[INFO] [stdout]   30:     0x5d2e61b314db - tokio::runtime::context::scoped::Scoped<T>::set::hce599d252ad6b114
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/context/scoped.rs:40:9
[INFO] [stdout]   31:     0x5d2e61b9f739 - tokio::runtime::context::set_scheduler::{{closure}}::h2be227fb2c5eea5a
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/context.rs:180:26
[INFO] [stdout]   32:     0x5d2e61b493bd - std::thread::local::LocalKey<T>::try_with::h785281beb19bb10c
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/thread/local.rs:283:12
[INFO] [stdout]   33:     0x5d2e61b487ba - std::thread::local::LocalKey<T>::with::he4ee3c7e08cf930c
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/thread/local.rs:260:9
[INFO] [stdout]   34:     0x5d2e61b9f6ad - tokio::runtime::context::set_scheduler::h65ad95a106634ea5
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/context.rs:180:9
[INFO] [stdout]   35:     0x5d2e61b8b2e0 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::h64c0bf7699122718
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:807:27
[INFO] [stdout]   36:     0x5d2e61b8b5d3 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::h92a089522d409816
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:716:19
[INFO] [stdout]   37:     0x5d2e61b88c3f - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::h665696865217f187
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:196:28
[INFO] [stdout]   38:     0x5d2e61b47896 - tokio::runtime::context::runtime::enter_runtime::h684e330c4bc0f6be
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/context/runtime.rs:65:16
[INFO] [stdout]   39:     0x5d2e61b88531 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::hd6439fe26b6e8c2c
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:184:9
[INFO] [stdout]   40:     0x5d2e61b80e13 - tokio::runtime::runtime::Runtime::block_on_inner::ha7a9a3fd687cf595
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/runtime.rs:368:47
[INFO] [stdout]   41:     0x5d2e61b81007 - tokio::runtime::runtime::Runtime::block_on::hdc15ca03c1b3e162
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/runtime.rs:342:13
[INFO] [stdout]   42:     0x5d2e61ba5d61 - js_sidecar::connection::tests::expression_execution::h480c5d3390b6fd19
[INFO] [stdout]                                at /opt/rustwide/workdir/src/connection.rs:451:9
[INFO] [stdout]   43:     0x5d2e61ba5c07 - js_sidecar::connection::tests::expression_execution::{{closure}}::h7d24f493bf837d10
[INFO] [stdout]                                at /opt/rustwide/workdir/src/connection.rs:409:36
[INFO] [stdout]   44:     0x5d2e61b1bf76 - core::ops::function::FnOnce::call_once::h20bd20bb03e1c5ae
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x5d2e61bee2eb - core::ops::function::FnOnce::call_once::h871bf86719ec9aa4
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   46:     0x5d2e61bee2eb - test::__rust_begin_short_backtrace::h2167df1e2b7d76fd
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:632:18
[INFO] [stdout]   47:     0x5d2e61bedcd8 - test::run_test_in_process::{{closure}}::h15d92f75a3adfb79
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:655:60
[INFO] [stdout]   48:     0x5d2e61bedcd8 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb6c8955835a8dbbb
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   49:     0x5d2e61bedcd8 - std::panicking::try::do_call::hc79d0fc888a0bd30
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:557:40
[INFO] [stdout]   50:     0x5d2e61bedcd8 - std::panicking::try::hb8a7878e3a8589d6
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:520:19
[INFO] [stdout]   51:     0x5d2e61bedcd8 - std::panic::catch_unwind::hb8e4600ff0ff5cfa
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panic.rs:358:14
[INFO] [stdout]   52:     0x5d2e61bedcd8 - test::run_test_in_process::hc2900b0b18688dd6
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:655:27
[INFO] [stdout]   53:     0x5d2e61bedcd8 - test::run_test::{{closure}}::hac2a9cb07be3d48d
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:576:43
[INFO] [stdout]   54:     0x5d2e61bb177a - test::run_test::{{closure}}::h4a5b729e66a38cd8
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:606:41
[INFO] [stdout]   55:     0x5d2e61bb177a - std::sys::backtrace::__rust_begin_short_backtrace::h0496fb742492f573
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:154:18
[INFO] [stdout]   56:     0x5d2e61bb50f4 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbb6d257c550a54bd
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/thread/mod.rs:561:17
[INFO] [stdout]   57:     0x5d2e61bb50f4 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h46696fe4a6832328
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   58:     0x5d2e61bb50f4 - std::panicking::try::do_call::h2625a51b667bfb64
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:557:40
[INFO] [stdout]   59:     0x5d2e61bb50f4 - std::panicking::try::hb956a59a1973aa4c
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:520:19
[INFO] [stdout]   60:     0x5d2e61bb50f4 - std::panic::catch_unwind::h64f3b9d1067ef6a0
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panic.rs:358:14
[INFO] [stdout]   61:     0x5d2e61bb50f4 - std::thread::Builder::spawn_unchecked_::{{closure}}::h42b2841295b6c0b2
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/thread/mod.rs:559:30
[INFO] [stdout]   62:     0x5d2e61bb50f4 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6127de71b8124639
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   63:     0x5d2e61d1b2ab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h42f0ba71002a1b2c
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1972:9
[INFO] [stdout]   64:     0x5d2e61d1b2ab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::had9e47d7a3dcecb8
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1972:9
[INFO] [stdout]   65:     0x5d2e61d1b2ab - std::sys::pal::unix::thread::Thread::new::thread_start::h48cf765408f6f5f2
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/pal/unix/thread.rs:105:17
[INFO] [stdout]   66:     0x7c2f4d58eac3 - <unknown>
[INFO] [stdout]   67:     0x7c2f4d61fa04 - 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:     0x5d2e61d1534a - std::backtrace_rs::backtrace::libunwind::trace::h8810477743020387
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x5d2e61d1534a - std::backtrace_rs::backtrace::trace_unsynchronized::h3aa55355dd6c54a6
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x5d2e61d1534a - std::sys::backtrace::_print_fmt::h8588b0f62410823f
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5d2e61d1534a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h98c26ac25ffe89bb
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5d2e61d3b923 - core::fmt::rt::Argument::fmt::hf95377f4aebd453b
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x5d2e61d3b923 - core::fmt::write::h0dd5f6e2238c7982
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/fmt/mod.rs:1189:21
[INFO] [stdout]    6:     0x5d2e61d11c93 - std::io::Write::write_fmt::h03bb0ca26e6faf8c
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/io/mod.rs:1884:15
[INFO] [stdout]    7:     0x5d2e61d15192 - std::sys::backtrace::BacktraceLock::print::h5c19c1c038ee186d
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x5d2e61d167cd - std::panicking::default_hook::{{closure}}::h77172f079a1fcb13
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:268:22
[INFO] [stdout]    9:     0x5d2e61d165d7 - std::panicking::default_hook::he5f8e3b203ccddba
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:292:9
[INFO] [stdout]   10:     0x5d2e61be97c7 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h7a3c7b4a1ae77f2f
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1986:9
[INFO] [stdout]   11:     0x5d2e61be97c7 - test::test_main::{{closure}}::hf0d3b69ae9b353d1
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:134:21
[INFO] [stdout]   12:     0x5d2e61d16e78 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h6332e82e7b189abd
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1986:9
[INFO] [stdout]   13:     0x5d2e61d16e78 - std::panicking::rust_panic_with_hook::h53863d4e9018df39
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:809:13
[INFO] [stdout]   14:     0x5d2e61d16c3a - std::panicking::begin_panic_handler::{{closure}}::h67280e6fa0757873
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:674:13
[INFO] [stdout]   15:     0x5d2e61d15829 - std::sys::backtrace::__rust_end_short_backtrace::h1dac3f54d6fbbeb2
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:170:18
[INFO] [stdout]   16:     0x5d2e61d168cc - rust_begin_unwind
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:665:5
[INFO] [stdout]   17:     0x5d2e61b1b190 - core::panicking::panic_fmt::h6792bd1b2bf01041
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/panicking.rs:76:14
[INFO] [stdout]   18:     0x5d2e61b1b636 - core::result::unwrap_failed::h05e0602ed34287c5
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/result.rs:1699:5
[INFO] [stdout]   19:     0x5d2e61bae94d - core::result::Result<T,E>::unwrap::h51f0537f566ef529
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/result.rs:1104:23
[INFO] [stdout]   20:     0x5d2e61bae94d - js_sidecar::connection::tests::high_connection_count::{{closure}}::hc65d6a24a0847a3d
[INFO] [stdout]                                at /opt/rustwide/workdir/src/connection.rs:593:27
[INFO] [stdout]   21:     0x5d2e61b945a2 - <core::pin::Pin<P> as core::future::future::Future>::poll::h0034fb72c5c626f9
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/future/future.rs:124:9
[INFO] [stdout]   22:     0x5d2e61b9477d - <core::pin::Pin<P> as core::future::future::Future>::poll::hecb1b5dab42f35b4
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/future/future.rs:124:9
[INFO] [stdout]   23:     0x5d2e61b8cb2f - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::h89ec782dd7ef1af0
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:729:57
[INFO] [stdout]   24:     0x5d2e61b8ca25 - tokio::runtime::coop::with_budget::h351bc8ad0b58dbdc
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/coop.rs:107:5
[INFO] [stdout]   25:     0x5d2e61b8ca25 - tokio::runtime::coop::budget::h434929a0963d1377
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/coop.rs:73:5
[INFO] [stdout]   26:     0x5d2e61b8ca25 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::hdfed51f2e642cea6
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:729:25
[INFO] [stdout]   27:     0x5d2e61b8a380 - tokio::runtime::scheduler::current_thread::Context::enter::h5e34af12bfac6932
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:428:19
[INFO] [stdout]   28:     0x5d2e61b8b83e - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::h574d2af82f2231cc
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:728:36
[INFO] [stdout]   29:     0x5d2e61b8b534 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::h27dd14318efea80f
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:807:68
[INFO] [stdout]   30:     0x5d2e61b314db - tokio::runtime::context::scoped::Scoped<T>::set::hce599d252ad6b114
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/context/scoped.rs:40:9
[INFO] [stdout]   31:     0x5d2e61b9f739 - tokio::runtime::context::set_scheduler::{{closure}}::h2be227fb2c5eea5a
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/context.rs:180:26
[INFO] [stdout]   32:     0x5d2e61b493bd - std::thread::local::LocalKey<T>::try_with::h785281beb19bb10c
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/thread/local.rs:283:12
[INFO] [stdout]   33:     0x5d2e61b487ba - std::thread::local::LocalKey<T>::with::he4ee3c7e08cf930c
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/thread/local.rs:260:9
[INFO] [stdout]   34:     0x5d2e61b9f6ad - tokio::runtime::context::set_scheduler::h65ad95a106634ea5
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/context.rs:180:9
[INFO] [stdout]   35:     0x5d2e61b8b2e0 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::h64c0bf7699122718
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:807:27
[INFO] [stdout]   36:     0x5d2e61b8b5d3 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::h92a089522d409816
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:716:19
[INFO] [stdout]   37:     0x5d2e61b88c3f - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::h665696865217f187
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:196:28
[INFO] [stdout]   38:     0x5d2e61b47896 - tokio::runtime::context::runtime::enter_runtime::h684e330c4bc0f6be
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/context/runtime.rs:65:16
[INFO] [stdout]   39:     0x5d2e61b88531 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::hd6439fe26b6e8c2c
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:184:9
[INFO] [stdout]   40:     0x5d2e61b80e13 - tokio::runtime::runtime::Runtime::block_on_inner::ha7a9a3fd687cf595
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/runtime.rs:368:47
[INFO] [stdout]   41:     0x5d2e61b81007 - tokio::runtime::runtime::Runtime::block_on::hdc15ca03c1b3e162
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/runtime.rs:342:13
[INFO] [stdout]   42:     0x5d2e61bae5c1 - js_sidecar::connection::tests::high_connection_count::h06f84db5a73f86b3
[INFO] [stdout]                                at /opt/rustwide/workdir/src/connection.rs:612:9
[INFO] [stdout]   43:     0x5d2e61bae467 - js_sidecar::connection::tests::high_connection_count::{{closure}}::hf799db0fe6932b46
[INFO] [stdout]                                at /opt/rustwide/workdir/src/connection.rs:592:37
[INFO] [stdout]   44:     0x5d2e61b1c776 - core::ops::function::FnOnce::call_once::h7c259baad03bf0a1
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x5d2e61bee2eb - core::ops::function::FnOnce::call_once::h871bf86719ec9aa4
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   46:     0x5d2e61bee2eb - test::__rust_begin_short_backtrace::h2167df1e2b7d76fd
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:632:18
[INFO] [stdout]   47:     0x5d2e61bedcd8 - test::run_test_in_process::{{closure}}::h15d92f75a3adfb79
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:655:60
[INFO] [stdout]   48:     0x5d2e61bedcd8 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb6c8955835a8dbbb
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   49:     0x5d2e61bedcd8 - std::panicking::try::do_call::hc79d0fc888a0bd30
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:557:40
[INFO] [stdout]   50:     0x5d2e61bedcd8 - std::panicking::try::hb8a7878e3a8589d6
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:520:19
[INFO] [stdout]   51:     0x5d2e61bedcd8 - std::panic::catch_unwind::hb8e4600ff0ff5cfa
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panic.rs:358:14
[INFO] [stdout]   52:     0x5d2e61bedcd8 - test::run_test_in_process::hc2900b0b18688dd6
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:655:27
[INFO] [stdout]   53:     0x5d2e61bedcd8 - test::run_test::{{closure}}::hac2a9cb07be3d48d
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:576:43
[INFO] [stdout]   54:     0x5d2e61bb177a - test::run_test::{{closure}}::h4a5b729e66a38cd8
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:606:41
[INFO] [stdout]   55:     0x5d2e61bb177a - std::sys::backtrace::__rust_begin_short_backtrace::h0496fb742492f573
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:154:18
[INFO] [stdout]   56:     0x5d2e61bb50f4 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbb6d257c550a54bd
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/thread/mod.rs:561:17
[INFO] [stdout]   57:     0x5d2e61bb50f4 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h46696fe4a6832328
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   58:     0x5d2e61bb50f4 - std::panicking::try::do_call::h2625a51b667bfb64
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:557:40
[INFO] [stdout]   59:     0x5d2e61bb50f4 - std::panicking::try::hb956a59a1973aa4c
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:520:19
[INFO] [stdout]   60:     0x5d2e61bb50f4 - std::panic::catch_unwind::h64f3b9d1067ef6a0
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panic.rs:358:14
[INFO] [stdout]   61:     0x5d2e61bb50f4 - std::thread::Builder::spawn_unchecked_::{{closure}}::h42b2841295b6c0b2
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/thread/mod.rs:559:30
[INFO] [stdout]   62:     0x5d2e61bb50f4 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6127de71b8124639
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   63:     0x5d2e61d1b2ab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h42f0ba71002a1b2c
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1972:9
[INFO] [stdout]   64:     0x5d2e61d1b2ab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::had9e47d7a3dcecb8
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1972:9
[INFO] [stdout]   65:     0x5d2e61d1b2ab - std::sys::pal::unix::thread::Thread::new::thread_start::h48cf765408f6f5f2
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/pal/unix/thread.rs:105:17
[INFO] [stdout]   66:     0x7c2f4d58eac3 - <unknown>
[INFO] [stdout]   67:     0x7c2f4d61fa04 - 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:     0x5d2e61d1534a - std::backtrace_rs::backtrace::libunwind::trace::h8810477743020387
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x5d2e61d1534a - std::backtrace_rs::backtrace::trace_unsynchronized::h3aa55355dd6c54a6
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x5d2e61d1534a - std::sys::backtrace::_print_fmt::h8588b0f62410823f
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5d2e61d1534a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h98c26ac25ffe89bb
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5d2e61d3b923 - core::fmt::rt::Argument::fmt::hf95377f4aebd453b
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x5d2e61d3b923 - core::fmt::write::h0dd5f6e2238c7982
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/fmt/mod.rs:1189:21
[INFO] [stdout]    6:     0x5d2e61d11c93 - std::io::Write::write_fmt::h03bb0ca26e6faf8c
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/io/mod.rs:1884:15
[INFO] [stdout]    7:     0x5d2e61d15192 - std::sys::backtrace::BacktraceLock::print::h5c19c1c038ee186d
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x5d2e61d167cd - std::panicking::default_hook::{{closure}}::h77172f079a1fcb13
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:268:22
[INFO] [stdout]    9:     0x5d2e61d165d7 - std::panicking::default_hook::he5f8e3b203ccddba
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:292:9
[INFO] [stdout]   10:     0x5d2e61be97c7 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h7a3c7b4a1ae77f2f
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1986:9
[INFO] [stdout]   11:     0x5d2e61be97c7 - test::test_main::{{closure}}::hf0d3b69ae9b353d1
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:134:21
[INFO] [stdout]   12:     0x5d2e61d16e78 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h6332e82e7b189abd
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1986:9
[INFO] [stdout]   13:     0x5d2e61d16e78 - std::panicking::rust_panic_with_hook::h53863d4e9018df39
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:809:13
[INFO] [stdout]   14:     0x5d2e61d16c3a - std::panicking::begin_panic_handler::{{closure}}::h67280e6fa0757873
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:674:13
[INFO] [stdout]   15:     0x5d2e61d15829 - std::sys::backtrace::__rust_end_short_backtrace::h1dac3f54d6fbbeb2
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:170:18
[INFO] [stdout]   16:     0x5d2e61d168cc - rust_begin_unwind
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:665:5
[INFO] [stdout]   17:     0x5d2e61b1b190 - core::panicking::panic_fmt::h6792bd1b2bf01041
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/panicking.rs:76:14
[INFO] [stdout]   18:     0x5d2e61b1b636 - core::result::unwrap_failed::h05e0602ed34287c5
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/result.rs:1699:5
[INFO] [stdout]   19:     0x5d2e61babb91 - core::result::Result<T,E>::unwrap::h51f0537f566ef529
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/result.rs:1104:23
[INFO] [stdout]   20:     0x5d2e61babb91 - js_sidecar::connection::tests::multiple_connections::{{closure}}::h222b537ec4ace52b
[INFO] [stdout]                                at /opt/rustwide/workdir/src/connection.rs:531:27
[INFO] [stdout]   21:     0x5d2e61b945a2 - <core::pin::Pin<P> as core::future::future::Future>::poll::h0034fb72c5c626f9
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/future/future.rs:124:9
[INFO] [stdout]   22:     0x5d2e61b9477d - <core::pin::Pin<P> as core::future::future::Future>::poll::hecb1b5dab42f35b4
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/future/future.rs:124:9
[INFO] [stdout]   23:     0x5d2e61b8cb2f - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::h89ec782dd7ef1af0
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:729:57
[INFO] [stdout]   24:     0x5d2e61b8ca25 - tokio::runtime::coop::with_budget::h351bc8ad0b58dbdc
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/coop.rs:107:5
[INFO] [stdout]   25:     0x5d2e61b8ca25 - tokio::runtime::coop::budget::h434929a0963d1377
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/coop.rs:73:5
[INFO] [stdout]   26:     0x5d2e61b8ca25 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::hdfed51f2e642cea6
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:729:25
[INFO] [stdout]   27:     0x5d2e61b8a380 - tokio::runtime::scheduler::current_thread::Context::enter::h5e34af12bfac6932
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:428:19
[INFO] [stdout]   28:     0x5d2e61b8b83e - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::h574d2af82f2231cc
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:728:36
[INFO] [stdout]   29:     0x5d2e61b8b534 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::h27dd14318efea80f
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:807:68
[INFO] [stdout]   30:     0x5d2e61b314db - tokio::runtime::context::scoped::Scoped<T>::set::hce599d252ad6b114
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/context/scoped.rs:40:9
[INFO] [stdout]   31:     0x5d2e61b9f739 - tokio::runtime::context::set_scheduler::{{closure}}::h2be227fb2c5eea5a
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/context.rs:180:26
[INFO] [stdout]   32:     0x5d2e61b493bd - std::thread::local::LocalKey<T>::try_with::h785281beb19bb10c
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/thread/local.rs:283:12
[INFO] [stdout]   33:     0x5d2e61b487ba - std::thread::local::LocalKey<T>::with::he4ee3c7e08cf930c
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/thread/local.rs:260:9
[INFO] [stdout]   34:     0x5d2e61b9f6ad - tokio::runtime::context::set_scheduler::h65ad95a106634ea5
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/context.rs:180:9
[INFO] [stdout]   35:     0x5d2e61b8b2e0 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::h64c0bf7699122718
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:807:27
[INFO] [stdout]   36:     0x5d2e61b8b5d3 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::h92a089522d409816
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:716:19
[INFO] [stdout]   37:     0x5d2e61b88c3f - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::h665696865217f187
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:196:28
[INFO] [stdout]   38:     0x5d2e61b47896 - tokio::runtime::context::runtime::enter_runtime::h684e330c4bc0f6be
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/context/runtime.rs:65:16
[INFO] [stdout]   39:     0x5d2e61b88531 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::hd6439fe26b6e8c2c
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:184:9
[INFO] [stdout]   40:     0x5d2e61b80e13 - tokio::runtime::runtime::Runtime::block_on_inner::ha7a9a3fd687cf595
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/runtime.rs:368:47
[INFO] [stdout]   41:     0x5d2e61b81007 - tokio::runtime::runtime::Runtime::block_on::hdc15ca03c1b3e162
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/runtime.rs:342:13
[INFO] [stdout]   42:     0x5d2e61bab841 - js_sidecar::connection::tests::multiple_connections::h3fcb1374f8bc9158
[INFO] [stdout]                                at /opt/rustwide/workdir/src/connection.rs:557:9
[INFO] [stdout]   43:     0x5d2e61bab6e7 - js_sidecar::connection::tests::multiple_connections::{{closure}}::h14f4a959377c1387
[INFO] [stdout]                                at /opt/rustwide/workdir/src/connection.rs:530:36
[INFO] [stdout]   44:     0x5d2e61b1cd36 - core::ops::function::FnOnce::call_once::hd94f70cf6f711618
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x5d2e61bee2eb - core::ops::function::FnOnce::call_once::h871bf86719ec9aa4
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   46:     0x5d2e61bee2eb - test::__rust_begin_short_backtrace::h2167df1e2b7d76fd
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:632:18
[INFO] [stdout]   47:     0x5d2e61bedcd8 - test::run_test_in_process::{{closure}}::h15d92f75a3adfb79
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:655:60
[INFO] [stdout]   48:     0x5d2e61bedcd8 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb6c8955835a8dbbb
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   49:     0x5d2e61bedcd8 - std::panicking::try::do_call::hc79d0fc888a0bd30
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:557:40
[INFO] [stdout]   50:     0x5d2e61bedcd8 - std::panicking::try::hb8a7878e3a8589d6
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:520:19
[INFO] [stdout]   51:     0x5d2e61bedcd8 - std::panic::catch_unwind::hb8e4600ff0ff5cfa
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panic.rs:358:14
[INFO] [stdout]   52:     0x5d2e61bedcd8 - test::run_test_in_process::hc2900b0b18688dd6
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:655:27
[INFO] [stdout]   53:     0x5d2e61bedcd8 - test::run_test::{{closure}}::hac2a9cb07be3d48d
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:576:43
[INFO] [stdout]   54:     0x5d2e61bb177a - test::run_test::{{closure}}::h4a5b729e66a38cd8
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:606:41
[INFO] [stdout]   55:     0x5d2e61bb177a - std::sys::backtrace::__rust_begin_short_backtrace::h0496fb742492f573
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:154:18
[INFO] [stdout]   56:     0x5d2e61bb50f4 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbb6d257c550a54bd
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/thread/mod.rs:561:17
[INFO] [stdout]   57:     0x5d2e61bb50f4 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h46696fe4a6832328
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   58:     0x5d2e61bb50f4 - std::panicking::try::do_call::h2625a51b667bfb64
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:557:40
[INFO] [stdout]   59:     0x5d2e61bb50f4 - std::panicking::try::hb956a59a1973aa4c
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:520:19
[INFO] [stdout]   60:     0x5d2e61bb50f4 - std::panic::catch_unwind::h64f3b9d1067ef6a0
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panic.rs:358:14
[INFO] [stdout]   61:     0x5d2e61bb50f4 - std::thread::Builder::spawn_unchecked_::{{closure}}::h42b2841295b6c0b2
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/thread/mod.rs:559:30
[INFO] [stdout]   62:     0x5d2e61bb50f4 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6127de71b8124639
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   63:     0x5d2e61d1b2ab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h42f0ba71002a1b2c
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1972:9
[INFO] [stdout]   64:     0x5d2e61d1b2ab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::had9e47d7a3dcecb8
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1972:9
[INFO] [stdout]   65:     0x5d2e61d1b2ab - std::sys::pal::unix::thread::Thread::new::thread_start::h48cf765408f6f5f2
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/pal/unix/thread.rs:105:17
[INFO] [stdout]   66:     0x7c2f4d58eac3 - <unknown>
[INFO] [stdout]   67:     0x7c2f4d61fa04 - 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:     0x5d2e61d1534a - std::backtrace_rs::backtrace::libunwind::trace::h8810477743020387
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x5d2e61d1534a - std::backtrace_rs::backtrace::trace_unsynchronized::h3aa55355dd6c54a6
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x5d2e61d1534a - std::sys::backtrace::_print_fmt::h8588b0f62410823f
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5d2e61d1534a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h98c26ac25ffe89bb
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5d2e61d3b923 - core::fmt::rt::Argument::fmt::hf95377f4aebd453b
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x5d2e61d3b923 - core::fmt::write::h0dd5f6e2238c7982
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/fmt/mod.rs:1189:21
[INFO] [stdout]    6:     0x5d2e61d11c93 - std::io::Write::write_fmt::h03bb0ca26e6faf8c
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/io/mod.rs:1884:15
[INFO] [stdout]    7:     0x5d2e61d15192 - std::sys::backtrace::BacktraceLock::print::h5c19c1c038ee186d
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x5d2e61d167cd - std::panicking::default_hook::{{closure}}::h77172f079a1fcb13
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:268:22
[INFO] [stdout]    9:     0x5d2e61d165d7 - std::panicking::default_hook::he5f8e3b203ccddba
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:292:9
[INFO] [stdout]   10:     0x5d2e61be97c7 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h7a3c7b4a1ae77f2f
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1986:9
[INFO] [stdout]   11:     0x5d2e61be97c7 - test::test_main::{{closure}}::hf0d3b69ae9b353d1
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:134:21
[INFO] [stdout]   12:     0x5d2e61d16e78 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h6332e82e7b189abd
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1986:9
[INFO] [stdout]   13:     0x5d2e61d16e78 - std::panicking::rust_panic_with_hook::h53863d4e9018df39
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:809:13
[INFO] [stdout]   14:     0x5d2e61d16c3a - std::panicking::begin_panic_handler::{{closure}}::h67280e6fa0757873
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:674:13
[INFO] [stdout]   15:     0x5d2e61d15829 - std::sys::backtrace::__rust_end_short_backtrace::h1dac3f54d6fbbeb2
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:170:18
[INFO] [stdout]   16:     0x5d2e61d168cc - rust_begin_unwind
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:665:5
[INFO] [stdout]   17:     0x5d2e61b1b190 - core::panicking::panic_fmt::h6792bd1b2bf01041
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/panicking.rs:76:14
[INFO] [stdout]   18:     0x5d2e61b1b636 - core::result::unwrap_failed::h05e0602ed34287c5
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/result.rs:1699:5
[INFO] [stdout]   19:     0x5d2e61ba9637 - core::result::Result<T,E>::unwrap::h51f0537f566ef529
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/result.rs:1104:23
[INFO] [stdout]   20:     0x5d2e61ba9637 - js_sidecar::connection::tests::error::{{closure}}::hebb46401d9c6ca41
[INFO] [stdout]                                at /opt/rustwide/workdir/src/connection.rs:483:27
[INFO] [stdout]   21:     0x5d2e61b945a2 - <core::pin::Pin<P> as core::future::future::Future>::poll::h0034fb72c5c626f9
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/future/future.rs:124:9
[INFO] [stdout]   22:     0x5d2e61b9477d - <core::pin::Pin<P> as core::future::future::Future>::poll::hecb1b5dab42f35b4
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/future/future.rs:124:9
[INFO] [stdout]   23:     0x5d2e61b8cb2f - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::h89ec782dd7ef1af0
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:729:57
[INFO] [stdout]   24:     0x5d2e61b8ca25 - tokio::runtime::coop::with_budget::h351bc8ad0b58dbdc
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/coop.rs:107:5
[INFO] [stdout]   25:     0x5d2e61b8ca25 - tokio::runtime::coop::budget::h434929a0963d1377
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/coop.rs:73:5
[INFO] [stdout]   26:     0x5d2e61b8ca25 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::hdfed51f2e642cea6
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:729:25
[INFO] [stdout]   27:     0x5d2e61b8a380 - tokio::runtime::scheduler::current_thread::Context::enter::h5e34af12bfac6932
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:428:19
[INFO] [stdout]   28:     0x5d2e61b8b83e - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::h574d2af82f2231cc
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:728:36
[INFO] [stdout]   29:     0x5d2e61b8b534 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::h27dd14318efea80f
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:807:68
[INFO] [stdout]   30:     0x5d2e61b314db - tokio::runtime::context::scoped::Scoped<T>::set::hce599d252ad6b114
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/context/scoped.rs:40:9
[INFO] [stdout]   31:     0x5d2e61b9f739 - tokio::runtime::context::set_scheduler::{{closure}}::h2be227fb2c5eea5a
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/context.rs:180:26
[INFO] [stdout]   32:     0x5d2e61b493bd - std::thread::local::LocalKey<T>::try_with::h785281beb19bb10c
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/thread/local.rs:283:12
[INFO] [stdout]   33:     0x5d2e61b487ba - std::thread::local::LocalKey<T>::with::he4ee3c7e08cf930c
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/thread/local.rs:260:9
[INFO] [stdout]   34:     0x5d2e61b9f6ad - tokio::runtime::context::set_scheduler::h65ad95a106634ea5
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/context.rs:180:9
[INFO] [stdout]   35:     0x5d2e61b8b2e0 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::h64c0bf7699122718
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:807:27
[INFO] [stdout]   36:     0x5d2e61b8b5d3 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::h92a089522d409816
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:716:19
[INFO] [stdout]   37:     0x5d2e61b88c3f - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::h665696865217f187
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:196:28
[INFO] [stdout]   38:     0x5d2e61b47896 - tokio::runtime::context::runtime::enter_runtime::h684e330c4bc0f6be
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/context/runtime.rs:65:16
[INFO] [stdout]   39:     0x5d2e61b88531 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::hd6439fe26b6e8c2c
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/scheduler/current_thread/mod.rs:184:9
[INFO] [stdout]   40:     0x5d2e61b80e13 - tokio::runtime::runtime::Runtime::block_on_inner::ha7a9a3fd687cf595
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/runtime.rs:368:47
[INFO] [stdout]   41:     0x5d2e61b81007 - tokio::runtime::runtime::Runtime::block_on::hdc15ca03c1b3e162
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.42.0/src/runtime/runtime.rs:342:13
[INFO] [stdout]   42:     0x5d2e61ba9241 - js_sidecar::connection::tests::error::h5fa50723d7153362
[INFO] [stdout]                                at /opt/rustwide/workdir/src/connection.rs:502:9
[INFO] [stdout]   43:     0x5d2e61ba90e7 - js_sidecar::connection::tests::error::{{closure}}::h5690a84b93c5ba4b
[INFO] [stdout]                                at /opt/rustwide/workdir/src/connection.rs:482:21
[INFO] [stdout]   44:     0x5d2e61b1c356 - core::ops::function::FnOnce::call_once::h5e08494cb4d54d78
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x5d2e61bee2eb - core::ops::function::FnOnce::call_once::h871bf86719ec9aa4
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   46:     0x5d2e61bee2eb - test::__rust_begin_short_backtrace::h2167df1e2b7d76fd
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:632:18
[INFO] [stdout]   47:     0x5d2e61bedcd8 - test::run_test_in_process::{{closure}}::h15d92f75a3adfb79
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:655:60
[INFO] [stdout]   48:     0x5d2e61bedcd8 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb6c8955835a8dbbb
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   49:     0x5d2e61bedcd8 - std::panicking::try::do_call::hc79d0fc888a0bd30
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:557:40
[INFO] [stdout]   50:     0x5d2e61bedcd8 - std::panicking::try::hb8a7878e3a8589d6
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:520:19
[INFO] [stdout]   51:     0x5d2e61bedcd8 - std::panic::catch_unwind::hb8e4600ff0ff5cfa
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panic.rs:358:14
[INFO] [stdout]   52:     0x5d2e61bedcd8 - test::run_test_in_process::hc2900b0b18688dd6
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:655:27
[INFO] [stdout]   53:     0x5d2e61bedcd8 - test::run_test::{{closure}}::hac2a9cb07be3d48d
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:576:43
[INFO] [stdout]   54:     0x5d2e61bb177a - test::run_test::{{closure}}::h4a5b729e66a38cd8
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:606:41
[INFO] [stdout]   55:     0x5d2e61bb177a - std::sys::backtrace::__rust_begin_short_backtrace::h0496fb742492f573
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:154:18
[INFO] [stdout]   56:     0x5d2e61bb50f4 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbb6d257c550a54bd
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/thread/mod.rs:561:17
[INFO] [stdout]   57:     0x5d2e61bb50f4 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h46696fe4a6832328
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   58:     0x5d2e61bb50f4 - std::panicking::try::do_call::h2625a51b667bfb64
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:557:40
[INFO] [stdout]   59:     0x5d2e61bb50f4 - std::panicking::try::hb956a59a1973aa4c
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:520:19
[INFO] [stdout]   60:     0x5d2e61bb50f4 - std::panic::catch_unwind::h64f3b9d1067ef6a0
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panic.rs:358:14
[INFO] [stdout]   61:     0x5d2e61bb50f4 - std::thread::Builder::spawn_unchecked_::{{closure}}::h42b2841295b6c0b2
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/thread/mod.rs:559:30
[INFO] [stdout]   62:     0x5d2e61bb50f4 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6127de71b8124639
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   63:     0x5d2e61d1b2ab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h42f0ba71002a1b2c
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1972:9
[INFO] [stdout]   64:     0x5d2e61d1b2ab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::had9e47d7a3dcecb8
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1972:9
[INFO] [stdout]   65:     0x5d2e61d1b2ab - std::sys::pal::unix::thread::Thread::new::thread_start::h48cf765408f6f5f2
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/pal/unix/thread.rs:105:17
[INFO] [stdout]   66:     0x7c2f4d58eac3 - <unknown>
[INFO] [stdout]   67:     0x7c2f4d61fa04 - 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.63s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "6a7c6956204906c42cf32c5c9ec63cabadff040e06aeb8d2afced6ed1d7fd1e5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6a7c6956204906c42cf32c5c9ec63cabadff040e06aeb8d2afced6ed1d7fd1e5", kill_on_drop: false }`
[INFO] [stdout] 6a7c6956204906c42cf32c5c9ec63cabadff040e06aeb8d2afced6ed1d7fd1e5
