sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: next.js
Issue: [Turbopack] Error: ENOENT: no such file or directory, open '[project]/......'
Labels: Turbopack

### Link to the code that reproduces this issue

https://github.com/HMubaireek/nextjs-turbopack-zeebe-node

### To Reproduce

1. Clone the repo, run npm install, then serve the app with: `npx nx dev nextjs-with-zeebe-node --turbo`
2. Open this link in the browser: `http://localhost:3000/api/zeebe`
3. See the error in terminal.

### Current vs. Expected behavior

This is the error that appears:

```sh
Error: ENOENT: no such file or directory, open '[project]/node_modules/zeebe-node/dist/proto/zeebe.proto'
    at GET (apps/nextjs-with-zeebe-node/src/app/api/zeebe/route.ts:10:22)
   8 |
   9 |   try{
> 10 |   const zeebeClient = new ZBClient('localhost:26500');
     |                      ^
  11 |   isConnected = zeebeClient.connected;
  12 |   } catch (error) {
  13 |     console.error(error); {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '[project]/node_modules/zeebe-node/dist/proto/zeebe.proto'
}
```

The library used can't find a file, which is fine, but the problem is in the `[project]` in the path. When running with `webpack` instead, the error is:

```sh
Error: ENOENT: no such file or directory, open '/home/hasm/repositories/sandbox/org/apps/nextjs-with-zeebe-node/.next/proto/zeebe.proto'
```

So, I know which path it is looking for, and that is fixed easily with this addition to `next.config.js` file:

```js
  webpack: (config, { isServer }) => {
    config.plugins = [
      ...(config.plugins || []),
      new CopyPlugin({
        patterns: [
          {
            from: '../../node_modules/zeebe-node/proto',
            to: 'proto',
          },
        ],
      })
    ];

    return config;
  }
```

With this, serving the app without ` --turbo` flag works as expected.

I tried to put the file manually in many places but that didn't work.

So, the question is, what is this `[project]` in the path, and how to fix it with turbopack?



### Provide environment information

```bash
Operating System:
  Platform: linux
  Arch: x64
  Version: #202409151536 SMP PREEMPT_DYNAMIC Sun Sep 15 16:01:12 UTC 2024
  Available memory (MB): 47875
  Available CPU cores: 12
Binaries:
  Node: 22.6.0
  npm: 10.8.2
  Yarn: 0.32+git
  pnpm: 9.15.2
Relevant Packages:
  next: 15.1.6 // Latest available version is detected (15.1.6).
  eslint-config-next: 15.1.6
  react: 19.0.0
  react-dom: 19.0.0
  typescript: 5.6.3
Next.js Config:
  output: N/A
```

### Which area(s) are affected? (Select all that apply)

Turbopack

### Which stage(s) are affected? (Select all that apply)

next dev (local)

### Additional context

1. [The library tries to load the file like this](https://github.com/camunda-community-hub/zeebe-client-node-js/blob/7969ce1808c96a87519cb1a3f279287f30637c4b/src/zb/ZBClient.ts#L1351):

```js
protoPath: path.join(__dirname, '../../proto/zeebe.proto'),
```

2. I used nx to create the sample repo but the issue is the same without it, and here a sample repo created with nextjs only: https://github.com/HMubaireek/nextjs-turbopack-zeebe-node-standalone it's exactly the same error.
Repository: neovim
Issue: :terminal can display images (graphic protocol support)
Labels: terminal,image

### Problem

in neovim ,  create a terminal by :terminal 
ma@ubuntu2204:~$ kitten icat  en.png 
Error: Terminal does not support reporting screen sizes in pixels, use a terminal such as kitty, WezTerm, Konsole, etc. that does.

### Expected behavior

I apologize if my previous explanation was unclear, but I believe this issue is not a duplicate of #30889. That issue appears to address a consistent general interface for rendering images in Neovim's normal buffer, as seen in plugins like [image.nvim](https://github.com/3rd/image.nvim) or [hologram.nvim](https://github.com/edluffy/hologram.nvim). However, in the context of a terminal buffer (e.g., VT220/xterm terminal emulator), it seems that additional work is required to enhance it into a graphic protocol-compatible terminal emulator. This would allow commands like kitten icat en.png to render images properly.
Repository: tauri
Issue: [bug] ureq proxy agent failing
Labels: type: bug,status: needs triage

#7338
I don't know where the problem is, but I tried with the reqwest library and it is OK. Can anyone rewrite this block of code?

[file](https://github.com/tauri-apps/tauri/blob/dev/crates/tauri-bundler/src/utils/http_utils.rs)

```rust
fn create_agent_and_url(url: &str) -> (ureq::Agent, String) {
  generate_github_alternative_url(url).unwrap_or((
    ureq::AgentBuilder::new().try_proxy_from_env(true).build(),
    url.to_owned(),
  ))
}

#[allow(dead_code)]
pub fn download(url: &str) -> crate::Result<Vec<u8>> {
  let (agent, final_url) = create_agent_and_url(url);

  log::info!(action = "Downloading"; "{}", final_url);

  let response = agent.get(&final_url).call().map_err(Box::new)?;
  let mut bytes = Vec::new();
  response.into_reader().read_to_end(&mut bytes)?;
  Ok(bytes)
}
```
Repository: rust
Issue: Rust can't figure out that two types are the same with supertraits and associated types.
Labels: A-trait-system,A-associated-items,C-bug,F-associated_type_bounds,T-types

I tried this code:

```rust
trait Foo {
    type ToBar;
}

trait Bar {
    type ToFoo: Foo<ToBar = Self>;
}

trait SubFoo: Foo {
    type SubToBar: Bar<ToFoo = Self>;
}

fn works<F: SubFoo>(x: F::SubToBar) -> F::ToBar {
    fn helper<B: Bar>(x: B) -> <B::ToFoo as Foo>::ToBar {
        x
    }

    helper::<F::SubToBar>(x)
}

fn fails<F: SubFoo>(x: F::SubToBar) -> F::ToBar {
    x
}
```

I expected the code to compile. However, the `works` function compiles, while the `fails` function fails to compile, producing the error:

```
error[E0308]: mismatched types
  --> src/lib.rs:22:5
   |
21 | fn fails<F: SubFoo>(x: F::SubToBar) -> F::ToBar {
   |                                        -------- expected `<F as Foo>::ToBar` because of return type
22 |     x
   |     ^ expected `Foo::ToBar`, found `SubFoo::SubToBar`
   |
   = note: expected associated type `<F as Foo>::ToBar`
              found associated type `<F as SubFoo>::SubToBar`
   = note: an associated type was expected, but a different one was found

For more information about this error, try `rustc --explain E0308`.
```

For every SubFoo type, the ToBar and SubToBar associated types will always be the same (`Self::ToBar == Self::SubToBar`). This can be proven from by the following chain of reasoning for any type `F: SubFoo`:

```
<F as SubFoo>::SubToBar
== <<<F as SubFoo>::SubToBar as Bar>::ToFoo as Foo>::ToBar
(from applying the trait bound  `ToFoo: Foo<ToBar = Self>`  to the type  `<F as SubFoo>::SubToBar`)
== <F as Foo>::ToBar
(from applying the trait bound  `SubToBar: Bar<ToFoo = Self>` to the type  `F`)
```

It seems like the trait solver can't figure this out by itself. But prodding it with the `helper()` function makes it able to figure this out. This workaround is rather inconvenient though, and it would be nice if the trait solver can figure this out itself, or if there were some way to give hints to the trait solver to reach this conclusion.

Note: my attempts to simplify things have repeatedly ran into the problem described at #65913. Also, the original use case had GATs, which made associated type bounds not usable on the Foo/SubFoo traits.

### Meta

Reproducible on the playground with stable rust version 1.84.0, and nightly rust version `1.86.0-nightly (2025-01-23 99768c80a1c094a5cfc3)`

Using `-Z next-solver=globally` doesn't fix the problem.

@rustbot labels +A-trait-system +A-associated-items
Repository: angular
Issue: bug(mat-tab): MatTab content is removed instantly at the start of route transition animation
Labels: area: router,needs triage

### Is this a regression?

- [ ] Yes, this behavior used to work in the previous version

### The previous version in which this bug was not present was

_No response_

### Description

The content of a mat-tab instantly gets removed when implementing a route transition animation between two components.

Here is a gif of showing the problem
![Image](https://github.com/user-attachments/assets/323effb0-6cc9-4870-a2da-c9216e765635)

### Reproduction

StackBlitz link: https://stackblitz.com/~/github.com/FlepTheFlabbergasted/mat-tab-bug-v19.1.0?file=src/app/one/one.component.html

Steps to reproduce:
1. Create a route transition animation between two components
2. Have the first components display some content in a mat-tab-group
3. Trigger the animation between the components
4. Observe the mat-tab content dissapears immediately when the router animation starts

### Expected Behavior

The content of the mat-tab fades away slowly together with the component using it.

### Actual Behavior

The mat-tab content gets removed instantly when the animations start.

### Environment

- Angular:
  - @angular-devkit/architect          0.1901.3
    @angular-devkit/build-angular  19.1.3
    @angular-devkit/core                 19.1.3
    @angular-devkit/schematics      19.1.3
    @angular/cli                               19.1.3
    @schematics/angular                 19.1.3
- CDK/Material:
  - @angular/cdk                             19.1.0
    @angular/material                     19.1.0
- Browser(s):
  - Chrome (Version 131.0.6778.265 (Official Build) (64-bit))
  - Firefox (Version 134.0.1 (64-bit)
- Operating System (e.g. Windows, macOS, Ubuntu):
  - Windows 10
Repository: rust
Issue: u128 manual byte-reading is not optimized, in contrast to u64
Labels: A-LLVM,I-slow,T-compiler,C-optimization

## Code

https://play.rust-lang.org/?version=stable&mode=release&edition=2021&gist=7e184ab3e02960b05e214be4d73d84e8

```rust
use std::hint::black_box;
use std::array::from_fn;

#[inline(never)]
fn test_u64() {
    let n: u64 = black_box(137_777);
    let a: [u8; 8] = black_box(from_fn(|i| ((n >> (i*8)) & 255) as u8));
    let b: [u8; 8] = black_box(n.to_le_bytes());
}

#[inline(never)]
fn test_u128() {
    let n: u128 = black_box(137_777_u128);
    let a: [u8; 16] = black_box(from_fn(|i| ((n >> (i*8)) & 255) as u8));
    let b: [u8; 16] = black_box(n.to_le_bytes());
}

fn main() {
    test_u64();
    test_u128();
}
```

## Expected behavior

In both functions, same LLVM IR and same assembly is generated to evaluate `a` and `b`.

## Current behavior

`u64` byte-by-byte read is optimized so that it just reads a pointer. (The optimization seems to happen at MIR -> LLVM IR level.)

```asm
playground::test_u64:
	movq	$137777, -24(%rsp)
	leaq	-24(%rsp), %rax
	#APP
	#NO_APP
	movq	-24(%rsp), %rax
	movq	%rax, -16(%rsp)
	leaq	-16(%rsp), %rax
	#APP
	#NO_APP
	movq	-24(%rsp), %rax
	movq	%rax, -8(%rsp)
	leaq	-8(%rsp), %rax
	#APP
	#NO_APP
	retq
```

`u128` read, however, is not optimized in the same way, and seems to use a whole lot of registers.

```asm
playground::test_u128:
	movq	$0, -48(%rsp)
	movq	$137777, -56(%rsp)
	leaq	-56(%rsp), %rax
	#APP
	#NO_APP
	movq	-48(%rsp), %rax
	movq	%rax, %rcx
	shrq	$56, %rcx
	movd	%ecx, %xmm0
	movq	%rax, %rcx
	shrq	$48, %rcx
	movd	%ecx, %xmm1
	movq	%rax, %rcx
	shrq	$40, %rcx
	movd	%ecx, %xmm4
	movq	%rax, %rcx
	shrq	$32, %rcx
	movd	%ecx, %xmm3
	movl	%eax, %ecx
	shrl	$24, %ecx
	movd	%ecx, %xmm5
	movl	%eax, %ecx
	shrl	$16, %ecx
	movd	%ecx, %xmm6
	movq	-56(%rsp), %rcx
	movd	%eax, %xmm2
	shrl	$8, %eax
	movd	%eax, %xmm7
	movq	%rcx, %rax
	shrq	$56, %rax
	movd	%eax, %xmm9
	movq	%rcx, %rax
	shrq	$48, %rax
	movd	%eax, %xmm10
	movq	%rcx, %rax
	shrq	$40, %rax
	movd	%eax, %xmm11
	movq	%rcx, %rax
	shrq	$32, %rax
	movd	%eax, %xmm8
	movl	%ecx, %eax
	shrl	$24, %eax
	movd	%eax, %xmm12
	movl	%ecx, %eax
	shrl	$16, %eax
	movd	%eax, %xmm13
	punpcklbw	%xmm0, %xmm1
	punpcklbw	%xmm4, %xmm3
	punpcklwd	%xmm1, %xmm3
	punpcklbw	%xmm5, %xmm6
	punpcklbw	%xmm7, %xmm2
	punpcklwd	%xmm6, %xmm2
	punpckldq	%xmm3, %xmm2
	punpcklbw	%xmm9, %xmm10
	punpcklbw	%xmm11, %xmm8
	punpcklwd	%xmm10, %xmm8
	movd	%ecx, %xmm0
	movl	%ecx, %eax
	shrl	$8, %eax
	punpcklbw	%xmm12, %xmm13
	movd	%eax, %xmm1
	punpcklbw	%xmm1, %xmm0
	punpcklwd	%xmm13, %xmm0
	punpckldq	%xmm8, %xmm0
	punpcklqdq	%xmm2, %xmm0
	movdqa	%xmm0, -40(%rsp)
	leaq	-40(%rsp), %rax
	#APP
	#NO_APP
	movaps	-56(%rsp), %xmm0
	movaps	%xmm0, -24(%rsp)
	leaq	-24(%rsp), %rax
	#APP
	#NO_APP
	retq
```

@rustbot labels +C-optimization
Repository: go
Issue: cmd/link: place Darwin bind entries on the  __DATA_CONST segment
Labels: compiler/runtime,FixPending,Implementation

#38830 moved the .rodata, .typelink, .itablink, and .gopclntab sections to the __DATA_CONST segment. Looks like the .got section can also go into that new segment. It is currently passed in the __DATA segment.

You can verify that the macOS clang linker already does what I'm suggesting here by following these steps:

1. Build a hello world binary with `go build -ldflags=linkmode=external -o ext`
2. Get the bind table by running `objdump --macho --bind ./ext`

The result is something like this:

```
Bind table:
segment  section            address     type       addend dylib            symbol
__DATA_CONST __got              0x100088000 bind ptr        0 libSystem        ___error
__DATA_CONST __got              0x100088008 bind ptr        0 libSystem        ___stderrp
...
```

While the same binary built with the Go internal linker has the following bind table:

```
Bind table:
segment  section            address    type       addend dylib            symbol
__DATA   __nl_symbol_ptr    0x1000EC2B0 pointer         0 libSystem        ___error
__DATA   __nl_symbol_ptr    0x1000EC2B8 pointer         0 libSystem        ___stderrp
...
```

Also note that clang names the.got section as `__got` on ARM, while we use `__nl_symbol_ptr` uncoditionally.  Don't know if this makes any real difference, but clang made that change consciously in this commit: https://cgit.geodns-americas.gentoo.org/fork/llvm-project.git/commit/?h=release/3.8.x&id=e8d9df4ea52a5652a13f080614507d70e9f9ad79.

Go version:

> go version go1.23.3 darwin/arm64

Clang version:

> Apple clang version 16.0.0 (clang-1600.0.26.4)

@golang/compiler @golang/darwin
Repository: terminal
Issue: Crash when closing one terminal window, all other terminal instances get killed
Labels: Issue-Bug,Needs-Triage

### Windows Terminal version

1.21.3231.0

### Windows build number

22621.1413

### Other Software

powershell 5.1

### Steps to reproduce

I have several powershell instances, running in separate windows terminal instances. (So they should be separate processes)
I closed one, it seems like it crashed. (powershell itself did not crash, I believe)
All my other terminal instances get killed (including those running powershell), and I am toasted. 💢 

### Expected Behavior

_No response_

### Actual Behavior
Dump too big to upload to github, so I submited a feedback with the dump.
https://aka.ms/AAu35be
Repository: rust
Issue: Meta Tracking Issue for LLVM workarounds
Labels: A-LLVM,T-compiler,C-tracking-issue,WG-llvm,T-libs,PG-portable-simd,S-tracking-forever

This is a meta tracking issues for LLVM workarounds that should eventually be removed once newer LLVM versions render the workarounds obsolete. Please edit this issue to backlink to relevant PRs or issues as suitable (preferably open new issues for specific LLVM workarounds). You can also leave a `FIXME(#135981)` or a FIXME backlinking to a dedicated issue in code to backlink to this tracking issue. Please remove entries if they are cleaned up.

### Tracked by WG-llvm

- https://github.com/rust-lang/rust/labels/llvm-fixed-upstream

### Fixed in LLVM 20

- https://github.com/rust-lang/rust/issues/135982
Repository: godot
Issue: Editing an exported array of type Resource, will not update in a running debug instance.
Labels: bug,topic:editor

### Tested versions

v4.3.stable.official [77dcf97d8]

### System information

Godot v4.3.stable - Windows 11 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3070 (NVIDIA; 32.0.15.6094) - 12th Gen Intel(R) Core(TM) i7-12700K (20 Threads)

### Issue description

If I try to edit an exported Array[Resource] inside the editor while a debug instance is running, the array will not update in the running instance. 

If I edit exported ints, floats, bools, Strings and more; it will update in the running debug instance, allowing me to test game state. For example: reducing the player's health to see HUD updates and character animations/display. I expected this functionality would work with Arrays filled with objects but it does not. I would like to add items to a player inventory, quests to a quest log, status effects and state to a player character and have it update in the running instance.

**Edit: I should also add, that Arrays of primitives like ints, floats, bools, and object Strings update in the debug instance as you would expect. The issue seems to happen exclusively with Resource objects. (I have not tried other objects like Nodes).

Additionally, (and I don't know if this is related), but non-typed arrays can be edited; however if they are, all Resources inside the array are changed to an "EncodedObjectAsID" which breaks Resources used as constant types. I'm not sure if this is intended, or if I should open another issue. 


### Steps to reproduce

1) Create an exported array with 'Resource' types.
2) Create a timer that prints the array to console every few seconds.
3) Try editing the array, add/remove elements, drag/drop Resource objects from file system; the array will not update as seen in the console window.

### Minimal reproduction project (MRP)

[Godot Array Issue.zip](https://github.com/user-attachments/files/18532843/Godot.Array.Issue.zip)
Repository: rust
Issue: Workaround for llvm bug for f32x3 saturating fp->int opt-level=0 on aarch64 is fixed in LLVM 20
Labels: C-cleanup,A-LLVM,A-SIMD,WG-llvm,T-libs,PG-portable-simd,O-AArch64

workaround added in https://github.com/rust-lang/portable-simd/pull/422#issuecomment-2153517021 for https://github.com/llvm/llvm-project/issues/94694

fixed in llvm 20
Repository: godot
Issue: Screenspace Reflections do not change intensity when changing materials Specular value
Labels: bug,topic:rendering,topic:3d

### Tested versions

Tested in 4.4 master





### System information

Windows 11 - RTX 2070 Super - Forward + 

### Issue description

When changing the specular value on a material while SSR is enabled you would expect the intensity of the reflections to change with the specular. 

Also worth noting that this happens for all spatial shaders not just the StandardMaterial3D

https://github.com/user-attachments/assets/aa4bf610-bffc-4515-9b63-48453bca5d8a

I havent gotten to test this in prior versions but from what I recall this did work properly at one time

### Steps to reproduce

- Enable SSR
- Add reflective material to object
- Change the specular intensity

### Minimal reproduction project (MRP)

[ssr_bug_mrp_2025-01-24_01-14-18.zip](https://github.com/user-attachments/files/18533174/ssr_bug_mrp_2025-01-24_01-14-18.zip)
Repository: vscode
Issue: ctrl+v, paste not working after electron update
Labels: triage-needed

<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions -->
<!-- 🔎 Search existing issues to avoid creating duplicates. -->
<!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ -->
<!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. -->
<!-- 🔧 Launch with `code --disable-extensions` to check. -->
Does this issue occur when all extensions are disabled?: Yes

<!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. -->
<!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. -->
- VS Code Version: 1.96.4
- OS Version: Arch Linux (6.12.10-arch1-1 x86_64 GNU/Linux)
- Desktop: Gnome 47 - X11 or Wayland (code-flags.conf: --enable-features=UseOzonePlatform,WaylandWindowDecorations --ozone-platform-hint=wayland)

Steps to Reproduce:

1. upgrade electron to current version: 32.3.0-1-x86_64
2. in VSCode, open any file, select and copy text via ctrl-c
3. paste via ctrl-v into same editor or any other editor (as a matter of fact, neither other input fields, like find) will not work (neither via context menu paste)
4. the selection will be copied, since it is possible to paste it into e.g. gedit
5. downgrading electron to version: electron32-32.2.8-3-x86_64 will solve the issue
Repository: ollama
Issue: Use cases for using Ollama in Microsoft Word
Labels: feature request

If Microsoft Word users are a potential target audience for Ollama, what use cases would you expect? We recently released the following quick demo based on Ollama, and we are curious about what the next use case could be from this community's perspective. We’d greatly appreciate any advice.

 * [Use Ollama in Microsoft Word Locally](https://medium.com/@gptlocalhost/using-ollama-in-microsoft-word-locally-b713d65d11b0)
Repository: transformers
Issue: ERROR: Video features and Video Tokens do not match!!!
Labels: bug,Multimodal,VLM

Hi, i tried to fine tune LLava Next Video using a custom Dataset, but every time i try to train the model i receive this error in output. I followed the guide for the fine tuning here https://github.com/NielsRogge/Transformers-Tutorials/blob/master/LLaVA-NeXT-Video/Fine_tune_LLaVa_NeXT_Video_with_HFTrainer.ipynb. 
I do not understand why i receive this error because if i pass a video composed by only one frame the model accept it and start the training. Actually I am using the Atlas Dione Dataset to fine tune this model.
This is my notebook for the fine tuning:
https://github.com/nicol-buratti/activity-recognition/blob/main/llava_finetuning.ipynb
this is the script for the dataset preparation:
https://github.com/nicol-buratti/activity-recognition/blob/main/activity_dataset.py

Thank you all!
Repository: PowerToys
Issue: Service DCOM 100% CPU Usage when Powertoys and Edge is Running
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.87.1

### Installation method

PowerToys auto-update

### Running as admin

None

### Area(s) with issue?

General

### Steps to reproduce

It doesn't happen all the time, and I don't understand what might trigger it. I have two Edge windows and several hundred tabs open. In Powertoys, everything is disabled except Color.

Even if DCOM doesn't stick to 100% load, when I open the Task Manager with Edge and Powertoys running, I see a load spike from this service.

The sticking itself is strange because the CPU does not increase the frequency or heat up. But it shows a 100% load, and the results in benchmarks drop 10 times.

Ryzen 5700x, 

### ✔️ Expected Behavior

_No response_

### ❌ Actual Behavior

_No response_

### Other Software

_No response_