Using library DPS368 Barometric Pressure Sensor at version 1.0.0 in folder: /tmp/887108552/custom/DPS368 Barometric Pressure Sensor
Using library SPI in folder: /home/builder/.arduino15/packages/arduino/hardware/mbed_nano/2.1.0/libraries/SPI (legacy)
Using library Wire in folder: /home/builder/.arduino15/packages/arduino/hardware/mbed_nano/2.1.0/libraries/Wire (legacy)
/tmp/887108552/custom/DPS368 Barometric Pressure Sensor/src/DpsClass.cpp: In member function 'void DpsClass::begin(arduino::SPIClass&, int32_t, uint8_t)':
/tmp/887108552/custom/DPS368 Barometric Pressure Sensor/src/DpsClass.cpp:62:12: error: 'arduino::SPIClass {aka class arduino::HardwareSPI}' has no member named 'setDataMode'
m_spibus->setDataMode(SPI_MODE3);
^~~~~~~~~~~
exit status 1