Error: COMPILER_WARNING (CWE-477): [#def1] polkit-126-build/polkit-126/src/polkit/polkitauthority.c: scope_hint: In function ‘authority_get_async_cb’ polkit-126-build/polkit-126/src/polkit/polkitauthority.c:463:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_from_error’ is deprecated /usr/include/glib-2.0/gio/gio.h:141: included_from: Included from here. polkit-126-build/polkit-126/src/polkit/polkitauthority.h:30: included_from: Included from here. polkit-126-build/polkit-126/src/polkit/polkitauthority.c:24: included_from: Included from here. /usr/include/glib-2.0/gio/gsimpleasyncresult.h:110:21: note: declared here # 461| { # 462| g_assert (error != NULL); # 463|-> g_simple_async_result_set_from_error (simple, error); # 464| g_error_free (error); # 465| g_object_unref (source_object); Error: COMPILER_WARNING (CWE-477): [#def2] polkit-126-build/polkit-126/src/polkit/polkitauthority.c:469:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_op_res_gpointer’ is deprecated /usr/include/glib-2.0/gio/gsimpleasyncresult.h:72:21: note: declared here # 467| else # 468| { # 469|-> g_simple_async_result_set_op_res_gpointer (simple, # 470| source_object, # 471| g_object_unref); Error: COMPILER_WARNING (CWE-477): [#def3] polkit-126-build/polkit-126/src/polkit/polkitauthority.c:473:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete_in_idle’ is deprecated /usr/include/glib-2.0/gio/gsimpleasyncresult.h:103:21: note: declared here # 471| g_object_unref); # 472| } # 473|-> g_simple_async_result_complete_in_idle (simple); # 474| g_object_unref (simple); # 475| } Error: COMPILER_WARNING (CWE-477): [#def4] polkit-126-build/polkit-126/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_get_async’ polkit-126-build/polkit-126/src/polkit/polkitauthority.c:503:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead /usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here # 501| g_return_if_fail (cancellable == NULL || G_IS_CANCELLABLE (cancellable)); # 502| # 503|-> simple = g_simple_async_result_new (NULL, # 504| callback, # 505| user_data, Error: COMPILER_WARNING (CWE-477): [#def5] polkit-126-build/polkit-126/src/polkit/polkitauthority.c:513:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_from_error’ is deprecated /usr/include/glib-2.0/gio/gsimpleasyncresult.h:110:21: note: declared here # 511| { # 512| g_assert (error != NULL); # 513|-> g_simple_async_result_set_from_error (simple, error); # 514| g_error_free (error); # 515| g_simple_async_result_complete_in_idle (simple); Error: COMPILER_WARNING (CWE-477): [#def6] polkit-126-build/polkit-126/src/polkit/polkitauthority.c:515:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete_in_idle’ is deprecated /usr/include/glib-2.0/gio/gsimpleasyncresult.h:103:21: note: declared here # 513| g_simple_async_result_set_from_error (simple, error); # 514| g_error_free (error); # 515|-> g_simple_async_result_complete_in_idle (simple); # 516| g_object_unref (simple); # 517| } Error: COMPILER_WARNING (CWE-477): [#def7] polkit-126-build/polkit-126/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_get_finish’ polkit-126-build/polkit-126/src/polkit/polkitauthority.c:551:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated /usr/include/glib-2.0/gio/gsimpleasyncresult.h:96:21: note: declared here # 549| simple = G_SIMPLE_ASYNC_RESULT (res); # 550| # 551|-> g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == polkit_authority_get_async); # 552| # 553| ret = NULL; Error: COMPILER_WARNING (CWE-477): [#def8] polkit-126-build/polkit-126/src/polkit/polkitauthority.c:555:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_propagate_error’ is deprecated /usr/include/glib-2.0/gio/gsimpleasyncresult.h:116:21: note: declared here # 553| ret = NULL; # 554| # 555|-> if (g_simple_async_result_propagate_error (simple, error)) # 556| goto out; # 557| Error: COMPILER_WARNING (CWE-477): [#def9] polkit-126-build/polkit-126/src/polkit/polkitauthority.c:558:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated /usr/include/glib-2.0/gio/gsimpleasyncresult.h:76:21: note: declared here # 556| goto out; # 557| # 558|-> object = g_simple_async_result_get_op_res_gpointer (simple); # 559| g_assert (object != NULL); # 560| ret = g_object_ref (POLKIT_AUTHORITY (object)); Error: COMPILER_WARNING (CWE-477): [#def10] polkit-126-build/polkit-126/src/polkit/polkitauthority.c: scope_hint: In function ‘generic_async_cb’ polkit-126-build/polkit-126/src/polkit/polkitauthority.c:657:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_op_res_gpointer’ is deprecated /usr/include/glib-2.0/gio/gsimpleasyncresult.h:72:21: note: declared here # 655| { # 656| GSimpleAsyncResult *simple = G_SIMPLE_ASYNC_RESULT (user_data); # 657|-> g_simple_async_result_set_op_res_gpointer (simple, g_object_ref (res), g_object_unref); # 658| g_simple_async_result_complete (simple); # 659| g_object_unref (simple); Error: COMPILER_WARNING (CWE-477): [#def11] polkit-126-build/polkit-126/src/polkit/polkitauthority.c:658:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete’ is deprecated /usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here # 656| GSimpleAsyncResult *simple = G_SIMPLE_ASYNC_RESULT (user_data); # 657| g_simple_async_result_set_op_res_gpointer (simple, g_object_ref (res), g_object_unref); # 658|-> g_simple_async_result_complete (simple); # 659| g_object_unref (simple); # 660| } Error: COMPILER_WARNING (CWE-477): [#def12] polkit-126-build/polkit-126/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_enumerate_actions’ polkit-126-build/polkit-126/src/polkit/polkitauthority.c:695:22: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead /usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here # 693| cancellable, # 694| generic_async_cb, # 695|-> g_simple_async_result_new (G_OBJECT (authority), # 696| callback, # 697| user_data, Error: COMPILER_WARNING (CWE-477): [#def13] polkit-126-build/polkit-126/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_enumerate_actions_finish’ polkit-126-build/polkit-126/src/polkit/polkitauthority.c:732:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated /usr/include/glib-2.0/gio/gsimpleasyncresult.h:96:21: note: declared here # 730| ret = NULL; # 731| # 732|-> g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_enumerate_actions); # 733| _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res))); # 734| Error: COMPILER_WARNING (CWE-477): [#def14] polkit-126-build/polkit-126/src/polkit/polkitauthority.c:733:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated /usr/include/glib-2.0/gio/gsimpleasyncresult.h:76:21: note: declared here # 731| # 732| g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_enumerate_actions); # 733|-> _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res))); # 734| # 735| value = g_dbus_proxy_call_finish (authority->proxy, _res, error); Error: COMPILER_WARNING (CWE-477): [#def15] polkit-126-build/polkit-126/src/polkit/polkitauthority.c: scope_hint: In function ‘check_authorization_cb’ polkit-126-build/polkit-126/src/polkit/polkitauthority.c:847:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_from_error’ is deprecated /usr/include/glib-2.0/gio/gsimpleasyncresult.h:110:21: note: declared here # 845| NULL); # 846| } # 847|-> g_simple_async_result_set_from_error (data->simple, error); # 848| g_error_free (error); # 849| } Error: COMPILER_WARNING (CWE-477): [#def16] polkit-126-build/polkit-126/src/polkit/polkitauthority.c:858:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_op_res_gpointer’ is deprecated /usr/include/glib-2.0/gio/gsimpleasyncresult.h:72:21: note: declared here # 856| g_variant_unref (result_value); # 857| g_variant_unref (value); # 858|-> g_simple_async_result_set_op_res_gpointer (data->simple, result, g_object_unref); # 859| } # 860| Error: COMPILER_WARNING (CWE-477): [#def17] polkit-126-build/polkit-126/src/polkit/polkitauthority.c:861:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete’ is deprecated /usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here # 859| } # 860| # 861|-> g_simple_async_result_complete (data->simple); # 862| # 863| g_object_unref (data->authority); Error: COMPILER_WARNING (CWE-477): [#def18] polkit-126-build/polkit-126/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_check_authorization’ polkit-126-build/polkit-126/src/polkit/polkitauthority.c:925:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead /usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here # 923| data = g_new0 (CheckAuthData, 1); # 924| data->authority = g_object_ref (authority); # 925|-> data->simple = g_simple_async_result_new (G_OBJECT (authority), # 926| callback, # 927| user_data, Error: COMPILER_WARNING (CWE-477): [#def19] polkit-126-build/polkit-126/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_check_authorization_finish’ polkit-126-build/polkit-126/src/polkit/polkitauthority.c:973:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_propagate_error’ is deprecated /usr/include/glib-2.0/gio/gsimpleasyncresult.h:116:21: note: declared here # 971| ret = NULL; # 972| # 973|-> if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (res), error)) # 974| goto out; # 975| Error: COMPILER_WARNING (CWE-477): [#def20] polkit-126-build/polkit-126/src/polkit/polkitauthority.c:976:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated /usr/include/glib-2.0/gio/gsimpleasyncresult.h:76:21: note: declared here # 974| goto out; # 975| # 976|-> ret = g_object_ref (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res))); # 977| # 978| out: Error: COMPILER_WARNING (CWE-477): [#def21] polkit-126-build/polkit-126/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_register_authentication_agent’ polkit-126-build/polkit-126/src/polkit/polkitauthority.c:1094:22: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead /usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here # 1092| cancellable, # 1093| generic_async_cb, # 1094|-> g_simple_async_result_new (G_OBJECT (authority), # 1095| callback, # 1096| user_data, Error: COMPILER_WARNING (CWE-477): [#def22] polkit-126-build/polkit-126/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_register_authentication_agent_finish’ polkit-126-build/polkit-126/src/polkit/polkitauthority.c:1125:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated /usr/include/glib-2.0/gio/gsimpleasyncresult.h:96:21: note: declared here # 1123| ret = FALSE; # 1124| # 1125|-> g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_register_authentication_agent); # 1126| _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res))); # 1127| Error: COMPILER_WARNING (CWE-477): [#def23] polkit-126-build/polkit-126/src/polkit/polkitauthority.c:1126:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated /usr/include/glib-2.0/gio/gsimpleasyncresult.h:76:21: note: declared here # 1124| # 1125| g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_register_authentication_agent); # 1126|-> _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res))); # 1127| # 1128| value = g_dbus_proxy_call_finish (authority->proxy, _res, error); Error: COMPILER_WARNING (CWE-477): [#def24] polkit-126-build/polkit-126/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_register_authentication_agent_with_options’ polkit-126-build/polkit-126/src/polkit/polkitauthority.c:1247:26: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead /usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here # 1245| cancellable, # 1246| generic_async_cb, # 1247|-> g_simple_async_result_new (G_OBJECT (authority), # 1248| callback, # 1249| user_data, Error: COMPILER_WARNING (CWE-477): [#def25] polkit-126-build/polkit-126/src/polkit/polkitauthority.c:1264:26: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead /usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here # 1262| cancellable, # 1263| generic_async_cb, # 1264|-> g_simple_async_result_new (G_OBJECT (authority), # 1265| callback, # 1266| user_data, Error: COMPILER_WARNING (CWE-477): [#def26] polkit-126-build/polkit-126/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_register_authentication_agent_with_options_finish’ polkit-126-build/polkit-126/src/polkit/polkitauthority.c:1297:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated /usr/include/glib-2.0/gio/gsimpleasyncresult.h:96:21: note: declared here # 1295| ret = FALSE; # 1296| # 1297|-> g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_register_authentication_agent_with_options); # 1298| _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res))); # 1299| Error: COMPILER_WARNING (CWE-477): [#def27] polkit-126-build/polkit-126/src/polkit/polkitauthority.c:1298:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated /usr/include/glib-2.0/gio/gsimpleasyncresult.h:76:21: note: declared here # 1296| # 1297| g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_register_authentication_agent_with_options); # 1298|-> _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res))); # 1299| # 1300| value = g_dbus_proxy_call_finish (authority->proxy, _res, error); Error: COMPILER_WARNING (CWE-477): [#def28] polkit-126-build/polkit-126/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_unregister_authentication_agent’ polkit-126-build/polkit-126/src/polkit/polkitauthority.c:1404:22: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead /usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here # 1402| cancellable, # 1403| generic_async_cb, # 1404|-> g_simple_async_result_new (G_OBJECT (authority), # 1405| callback, # 1406| user_data, Error: COMPILER_WARNING (CWE-477): [#def29] polkit-126-build/polkit-126/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_unregister_authentication_agent_finish’ polkit-126-build/polkit-126/src/polkit/polkitauthority.c:1435:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated /usr/include/glib-2.0/gio/gsimpleasyncresult.h:96:21: note: declared here # 1433| ret = FALSE; # 1434| # 1435|-> g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_unregister_authentication_agent); # 1436| _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res))); # 1437| Error: COMPILER_WARNING (CWE-477): [#def30] polkit-126-build/polkit-126/src/polkit/polkitauthority.c:1436:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated /usr/include/glib-2.0/gio/gsimpleasyncresult.h:76:21: note: declared here # 1434| # 1435| g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_unregister_authentication_agent); # 1436|-> _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res))); # 1437| # 1438| value = g_dbus_proxy_call_finish (authority->proxy, _res, error); Error: COMPILER_WARNING (CWE-477): [#def31] polkit-126-build/polkit-126/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_authentication_agent_response’ polkit-126-build/polkit-126/src/polkit/polkitauthority.c:1545:22: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead /usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here # 1543| cancellable, # 1544| generic_async_cb, # 1545|-> g_simple_async_result_new (G_OBJECT (authority), # 1546| callback, # 1547| user_data, Error: COMPILER_WARNING (CWE-477): [#def32] polkit-126-build/polkit-126/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_authentication_agent_response_finish’ polkit-126-build/polkit-126/src/polkit/polkitauthority.c:1576:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated /usr/include/glib-2.0/gio/gsimpleasyncresult.h:96:21: note: declared here # 1574| ret = FALSE; # 1575| # 1576|-> g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_authentication_agent_response); # 1577| _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res))); # 1578| Error: COMPILER_WARNING (CWE-477): [#def33] polkit-126-build/polkit-126/src/polkit/polkitauthority.c:1577:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated /usr/include/glib-2.0/gio/gsimpleasyncresult.h:76:21: note: declared here # 1575| # 1576| g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_authentication_agent_response); # 1577|-> _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res))); # 1578| # 1579| value = g_dbus_proxy_call_finish (authority->proxy, _res, error); Error: COMPILER_WARNING (CWE-477): [#def34] polkit-126-build/polkit-126/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_enumerate_temporary_authorizations’ polkit-126-build/polkit-126/src/polkit/polkitauthority.c:1671:22: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead /usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here # 1669| cancellable, # 1670| generic_async_cb, # 1671|-> g_simple_async_result_new (G_OBJECT (authority), # 1672| callback, # 1673| user_data, Error: COMPILER_WARNING (CWE-477): [#def35] polkit-126-build/polkit-126/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_enumerate_temporary_authorizations_finish’ polkit-126-build/polkit-126/src/polkit/polkitauthority.c:1708:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated /usr/include/glib-2.0/gio/gsimpleasyncresult.h:96:21: note: declared here # 1706| ret = NULL; # 1707| # 1708|-> g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_enumerate_temporary_authorizations); # 1709| _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res))); # 1710| Error: COMPILER_WARNING (CWE-477): [#def36] polkit-126-build/polkit-126/src/polkit/polkitauthority.c:1709:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated /usr/include/glib-2.0/gio/gsimpleasyncresult.h:76:21: note: declared here # 1707| # 1708| g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_enumerate_temporary_authorizations); # 1709|-> _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res))); # 1710| # 1711| value = g_dbus_proxy_call_finish (authority->proxy, _res, error); Error: COMPILER_WARNING (CWE-477): [#def37] polkit-126-build/polkit-126/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_revoke_temporary_authorizations’ polkit-126-build/polkit-126/src/polkit/polkitauthority.c:1820:22: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead /usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here # 1818| cancellable, # 1819| generic_async_cb, # 1820|-> g_simple_async_result_new (G_OBJECT (authority), # 1821| callback, # 1822| user_data, Error: COMPILER_WARNING (CWE-477): [#def38] polkit-126-build/polkit-126/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_revoke_temporary_authorizations_finish’ polkit-126-build/polkit-126/src/polkit/polkitauthority.c:1851:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated /usr/include/glib-2.0/gio/gsimpleasyncresult.h:96:21: note: declared here # 1849| ret = FALSE; # 1850| # 1851|-> g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_revoke_temporary_authorizations); # 1852| _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res))); # 1853| Error: COMPILER_WARNING (CWE-477): [#def39] polkit-126-build/polkit-126/src/polkit/polkitauthority.c:1852:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated /usr/include/glib-2.0/gio/gsimpleasyncresult.h:76:21: note: declared here # 1850| # 1851| g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_revoke_temporary_authorizations); # 1852|-> _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res))); # 1853| # 1854| value = g_dbus_proxy_call_finish (authority->proxy, _res, error); Error: COMPILER_WARNING (CWE-477): [#def40] polkit-126-build/polkit-126/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_revoke_temporary_authorization_by_id’ polkit-126-build/polkit-126/src/polkit/polkitauthority.c:1940:22: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead /usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here # 1938| cancellable, # 1939| generic_async_cb, # 1940|-> g_simple_async_result_new (G_OBJECT (authority), # 1941| callback, # 1942| user_data, Error: COMPILER_WARNING (CWE-477): [#def41] polkit-126-build/polkit-126/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_revoke_temporary_authorization_by_id_finish’ polkit-126-build/polkit-126/src/polkit/polkitauthority.c:1971:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated /usr/include/glib-2.0/gio/gsimpleasyncresult.h:96:21: note: declared here # 1969| ret = FALSE; # 1970| # 1971|-> g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_revoke_temporary_authorization_by_id); # 1972| _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res))); # 1973| Error: COMPILER_WARNING (CWE-477): [#def42] polkit-126-build/polkit-126/src/polkit/polkitauthority.c:1972:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated /usr/include/glib-2.0/gio/gsimpleasyncresult.h:76:21: note: declared here # 1970| # 1971| g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_revoke_temporary_authorization_by_id); # 1972|-> _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res))); # 1973| # 1974| value = g_dbus_proxy_call_finish (authority->proxy, _res, error); Error: COMPILER_WARNING (CWE-477): [#def43] polkit-126-build/polkit-126/src/polkit/polkitpermission.c: scope_hint: In function ‘acquire_cb’ polkit-126-build/polkit-126/src/polkit/polkitpermission.c:642:15: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_error’ is deprecated # 642 | g_simple_async_result_set_error (data->simple, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gio.h:141: included_from: Included from here. polkit-126-build/polkit-126/src/polkit/polkitpermission.c:30: included_from: Included from here. /usr/include/glib-2.0/gio/gsimpleasyncresult.h:119:21: note: declared here # 119 | void g_simple_async_result_set_error (GSimpleAsyncResult *simple, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 640| if (polkit_authorization_result_get_dismissed (result)) # 641| { # 642|-> g_simple_async_result_set_error (data->simple, # 643| G_IO_ERROR, # 644| G_IO_ERROR_CANCELLED, Error: COMPILER_WARNING (CWE-477): [#def44] polkit-126-build/polkit-126/src/polkit/polkitpermission.c:650:15: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_error’ is deprecated # 650 | g_simple_async_result_set_error (data->simple, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:119:21: note: declared here # 119 | void g_simple_async_result_set_error (GSimpleAsyncResult *simple, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 648| else # 649| { # 650|-> g_simple_async_result_set_error (data->simple, # 651| POLKIT_ERROR, # 652| POLKIT_ERROR_FAILED, Error: COMPILER_WARNING (CWE-477): [#def45] polkit-126-build/polkit-126/src/polkit/polkitpermission.c:661:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_from_error’ is deprecated # 661 | g_simple_async_result_set_from_error (data->simple, error); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:110:21: note: declared here # 110 | void g_simple_async_result_set_from_error (GSimpleAsyncResult *simple, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 659| else # 660| { # 661|-> g_simple_async_result_set_from_error (data->simple, error); # 662| g_error_free (error); # 663| } Error: COMPILER_WARNING (CWE-477): [#def46] polkit-126-build/polkit-126/src/polkit/polkitpermission.c:667:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete’ is deprecated # 667 | g_simple_async_result_complete (data->simple); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here # 101 | void g_simple_async_result_complete (GSimpleAsyncResult *simple); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 665| * due to how PolkitAuthority works # 666| */ # 667|-> g_simple_async_result_complete (data->simple); # 668| acquire_data_free (data); # 669| } Error: COMPILER_WARNING (CWE-477): [#def47] polkit-126-build/polkit-126/src/polkit/polkitpermission.c: scope_hint: In function ‘acquire_async’ polkit-126-build/polkit-126/src/polkit/polkitpermission.c:682:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead # 682 | data->simple = g_simple_async_result_new (G_OBJECT (permission), # | ^~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here # 48 | GSimpleAsyncResult *g_simple_async_result_new (GObject *source_object, # | ^~~~~~~~~~~~~~~~~~~~~~~~~ # 680| data = g_new0 (AcquireData, 1); # 681| data->permission = permission; # 682|-> data->simple = g_simple_async_result_new (G_OBJECT (permission), # 683| callback, # 684| user_data, Error: COMPILER_WARNING (CWE-477): [#def48] polkit-126-build/polkit-126/src/polkit/polkitpermission.c: scope_hint: In function ‘acquire_finish’ polkit-126-build/polkit-126/src/polkit/polkitpermission.c:705:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated # 705 | g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == acquire_async); # | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:96:21: note: declared here # 96 | gpointer g_simple_async_result_get_source_tag (GSimpleAsyncResult *simple); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 703| # 704| simple = G_SIMPLE_ASYNC_RESULT (result); # 705|-> g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == acquire_async); # 706| # 707| if (g_simple_async_result_propagate_error (simple, error)) Error: COMPILER_WARNING (CWE-477): [#def49] polkit-126-build/polkit-126/src/polkit/polkitpermission.c:707:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_propagate_error’ is deprecated # 707 | if (g_simple_async_result_propagate_error (simple, error)) # | ^~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:116:21: note: declared here # 116 | gboolean g_simple_async_result_propagate_error (GSimpleAsyncResult *simple, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 705| g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == acquire_async); # 706| # 707|-> if (g_simple_async_result_propagate_error (simple, error)) # 708| return FALSE; # 709| Error: COMPILER_WARNING (CWE-477): [#def50] polkit-126-build/polkit-126/src/polkit/polkitpermission.c: scope_hint: In function ‘release_check_cb’ polkit-126-build/polkit-126/src/polkit/polkitpermission.c:794:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_from_error’ is deprecated # 794 | g_simple_async_result_set_from_error (data->simple, error); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:110:21: note: declared here # 110 | void g_simple_async_result_set_from_error (GSimpleAsyncResult *simple, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 792| "Error checking authorization for action id %s after releasing the permission: ", # 793| data->permission->action_id); # 794|-> g_simple_async_result_set_from_error (data->simple, error); # 795| g_error_free (error); # 796| } Error: COMPILER_WARNING (CWE-477): [#def51] polkit-126-build/polkit-126/src/polkit/polkitpermission.c:805:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete’ is deprecated # 805 | g_simple_async_result_complete (data->simple); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here # 101 | void g_simple_async_result_complete (GSimpleAsyncResult *simple); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 803| * due to how PolkitAuthority works # 804| */ # 805|-> g_simple_async_result_complete (data->simple); # 806| release_data_free (data); # 807| } Error: COMPILER_WARNING (CWE-477): [#def52] polkit-126-build/polkit-126/src/polkit/polkitpermission.c: scope_hint: In function ‘release_cb’ polkit-126-build/polkit-126/src/polkit/polkitpermission.c:826:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_from_error’ is deprecated # 826 | g_simple_async_result_set_from_error (data->simple, error); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:110:21: note: declared here # 110 | void g_simple_async_result_set_from_error (GSimpleAsyncResult *simple, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 824| if (!ret) # 825| { # 826|-> g_simple_async_result_set_from_error (data->simple, error); # 827| g_error_free (error); # 828| /* don't complete in idle since we're already completing in idle Error: COMPILER_WARNING (CWE-477): [#def53] polkit-126-build/polkit-126/src/polkit/polkitpermission.c:831:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete’ is deprecated # 831 | g_simple_async_result_complete (data->simple); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here # 101 | void g_simple_async_result_complete (GSimpleAsyncResult *simple); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 829| * due to how PolkitAuthority works # 830| */ # 831|-> g_simple_async_result_complete (data->simple); # 832| release_data_free (data); # 833| } Error: COMPILER_WARNING (CWE-477): [#def54] polkit-126-build/polkit-126/src/polkit/polkitpermission.c: scope_hint: In function ‘release_async’ polkit-126-build/polkit-126/src/polkit/polkitpermission.c:862:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead # 862 | data->simple = g_simple_async_result_new (G_OBJECT (permission), # | ^~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here # 48 | GSimpleAsyncResult *g_simple_async_result_new (GObject *source_object, # | ^~~~~~~~~~~~~~~~~~~~~~~~~ # 860| data = g_new0 (ReleaseData, 1); # 861| data->permission = permission; # 862|-> data->simple = g_simple_async_result_new (G_OBJECT (permission), # 863| callback, # 864| user_data, Error: COMPILER_WARNING (CWE-477): [#def55] polkit-126-build/polkit-126/src/polkit/polkitpermission.c:869:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_error’ is deprecated # 869 | g_simple_async_result_set_error (data->simple, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:119:21: note: declared here # 119 | void g_simple_async_result_set_error (GSimpleAsyncResult *simple, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 867| if (permission->tmp_authz_id == NULL) # 868| { # 869|-> g_simple_async_result_set_error (data->simple, # 870| POLKIT_ERROR, # 871| POLKIT_ERROR_FAILED, Error: COMPILER_WARNING (CWE-477): [#def56] polkit-126-build/polkit-126/src/polkit/polkitpermission.c:874:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete_in_idle’ is deprecated # 874 | g_simple_async_result_complete_in_idle (data->simple); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:103:21: note: declared here # 103 | void g_simple_async_result_complete_in_idle (GSimpleAsyncResult *simple); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 872| "Cannot release permission: no temporary authorization for action-id %s exist", # 873| permission->action_id); # 874|-> g_simple_async_result_complete_in_idle (data->simple); # 875| release_data_free (data); # 876| goto out; Error: COMPILER_WARNING (CWE-477): [#def57] polkit-126-build/polkit-126/src/polkit/polkitpermission.c: scope_hint: In function ‘release_finish’ polkit-126-build/polkit-126/src/polkit/polkitpermission.c:896:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated # 896 | g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == release_async); # | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:96:21: note: declared here # 96 | gpointer g_simple_async_result_get_source_tag (GSimpleAsyncResult *simple); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 894| # 895| simple = G_SIMPLE_ASYNC_RESULT (result); # 896|-> g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == release_async); # 897| # 898| if (g_simple_async_result_propagate_error (simple, error)) Error: COMPILER_WARNING (CWE-477): [#def58] polkit-126-build/polkit-126/src/polkit/polkitpermission.c:898:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_propagate_error’ is deprecated # 898 | if (g_simple_async_result_propagate_error (simple, error)) # | ^~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:116:21: note: declared here # 116 | gboolean g_simple_async_result_propagate_error (GSimpleAsyncResult *simple, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 896| g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == release_async); # 897| # 898|-> if (g_simple_async_result_propagate_error (simple, error)) # 899| return FALSE; # 900| Error: COMPILER_WARNING (CWE-477): [#def59] polkit-126-build/polkit-126/src/polkit/polkitsystembusname.c: scope_hint: In function ‘exists_in_thread_func’ polkit-126-build/polkit-126/src/polkit/polkitsystembusname.c:285:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_from_error’ is deprecated # 285 | g_simple_async_result_set_from_error (res, error); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gio.h:141: included_from: Included from here. /usr/include/glib-2.0/gio/gunixfdlist.h:26: included_from: Included from here. polkit-126-build/polkit-126/src/polkit/polkitsystembusname.c:23: included_from: Included from here. /usr/include/glib-2.0/gio/gsimpleasyncresult.h:110:21: note: declared here # 110 | void g_simple_async_result_set_from_error (GSimpleAsyncResult *simple, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 283| &error)) # 284| { # 285|-> g_simple_async_result_set_from_error (res, error); # 286| g_error_free (error); # 287| } Error: COMPILER_WARNING (CWE-477): [#def60] polkit-126-build/polkit-126/src/polkit/polkitsystembusname.c: scope_hint: In function ‘polkit_system_bus_name_exists’ polkit-126-build/polkit-126/src/polkit/polkitsystembusname.c:300:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead # 300 | simple = g_simple_async_result_new (G_OBJECT (subject), # | ^~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here # 48 | GSimpleAsyncResult *g_simple_async_result_new (GObject *source_object, # | ^~~~~~~~~~~~~~~~~~~~~~~~~ # 298| g_return_if_fail (POLKIT_IS_SYSTEM_BUS_NAME (subject)); # 299| # 300|-> simple = g_simple_async_result_new (G_OBJECT (subject), # 301| callback, # 302| user_data, Error: COMPILER_WARNING (CWE-477): [#def61] polkit-126-build/polkit-126/src/polkit/polkitsystembusname.c:304:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_run_in_thread’ is deprecated # 304 | g_simple_async_result_run_in_thread (simple, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:105:21: note: declared here # 105 | void g_simple_async_result_run_in_thread (GSimpleAsyncResult *simple, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 302| user_data, # 303| polkit_system_bus_name_exists); # 304|-> g_simple_async_result_run_in_thread (simple, # 305| exists_in_thread_func, # 306| G_PRIORITY_DEFAULT, Error: COMPILER_WARNING (CWE-477): [#def62] polkit-126-build/polkit-126/src/polkit/polkitsystembusname.c: scope_hint: In function ‘polkit_system_bus_name_exists_finish’ polkit-126-build/polkit-126/src/polkit/polkitsystembusname.c:319:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated # 319 | g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == polkit_system_bus_name_exists); # | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:96:21: note: declared here # 96 | gpointer g_simple_async_result_get_source_tag (GSimpleAsyncResult *simple); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 317| gboolean ret; # 318| # 319|-> g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == polkit_system_bus_name_exists); # 320| # 321| ret = FALSE; Error: COMPILER_WARNING (CWE-477): [#def63] polkit-126-build/polkit-126/src/polkit/polkitsystembusname.c:323:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_propagate_error’ is deprecated # 323 | if (g_simple_async_result_propagate_error (simple, error)) # | ^~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:116:21: note: declared here # 116 | gboolean g_simple_async_result_propagate_error (GSimpleAsyncResult *simple, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 321| ret = FALSE; # 322| # 323|-> if (g_simple_async_result_propagate_error (simple, error)) # 324| goto out; # 325| Error: COMPILER_WARNING (CWE-477): [#def64] polkit-126-build/polkit-126/src/polkit/polkitsystembusname.c:326:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gboolean’ is deprecated # 326 | ret = g_simple_async_result_get_op_res_gboolean (simple); # | ^~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:88:21: note: declared here # 88 | gboolean g_simple_async_result_get_op_res_gboolean (GSimpleAsyncResult *simple); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 324| goto out; # 325| # 326|-> ret = g_simple_async_result_get_op_res_gboolean (simple); # 327| # 328| out: Error: COMPILER_WARNING (CWE-477): [#def65] polkit-126-build/polkit-126/src/polkit/polkitunixprocess.c: scope_hint: In function ‘polkit_unix_process_exists’ polkit-126-build/polkit-126/src/polkit/polkitunixprocess.c:916:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead /usr/include/glib-2.0/gio/gio.h:141: included_from: Included from here. polkit-126-build/polkit-126/src/polkit/polkitunixprocess.h:32: included_from: Included from here. polkit-126-build/polkit-126/src/polkit/polkitunixprocess.c:43: included_from: Included from here. /usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here # 914| { # 915| GSimpleAsyncResult *simple; # 916|-> simple = g_simple_async_result_new (G_OBJECT (subject), # 917| callback, # 918| user_data, Error: COMPILER_WARNING (CWE-477): [#def66] polkit-126-build/polkit-126/src/polkit/polkitunixprocess.c:920:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete’ is deprecated /usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here # 918| user_data, # 919| polkit_unix_process_exists); # 920|-> g_simple_async_result_complete (simple); # 921| g_object_unref (simple); # 922| } Error: COMPILER_WARNING (CWE-477): [#def67] polkit-126-build/polkit-126/src/polkit/polkitunixprocess.c: scope_hint: In function ‘polkit_unix_process_exists_finish’ polkit-126-build/polkit-126/src/polkit/polkitunixprocess.c:931:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated /usr/include/glib-2.0/gio/gsimpleasyncresult.h:96:21: note: declared here # 929| GSimpleAsyncResult *simple = G_SIMPLE_ASYNC_RESULT (res); # 930| # 931|-> g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == polkit_unix_process_exists); # 932| # 933| return polkit_unix_process_exists_sync (subject, Error: COMPILER_WARNING (CWE-477): [#def68] polkit-126-build/polkit-126/src/polkit/polkitunixsession-systemd.c: scope_hint: In function ‘exists_in_thread_func’ polkit-126-build/polkit-126/src/polkit/polkitunixsession-systemd.c:384:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_from_error’ is deprecated /usr/include/glib-2.0/gio/gio.h:141: included_from: Included from here. polkit-126-build/polkit-126/src/polkit/polkitunixsession.h:30: included_from: Included from here. polkit-126-build/polkit-126/src/polkit/polkitunixsession-systemd.c:24: included_from: Included from here. /usr/include/glib-2.0/gio/gsimpleasyncresult.h:110:21: note: declared here # 382| &error)) # 383| { # 384|-> g_simple_async_result_set_from_error (res, error); # 385| g_error_free (error); # 386| } Error: COMPILER_WARNING (CWE-477): [#def69] polkit-126-build/polkit-126/src/polkit/polkitunixsession-systemd.c: scope_hint: In function ‘polkit_unix_session_exists’ polkit-126-build/polkit-126/src/polkit/polkitunixsession-systemd.c:399:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead /usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here # 397| g_return_if_fail (POLKIT_IS_UNIX_SESSION (subject)); # 398| # 399|-> simple = g_simple_async_result_new (G_OBJECT (subject), # 400| callback, # 401| user_data, Error: COMPILER_WARNING (CWE-477): [#def70] polkit-126-build/polkit-126/src/polkit/polkitunixsession-systemd.c:403:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_run_in_thread’ is deprecated /usr/include/glib-2.0/gio/gsimpleasyncresult.h:105:21: note: declared here # 401| user_data, # 402| polkit_unix_session_exists); # 403|-> g_simple_async_result_run_in_thread (simple, # 404| exists_in_thread_func, # 405| G_PRIORITY_DEFAULT, Error: COMPILER_WARNING (CWE-477): [#def71] polkit-126-build/polkit-126/src/polkit/polkitunixsession-systemd.c: scope_hint: In function ‘polkit_unix_session_exists_finish’ polkit-126-build/polkit-126/src/polkit/polkitunixsession-systemd.c:418:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated /usr/include/glib-2.0/gio/gsimpleasyncresult.h:96:21: note: declared here # 416| gboolean ret; # 417| # 418|-> g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == polkit_unix_session_exists); # 419| # 420| ret = FALSE; Error: COMPILER_WARNING (CWE-477): [#def72] polkit-126-build/polkit-126/src/polkit/polkitunixsession-systemd.c:422:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_propagate_error’ is deprecated /usr/include/glib-2.0/gio/gsimpleasyncresult.h:116:21: note: declared here # 420| ret = FALSE; # 421| # 422|-> if (g_simple_async_result_propagate_error (simple, error)) # 423| goto out; # 424| Error: COMPILER_WARNING (CWE-477): [#def73] polkit-126-build/polkit-126/src/polkit/polkitunixsession-systemd.c:425:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gboolean’ is deprecated /usr/include/glib-2.0/gio/gsimpleasyncresult.h:88:21: note: declared here # 423| goto out; # 424| # 425|-> ret = g_simple_async_result_get_op_res_gboolean (simple); # 426| # 427| out: Error: COMPILER_WARNING (CWE-477): [#def74] polkit-126-build/polkit-126/src/polkitagent/polkitagenttextlistener.c: scope_hint: In function ‘on_completed’ polkit-126-build/polkit-126/src/polkitagent/polkitagenttextlistener.c:310:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete_in_idle’ is deprecated /usr/include/glib-2.0/gio/gio.h:141: included_from: Included from here. polkit-126-build/polkit-126/src/polkit/polkitactiondescription.h:30: included_from: Included from here. polkit-126-build/polkit-126/src/polkit/polkitprivate.h:26: included_from: Included from here. polkit-126-build/polkit-126/src/polkitagent/polkitagenttextlistener.c:32: included_from: Included from here. /usr/include/glib-2.0/gio/gsimpleasyncresult.h:103:21: note: declared here # 308| fflush (listener->tty); # 309| # 310|-> g_simple_async_result_complete_in_idle (listener->simple); # 311| # 312| g_object_unref (listener->simple); Error: COMPILER_WARNING (CWE-477): [#def75] polkit-126-build/polkit-126/src/polkitagent/polkitagenttextlistener.c: scope_hint: In function ‘polkit_agent_text_listener_initiate_authentication’ polkit-126-build/polkit-126/src/polkitagent/polkitagenttextlistener.c:561:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead /usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here # 559| PolkitIdentity *identity; # 560| # 561|-> simple = g_simple_async_result_new (G_OBJECT (listener), # 562| callback, # 563| user_data, Error: COMPILER_WARNING (CWE-477): [#def76] polkit-126-build/polkit-126/src/polkitagent/polkitagenttextlistener.c:567:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_error’ is deprecated /usr/include/glib-2.0/gio/gsimpleasyncresult.h:119:21: note: declared here # 565| if (listener->active_session != NULL) # 566| { # 567|-> g_simple_async_result_set_error (simple, # 568| POLKIT_ERROR, # 569| POLKIT_ERROR_FAILED, Error: COMPILER_WARNING (CWE-477): [#def77] polkit-126-build/polkit-126/src/polkitagent/polkitagenttextlistener.c:571:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete_in_idle’ is deprecated /usr/include/glib-2.0/gio/gsimpleasyncresult.h:103:21: note: declared here # 569| POLKIT_ERROR_FAILED, # 570| "An authentication session is already underway."); # 571|-> g_simple_async_result_complete_in_idle (simple); # 572| g_object_unref (simple); # 573| goto out; Error: COMPILER_WARNING (CWE-477): [#def78] polkit-126-build/polkit-126/src/polkitagent/polkitagenttextlistener.c:603:11: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_error’ is deprecated /usr/include/glib-2.0/gio/gsimpleasyncresult.h:119:21: note: declared here # 601| fprintf (listener->tty, "\x1B[0m"); # 602| fflush (listener->tty); # 603|-> g_simple_async_result_set_error (simple, # 604| POLKIT_ERROR, # 605| POLKIT_ERROR_FAILED, Error: COMPILER_WARNING (CWE-477): [#def79] polkit-126-build/polkit-126/src/polkitagent/polkitagenttextlistener.c:607:11: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete_in_idle’ is deprecated /usr/include/glib-2.0/gio/gsimpleasyncresult.h:103:21: note: declared here # 605| POLKIT_ERROR_FAILED, # 606| "Authentication was canceled."); # 607|-> g_simple_async_result_complete_in_idle (simple); # 608| g_object_unref (simple); # 609| goto out; Error: COMPILER_WARNING (CWE-477): [#def80] polkit-126-build/polkit-126/src/polkitagent/polkitagenttextlistener.c: scope_hint: In function ‘polkit_agent_text_listener_initiate_authentication_finish’ polkit-126-build/polkit-126/src/polkitagent/polkitagenttextlistener.c:661:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated /usr/include/glib-2.0/gio/gsimpleasyncresult.h:96:21: note: declared here # 659| gboolean ret; # 660| # 661|-> g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == # 662| polkit_agent_text_listener_initiate_authentication); # 663| Error: COMPILER_WARNING (CWE-477): [#def81] polkit-126-build/polkit-126/src/polkitagent/polkitagenttextlistener.c:666:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_propagate_error’ is deprecated /usr/include/glib-2.0/gio/gsimpleasyncresult.h:116:21: note: declared here # 664| ret = FALSE; # 665| # 666|-> if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (res), error)) # 667| goto out; # 668| Error: COMPILER_WARNING (CWE-477): [#def82] polkit-126-build/polkit-126/src/polkitbackend/polkitbackendauthority.c: scope_hint: In function ‘polkit_backend_authority_check_authorization’ polkit-126-build/polkit-126/src/polkitbackend/polkitbackendauthority.c:226:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new_error’ is deprecated: Use 'g_task_new' instead /usr/include/glib-2.0/gio/gio.h:141: included_from: Included from here. polkit-126-build/polkit-126/src/polkit/polkitactiondescription.h:30: included_from: Included from here. polkit-126-build/polkit-126/src/polkit/polkit.h:30: included_from: Included from here. polkit-126-build/polkit-126/src/polkitbackend/polkitbackendauthority.c:28: included_from: Included from here. /usr/include/glib-2.0/gio/gsimpleasyncresult.h:53:21: note: declared here # 224| g_warning ("check_authorization is not implemented (it is not optional)"); # 225| # 226|-> simple = g_simple_async_result_new_error (G_OBJECT (authority), # 227| callback, # 228| user_data, Error: COMPILER_WARNING (CWE-477): [#def83] polkit-126-build/polkit-126/src/polkitbackend/polkitbackendauthority.c:232:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete’ is deprecated /usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here # 230| POLKIT_ERROR_NOT_SUPPORTED, # 231| "Operation not supported (bug in backend)"); # 232|-> g_simple_async_result_complete (simple); # 233| g_object_unref (simple); # 234| } Error: COMPILER_WARNING (CWE-477): [#def84] polkit-126-build/polkit-126/src/polkitbackend/polkitbackendauthority.c: scope_hint: In function ‘polkit_backend_authority_check_authorization_finish’ polkit-126-build/polkit-126/src/polkitbackend/polkitbackendauthority.c:263:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_propagate_error’ is deprecated /usr/include/glib-2.0/gio/gsimpleasyncresult.h:116:21: note: declared here # 261| { # 262| g_warning ("check_authorization_finish is not implemented (it is not optional)"); # 263|-> g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (res), error); # 264| return NULL; # 265| } Error: COMPILER_WARNING (CWE-477): [#def85] polkit-126-build/polkit-126/src/polkitbackend/polkitbackendcommon.c: scope_hint: In function ‘utils_on_cancelled’ polkit-126-build/polkit-126/src/polkitbackend/polkitbackendcommon.c:141:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_take_error’ is deprecated /usr/include/glib-2.0/gio/gio.h:141: included_from: Included from here. /usr/include/glib-2.0/gio/gunixfdlist.h:26: included_from: Included from here. polkit-126-build/polkit-126/src/polkitbackend/polkitbackendcommon.h:39: included_from: Included from here. polkit-126-build/polkit-126/src/polkitbackend/polkitbackendcommon.c:22: included_from: Included from here. /usr/include/glib-2.0/gio/gsimpleasyncresult.h:113:21: note: declared here # 139| error = NULL; # 140| g_warn_if_fail (g_cancellable_set_error_if_cancelled (cancellable, &error)); # 141|-> g_simple_async_result_take_error (data->simple, error); # 142| g_simple_async_result_complete_in_idle (data->simple); # 143| g_object_unref (data->simple); Error: COMPILER_WARNING (CWE-477): [#def86] polkit-126-build/polkit-126/src/polkitbackend/polkitbackendcommon.c:142:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete_in_idle’ is deprecated /usr/include/glib-2.0/gio/gsimpleasyncresult.h:103:21: note: declared here # 140| g_warn_if_fail (g_cancellable_set_error_if_cancelled (cancellable, &error)); # 141| g_simple_async_result_take_error (data->simple, error); # 142|-> g_simple_async_result_complete_in_idle (data->simple); # 143| g_object_unref (data->simple); # 144| } Error: COMPILER_WARNING (CWE-477): [#def87] polkit-126-build/polkit-126/src/polkitbackend/polkitbackendcommon.c: scope_hint: In function ‘utils_timeout_cb’ polkit-126-build/polkit-126/src/polkitbackend/polkitbackendcommon.c:157:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete_in_idle’ is deprecated /usr/include/glib-2.0/gio/gsimpleasyncresult.h:103:21: note: declared here # 155| # 156| /* we're done */ # 157|-> g_simple_async_result_complete_in_idle (data->simple); # 158| g_object_unref (data->simple); # 159| Error: COMPILER_WARNING (CWE-477): [#def88] polkit-126-build/polkit-126/src/polkitbackend/polkitbackendcommon.c: scope_hint: In function ‘utils_child_watch_cb’ polkit-126-build/polkit-126/src/polkitbackend/polkitbackendcommon.c:191:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete_in_idle’ is deprecated /usr/include/glib-2.0/gio/gsimpleasyncresult.h:103:21: note: declared here # 189| # 190| /* we're done */ # 191|-> g_simple_async_result_complete_in_idle (data->simple); # 192| g_object_unref (data->simple); # 193| } Error: COMPILER_WARNING (CWE-477): [#def89] polkit-126-build/polkit-126/src/polkitbackend/polkitbackendcommon.c: scope_hint: In function ‘polkit_backend_common_spawn’ polkit-126-build/polkit-126/src/polkitbackend/polkitbackendcommon.c:235:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead /usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here # 233| data = g_slice_new0 (UtilsSpawnData); # 234| data->timeout_seconds = timeout_seconds; # 235|-> data->simple = g_simple_async_result_new (NULL, # 236| callback, # 237| user_data, Error: COMPILER_WARNING (CWE-477): [#def90] polkit-126-build/polkit-126/src/polkitbackend/polkitbackendcommon.c:251:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_op_res_gpointer’ is deprecated /usr/include/glib-2.0/gio/gsimpleasyncresult.h:72:21: note: declared here # 249| # 250| /* the life-cycle of UtilsSpawnData is tied to its GSimpleAsyncResult */ # 251|-> g_simple_async_result_set_op_res_gpointer (data->simple, data, (GDestroyNotify) utils_spawn_data_free); # 252| # 253| error = NULL; Error: COMPILER_WARNING (CWE-477): [#def91] polkit-126-build/polkit-126/src/polkitbackend/polkitbackendcommon.c:260:11: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_take_error’ is deprecated /usr/include/glib-2.0/gio/gsimpleasyncresult.h:113:21: note: declared here # 258| if (g_cancellable_set_error_if_cancelled (data->cancellable, &error)) # 259| { # 260|-> g_simple_async_result_take_error (data->simple, error); # 261| g_simple_async_result_complete_in_idle (data->simple); # 262| g_object_unref (data->simple); Error: COMPILER_WARNING (CWE-477): [#def92] polkit-126-build/polkit-126/src/polkitbackend/polkitbackendcommon.c:261:11: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete_in_idle’ is deprecated /usr/include/glib-2.0/gio/gsimpleasyncresult.h:103:21: note: declared here # 259| { # 260| g_simple_async_result_take_error (data->simple, error); # 261|-> g_simple_async_result_complete_in_idle (data->simple); # 262| g_object_unref (data->simple); # 263| goto out; Error: COMPILER_WARNING (CWE-477): [#def93] polkit-126-build/polkit-126/src/polkitbackend/polkitbackendcommon.c:286:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_take_error’ is deprecated /usr/include/glib-2.0/gio/gsimpleasyncresult.h:113:21: note: declared here # 284| { # 285| g_prefix_error (&error, "Error spawning: "); # 286|-> g_simple_async_result_take_error (data->simple, error); # 287| g_simple_async_result_complete_in_idle (data->simple); # 288| g_object_unref (data->simple); Error: COMPILER_WARNING (CWE-477): [#def94] polkit-126-build/polkit-126/src/polkitbackend/polkitbackendcommon.c:287:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete_in_idle’ is deprecated /usr/include/glib-2.0/gio/gsimpleasyncresult.h:103:21: note: declared here # 285| g_prefix_error (&error, "Error spawning: "); # 286| g_simple_async_result_take_error (data->simple, error); # 287|-> g_simple_async_result_complete_in_idle (data->simple); # 288| g_object_unref (data->simple); # 289| goto out; Error: COMPILER_WARNING (CWE-477): [#def95] polkit-126-build/polkit-126/src/polkitbackend/polkitbackendcommon.c: scope_hint: In function ‘polkit_backend_common_spawn_finish’ polkit-126-build/polkit-126/src/polkitbackend/polkitbackendcommon.c:374:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated /usr/include/glib-2.0/gio/gsimpleasyncresult.h:96:21: note: declared here # 372| g_return_val_if_fail (error == NULL || *error == NULL, FALSE); # 373| # 374|-> g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == polkit_backend_common_spawn); # 375| # 376| if (g_simple_async_result_propagate_error (simple, error)) Error: COMPILER_WARNING (CWE-477): [#def96] polkit-126-build/polkit-126/src/polkitbackend/polkitbackendcommon.c:376:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_propagate_error’ is deprecated /usr/include/glib-2.0/gio/gsimpleasyncresult.h:116:21: note: declared here # 374| g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == polkit_backend_common_spawn); # 375| # 376|-> if (g_simple_async_result_propagate_error (simple, error)) # 377| goto out; # 378| Error: COMPILER_WARNING (CWE-477): [#def97] polkit-126-build/polkit-126/src/polkitbackend/polkitbackendcommon.c:379:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated /usr/include/glib-2.0/gio/gsimpleasyncresult.h:76:21: note: declared here # 377| goto out; # 378| # 379|-> data = (UtilsSpawnData*)g_simple_async_result_get_op_res_gpointer (simple); # 380| # 381| if (data->timed_out) Error: GCC_ANALYZER_WARNING (CWE-476): [#def98] polkit-126-build/polkit-126/src/polkitbackend/polkitbackendduktapeauthority.c: scope_hint: In function ‘polkit_backend_common_js_authority_get_admin_auth_identities’ polkit-126-build/polkit-126/src/polkitbackend/polkitbackendduktapeauthority.c:938:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error’ # 936| if (!push_subject (cx, subject, user_for_subject, subject_is_local, subject_is_active, &error)) # 937| { # 938|-> polkit_backend_authority_log (POLKIT_BACKEND_AUTHORITY (authority), # 939| LOG_LEVEL_ERROR, # 940| "Error converting subject to JS object: %s", Error: GCC_ANALYZER_WARNING (CWE-476): [#def99] polkit-126-build/polkit-126/src/polkitbackend/polkitbackendduktapeauthority.c: scope_hint: In function ‘polkit_backend_common_js_authority_check_authorization_sync’ polkit-126-build/polkit-126/src/polkitbackend/polkitbackendduktapeauthority.c:1020:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error’ # 1018| if (!push_subject (cx, subject, user_for_subject, subject_is_local, subject_is_active, &error)) # 1019| { # 1020|-> polkit_backend_authority_log (POLKIT_BACKEND_AUTHORITY (authority), # 1021| LOG_LEVEL_ERROR, # 1022| "Error converting subject to JS object: %s", Error: COMPILER_WARNING (CWE-477): [#def100] polkit-126-build/polkit-126/src/polkitbackend/polkitbackendinteractiveauthority.c: scope_hint: In function ‘check_authorization_challenge_cb’ polkit-126-build/polkit-126/src/polkitbackend/polkitbackendinteractiveauthority.c:749:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_op_res_gpointer’ is deprecated # 749 | g_simple_async_result_set_op_res_gpointer (simple, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gio.h:141: included_from: Included from here. polkit-126-build/polkit-126/src/polkit/polkitactiondescription.h:30: included_from: Included from here. polkit-126-build/polkit-126/src/polkit/polkit.h:30: included_from: Included from here. polkit-126-build/polkit-126/src/polkitbackend/polkitbackendinteractiveauthority.c:34: included_from: Included from here. /usr/include/glib-2.0/gio/gsimpleasyncresult.h:72:21: note: declared here # 72 | void g_simple_async_result_set_op_res_gpointer (GSimpleAsyncResult *simple, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 747| /* log_result (authority, action_id, subject, caller, result); */ # 748| # 749|-> g_simple_async_result_set_op_res_gpointer (simple, # 750| result, # 751| g_object_unref); Error: COMPILER_WARNING (CWE-477): [#def101] polkit-126-build/polkit-126/src/polkitbackend/polkitbackendinteractiveauthority.c:752:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete’ is deprecated # 752 | g_simple_async_result_complete (simple); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here # 101 | void g_simple_async_result_complete (GSimpleAsyncResult *simple); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 750| result, # 751| g_object_unref); # 752|-> g_simple_async_result_complete (simple); # 753| g_object_unref (simple); # 754| Error: COMPILER_WARNING (CWE-477): [#def102] polkit-126-build/polkit-126/src/polkitbackend/polkitbackendinteractiveauthority.c: scope_hint: In function ‘polkit_backend_interactive_authority_check_authorization_finish’ polkit-126-build/polkit-126/src/polkitbackend/polkitbackendinteractiveauthority.c:772:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated # 772 | g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == polkit_backend_interactive_authority_check_authorization); # | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:96:21: note: declared here # 96 | gpointer g_simple_async_result_get_source_tag (GSimpleAsyncResult *simple); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 770| simple = G_SIMPLE_ASYNC_RESULT (res); # 771| # 772|-> g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == polkit_backend_interactive_authority_check_authorization); # 773| # 774| result = NULL; Error: COMPILER_WARNING (CWE-477): [#def103] polkit-126-build/polkit-126/src/polkitbackend/polkitbackendinteractiveauthority.c:776:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_propagate_error’ is deprecated # 776 | if (g_simple_async_result_propagate_error (simple, error)) # | ^~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:116:21: note: declared here # 116 | gboolean g_simple_async_result_propagate_error (GSimpleAsyncResult *simple, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 774| result = NULL; # 775| # 776|-> if (g_simple_async_result_propagate_error (simple, error)) # 777| goto out; # 778| Error: COMPILER_WARNING (CWE-477): [#def104] polkit-126-build/polkit-126/src/polkitbackend/polkitbackendinteractiveauthority.c:779:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated # 779 | result = g_object_ref (g_simple_async_result_get_op_res_gpointer (simple)); # | ^~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:76:21: note: declared here # 76 | gpointer g_simple_async_result_get_op_res_gpointer (GSimpleAsyncResult *simple); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 777| goto out; # 778| # 779|-> result = g_object_ref (g_simple_async_result_get_op_res_gpointer (simple)); # 780| # 781| out: Error: COMPILER_WARNING (CWE-477): [#def105] polkit-126-build/polkit-126/src/polkitbackend/polkitbackendinteractiveauthority.c: scope_hint: In function ‘polkit_backend_interactive_authority_check_authorization’ polkit-126-build/polkit-126/src/polkitbackend/polkitbackendinteractiveauthority.c:880:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead # 880 | simple = g_simple_async_result_new (G_OBJECT (authority), # | ^~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here # 48 | GSimpleAsyncResult *g_simple_async_result_new (GObject *source_object, # | ^~~~~~~~~~~~~~~~~~~~~~~~~ # 878| result = NULL; # 879| # 880|-> simple = g_simple_async_result_new (G_OBJECT (authority), # 881| callback, # 882| user_data, Error: COMPILER_WARNING (CWE-477): [#def106] polkit-126-build/polkit-126/src/polkitbackend/polkitbackendinteractiveauthority.c:908:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_from_error’ is deprecated # 908 | g_simple_async_result_set_from_error (simple, error); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:110:21: note: declared here # 110 | void g_simple_async_result_set_from_error (GSimpleAsyncResult *simple, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 906| if (error != NULL) # 907| { # 908|-> g_simple_async_result_set_from_error (simple, error); # 909| g_simple_async_result_complete (simple); # 910| g_object_unref (simple); Error: COMPILER_WARNING (CWE-477): [#def107] polkit-126-build/polkit-126/src/polkitbackend/polkitbackendinteractiveauthority.c:909:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete’ is deprecated # 909 | g_simple_async_result_complete (simple); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here # 101 | void g_simple_async_result_complete (GSimpleAsyncResult *simple); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 907| { # 908| g_simple_async_result_set_from_error (simple, error); # 909|-> g_simple_async_result_complete (simple); # 910| g_object_unref (simple); # 911| g_error_free (error); Error: COMPILER_WARNING (CWE-477): [#def108] polkit-126-build/polkit-126/src/polkitbackend/polkitbackendinteractiveauthority.c:923:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_from_error’ is deprecated # 923 | g_simple_async_result_set_from_error (simple, error); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:110:21: note: declared here # 110 | void g_simple_async_result_set_from_error (GSimpleAsyncResult *simple, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 921| if (error != NULL) # 922| { # 923|-> g_simple_async_result_set_from_error (simple, error); # 924| g_simple_async_result_complete (simple); # 925| g_object_unref (simple); Error: COMPILER_WARNING (CWE-477): [#def109] polkit-126-build/polkit-126/src/polkitbackend/polkitbackendinteractiveauthority.c:924:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete’ is deprecated # 924 | g_simple_async_result_complete (simple); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here # 101 | void g_simple_async_result_complete (GSimpleAsyncResult *simple); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 922| { # 923| g_simple_async_result_set_from_error (simple, error); # 924|-> g_simple_async_result_complete (simple); # 925| g_object_unref (simple); # 926| g_error_free (error); Error: COMPILER_WARNING (CWE-477): [#def110] polkit-126-build/polkit-126/src/polkitbackend/polkitbackendinteractiveauthority.c:968:15: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_error’ is deprecated # 968 | g_simple_async_result_set_error (simple, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:119:21: note: declared here # 119 | void g_simple_async_result_set_error (GSimpleAsyncResult *simple, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 966| if (has_details) # 967| { # 968|-> g_simple_async_result_set_error (simple, # 969| POLKIT_ERROR, # 970| POLKIT_ERROR_NOT_AUTHORIZED, Error: COMPILER_WARNING (CWE-477): [#def111] polkit-126-build/polkit-126/src/polkitbackend/polkitbackendinteractiveauthority.c:976:15: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_error’ is deprecated # 976 | g_simple_async_result_set_error (simple, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:119:21: note: declared here # 119 | void g_simple_async_result_set_error (GSimpleAsyncResult *simple, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 974| else # 975| { # 976|-> g_simple_async_result_set_error (simple, # 977| POLKIT_ERROR, # 978| POLKIT_ERROR_NOT_AUTHORIZED, Error: COMPILER_WARNING (CWE-477): [#def112] polkit-126-build/polkit-126/src/polkitbackend/polkitbackendinteractiveauthority.c:982:11: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete’ is deprecated # 982 | g_simple_async_result_complete (simple); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here # 101 | void g_simple_async_result_complete (GSimpleAsyncResult *simple); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 980| "subjects belonging to other identities"); # 981| } # 982|-> g_simple_async_result_complete (simple); # 983| g_object_unref (simple); # 984| goto out; Error: COMPILER_WARNING (CWE-477): [#def113] polkit-126-build/polkit-126/src/polkitbackend/polkitbackendinteractiveauthority.c:1000:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_from_error’ is deprecated # 1000 | g_simple_async_result_set_from_error (simple, error); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:110:21: note: declared here # 110 | void g_simple_async_result_set_from_error (GSimpleAsyncResult *simple, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 998| if (error != NULL) # 999| { # 1000|-> g_simple_async_result_set_from_error (simple, error); # 1001| g_simple_async_result_complete (simple); # 1002| g_object_unref (simple); Error: COMPILER_WARNING (CWE-477): [#def114] polkit-126-build/polkit-126/src/polkitbackend/polkitbackendinteractiveauthority.c:1001:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete’ is deprecated # 1001 | g_simple_async_result_complete (simple); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here # 101 | void g_simple_async_result_complete (GSimpleAsyncResult *simple); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 999| { # 1000| g_simple_async_result_set_from_error (simple, error); # 1001|-> g_simple_async_result_complete (simple); # 1002| g_object_unref (simple); # 1003| g_error_free (error); Error: COMPILER_WARNING (CWE-477): [#def115] polkit-126-build/polkit-126/src/polkitbackend/polkitbackendinteractiveauthority.c:1041:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_op_res_gpointer’ is deprecated # 1041 | g_simple_async_result_set_op_res_gpointer (simple, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:72:21: note: declared here # 72 | void g_simple_async_result_set_op_res_gpointer (GSimpleAsyncResult *simple, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 1039| # 1040| /* Otherwise just return the result */ # 1041|-> g_simple_async_result_set_op_res_gpointer (simple, # 1042| g_object_ref (result), # 1043| g_object_unref); Error: COMPILER_WARNING (CWE-477): [#def116] polkit-126-build/polkit-126/src/polkitbackend/polkitbackendinteractiveauthority.c:1044:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete’ is deprecated # 1044 | g_simple_async_result_complete (simple); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here # 101 | void g_simple_async_result_complete (GSimpleAsyncResult *simple); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 1042| g_object_ref (result), # 1043| g_object_unref); # 1044|-> g_simple_async_result_complete (simple); # 1045| g_object_unref (simple); # 1046|
analyzer-version-clippy | 1.84.1 |
analyzer-version-cppcheck | 2.16.2 |
analyzer-version-gcc | 15.0.1 |
analyzer-version-gcc-analyzer | 15.0.1 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-83.us-west-2.compute.internal |
mock-config | fedora-rawhide-x86_64 |
project-name | polkit-126-1.20250204204833719085.pr548.12.g8666ce0 |
store-results-to | /tmp/tmp4gjckat7/polkit-126-1.20250204204833719085.pr548.12.g8666ce0.tar.xz |
time-created | 2025-02-04 21:00:09 |
time-finished | 2025-02-04 21:02:06 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,clippy,shellcheck,gcc,unicontrol' '-o' '/tmp/tmp4gjckat7/polkit-126-1.20250204204833719085.pr548.12.g8666ce0.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--gcc-add-flag=-flto=auto' '/tmp/tmp4gjckat7/polkit-126-1.20250204204833719085.pr548.12.g8666ce0.src.rpm' |
tool-version | csmock-3.8.0-1.el9 |