Gets errors when combining UART and I2C devices

Gets errors when combining UART and I2C devices ??
they do not function together, but only works separately.
is there anyone who has any ideas..
Hardware:
- FireBeetle ESP32 IoT Microcontroller
- DFR0478
- Waterproof Ultrasonic Distance Sensor
- SEN0311 UART
- OLED I2C Display 0.91 Inch 128 by 32
- DFR0648
Compilation error: exit status 1
..\EspSoftwareSerial\SoftwareSerial.cpp.o: in function `delegate::detail::DelegateImpl<void*, void>::operator()() const':..
..\circular_queue/Delegate.h:1189:(.iram1.11[_ZNK8delegate6detail12DelegateImplIPvvEclEv]+0x2e)
: dangerous relocation: l32r: literal placed after use: .literal._ZNK8delegate6detail12DelegateImplIPvvEclEv
….
#include <Arduino.h>
#include <U8g2lib.h>
#include <Wire.h>
#include <SoftwareSerial.h>
U8G2_SSD1306_128X32_UNIVISION_F_HW_I2C u8g2(
U8G2_R0,
/* reset=*/ U8X8_PIN_NONE,
/* clock=SCL=*/ 22, // GPIO 22 → SCL
/* data=SDA=*/ 21 // GPIO 21 → SDA
);
SoftwareSerial mySerial(16,17); // RX, TX
-----