Description
OpenTelemetry Instrumentation nightly test runs are failing with:
Error message:
Invoking "rushx build"Found configuration in /mnt/vss/_work/1/s/rush.json
Rush Multi-Project Build Tool 5.101.0 - Node.js 16.20.2 (LTS)
"tsc -p ."../../../../../common/temp/node_modules/.pnpm/@opentelemetry+sdk-trace-base@1.17.0_@opentelemetry+api@1.5.0/node_modules/@opentelemetry/sdk-trace-base/build/src/Span.d.ts(56,5): error TS2416: Property 'recordException' in type 'Span' is not assignable to the same property in base type 'Span'.
Type '(exception: Exception, time?: TimeInput | undefined) => void' is not assignable to type '{ (exception: Exception, time?: TimeInput | undefined): void; (exception: Exception, attributes?: Attributes | undefined, time?: TimeInput | undefined): void; }'.
Types of parameters 'time' and 'attributes' are incompatible.
Type 'Attributes | undefined' is not assignable to type 'TimeInput | undefined'.
Type 'Attributes' is not assignable to type 'TimeInput | undefined'.
Type 'Attributes' is missing the following properties from type 'Date': toDateString, toTimeString, toLocaleDateString, toLocaleTimeString, and 37 more.
The script failed with exit code 2
##[error]Bash exited with code '2'.
For more details check here:
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=3084962&view=results