Snippets for libmongocrypt 1.7.4 from Nix x86_64-linux
Sourced from https://hydra.nixos.org/log/kvclaygdclhmgvm6gkb2qx7qaypsxbin-libmongocrypt-1.7.4.drv.
-
/build/source/src/mongocrypt.c:1515:7: warning: 'bson_as_json' is deprecated: Use bson_as_legacy_extended_json instead [-Wdeprecated-declarations] 1515 | char *as_str = bson_as_json (&as_bson, NULL); | ^~~~ -
/build/source/test/example-state-machine.c:138:4: warning: 'bson_as_json' is deprecated: Use bson_as_legacy_extended_json instead [-Wdeprecated-declarations] 138 | str = bson_as_json (&as_bson, NULL); | ^~~ -
/build/source/test/test-mongocrypt-assert-match-bson.c:1065:7: warning: 'bson_as_json' is deprecated: Use bson_as_legacy_extended_json instead [-Wdeprecated-declarations] 1065 | char *doc_str = doc ? bson_as_json (doc, NULL) : NULL; | ^~~~ -
/build/source/test/test-mongocrypt-assert-match-bson.c:1066:7: warning: 'bson_as_json' is deprecated: Use bson_as_legacy_extended_json instead [-Wdeprecated-declarations] 1066 | char *pattern_str = bson_as_json (pattern, NULL); | ^~~~ -
/build/source/test/test-mongocrypt-crypto-hooks.c:57:4: warning: 'bson_string_append_printf' is deprecated [-Wdeprecated-declarations] 57 | bson_string_append_printf (call_history, "%s:%s\n", name, hex); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/source/test/test-mongocrypt-crypto-hooks.c:72:4: warning: 'bson_string_append_printf' is deprecated [-Wdeprecated-declarations] 72 | bson_string_append_printf (call_history, "call:%s\n", BSON_FUNC); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/source/test/test-mongocrypt-crypto-hooks.c:81:4: warning: 'bson_string_append_printf' is deprecated [-Wdeprecated-declarations] 81 | bson_string_append_printf (call_history, "ret:%s\n", BSON_FUNC); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/source/test/test-mongocrypt-crypto-hooks.c:102:4: warning: 'bson_string_append_printf' is deprecated [-Wdeprecated-declarations] 102 | bson_string_append_printf (call_history, "call:%s\n", BSON_FUNC); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/source/test/test-mongocrypt-crypto-hooks.c:109:4: warning: 'bson_string_append_printf' is deprecated [-Wdeprecated-declarations] 109 | bson_string_append_printf (call_history, "ret:%s\n", BSON_FUNC); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/source/test/test-mongocrypt-crypto-hooks.c:129:4: warning: 'bson_string_append_printf' is deprecated [-Wdeprecated-declarations] 129 | bson_string_append_printf (call_history, "call:%s\n", BSON_FUNC); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/source/test/test-mongocrypt-crypto-hooks.c:133:4: warning: 'bson_string_append_printf' is deprecated [-Wdeprecated-declarations] 133 | bson_string_append_printf (call_history, "ret:%s\n", BSON_FUNC); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/source/test/test-mongocrypt-crypto-hooks.c:156:4: warning: 'bson_string_append_printf' is deprecated [-Wdeprecated-declarations] 156 | bson_string_append_printf (call_history, "call:%s\n", BSON_FUNC); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/source/test/test-mongocrypt-crypto-hooks.c:160:4: warning: 'bson_string_append_printf' is deprecated [-Wdeprecated-declarations] 160 | bson_string_append_printf (call_history, "ret:%s\n", BSON_FUNC); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/source/test/test-mongocrypt-crypto-hooks.c:182:4: warning: 'bson_string_append_printf' is deprecated [-Wdeprecated-declarations] 182 | bson_string_append_printf (call_history, "call:%s\n", BSON_FUNC); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/source/test/test-mongocrypt-crypto-hooks.c:185:4: warning: 'bson_string_append_printf' is deprecated [-Wdeprecated-declarations] 185 | bson_string_append_printf (call_history, "ret:%s\n", BSON_FUNC); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/source/test/test-mongocrypt-crypto-hooks.c:208:4: warning: 'bson_string_append_printf' is deprecated [-Wdeprecated-declarations] 208 | bson_string_append_printf (call_history, "call:%s\n", BSON_FUNC); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/source/test/test-mongocrypt-crypto-hooks.c:209:4: warning: 'bson_string_append_printf' is deprecated [-Wdeprecated-declarations] 209 | bson_string_append_printf (call_history, "count:%d\n", (int) count); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/source/test/test-mongocrypt-crypto-hooks.c:210:4: warning: 'bson_string_append_printf' is deprecated [-Wdeprecated-declarations] 210 | bson_string_append_printf (call_history, "ret:%s\n", BSON_FUNC); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/source/test/test-mongocrypt-crypto-hooks.c:234:4: warning: 'bson_string_append_printf' is deprecated [-Wdeprecated-declarations] 234 | bson_string_append_printf (call_history, "call:%s\n", BSON_FUNC); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/source/test/test-mongocrypt-crypto-hooks.c:238:4: warning: 'bson_string_append_printf' is deprecated [-Wdeprecated-declarations] 238 | bson_string_append_printf (call_history, "ret:%s\n", BSON_FUNC); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/source/test/test-mongocrypt-crypto-hooks.c:332:4: warning: 'bson_string_new' is deprecated [-Wdeprecated-declarations] 332 | call_history = bson_string_new (NULL); | ^~~~~~~~~~~~ -
/build/source/test/test-mongocrypt-crypto-hooks.c:391:4: warning: 'bson_string_free' is deprecated [-Wdeprecated-declarations] 391 | bson_string_free (call_history, true); | ^~~~~~~~~~~~~~~~ -
/build/source/test/test-mongocrypt-crypto-hooks.c:439:4: warning: 'bson_string_new' is deprecated [-Wdeprecated-declarations] 439 | call_history = bson_string_new (NULL); | ^~~~~~~~~~~~ -
/build/source/test/test-mongocrypt-crypto-hooks.c:485:4: warning: 'bson_string_free' is deprecated [-Wdeprecated-declarations] 485 | bson_string_free (call_history, true); | ^~~~~~~~~~~~~~~~ -
/build/source/test/test-mongocrypt-crypto-hooks.c:526:4: warning: 'bson_string_new' is deprecated [-Wdeprecated-declarations] 526 | call_history = bson_string_new (NULL); | ^~~~~~~~~~~~ -
/build/source/test/test-mongocrypt-crypto-hooks.c:550:4: warning: 'bson_string_free' is deprecated [-Wdeprecated-declarations] 550 | bson_string_free (call_history, true); | ^~~~~~~~~~~~~~~~ -
/build/source/test/test-mongocrypt-crypto-hooks.c:579:4: warning: 'bson_string_new' is deprecated [-Wdeprecated-declarations] 579 | call_history = bson_string_new (NULL); | ^~~~~~~~~~~~ -
/build/source/test/test-mongocrypt-crypto-hooks.c:598:4: warning: 'bson_string_free' is deprecated [-Wdeprecated-declarations] 598 | bson_string_free (call_history, true); | ^~~~~~~~~~~~~~~~ -
/build/source/test/test-mongocrypt-crypto-hooks.c:620:4: warning: 'bson_string_new' is deprecated [-Wdeprecated-declarations] 620 | call_history = bson_string_new (NULL); | ^~~~~~~~~~~~ -
/build/source/test/test-mongocrypt-crypto-hooks.c:643:4: warning: 'bson_string_free' is deprecated [-Wdeprecated-declarations] 643 | bson_string_free (call_history, true); | ^~~~~~~~~~~~~~~~ -
/build/source/test/test-mongocrypt-crypto-hooks.c:677:4: warning: 'bson_string_new' is deprecated [-Wdeprecated-declarations] 677 | call_history = bson_string_new (NULL); | ^~~~~~~~~~~~ -
/build/source/test/test-mongocrypt-crypto-hooks.c:701:4: warning: 'bson_string_free' is deprecated [-Wdeprecated-declarations] 701 | bson_string_free (call_history, true); | ^~~~~~~~~~~~~~~~ -
/build/source/test/test-mongocrypt-crypto-hooks.c:716:4: warning: 'bson_string_new' is deprecated [-Wdeprecated-declarations] 716 | call_history = bson_string_new (NULL); | ^~~~~~~~~~~~ -
/build/source/test/test-mongocrypt-crypto-hooks.c:727:4: warning: 'bson_string_free' is deprecated [-Wdeprecated-declarations] 727 | bson_string_free (call_history, true); | ^~~~~~~~~~~~~~~~ -
/build/source/test/test-mongocrypt-crypto-hooks.c:737:4: warning: 'bson_string_new' is deprecated [-Wdeprecated-declarations] 737 | call_history = bson_string_new (NULL); | ^~~~~~~~~~~~ -
/build/source/test/test-mongocrypt-crypto-hooks.c:751:4: warning: 'bson_string_free' is deprecated [-Wdeprecated-declarations] 751 | bson_string_free (call_history, true); | ^~~~~~~~~~~~~~~~ -
/build/source/test/test-mongocrypt-crypto-hooks.c:756:4: warning: 'bson_string_new' is deprecated [-Wdeprecated-declarations] 756 | call_history = bson_string_new (NULL); | ^~~~~~~~~~~~ -
/build/source/test/test-mongocrypt-crypto-hooks.c:767:4: warning: 'bson_string_free' is deprecated [-Wdeprecated-declarations] 767 | bson_string_free (call_history, true); | ^~~~~~~~~~~~~~~~ -
/build/source/test/test-mongocrypt-crypto-hooks.c:772:4: warning: 'bson_string_new' is deprecated [-Wdeprecated-declarations] 772 | call_history = bson_string_new (NULL); | ^~~~~~~~~~~~ -
/build/source/test/test-mongocrypt-crypto-hooks.c:785:4: warning: 'bson_string_free' is deprecated [-Wdeprecated-declarations] 785 | bson_string_free (call_history, true); | ^~~~~~~~~~~~~~~~ -
/build/source/test/test-mongocrypt-kek.c:48:5: warning: 'bson_as_json' is deprecated: Use bson_as_legacy_extended_json instead [-Wdeprecated-declarations] 48 | input_str = bson_as_json (&input, NULL); | ^~~~~~~~~ -
/build/source/test/test-mongocrypt-key-cache.c:303:21: warning: 'bson_as_json' is deprecated: Use bson_as_legacy_extended_json instead [-Wdeprecated-declarations] 303 | bson_as_json (expected_entry, NULL)); | ^~~~~~~~~~~~ -
/build/source/test/test-mongocrypt-key-cache.c:314:15: warning: 'bson_as_json' is deprecated: Use bson_as_legacy_extended_json instead [-Wdeprecated-declarations] 314 | bson_as_json (expected_entry, NULL)); | ^~~~~~~~~~~~ -
/build/source/test/test-mongocrypt-kms-responses.c:160:10: warning: 'bson_string_new' is deprecated [-Wdeprecated-declarations] 160 | bson_string_t *builder = bson_string_new (NULL); | ^~~~~~~~~~~~~ -
/build/source/test/test-mongocrypt-kms-responses.c:164:13: warning: 'bson_string_append' is deprecated [-Wdeprecated-declarations] 164 | bson_string_append (builder, bson_iter_utf8 (&iter, NULL)); | ^~~~~~~~~~~~~~~~~~ -
/build/source/test/test-mongocrypt-kms-responses.c:166:10: warning: 'bson_string_free' is deprecated [-Wdeprecated-declarations] 166 | expect = bson_string_free (builder, false /* free segment */); | ^~~~~~ -
/build/source/test/test-mongocrypt-marking.c:722:10: warning: 'bson_string_new' is deprecated [-Wdeprecated-declarations] 722 | ASSERT_MINCOVER_EQ (mc, test->expectedMinCover); | ^~~~~~~~~~~~~~~~~~ -
/build/source/test/test-mongocrypt-marking.c:722:10: warning: 'bson_string_append_printf' is deprecated [-Wdeprecated-declarations] 722 | ASSERT_MINCOVER_EQ (mc, test->expectedMinCover); | ^~~~~~~~~~~~~~~~~~ -
/build/source/test/test-mongocrypt-marking.c:722:10: warning: 'bson_string_free' is deprecated [-Wdeprecated-declarations] 722 | ASSERT_MINCOVER_EQ (mc, test->expectedMinCover); | ^~~~~~~~~~~~~~~~~~