Skip to content

Project dependency out of sync #7

@sinaeftekhar

Description

@sinaeftekhar

Building cutekit fails. This is the output of the terminal:

src/vaev-engine/loader/loader.cpp:36:25: error: no matching function for call to 'readAllUtf8Async'
   36 |     auto buf = co_trya$(Aio::readAllUtf8Async(*respBody));
      |                         ^~~~~~~~~~~~~~~~~~~~~
.cutekit/extern/skift-org/karm/src/karm-core/macros.h:31:32: note: expanded from macro 'co_trya$'
   31 | #define co_trya$(EXPR)  __try$(EXPR, co_return,  co_await,          )
      |                                ^~~~
.cutekit/extern/skift-org/karm/src/karm-core/macros.h:20:25: note: expanded from macro '__try$'
   20 |     auto __expr = AWAIT(EXPR);                        \
      |                         ^~~~
/home/seftekhar/Downloads/vaev/.cutekit/extern/skift-org/karm/src/karm-core/aio/funcs.cpp:39:28: note: candidate function template not viable: requires 2 arguments, but 1 was provided
   39 | export Async::Task<String> readAllUtf8Async(AsyncReadable auto& reader, Async::CancellationToken ct) {
      |                            ^                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/vaev-engine/loader/loader.cpp:86:45: error: too few arguments to function call, expected 2, have 1
   86 |     auto resp = co_trya$(client.getAsync(url));
      |                          ~~~~~~~~~~~~~~~    ^
.cutekit/extern/skift-org/karm/src/karm-core/macros.h:31:32: note: expanded from macro 'co_trya$'
   31 | #define co_trya$(EXPR)  __try$(EXPR, co_return,  co_await,          )
      |                                ^~~~
.cutekit/extern/skift-org/karm/src/karm-core/macros.h:20:25: note: expanded from macro '__try$'
   20 |     auto __expr = AWAIT(EXPR);                        \
      |                         ^~~~
/home/seftekhar/Downloads/vaev/.cutekit/extern/skift-org/karm/src/karm-http/client.cpp:47:31: note: 'getAsync' declared here
   47 |     Async::Task<Rc<Response>> getAsync(Ref::Url url, Async::CancellationToken ct) {
      |                               ^        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/vaev-engine/loader/loader.cpp:104:45: error: too few arguments to function call, expected 2, have 1
  104 |     auto resp = co_trya$(client.getAsync(url));
      |                          ~~~~~~~~~~~~~~~    ^
.cutekit/extern/skift-org/karm/src/karm-core/macros.h:31:32: note: expanded from macro 'co_trya$'
   31 | #define co_trya$(EXPR)  __try$(EXPR, co_return,  co_await,          )
      |                                ^~~~
.cutekit/extern/skift-org/karm/src/karm-core/macros.h:20:25: note: expanded from macro '__try$'
   20 |     auto __expr = AWAIT(EXPR);                        \
      |                         ^~~~
/home/seftekhar/Downloads/vaev/.cutekit/extern/skift-org/karm/src/karm-http/client.cpp:47:31: note: 'getAsync' declared here
   47 |     Async::Task<Rc<Response>> getAsync(Ref::Url url, Async::CancellationToken ct) {
      |                               ^        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/vaev-engine/loader/loader.cpp:190:53: error: too few arguments to function call, expected 2, have 1
  190 |     auto resp = co_trya$(client.getAsync(resolvedUrl));
      |                          ~~~~~~~~~~~~~~~            ^
.cutekit/extern/skift-org/karm/src/karm-core/macros.h:31:32: note: expanded from macro 'co_trya$'
   31 | #define co_trya$(EXPR)  __try$(EXPR, co_return,  co_await,          )
      |                                ^~~~
.cutekit/extern/skift-org/karm/src/karm-core/macros.h:20:25: note: expanded from macro '__try$'
   20 |     auto __expr = AWAIT(EXPR);                        \
      |                         ^~~~
/home/seftekhar/Downloads/vaev/.cutekit/extern/skift-org/karm/src/karm-http/client.cpp:47:31: note: 'getAsync' declared here
   47 |     Async::Task<Rc<Response>> getAsync(Ref::Url url, Async::CancellationToken ct) {
      |                               ^        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4 errors generated.
[1799/1842] host-x86_64/vaev-engine: cxx .cutekit/build/host-x86_64-cd0d045e-a2df8bf2/vaev-engine/__obj__/layout/svg.cpp.o...
ninja: build stopped: subcommand failed.
Error: ninja: Process exited with code 1

It seems that Vaev is out of sync with its dependencies. I suggest adding project.lock to avoid these hassles in the future.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions