Skip to content

docs: Build and preview docs locally #4495

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hwhsu1231
Copy link

fixes: #4417

Copy link

google-cla bot commented Mar 19, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@marek22k
Copy link

The patch does not work for me:

$ bundle install
[...]
  705 | static inline bool
      |               ^~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/gc.h:27:1:
note: ‘bool’ is defined in header ‘<stdbool.h>’; this is probably fixable by
adding ‘#include <stdbool.h>’
   26 | # include <stddef.h>                       /* size_t */
  +++ |+#include <stdbool.h>
   27 | #endif
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/gc.h:725:15:
error: unknown type name ‘bool’
  725 | static inline bool
      |               ^~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/gc.h:725:15:
note: ‘bool’ is defined in header ‘<stdbool.h>’; this is probably fixable by
adding ‘#include <stdbool.h>’
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/gc.h: In
function ‘RB_OBJ_PROMOTED’:
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/gc.h:729:16:
error: ‘false’ undeclared (first use in this function)
  729 |         return false;
      |                ^~~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/gc.h:729:16:
note: ‘false’ is defined in header ‘<stdbool.h>’; this is probably fixable by
adding ‘#include <stdbool.h>’
In file included from
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core.h:25:
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core/rbignum.h:
At top level:
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core/rbignum.h:60:15:
error: unknown type name ‘bool’
   60 | static inline bool
      |               ^~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core/rbignum.h:1:1:
note: ‘bool’ is defined in header ‘<stdbool.h>’; this is probably fixable by
adding ‘#include <stdbool.h>’
  +++ |+#include <stdbool.h>
1 | #ifndef RBIMPL_RBIGNUM_H                             /*-*-C++-*-vi:se
ft=cpp:*/
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core/rbignum.h:73:15:
error: unknown type name ‘bool’
   73 | static inline bool
      |               ^~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core/rbignum.h:73:15:
note: ‘bool’ is defined in header ‘<stdbool.h>’; this is probably fixable by
adding ‘#include <stdbool.h>’
In file included from
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core.h:34:
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core/rtypeddata.h:518:15:
error: unknown type name ‘bool’
  518 | static inline bool
      |               ^~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core/rtypeddata.h:27:1:
note: ‘bool’ is defined in header ‘<stdbool.h>’; this is probably fixable by
adding ‘#include <stdbool.h>’
   26 | # include <stddef.h>
  +++ |+#include <stdbool.h>
   27 | #endif
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core/rtypeddata.h:561:15:
error: unknown type name ‘bool’
  561 | static inline bool
      |               ^~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core/rtypeddata.h:561:15:
note: ‘bool’ is defined in header ‘<stdbool.h>’; this is probably fixable by
adding ‘#include <stdbool.h>’
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core/rtypeddata.h:578:15:
error: unknown type name ‘bool’
  578 | static inline bool
      |               ^~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core/rtypeddata.h:578:15:
note: ‘bool’ is defined in header ‘<stdbool.h>’; this is probably fixable by
adding ‘#include <stdbool.h>’
In file included from
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/ruby.h:42:
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/memory.h:420:5:
error: unknown type name ‘bool’
420 |     bool left;                  /**< Whether overflow happened or not.
*/
      |     ^~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/memory.h:65:1:
note: ‘bool’ is defined in header ‘<stdbool.h>’; this is probably fixable by
adding ‘#include <stdbool.h>’
   64 | #include "ruby/internal/stdckdint.h"
  +++ |+#include <stdbool.h>
   65 | #include "ruby/internal/xmalloc.h"
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/memory.h: In
function ‘rbimpl_size_mul_overflow’:
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/memory.h:574:49:
error: ‘false’ undeclared (first use in this function)
  574 |     struct rbimpl_size_mul_overflow_tag ret = { false,  0, };
      |                                                 ^~~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/memory.h:574:49:
note: ‘false’ is defined in header ‘<stdbool.h>’; this is probably fixable by
adding ‘#include <stdbool.h>’
In file included from
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/ruby.h:46:
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/scan_args.h:
At top level:
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/scan_args.h:252:15:
error: unknown type name ‘bool’
  252 | static inline bool
      |               ^~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/scan_args.h:39:1:
note: ‘bool’ is defined in header ‘<stdbool.h>’; this is probably fixable by
adding ‘#include <stdbool.h>’
   38 | #include "ruby/internal/intern/proc.h"  /* rb_block_proc */
  +++ |+#include <stdbool.h>
39 | #include "ruby/internal/iterator.h"     /* rb_block_given_p /
rb_keyword_given_p */
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/scan_args.h:
In function ‘rb_scan_args_keyword_p’:
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/scan_args.h:259:16:
error: ‘true’ undeclared (first use in this function)
  259 |         return true;
      |                ^~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/scan_args.h:259:16:
note: ‘true’ is defined in header ‘<stdbool.h>’; this is probably fixable by
adding ‘#include <stdbool.h>’
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/scan_args.h:263:16:
error: ‘false’ undeclared (first use in this function)
  263 |         return false;
      |                ^~~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/scan_args.h:263:16:
note: ‘false’ is defined in header ‘<stdbool.h>’; this is probably fixable by
adding ‘#include <stdbool.h>’
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/scan_args.h:
At top level:
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/scan_args.h:268:8:
error: unknown type name ‘bool’
  268 | static bool
      |        ^~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/scan_args.h:268:8:
note: ‘bool’ is defined in header ‘<stdbool.h>’; this is probably fixable by
adding ‘#include <stdbool.h>’
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/scan_args.h:282:8:
error: unknown type name ‘bool’
  282 | static bool
      |        ^~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/scan_args.h:282:8:
note: ‘bool’ is defined in header ‘<stdbool.h>’; this is probably fixable by
adding ‘#include <stdbool.h>’
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/scan_args.h:303:8:
error: unknown type name ‘bool’
  303 | static bool
      |        ^~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/scan_args.h:303:8:
note: ‘bool’ is defined in header ‘<stdbool.h>’; this is probably fixable by
adding ‘#include <stdbool.h>’
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/scan_args.h:334:8:
error: unknown type name ‘bool’
  334 | static bool
      |        ^~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/scan_args.h:334:8:
note: ‘bool’ is defined in header ‘<stdbool.h>’; this is probably fixable by
adding ‘#include <stdbool.h>’
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/scan_args.h:349:8:
error: unknown type name ‘bool’
  349 | static bool
      |        ^~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/scan_args.h:349:8:
note: ‘bool’ is defined in header ‘<stdbool.h>’; this is probably fixable by
adding ‘#include <stdbool.h>’
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/scan_args.h:390:18:
error: unknown type name ‘bool’
  390 |                  bool f_var, bool f_hash, bool f_block,
      |                  ^~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/scan_args.h:390:18:
note: ‘bool’ is defined in header ‘<stdbool.h>’; this is probably fixable by
adding ‘#include <stdbool.h>’
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/scan_args.h:390:30:
error: unknown type name ‘bool’
  390 |                  bool f_var, bool f_hash, bool f_block,
      |                              ^~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/scan_args.h:390:30:
note: ‘bool’ is defined in header ‘<stdbool.h>’; this is probably fixable by
adding ‘#include <stdbool.h>’
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/scan_args.h:390:43:
error: unknown type name ‘bool’
  390 |                  bool f_var, bool f_hash, bool f_block,
      |                                           ^~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/scan_args.h:390:43:
note: ‘bool’ is defined in header ‘<stdbool.h>’; this is probably fixable by
adding ‘#include <stdbool.h>’
compiling node.c
In file included from
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/intern.h:41,
from
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/ruby.h:194:
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/intern/load.h:234:25:
error: unknown type name ‘bool’
  234 | void rb_ext_ractor_safe(bool flag);
      |                         ^~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/intern/load.h:1:1:
note: ‘bool’ is defined in header ‘<stdbool.h>’; this is probably fixable by
adding ‘#include <stdbool.h>’
  +++ |+#include <stdbool.h>
1 | #ifndef  RBIMPL_INTERN_LOAD_H                        /*-*-C++-*-vi:se
ft=cpp:*/
compiling plaintext.c
In file included from
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/encoding.h:21,
                 from commonmarker.h:10:
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/encoding/coderange.h:79:15:
error: unknown type name ‘bool’
   79 | static inline bool
      |               ^~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/encoding/coderange.h:1:1:
note: ‘bool’ is defined in header ‘<stdbool.h>’; this is probably fixable by
adding ‘#include <stdbool.h>’
  +++ |+#include <stdbool.h>
1 | #ifndef RUBY_INTERNAL_ENCODING_CODERANGE_H           /*-*-C++-*-vi:se
ft=cpp:*/
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/encoding/coderange.h:113:15:
error: unknown type name ‘bool’
  113 | static inline bool
      |               ^~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/encoding/coderange.h:113:15:
note: ‘bool’ is defined in header ‘<stdbool.h>’; this is probably fixable by
adding ‘#include <stdbool.h>’
In file included from
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/encoding/ctype.h:27,
from
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/encoding.h:22:
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/encoding/encoding.h:767:15:
error: unknown type name ‘bool’
  767 | static inline bool
      |               ^~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/encoding/encoding.h:25:1:
note: ‘bool’ is defined in header ‘<stdbool.h>’; this is probably fixable by
adding ‘#include <stdbool.h>’
   24 | #include "ruby/oniguruma.h"
  +++ |+#include <stdbool.h>
   25 | #include "ruby/internal/attr/const.h"
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/encoding/encoding.h:
In function ‘rb_enc_asciicompat’:
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/encoding/encoding.h:771:16:
error: ‘false’ undeclared (first use in this function)
  771 |         return false;
      |                ^~~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/encoding/encoding.h:771:16:
note: ‘false’ is defined in header ‘<stdbool.h>’; this is probably fixable by
adding ‘#include <stdbool.h>’
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/encoding/encoding.h:777:16:
error: ‘true’ undeclared (first use in this function)
  777 |         return true;
      |                ^~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/encoding/encoding.h:777:16:
note: ‘true’ is defined in header ‘<stdbool.h>’; this is probably fixable by
adding ‘#include <stdbool.h>’
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/encoding/encoding.h:
At top level:
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/encoding/encoding.h:788:15:
error: unknown type name ‘bool’
  788 | static inline bool
      |               ^~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/encoding/encoding.h:788:15:
note: ‘bool’ is defined in header ‘<stdbool.h>’; this is probably fixable by
adding ‘#include <stdbool.h>’
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/encoding/encoding.h:926:15:
error: unknown type name ‘bool’
  926 | static inline bool
      |               ^~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/encoding/encoding.h:926:15:
note: ‘bool’ is defined in header ‘<stdbool.h>’; this is probably fixable by
adding ‘#include <stdbool.h>’
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/encoding/ctype.h:42:15:
error: unknown type name ‘bool’
   42 | static inline bool
      |               ^~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/encoding/ctype.h:28:1:
note: ‘bool’ is defined in header ‘<stdbool.h>’; this is probably fixable by
adding ‘#include <stdbool.h>’
   27 | #include "ruby/internal/encoding/encoding.h"
  +++ |+#include <stdbool.h>
   28 | #include "ruby/internal/value.h"
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/encoding/ctype.h:62:15:
error: unknown type name ‘bool’
   62 | static inline bool
      |               ^~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/encoding/ctype.h:62:15:
note: ‘bool’ is defined in header ‘<stdbool.h>’; this is probably fixable by
adding ‘#include <stdbool.h>’
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/encoding/ctype.h:81:15:
error: unknown type name ‘bool’
   81 | static inline bool
      |               ^~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/encoding/ctype.h:81:15:
note: ‘bool’ is defined in header ‘<stdbool.h>’; this is probably fixable by
adding ‘#include <stdbool.h>’
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/encoding/ctype.h:95:15:
error: unknown type name ‘bool’
   95 | static inline bool
      |               ^~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/encoding/ctype.h:95:15:
note: ‘bool’ is defined in header ‘<stdbool.h>’; this is probably fixable by
adding ‘#include <stdbool.h>’
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/encoding/ctype.h:109:15:
error: unknown type name ‘bool’
  109 | static inline bool
      |               ^~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/encoding/ctype.h:109:15:
note: ‘bool’ is defined in header ‘<stdbool.h>’; this is probably fixable by
adding ‘#include <stdbool.h>’
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/encoding/ctype.h:123:15:
error: unknown type name ‘bool’
  123 | static inline bool
      |               ^~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/encoding/ctype.h:123:15:
note: ‘bool’ is defined in header ‘<stdbool.h>’; this is probably fixable by
adding ‘#include <stdbool.h>’
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/encoding/ctype.h:137:15:
error: unknown type name ‘bool’
  137 | static inline bool
      |               ^~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/encoding/ctype.h:137:15:
note: ‘bool’ is defined in header ‘<stdbool.h>’; this is probably fixable by
adding ‘#include <stdbool.h>’
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/encoding/ctype.h:151:15:
error: unknown type name ‘bool’
  151 | static inline bool
      |               ^~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/encoding/ctype.h:151:15:
note: ‘bool’ is defined in header ‘<stdbool.h>’; this is probably fixable by
adding ‘#include <stdbool.h>’
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/encoding/ctype.h:165:15:
error: unknown type name ‘bool’
  165 | static inline bool
      |               ^~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/encoding/ctype.h:165:15:
note: ‘bool’ is defined in header ‘<stdbool.h>’; this is probably fixable by
adding ‘#include <stdbool.h>’
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/encoding/ctype.h:179:15:
error: unknown type name ‘bool’
  179 | static inline bool
      |               ^~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/encoding/ctype.h:179:15:
note: ‘bool’ is defined in header ‘<stdbool.h>’; this is probably fixable by
adding ‘#include <stdbool.h>’
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/encoding/ctype.h:193:15:
error: unknown type name ‘bool’
  193 | static inline bool
      |               ^~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/encoding/ctype.h:193:15:
note: ‘bool’ is defined in header ‘<stdbool.h>’; this is probably fixable by
adding ‘#include <stdbool.h>’
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/encoding/ctype.h:207:15:
error: unknown type name ‘bool’
  207 | static inline bool
      |               ^~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/encoding/ctype.h:207:15:
note: ‘bool’ is defined in header ‘<stdbool.h>’; this is probably fixable by
adding ‘#include <stdbool.h>’
commonmarker.c: In function ‘rb_node_to_value’:
commonmarker.c:104:3: warning: ‘rb_data_object_wrap_warning’ is deprecated: by
TypedData [-Wdeprecated-declarations]
  104 |   val = Data_Wrap_Struct(rb_cNode, rb_mark_c_struct, free_func, node);
      |   ^~~
In file included from
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core.h:27:
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core/rdata.h:293:1:
note: declared here
293 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark,
RUBY_DATA_FUNC free)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
commonmarker.c: In function ‘rb_node_get_string_content’:
commonmarker.c:328:3: warning: ‘rb_data_object_get_warning’ is deprecated: by
TypedData [-Wdeprecated-declarations]
  328 |   Data_Get_Struct(self, cmark_node, node);
      |   ^~~~~~~~~~~~~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core/rdata.h:325:1:
note: declared here
  325 | rb_data_object_get_warning(VALUE obj)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
commonmarker.c: In function ‘rb_node_set_string_content’:
commonmarker.c:350:3: warning: ‘rb_data_object_get_warning’ is deprecated: by
TypedData [-Wdeprecated-declarations]
  350 |   Data_Get_Struct(self, cmark_node, node);
      |   ^~~~~~~~~~~~~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core/rdata.h:325:1:
note: declared here
  325 | rb_data_object_get_warning(VALUE obj)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
commonmarker.c: In function ‘rb_node_get_type’:
commonmarker.c:371:3: warning: ‘rb_data_object_get_warning’ is deprecated: by
TypedData [-Wdeprecated-declarations]
  371 |   Data_Get_Struct(self, cmark_node, node);
      |   ^~~~~~~~~~~~~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core/rdata.h:325:1:
note: declared here
  325 | rb_data_object_get_warning(VALUE obj)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
commonmarker.c: In function ‘rb_node_get_sourcepos’:
commonmarker.c:458:3: warning: ‘rb_data_object_get_warning’ is deprecated: by
TypedData [-Wdeprecated-declarations]
  458 |   Data_Get_Struct(self, cmark_node, node);
      |   ^~~~~~~~~~~~~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core/rdata.h:325:1:
note: declared here
  325 | rb_data_object_get_warning(VALUE obj)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
commonmarker.c: In function ‘rb_node_get_type_string’:
commonmarker.c:481:3: warning: ‘rb_data_object_get_warning’ is deprecated: by
TypedData [-Wdeprecated-declarations]
  481 |   Data_Get_Struct(self, cmark_node, node);
      |   ^~~~~~~~~~~~~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core/rdata.h:325:1:
note: declared here
  325 | rb_data_object_get_warning(VALUE obj)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
commonmarker.c: In function ‘rb_node_unlink’:
commonmarker.c:492:3: warning: ‘rb_data_object_get_warning’ is deprecated: by
TypedData [-Wdeprecated-declarations]
  492 |   Data_Get_Struct(self, cmark_node, node);
      |   ^~~~~~~~~~~~~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core/rdata.h:325:1:
note: declared here
  325 | rb_data_object_get_warning(VALUE obj)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
commonmarker.c: In function ‘rb_node_first_child’:
commonmarker.c:507:3: warning: ‘rb_data_object_get_warning’ is deprecated: by
TypedData [-Wdeprecated-declarations]
  507 |   Data_Get_Struct(self, cmark_node, node);
      |   ^~~~~~~~~~~~~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core/rdata.h:325:1:
note: declared here
  325 | rb_data_object_get_warning(VALUE obj)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
commonmarker.c: In function ‘rb_node_next’:
commonmarker.c:520:3: warning: ‘rb_data_object_get_warning’ is deprecated: by
TypedData [-Wdeprecated-declarations]
  520 |   Data_Get_Struct(self, cmark_node, node);
      |   ^~~~~~~~~~~~~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core/rdata.h:325:1:
note: declared here
  325 | rb_data_object_get_warning(VALUE obj)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
commonmarker.c: In function ‘rb_node_insert_before’:
commonmarker.c:537:3: warning: ‘rb_data_object_get_warning’ is deprecated: by
TypedData [-Wdeprecated-declarations]
  537 |   Data_Get_Struct(self, cmark_node, node1);
      |   ^~~~~~~~~~~~~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core/rdata.h:325:1:
note: declared here
  325 | rb_data_object_get_warning(VALUE obj)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
commonmarker.c:539:3: warning: ‘rb_data_object_get_warning’ is deprecated: by
TypedData [-Wdeprecated-declarations]
  539 |   Data_Get_Struct(sibling, cmark_node, node2);
      |   ^~~~~~~~~~~~~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core/rdata.h:325:1:
note: declared here
  325 | rb_data_object_get_warning(VALUE obj)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
commonmarker.c: In function ‘rb_render_html’:
commonmarker.c:567:3: warning: ‘rb_data_object_get_warning’ is deprecated: by
TypedData [-Wdeprecated-declarations]
  567 |   Data_Get_Struct(self, cmark_node, node);
      |   ^~~~~~~~~~~~~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core/rdata.h:325:1:
note: declared here
  325 | rb_data_object_get_warning(VALUE obj)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
commonmarker.c: In function ‘rb_render_xml’:
commonmarker.c:608:3: warning: ‘rb_data_object_get_warning’ is deprecated: by
TypedData [-Wdeprecated-declarations]
  608 |   Data_Get_Struct(self, cmark_node, node);
      |   ^~~~~~~~~~~~~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core/rdata.h:325:1:
note: declared here
  325 | rb_data_object_get_warning(VALUE obj)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
compiling plugin.c
commonmarker.c: In function ‘rb_render_commonmark’:
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/scan_args.h:368:5:
error: implicit declaration of function ‘rb_scan_args_set’; did you mean
‘rb_scan_args_kw’? [-Wimplicit-function-declaration]
  368 |     rb_scan_args_set(RB_SCAN_ARGS_PASS_CALLED_KEYWORDS, argc, argv, \
      |     ^~~~~~~~~~~~~~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/scan_args.h:498:9:
note: in expansion of macro ‘rb_scan_args0’
  498 |         rb_scan_args0(                                        \
      |         ^~~~~~~~~~~~~
commonmarker.c:624:3: note: in expansion of macro ‘rb_scan_args’
  624 |   rb_scan_args(argc, argv, "11", &rb_options, &rb_width);
      |   ^~~~~~~~~~~~
commonmarker.c:637:3: warning: ‘rb_data_object_get_warning’ is deprecated: by
TypedData [-Wdeprecated-declarations]
  637 |   Data_Get_Struct(self, cmark_node, node);
      |   ^~~~~~~~~~~~~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core/rdata.h:325:1:
note: declared here
  325 | rb_data_object_get_warning(VALUE obj)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
commonmarker.c: In function ‘rb_render_plaintext’:
commonmarker.c:665:3: warning: ‘rb_data_object_get_warning’ is deprecated: by
TypedData [-Wdeprecated-declarations]
  665 |   Data_Get_Struct(self, cmark_node, node);
      |   ^~~~~~~~~~~~~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core/rdata.h:325:1:
note: declared here
  325 | rb_data_object_get_warning(VALUE obj)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
commonmarker.c: In function ‘rb_node_insert_after’:
commonmarker.c:684:3: warning: ‘rb_data_object_get_warning’ is deprecated: by
TypedData [-Wdeprecated-declarations]
  684 |   Data_Get_Struct(self, cmark_node, node1);
      |   ^~~~~~~~~~~~~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core/rdata.h:325:1:
note: declared here
  325 | rb_data_object_get_warning(VALUE obj)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
commonmarker.c:686:3: warning: ‘rb_data_object_get_warning’ is deprecated: by
TypedData [-Wdeprecated-declarations]
  686 |   Data_Get_Struct(sibling, cmark_node, node2);
      |   ^~~~~~~~~~~~~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core/rdata.h:325:1:
note: declared here
  325 | rb_data_object_get_warning(VALUE obj)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
commonmarker.c: In function ‘rb_node_prepend_child’:
commonmarker.c:707:3: warning: ‘rb_data_object_get_warning’ is deprecated: by
TypedData [-Wdeprecated-declarations]
  707 |   Data_Get_Struct(self, cmark_node, node1);
      |   ^~~~~~~~~~~~~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core/rdata.h:325:1:
note: declared here
  325 | rb_data_object_get_warning(VALUE obj)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
commonmarker.c:709:3: warning: ‘rb_data_object_get_warning’ is deprecated: by
TypedData [-Wdeprecated-declarations]
  709 |   Data_Get_Struct(child, cmark_node, node2);
      |   ^~~~~~~~~~~~~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core/rdata.h:325:1:
note: declared here
  325 | rb_data_object_get_warning(VALUE obj)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
commonmarker.c: In function ‘rb_node_append_child’:
commonmarker.c:730:3: warning: ‘rb_data_object_get_warning’ is deprecated: by
TypedData [-Wdeprecated-declarations]
  730 |   Data_Get_Struct(self, cmark_node, node1);
      |   ^~~~~~~~~~~~~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core/rdata.h:325:1:
note: declared here
  325 | rb_data_object_get_warning(VALUE obj)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
commonmarker.c:732:3: warning: ‘rb_data_object_get_warning’ is deprecated: by
TypedData [-Wdeprecated-declarations]
  732 |   Data_Get_Struct(child, cmark_node, node2);
      |   ^~~~~~~~~~~~~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core/rdata.h:325:1:
note: declared here
  325 | rb_data_object_get_warning(VALUE obj)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
commonmarker.c: In function ‘rb_node_last_child’:
commonmarker.c:749:3: warning: ‘rb_data_object_get_warning’ is deprecated: by
TypedData [-Wdeprecated-declarations]
  749 |   Data_Get_Struct(self, cmark_node, node);
      |   ^~~~~~~~~~~~~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core/rdata.h:325:1:
note: declared here
  325 | rb_data_object_get_warning(VALUE obj)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
commonmarker.c: In function ‘rb_node_parent’:
commonmarker.c:762:3: warning: ‘rb_data_object_get_warning’ is deprecated: by
TypedData [-Wdeprecated-declarations]
  762 |   Data_Get_Struct(self, cmark_node, node);
      |   ^~~~~~~~~~~~~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core/rdata.h:325:1:
note: declared here
  325 | rb_data_object_get_warning(VALUE obj)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
commonmarker.c: In function ‘rb_node_previous’:
commonmarker.c:775:3: warning: ‘rb_data_object_get_warning’ is deprecated: by
TypedData [-Wdeprecated-declarations]
  775 |   Data_Get_Struct(self, cmark_node, node);
      |   ^~~~~~~~~~~~~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core/rdata.h:325:1:
note: declared here
  325 | rb_data_object_get_warning(VALUE obj)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
commonmarker.c: In function ‘rb_node_get_url’:
commonmarker.c:791:3: warning: ‘rb_data_object_get_warning’ is deprecated: by
TypedData [-Wdeprecated-declarations]
  791 |   Data_Get_Struct(self, cmark_node, node);
      |   ^~~~~~~~~~~~~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core/rdata.h:325:1:
note: declared here
  325 | rb_data_object_get_warning(VALUE obj)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
commonmarker.c: In function ‘rb_node_set_url’:
commonmarker.c:813:3: warning: ‘rb_data_object_get_warning’ is deprecated: by
TypedData [-Wdeprecated-declarations]
  813 |   Data_Get_Struct(self, cmark_node, node);
      |   ^~~~~~~~~~~~~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core/rdata.h:325:1:
note: declared here
  325 | rb_data_object_get_warning(VALUE obj)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
commonmarker.c: In function ‘rb_node_get_title’:
commonmarker.c:832:3: warning: ‘rb_data_object_get_warning’ is deprecated: by
TypedData [-Wdeprecated-declarations]
  832 |   Data_Get_Struct(self, cmark_node, node);
      |   ^~~~~~~~~~~~~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core/rdata.h:325:1:
note: declared here
  325 | rb_data_object_get_warning(VALUE obj)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
commonmarker.c: In function ‘rb_node_set_title’:
commonmarker.c:854:3: warning: ‘rb_data_object_get_warning’ is deprecated: by
TypedData [-Wdeprecated-declarations]
  854 |   Data_Get_Struct(self, cmark_node, node);
      |   ^~~~~~~~~~~~~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core/rdata.h:325:1:
note: declared here
  325 | rb_data_object_get_warning(VALUE obj)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
commonmarker.c: In function ‘rb_node_get_header_level’:
commonmarker.c:873:3: warning: ‘rb_data_object_get_warning’ is deprecated: by
TypedData [-Wdeprecated-declarations]
  873 |   Data_Get_Struct(self, cmark_node, node);
      |   ^~~~~~~~~~~~~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core/rdata.h:325:1:
note: declared here
  325 | rb_data_object_get_warning(VALUE obj)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
commonmarker.c: In function ‘rb_node_set_header_level’:
commonmarker.c:896:3: warning: ‘rb_data_object_get_warning’ is deprecated: by
TypedData [-Wdeprecated-declarations]
  896 |   Data_Get_Struct(self, cmark_node, node);
      |   ^~~~~~~~~~~~~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core/rdata.h:325:1:
note: declared here
  325 | rb_data_object_get_warning(VALUE obj)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
commonmarker.c: In function ‘rb_node_get_list_type’:
commonmarker.c:916:3: warning: ‘rb_data_object_get_warning’ is deprecated: by
TypedData [-Wdeprecated-declarations]
  916 |   Data_Get_Struct(self, cmark_node, node);
      |   ^~~~~~~~~~~~~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core/rdata.h:325:1:
note: declared here
  325 | rb_data_object_get_warning(VALUE obj)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
commonmarker.c: In function ‘rb_node_set_list_type’:
commonmarker.c:943:3: warning: ‘rb_data_object_get_warning’ is deprecated: by
TypedData [-Wdeprecated-declarations]
  943 |   Data_Get_Struct(self, cmark_node, node);
      |   ^~~~~~~~~~~~~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core/rdata.h:325:1:
note: declared here
  325 | rb_data_object_get_warning(VALUE obj)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
commonmarker.c: In function ‘rb_node_get_list_start’:
commonmarker.c:969:3: warning: ‘rb_data_object_get_warning’ is deprecated: by
TypedData [-Wdeprecated-declarations]
  969 |   Data_Get_Struct(self, cmark_node, node);
      |   ^~~~~~~~~~~~~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core/rdata.h:325:1:
note: declared here
  325 | rb_data_object_get_warning(VALUE obj)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
commonmarker.c: In function ‘rb_node_set_list_start’:
commonmarker.c:993:3: warning: ‘rb_data_object_get_warning’ is deprecated: by
TypedData [-Wdeprecated-declarations]
  993 |   Data_Get_Struct(self, cmark_node, node);
      |   ^~~~~~~~~~~~~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core/rdata.h:325:1:
note: declared here
  325 | rb_data_object_get_warning(VALUE obj)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
commonmarker.c: In function ‘rb_node_get_list_tight’:
commonmarker.c:1012:3: warning: ‘rb_data_object_get_warning’ is deprecated: by
TypedData [-Wdeprecated-declarations]
 1012 |   Data_Get_Struct(self, cmark_node, node);
      |   ^~~~~~~~~~~~~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core/rdata.h:325:1:
note: declared here
  325 | rb_data_object_get_warning(VALUE obj)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
commonmarker.c: In function ‘rb_node_set_list_tight’:
commonmarker.c:1033:3: warning: ‘rb_data_object_get_warning’ is deprecated: by
TypedData [-Wdeprecated-declarations]
 1033 |   Data_Get_Struct(self, cmark_node, node);
      |   ^~~~~~~~~~~~~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core/rdata.h:325:1:
note: declared here
  325 | rb_data_object_get_warning(VALUE obj)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
commonmarker.c: In function ‘rb_node_get_fence_info’:
commonmarker.c:1052:3: warning: ‘rb_data_object_get_warning’ is deprecated: by
TypedData [-Wdeprecated-declarations]
 1052 |   Data_Get_Struct(self, cmark_node, node);
      |   ^~~~~~~~~~~~~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core/rdata.h:325:1:
note: declared here
  325 | rb_data_object_get_warning(VALUE obj)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
commonmarker.c: In function ‘rb_node_set_fence_info’:
commonmarker.c:1075:3: warning: ‘rb_data_object_get_warning’ is deprecated: by
TypedData [-Wdeprecated-declarations]
 1075 |   Data_Get_Struct(self, cmark_node, node);
      |   ^~~~~~~~~~~~~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core/rdata.h:325:1:
note: declared here
  325 | rb_data_object_get_warning(VALUE obj)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
commonmarker.c: In function ‘rb_node_get_tasklist_item_checked’:
commonmarker.c:1088:3: warning: ‘rb_data_object_get_warning’ is deprecated: by
TypedData [-Wdeprecated-declarations]
 1088 |   Data_Get_Struct(self, cmark_node, node);
      |   ^~~~~~~~~~~~~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core/rdata.h:325:1:
note: declared here
  325 | rb_data_object_get_warning(VALUE obj)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
commonmarker.c: In function ‘rb_node_set_tasklist_item_checked’:
commonmarker.c:1110:3: warning: ‘rb_data_object_get_warning’ is deprecated: by
TypedData [-Wdeprecated-declarations]
 1110 |   Data_Get_Struct(self, cmark_node, node);
      |   ^~~~~~~~~~~~~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core/rdata.h:325:1:
note: declared here
  325 | rb_data_object_get_warning(VALUE obj)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
commonmarker.c: In function ‘rb_node_get_tasklist_state’:
commonmarker.c:1128:3: warning: ‘rb_data_object_get_warning’ is deprecated: by
TypedData [-Wdeprecated-declarations]
 1128 |   Data_Get_Struct(self, cmark_node, node);
      |   ^~~~~~~~~~~~~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core/rdata.h:325:1:
note: declared here
  325 | rb_data_object_get_warning(VALUE obj)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
commonmarker.c: In function ‘rb_node_get_table_alignments’:
commonmarker.c:1144:3: warning: ‘rb_data_object_get_warning’ is deprecated: by
TypedData [-Wdeprecated-declarations]
 1144 |   Data_Get_Struct(self, cmark_node, node);
      |   ^~~~~~~~~~~~~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core/rdata.h:325:1:
note: declared here
  325 | rb_data_object_get_warning(VALUE obj)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
commonmarker.c: In function ‘rb_html_escape_href’:
commonmarker.c:1173:3: warning: ‘rb_data_object_get_warning’ is deprecated: by
TypedData [-Wdeprecated-declarations]
 1173 |   Data_Get_Struct(self, cmark_node, node);
      |   ^~~~~~~~~~~~~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core/rdata.h:325:1:
note: declared here
  325 | rb_data_object_get_warning(VALUE obj)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
commonmarker.c: In function ‘rb_html_escape_html’:
commonmarker.c:1194:3: warning: ‘rb_data_object_get_warning’ is deprecated: by
TypedData [-Wdeprecated-declarations]
 1194 |   Data_Get_Struct(self, cmark_node, node);
      |   ^~~~~~~~~~~~~~~
/home/marek/.rvm/rubies/ruby-3.4.4/include/ruby-3.4.0/ruby/internal/core/rdata.h:325:1:
note: declared here
  325 | rb_data_object_get_warning(VALUE obj)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
commonmarker.c: In function ‘Init_commonmarker’:
commonmarker.c:1224:45: warning: old-style function definition
[-Wold-style-definition]
 1224 | __attribute__((visibility("default"))) void Init_commonmarker() {
      |                                             ^~~~~~~~~~~~~~~~~
compiling references.c
compiling registry.c
compiling render.c
compiling scanners.c
compiling strikethrough.c
compiling syntax_extension.c
At top level:
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been
intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have
been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may
have been intended to silence earlier diagnostics
compiling table.c
make: *** [Makefile:251: commonmarker.o] Error 1
make: *** Waiting for unfinished jobs....
At top level:
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been
intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have
been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may
have been intended to silence earlier diagnostics

make failed, exit code 2

Gem files will remain installed in
/home/marek/.rvm/gems/ruby-3.4.4/gems/commonmarker-0.23.10 for inspection.
Results logged to
/home/marek/.rvm/gems/ruby-3.4.4/extensions/x86_64-linux/3.4.0/commonmarker-0.23.10/gem_make.out

/home/marek/.rvm/rubies/ruby-3.4.4/lib/ruby/site_ruby/3.4.0/rubygems/ext/builder.rb:125:in
'Gem::Ext::Builder.run'
/home/marek/.rvm/rubies/ruby-3.4.4/lib/ruby/site_ruby/3.4.0/rubygems/ext/builder.rb:51:in
'block in Gem::Ext::Builder.make'
/home/marek/.rvm/rubies/ruby-3.4.4/lib/ruby/site_ruby/3.4.0/rubygems/ext/builder.rb:43:in
'Array#each'
/home/marek/.rvm/rubies/ruby-3.4.4/lib/ruby/site_ruby/3.4.0/rubygems/ext/builder.rb:43:in
'Gem::Ext::Builder.make'
/home/marek/.rvm/rubies/ruby-3.4.4/lib/ruby/site_ruby/3.4.0/rubygems/ext/ext_conf_builder.rb:44:in
'Gem::Ext::ExtConfBuilder.build'
/home/marek/.rvm/rubies/ruby-3.4.4/lib/ruby/site_ruby/3.4.0/rubygems/ext/builder.rb:206:in
'Gem::Ext::Builder#build_extension'
/home/marek/.rvm/rubies/ruby-3.4.4/lib/ruby/site_ruby/3.4.0/rubygems/ext/builder.rb:240:in
'block in Gem::Ext::Builder#build_extensions'
/home/marek/.rvm/rubies/ruby-3.4.4/lib/ruby/site_ruby/3.4.0/rubygems/ext/builder.rb:237:in
'Array#each'
/home/marek/.rvm/rubies/ruby-3.4.4/lib/ruby/site_ruby/3.4.0/rubygems/ext/builder.rb:237:in
'Gem::Ext::Builder#build_extensions'
/home/marek/.rvm/rubies/ruby-3.4.4/lib/ruby/site_ruby/3.4.0/rubygems/installer.rb:844:in
'Gem::Installer#build_extensions'
/home/marek/.rvm/gems/ruby-3.4.4/gems/bundler-2.5.6/lib/bundler/rubygems_gem_installer.rb:76:in
'Bundler::RubyGemsGemInstaller#build_extensions'
/home/marek/.rvm/gems/ruby-3.4.4/gems/bundler-2.5.6/lib/bundler/rubygems_gem_installer.rb:28:in
'Bundler::RubyGemsGemInstaller#install'
/home/marek/.rvm/gems/ruby-3.4.4/gems/bundler-2.5.6/lib/bundler/source/rubygems.rb:205:in
'Bundler::Source::Rubygems#install'
/home/marek/.rvm/gems/ruby-3.4.4/gems/bundler-2.5.6/lib/bundler/installer/gem_installer.rb:54:in
'Bundler::GemInstaller#install'
/home/marek/.rvm/gems/ruby-3.4.4/gems/bundler-2.5.6/lib/bundler/installer/gem_installer.rb:16:in
'Bundler::GemInstaller#install_from_spec'
/home/marek/.rvm/gems/ruby-3.4.4/gems/bundler-2.5.6/lib/bundler/installer/parallel_installer.rb:132:in
'Bundler::ParallelInstaller#do_install'
/home/marek/.rvm/gems/ruby-3.4.4/gems/bundler-2.5.6/lib/bundler/installer/parallel_installer.rb:123:in
'block in Bundler::ParallelInstaller#worker_pool'
/home/marek/.rvm/gems/ruby-3.4.4/gems/bundler-2.5.6/lib/bundler/worker.rb:62:in
'Bundler::Worker#apply_func'
/home/marek/.rvm/gems/ruby-3.4.4/gems/bundler-2.5.6/lib/bundler/worker.rb:57:in
'block in Bundler::Worker#process_queue'
  <internal:kernel>:168:in 'Kernel#loop'
/home/marek/.rvm/gems/ruby-3.4.4/gems/bundler-2.5.6/lib/bundler/worker.rb:54:in
'Bundler::Worker#process_queue'
/home/marek/.rvm/gems/ruby-3.4.4/gems/bundler-2.5.6/lib/bundler/worker.rb:90:in
'block (2 levels) in Bundler::Worker#create_threads'

An error occurred while installing commonmarker (0.23.10), and Bundler
cannot continue.

In Gemfile:
  github-pages was resolved to 231, which depends on
    jekyll-commonmark-ghpages was resolved to 0.4.0, which depends on
      jekyll-commonmark was resolved to 1.4.0, which depends on
        commonmarker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Cannot find "jekyll-theme-primer" stylesheet to import when running 'jekyll build' command.
2 participants