Task #117733 - added.err
back to task #117733download
Error: CLIPPY_WARNING:
crates/goose-cli/src/session/streaming_buffer.rs:419:17: warning: this `if` can be collapsed into the outer `match`
# |
# 419 | / if !state.in_link_text && !state.in_image_alt {
# 420 | | state.in_link_text = true;
# 421 | | }
# | |_________________^
# |
# = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.95.0/index.html#collapsible_match
# = note: `#[warn(clippy::collapsible_match)]` on by default
# help: collapse nested if block
# |
# 418 ~ "["
# 419 ~ if !state.in_link_text && !state.in_image_alt => {
# 420 | state.in_link_text = true;
# 421 ~ }
# |
Error: CLIPPY_WARNING:
crates/goose-cli/src/session/streaming_buffer.rs:434:17: warning: this `if` can be collapsed into the outer `match`
# |
# 434 | / if state.in_link_url {
# 435 | | state.in_link_url = false;
# 436 | | }
# | |_________________^
# |
# = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.95.0/index.html#collapsible_match
# help: collapse nested if block
# |
# 433 ~ ")"
# 434 ~ if state.in_link_url => {
# 435 | state.in_link_url = false;
# 436 ~ }
# |
Error: CLIPPY_WARNING:
crates/goose-server/src/routes/session.rs:457:11: warning: unused variable: `state`
# |
# 457 | State(state): State<Arc<AppState>>,
# | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
# |
# = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
Error: CLIPPY_WARNING:
crates/goose-server/src/routes/session.rs:458:10: warning: unused variable: `request`
# |
# 458 | Json(request): Json<ImportSessionNostrRequest>,
# | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
Error: CLIPPY_WARNING:
crates/goose/src/acp/provider.rs:1219:17: warning: this `if` can be collapsed into the outer `match`
# |
# 1219 | / if !capabilities.http {
# 1220 | | tracing::debug!(
# 1221 | | name = http.name,
# 1222 | | "skipping HTTP server, agent lacks capability"
# ... |
# 1226 | | true
# 1227 | | }
# | |_________________^
# |
# = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.95.0/index.html#collapsible_match
# = note: `#[warn(clippy::collapsible_match)]` on by default
# help: collapse nested if block
# |
# 1218 ~ McpServer::Http(http)
# 1219 ~ if !capabilities.http => {
# 1220 | tracing::debug!(
# ...
# 1224 | false
# 1225 ~ }
# |
Error: CLIPPY_WARNING:
crates/goose/src/agents/agent.rs:1994:45: warning: called `unwrap_err` on `request.tool_call` after checking its variant with `is_ok`
# |
# 1968 | ... if request.tool_call.is_ok() {
# | ---------------------------- help: try: `if let Err(<item>) = &request.tool_call`
# ...
# 1994 | ... request.tool_call.as_ref().unwrap_err(),
# | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# |
# = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.95.0/index.html#unnecessary_unwrap
# = note: `#[warn(clippy::unnecessary_unwrap)]` on by default
Error: CLIPPY_WARNING:
crates/goose/src/agents/platform_extensions/analyze/format.rs:51:9: warning: consider using `sort_by_key`
# |
# 51 | langs.sort_by(|a, b| b.1.cmp(&a.1));
# | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# |
# = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.95.0/index.html#unnecessary_sort_by
# = note: `#[warn(clippy::unnecessary_sort_by)]` on by default
# help: try
# |
# 51 - langs.sort_by(|a, b| b.1.cmp(&a.1));
# 51 + langs.sort_by_key(|b| std::cmp::Reverse(b.1));
# |
Error: CLIPPY_WARNING:
crates/goose/src/agents/platform_extensions/orchestrator.rs:185:9: warning: consider using `sort_by_key`
# |
# 185 | sessions.sort_by(|a, b| b.updated_at.cmp(&a.updated_at));
# | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# |
# = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.95.0/index.html#unnecessary_sort_by
# help: try
# |
# 185 - sessions.sort_by(|a, b| b.updated_at.cmp(&a.updated_at));
# 185 + sessions.sort_by_key(|b| std::cmp::Reverse(b.updated_at));
# |
Error: CLIPPY_WARNING:
crates/goose/src/gateway/handler.rs:397:37: warning: this `if` can be collapsed into the outer `match`
# |
# 397 | / ... if !t.text.is_empty() {
# 398 | | ... pending_text.push_str(&t.text);
# 399 | | ... }
# | |_______________________^
# |
# = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.95.0/index.html#collapsible_match
# help: collapse nested if block
# |
# 396 ~ MessageContent::Text(t)
# 397 ~ if !t.text.is_empty() => {
# 398 | pending_text.push_str(&t.text);
# 399 ~ }
# |
Error: CLIPPY_WARNING:
crates/goose/src/providers/base.rs:242:17: warning: this `if` can be collapsed into the outer `match`
# |
# 242 | / if byte == quote_byte {
# 243 | | quote = None;
# 244 | | }
# | |_________________^
# |
# = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.95.0/index.html#collapsible_match
# help: collapse nested if block
# |
# 241 ~ Some(quote_byte)
# 242 ~ if byte == quote_byte => {
# 243 | quote = None;
# 244 ~ }
# |
Error: CLIPPY_WARNING:
crates/goose/src/providers/base.rs:292:17: warning: this `if` can be collapsed into the outer `match`
# |
# 292 | / if byte == quote_byte {
# 293 | | quote = None;
# 294 | | }
# | |_________________^
# |
# = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.95.0/index.html#collapsible_match
# help: collapse nested if block
# |
# 291 ~ Some(quote_byte)
# 292 ~ if byte == quote_byte => {
# 293 | quote = None;
# 294 ~ }
# |
Error: CLIPPY_WARNING:
crates/goose/src/providers/utils.rs:580:17: warning: this `if` can be collapsed into the outer `match`
# |
# 580 | / if closers.last() == Some(&c) {
# 581 | | closers.pop();
# 582 | | }
# | |_________________^
# |
# = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.95.0/index.html#collapsible_match
# help: collapse nested if block
# |
# 579 ~ '}' | ']'
# 580 ~ if closers.last() == Some(&c) => {
# 581 | closers.pop();
# 582 ~ }
# |
Error: GCC_ANALYZER_WARNING (CWE-401):
goose-1.35.0/vendor/sys-info-0.9.1/c/linux.c: scope_hint: In function 'seen_before'
goose-1.35.0/vendor/sys-info-0.9.1/c/linux.c:130:24: warning[-Wanalyzer-malloc-leak]: leak of 'np'
# 128| for (hashval=0; *s != '\0'; s++)
# 129| hashval = *s + 31 * hashval;
# 130|-> return hashval % DFHASHSIZE;
# 131| }
# 132|
Error: GCC_ANALYZER_WARNING (CWE-688):
goose-1.35.0/vendor/tree-sitter-python-0.25.0/src/scanner.c:408:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL '*(Scanner *)payload.delimiters.contents' where non-null expected
goose-1.35.0/vendor/tree-sitter-python-0.25.0/src/scanner.c:396:5: note: in expansion of macro 'array_delete'
goose-1.35.0/vendor/tree-sitter-python-0.25.0/src/scanner.c:396:5: note: in expansion of macro 'array_delete'
goose-1.35.0/vendor/tree-sitter-python-0.25.0/src/scanner.c:406:13: note: in expansion of macro 'array_reserve'
goose-1.35.0/vendor/tree-sitter-python-0.25.0/src/scanner.c:406:13: note: in expansion of macro 'array_reserve'
goose-1.35.0/vendor/tree-sitter-python-0.25.0/src/tree_sitter/array.h: scope_hint: In function 'tree_sitter_python_external_scanner_deserialize'
goose-1.35.0/vendor/tree-sitter-python-0.25.0/src/tree_sitter/array.h:188:24: note: in expansion of macro 'ts_malloc'
goose-1.35.0/vendor/tree-sitter-python-0.25.0/src/tree_sitter/array.h:188:24: note: in expansion of macro 'ts_malloc'
goose-1.35.0/vendor/tree-sitter-python-0.25.0/src/scanner.c:406:13: note: in expansion of macro 'array_reserve'
goose-1.35.0/vendor/tree-sitter-python-0.25.0/src/scanner.c: scope_hint: In function 'tree_sitter_python_external_scanner_deserialize'
/usr/include/string.h:47:14: note: argument 1 of 'memcpy' must be non-null
# 406| array_reserve(&scanner->delimiters, delimiter_count);
# 407| scanner->delimiters.size = delimiter_count;
# 408|-> memcpy(scanner->delimiters.contents, &buffer[size], delimiter_count);
# 409| size += delimiter_count;
# 410| }
Error: GCC_ANALYZER_WARNING (CWE-476):
goose-1.35.0/vendor/tree-sitter-python-0.25.0/src/scanner.c: scope_hint: In function 'tree_sitter_python_external_scanner_deserialize'
goose-1.35.0/vendor/tree-sitter-python-0.25.0/src/tree_sitter/array.h:65:37: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL '*(Scanner *)payload.indents.contents + (long unsigned int)*(Scanner *)payload.indents.size * 2'
goose-1.35.0/vendor/tree-sitter-python-0.25.0/src/scanner.c:397:5: note: in expansion of macro 'array_push'
goose-1.35.0/vendor/tree-sitter-python-0.25.0/src/scanner.c:395:5: note: in expansion of macro 'array_delete'
goose-1.35.0/vendor/tree-sitter-python-0.25.0/src/scanner.c:395:5: note: in expansion of macro 'array_delete'
goose-1.35.0/vendor/tree-sitter-python-0.25.0/src/scanner.c:396:5: note: in expansion of macro 'array_delete'
goose-1.35.0/vendor/tree-sitter-python-0.25.0/src/tree_sitter/array.h:165:5: note: in expansion of macro 'ts_free'
goose-1.35.0/vendor/tree-sitter-python-0.25.0/src/scanner.c:396:5: note: in expansion of macro 'array_delete'
goose-1.35.0/vendor/tree-sitter-python-0.25.0/src/scanner.c:397:5: note: in expansion of macro 'array_push'
goose-1.35.0/vendor/tree-sitter-python-0.25.0/src/tree_sitter/array.h: scope_hint: In function 'tree_sitter_python_external_scanner_deserialize'
goose-1.35.0/vendor/tree-sitter-python-0.25.0/src/tree_sitter/array.h:188:24: note: in expansion of macro 'ts_malloc'
goose-1.35.0/vendor/tree-sitter-python-0.25.0/src/tree_sitter/array.h:188:24: note: in expansion of macro 'ts_malloc'
goose-1.35.0/vendor/tree-sitter-python-0.25.0/src/scanner.c: scope_hint: In function 'tree_sitter_python_external_scanner_deserialize'
goose-1.35.0/vendor/tree-sitter-python-0.25.0/src/scanner.c:397:5: note: in expansion of macro 'array_push'
goose-1.35.0/vendor/tree-sitter-python-0.25.0/src/scanner.c:397:5: note: in expansion of macro 'array_push'
# 63| #define array_push(self, element) \
# 64| (_array__grow((Array *)(self), 1, array_elem_size(self)), \
# 65|-> (self)->contents[(self)->size++] = (element))
# 66|
# 67| /// Increase the array's size by `count` elements.
Error: GCC_ANALYZER_WARNING (CWE-688):
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/scanner.c:154:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL 'heredoc.word.contents' where non-null expected
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/scanner.c:87:5: note: in expansion of macro 'array_delete'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/scanner.c:87:5: note: in expansion of macro 'array_delete'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/scanner.c:153:9: note: in expansion of macro 'array_reserve'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/tree_sitter/array.h: scope_hint: In function 'deserialize'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/tree_sitter/array.h:187:24: note: in expansion of macro 'ts_malloc'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/tree_sitter/array.h:187:24: note: in expansion of macro 'ts_malloc'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/scanner.c:153:9: note: in expansion of macro 'array_reserve'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/scanner.c: scope_hint: In function 'deserialize'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/tree_sitter/array.h:14: included_from: Included from here.
/usr/include/string.h:47:14: note: argument 1 of 'memcpy' must be non-null
# 152| uint8_t word_length = buffer[size++];
# 153| array_reserve(&heredoc.word, word_length);
# 154|-> memcpy(heredoc.word.contents, &buffer[size], word_length);
# 155| heredoc.word.size = word_length;
# 156| size += word_length;
Error: GCC_ANALYZER_WARNING (CWE-401):
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/scanner.c:161:1: warning[-Wanalyzer-malloc-leak]: leak of 'heredoc.word.contents'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/scanner.c:83:5: note: in expansion of macro 'array_delete'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/tree_sitter/array.h:164:5: note: in expansion of macro 'ts_free'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/scanner.c:83:5: note: in expansion of macro 'array_delete'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/scanner.c:87:5: note: in expansion of macro 'array_delete'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/scanner.c:87:5: note: in expansion of macro 'array_delete'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/scanner.c:153:9: note: in expansion of macro 'array_reserve'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/tree_sitter/array.h: scope_hint: In function 'deserialize'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/tree_sitter/array.h:187:24: note: in expansion of macro 'ts_malloc'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/tree_sitter/array.h:187:24: note: in expansion of macro 'ts_malloc'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/scanner.c:153:9: note: in expansion of macro 'array_reserve'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/scanner.c: scope_hint: In function 'deserialize'
# 159|
# 160| assert(size == length);
# 161|-> }
# 162|
# 163| static inline bool scan_whitespace(Scanner *scanner, TSLexer *lexer, const bool *valid_symbols) {
Error: GCC_ANALYZER_WARNING (CWE-476):
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/scanner.c:2: included_from: Included from here.
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/scanner.c: scope_hint: In function 'deserialize'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/tree_sitter/array.h:64:37: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL '*scanner.literal_stack.contents + (long unsigned int)*scanner.literal_stack.size * 20'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/scanner.c:141:9: note: in expansion of macro 'array_push'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/scanner.c:83:5: note: in expansion of macro 'array_delete'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/scanner.c:1: included_from: Included from here.
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/tree_sitter/array.h:164:5: note: in expansion of macro 'ts_free'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/scanner.c:83:5: note: in expansion of macro 'array_delete'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/scanner.c:87:5: note: in expansion of macro 'array_delete'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/scanner.c:87:5: note: in expansion of macro 'array_delete'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/scanner.c:141:9: note: in expansion of macro 'array_push'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/tree_sitter/array.h: scope_hint: In function 'deserialize'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/tree_sitter/array.h:187:24: note: in expansion of macro 'ts_malloc'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/tree_sitter/array.h:187:24: note: in expansion of macro 'ts_malloc'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/scanner.c: scope_hint: In function 'deserialize'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/scanner.c:141:9: note: in expansion of macro 'array_push'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/scanner.c:141:9: note: in expansion of macro 'array_push'
# 62| #define array_push(self, element) \
# 63| (_array__grow((Array *)(self), 1, array_elem_size(self)), \
# 64|-> (self)->contents[(self)->size++] = (element))
# 65|
# 66| /// Increase the array's size by `count` elements.
Error: GCC_ANALYZER_WARNING (CWE-476):
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/tree_sitter/array.h:64:37: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL '*scanner.open_heredocs.contents + (long unsigned int)*scanner.open_heredocs.size * 24'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/scanner.c:157:9: note: in expansion of macro 'array_push'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/scanner.c:83:5: note: in expansion of macro 'array_delete'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/tree_sitter/array.h:164:5: note: in expansion of macro 'ts_free'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/scanner.c:83:5: note: in expansion of macro 'array_delete'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/scanner.c:87:5: note: in expansion of macro 'array_delete'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/tree_sitter/array.h:164:5: note: in expansion of macro 'ts_free'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/scanner.c:87:5: note: in expansion of macro 'array_delete'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/scanner.c:153:9: note: in expansion of macro 'array_reserve'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/tree_sitter/array.h: scope_hint: In function 'deserialize'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/tree_sitter/array.h:187:24: note: in expansion of macro 'ts_malloc'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/scanner.c:153:9: note: in expansion of macro 'array_reserve'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/scanner.c: scope_hint: In function 'deserialize'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/scanner.c:157:9: note: in expansion of macro 'array_push'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/tree_sitter/array.h: scope_hint: In function 'deserialize'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/tree_sitter/array.h:187:24: note: in expansion of macro 'ts_malloc'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/tree_sitter/array.h:187:24: note: in expansion of macro 'ts_malloc'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/scanner.c: scope_hint: In function 'deserialize'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/scanner.c:157:9: note: in expansion of macro 'array_push'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/scanner.c:157:9: note: in expansion of macro 'array_push'
# 62| #define array_push(self, element) \
# 63| (_array__grow((Array *)(self), 1, array_elem_size(self)), \
# 64|-> (self)->contents[(self)->size++] = (element))
# 65|
# 66| /// Increase the array's size by `count` elements.
Error: GCC_ANALYZER_WARNING (CWE-476):
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/scanner.c: scope_hint: In function 'scan_heredoc_word'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/tree_sitter/array.h:64:37: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL 'word.contents'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/scanner.c:608:17: note: in expansion of macro 'array_push'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/scanner.c: scope_hint: In function 'scan_heredoc_word'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/scanner.c: scope_hint: In function 'scan_heredoc_word'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/scanner.c:608:17: note: in expansion of macro 'array_push'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/scanner.c:608:17: note: in expansion of macro 'array_push'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/tree_sitter/array.h: scope_hint: In function 'scan_heredoc_word'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/tree_sitter/array.h:187:24: note: in expansion of macro 'ts_malloc'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/tree_sitter/array.h:187:24: note: in expansion of macro 'ts_malloc'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/scanner.c: scope_hint: In function 'scan_heredoc_word'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/scanner.c:608:17: note: in expansion of macro 'array_push'
goose-1.35.0/vendor/tree-sitter-ruby-0.23.1/src/scanner.c:608:17: note: in expansion of macro 'array_push'
# 62| #define array_push(self, element) \
# 63| (_array__grow((Array *)(self), 1, array_elem_size(self)), \
# 64|-> (self)->contents[(self)->size++] = (element))
# 65|
# 66| /// Increase the array's size by `count` elements.