Build errors

Full logs: ya_log.txt | ya_evlog.jsonl

Failed build targets

cloud/blockstore/libs/storage/disk_registry/ut

JUnit testcase: unittest

Run(-ZC5VtC7AnYxqnMpZV8ofg$(BUILD_ROOT)/cloud/blockstore/libs/storage/disk_registry/ut/__/disk_registry_state_ut_pending_cleanup.cpp.o)

cloud/blockstore/libs/storage/disk_registry/disk_registry_state_ut_pending_cleanup.cpp:179:21: error: too many arguments to function call, expected 5, have 8
  173 |                 auto error = state.CreateDiskFromDevices(
      |                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  174 |                     TInstant::Zero(),
  175 |                     db,
  176 |                     /*force=*/true,
  177 |                     "vol0",
  178 |                     4_KB,
  179 |                     NProto::STORAGE_MEDIA_SSD_LOCAL,
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  180 |                     {device},
      |                     ~~~~~~~~~
  181 |                     &result);
      |                     ~~~~~~~
cloud/blockstore/libs/storage/disk_registry/disk_registry_state.h:913:20: note: 'CreateDiskFromDevices' declared here
  913 |     NProto::TError CreateDiskFromDevices(
      |                    ^
  914 |         TInstant now,
      |         ~~~~~~~~~~~~~
  915 |         TDiskRegistryDatabase& db,
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~
  916 |         const TCreateDiskFromDevicesParams& params,
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  917 |         const TVector<NProto::TDeviceConfig>& devices,
... truncated; see ya_log.txt for the full compiler output

Run(D-LhF8_r5R_clcE-RZHARA$(BUILD_ROOT)/cloud/blockstore/libs/storage/disk_registry/ut/__/disk_registry_state_ut_create.cpp.o)

cloud/blockstore/libs/storage/disk_registry/disk_registry_state_ut_create.cpp:111:17: error: too many arguments to function call, expected 5, have 8
  105 |             auto error = state.CreateDiskFromDevices(
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  106 |                 Now(),
  107 |                 db,
  108 |                 false,  // force
  109 |                 "foo",
  110 |                 4_KB,
  111 |                 NProto::STORAGE_MEDIA_SSD_LOCAL,
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  112 |                 {
      |                 ~
  113 |                     deviceByName("agent-2", "dev-3"),
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  114 |                     deviceByName("agent-3", "foo-2"),
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  115 |                 },
      |                 ~~
  116 |                 &result);
      |                 ~~~~~~~
cloud/blockstore/libs/storage/disk_registry/disk_registry_state.h:913:20: note: 'CreateDiskFromDevices' declared here
  913 |     NProto::TError CreateDiskFromDevices(
      |                    ^
  914 |         TInstant now,
... truncated; see ya_log.txt for the full compiler output