It broke again because of some linker error.
```
garage-aarch64-darwin> warning: use of deprecated associated function `garage_db::sled_adapter::SledDb::init`: The Sled database is now deprecated and will be removed in Garage v1.0. Please migrate to LMDB or Sqlite as soon as possible.
garage-aarch64-darwin> --> src/model/garage.rs:134:31
garage-aarch64-darwin> |
garage-aarch64-darwin> 134 | db::sled_adapter::SledDb::init(db)
garage-aarch64-darwin> | ^^^^
garage-aarch64-darwin> |
garage-aarch64-darwin> = note: `#[warn(deprecated)]` on by default
garage-aarch64-darwin>
garage-aarch64-darwin> Compiling garage_api v0.9.2 (/private/tmp/nix-build-garage-0.9.2.drv-0/source/src/api)
garage-aarch64-darwin> Compiling garage_web v0.9.2 (/private/tmp/nix-build-garage-0.9.2.drv-0/source/src/web)
garage-aarch64-darwin> warning: `garage_model` (lib) generated 1 warning
garage-aarch64-darwin> Compiling garage v0.9.2 (/private/tmp/nix-build-garage-0.9.2.drv-0/source/src/garage)
garage-aarch64-darwin> warning: use of deprecated associated function `garage_db::sled_adapter::SledDb::init`: The Sled database is now deprecated and will be removed in Garage v1.0. Please migrate to LMDB or Sqlite as soon as possible.
garage-aarch64-darwin> --> src/garage/cli/convert_db.rs:65:29
garage-aarch64-darwin> |
garage-aarch64-darwin> 65 | Ok(sled_adapter::SledDb::init(db))
garage-aarch64-darwin> | ^^^^
garage-aarch64-darwin> |
garage-aarch64-darwin> = note: `#[warn(deprecated)]` on by default
garage-aarch64-darwin>
garage-aarch64-darwin> error: linker `/nix/store/6kpjydf9x7zqa1xq2qipnwr32ki3fs2n-clang-wrapper-16.0.6/bin/cc` not found
garage-aarch64-darwin> |
garage-aarch64-darwin> = note: No such file or directory (os error 2)
```
Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
Since ba83271df0 the build fails with
applying patch /nix/store/46rxbbvl2l3mrxb50y9rzy7ahgx0lraj-d741901dddd731895346636c0d3556c6fa51fbe6.patch
patching file tests/hazmat/primitives/test_aead.py
Hunk #1 FAILED at 56.
Hunk #2 FAILED at 197.
Hunk #3 FAILED at 378.
Hunk #4 FAILED at 525.
Hunk #5 FAILED at 700.
Hunk #6 FAILED at 844.
6 out of 6 hunks FAILED -- saving rejects to file tests/hazmat/primitives/test_aead.py.rej
Fixes#241482.
Also fix test putting cluster in unhealthy `POOL_APP_NOT_ENABLED` state;
this seems to be the default state with Ceph 18.2.1 at least,
and it does not hurt to fix it now already in the way the Ceph docs say.
Also revert "nixosTests.ceph-single-node: remove dashboard check"
This reverts commit 41b27d7f4b.
With `rustc` 1.75, many rust project that use `#[deny(warnings)]`
stopped building due to unused imports that didn't trigger build
failures before for some reason.
`stratisd` now also fails to build because of a couple of those,
but they have already been fixed upstream in the following two
commits:
- 78440de6e6
- 0d1c67f713
In the meantime until a new version of `stratisd` is released,
this change pulls in those two changes via `fetchpatch`.
Co-authored-by: Nick Cao <nickcao@nichi.co>