In the wokwi simulator my ssd1306 display does not work (but the code compiles)

#include "Adafruit_SSD1306.h"

int secs = 0;
int mins = 0;
int hrs = 0;

Adafruit_SSD1306 display = Adafruit_SSD1306();

void setup()
{
  display.begin();
}

void seconds()
{
  delay(1000);
  secs += 1;
}

void minutes()
{
  if(secs >= 60){
    mins++;
    secs = 0;
  }
}

void hours()
{
  if(mins >= 60){
    hrs++;
    mins = 0;
  }
}

void loop()
{
  display.setCursor(10,10);
  display.print("ESP32");
  display.setCursor(40,10);
  display.print(secs);
  display.print(":");
  display.print(mins);
  display.print(":");
  display.print(hrs);
  seconds();
  minutes();
  hours();
}

I am trying to make a timer with an ESP32 and an SSD1306 display. It does not work. Can you help me fix this problem?

Here is what i got from serial:

ets Jul 29 2019 12:21:46

rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:1156
load:0x40078000,len:11456
ho 0 tail 12 room 4
load:0x40080400,len:2972
entry 0x400805dc

I'm going to assume (since you didn't specify) that you are using an SSD1306 display with an I2C connection.

If that is the case, both your constructor for display and your call to display.begin are missing necessary arguments to make the display actually work with I2C.

Post your simulator Wokwi link.