PrimeIntellect/SWE-rebench-V2 huggingface dataset:
Repository: jorgecarleitao/arrow2 (rust)

Issue:
Dependency on arrow-format 0.4 limits tonic and prost to respectively versions 0.6 and 0.9.
Crate `arrow2` version 0.11 cannot be used with the `io_flight` feature if the application uses a newer version of `tonic` or `prost`.

I have opened a PR against `arrow-format` but the repository looks stale since October 2021: https://github.com/DataEngineeringLabs/arrow-format/pull/4

Pull request:
Bumped arrow-format
This brings us to tonic ecosystem to 0.7

Closes #1010 - thanks @GPSnoopy for the idea!

Patch:
diff --git a/Cargo.toml b/Cargo.toml
index 6f8748690e..397b7dabc3 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -47,7 +47,7 @@ indexmap = { version = "^1.6", optional = true }
 # used to print columns in a nice columnar format
 comfy-table = { version = "5.0", optional = true, default-features = false }
 
-arrow-format = { version = "0.4", optional = true, features = ["ipc"] }
+arrow-format = { version = "0.6", optional = true, features = ["ipc"] }
 
 hex = { version = "^0.4", optional = true }
 


Test patch:
diff --git a/integration-testing/Cargo.toml b/integration-testing/Cargo.toml
index 3501c3ddea..11488b17aa 100644
--- a/integration-testing/Cargo.toml
+++ b/integration-testing/Cargo.toml
@@ -29,15 +29,15 @@ logging = ["tracing-subscriber"]
 
 [dependencies]
 arrow2 = { path = "../", features = ["io_ipc", "io_ipc_compression", "io_flight", "io_json_integration"] }
-arrow-format = { version = "0.4", features = ["full"] }
+arrow-format = { version = "0.6", features = ["full"] }
 async-trait = "0.1.41"
 clap = { version = "^3", features = ["derive"] }
 futures = "0.3"
 hex = "0.4"
-prost = "0.9"
+prost = "0.10"
 serde = { version = "1.0", features = ["rc"] }
 serde_derive = "1.0"
 serde_json = { version = "1.0", features = ["preserve_order"] }
 tokio = { version = "1.0", features = ["macros", "rt", "rt-multi-thread"] }
-tonic = "0.6.0"
+tonic = "0.7.0"
 tracing-subscriber = { version = "0.3.1", optional = true }
Repository: joernio/joern (scala)

Issue:
[Bug][rubysrc2cpg] - token recognition error at: '\u'
**Describe the bug**

Error while processing the below line. 

```
sample = "AB\u0003\u0004\u0014\u0000\u0000\u0000\b\u0000\u0000\u0000!\u0000file"
```

Pull request:
Closes #3202

Patch:
diff --git a/joern-cli/frontends/rubysrc2cpg/src/main/antlr4/io/joern/rubysrc2cpg/parser/RubyLexer.g4 b/joern-cli/frontends/rubysrc2cpg/src/main/antlr4/io/joern/rubysrc2cpg/parser/RubyLexer.g4
index ff3dc417bec2..bd968f5d8189 100644
--- a/joern-cli/frontends/rubysrc2cpg/src/main/antlr4/io/joern/rubysrc2cpg/parser/RubyLexer.g4
+++ b/joern-cli/frontends/rubysrc2cpg/src/main/antlr4/io/joern/rubysrc2cpg/parser/RubyLexer.g4
@@ -615,7 +615,7 @@ fragment SIMPLE_ESCAPE_SEQUENCE
     ;
 
 fragment DOUBLE_ESCAPED_CHARACTER
-    :   [ntrfvaebs]
+    :   [ntrfvaebsu]
     ;
 
 // --------------------------------------------------------


Test patch:
diff --git a/joern-cli/frontends/rubysrc2cpg/src/test/scala/io/joern/rubysrc2cpg/parser/RubyLexerTests.scala b/joern-cli/frontends/rubysrc2cpg/src/test/scala/io/joern/rubysrc2cpg/parser/RubyLexerTests.scala
index c42ee79a2d5d..512775f5c7b4 100644
--- a/joern-cli/frontends/rubysrc2cpg/src/test/scala/io/joern/rubysrc2cpg/parser/RubyLexerTests.scala
+++ b/joern-cli/frontends/rubysrc2cpg/src/test/scala/io/joern/rubysrc2cpg/parser/RubyLexerTests.scala
@@ -194,6 +194,16 @@ class RubyLexerTests extends AnyFlatSpec with Matchers {
     )
   }
 
+  "Double-quoted string literals containing `\\u` character sequences" should "be recognized as such" in {
+    val code = """"AB\u0003\u0004\u0014\u0000\u0000\u0000\b\u0000\u0000\u0000!\u0000file""""
+    tokenize(code) shouldBe Seq(
+      DOUBLE_QUOTED_STRING_START,
+      DOUBLE_QUOTED_STRING_CHARACTER_SEQUENCE,
+      DOUBLE_QUOTED_STRING_END,
+      EOF
+    )
+  }
+
   "Interpolated double-quoted string literal" should "be recognized as such" in {
     val code = "\"x is #{1+1}\""
     tokenize(code) shouldBe Seq(