id
int64 393k
2.82B
| repo
stringclasses 68
values | title
stringlengths 1
936
| body
stringlengths 0
256k
⌀ | labels
stringlengths 2
508
| priority
stringclasses 3
values | severity
stringclasses 3
values |
---|---|---|---|---|---|---|
2,740,058,170 | deno | `deno doc --lint` - `private-type-ref` should not be raised for type in other package | ```ts
import { Path } from "@david/path";
export class TempFile extends Path {
```
```
> deno doc --lint mod.ts
error[private-type-ref]: public type 'TempFile' references private type 'Path'
|
98 | export class TempFile extends Path {
| ^
= hint: make the referenced type public or remove the reference
|
29 | export class Path {
| - this is the referenced type
|
info: to ensure documentation is complete all types that are exposed in the public API must be public
error: Found 1 documentation lint error.
```
In this case, `Path` is in `jsr:@david/path` so I don't think it makes sense to error here. | bug | low | Critical |
2,740,100,736 | tensorflow | nvidia 'container-toolkit/latest/install-guide.html' link points to depricated page/product |
on this page
```
https://www.tensorflow.org/install/docker
```
this link ('install NVIDIA Docker support')
```
https://github.com/NVIDIA/nvidia-docker
```
found in this text:
```
TensorFlow Docker requirements
1. Install Docker on your local host machine.
2. For GPU support on Linux, install NVIDIA Docker support.
```
points to this "DEPRECATION NOTICE"
```
DEPRECATION NOTICE
This project has been superseded by the NVIDIA Container Toolkit.
```
which points to this link: 'NVIDIA Container Toolkit.'
```
https://github.com/NVIDIA/nvidia-container-toolkit
```
it would be helpful to include a link to this (burried) sub-sub link:
to the installation info:
```
https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html
```
| stat:awaiting tensorflower,type:docs-feature | medium | Minor |
2,740,106,727 | godot | Autowrap multiline buttons don't default to their content's height while using container layout inside VBoxContainer | ### Tested versions
- Reproducible in: v4.3.stable.mono.official [77dcf97d8]
### System information
Godot v4.3.stable.mono - Windows 10.0.22631 - GLES3 (Compatibility) - NVIDIA GeForce RTX 3060 (NVIDIA; 31.0.15.3713) - 12th Gen Intel(R) Core(TM) i7-12700K (20 Threads)
### Issue description
**Expected result:**
Multiline buttons set to `self.size_flags_vertical = Control.SIZE_FILL` (or some other existing or new setting) should determine their height based on the text content (calculated on creation and on text change). If not asked to shrink or expand, they should default to that height inside containers.
Mockup:

---
**Actual results:**
1. `self.size_flags_vertical = Control.SIZE_EXPAND_FILL`:
a) With long text - works as expected (?) and scrolls correctly too:

b) With short text - works as expected - buttons fill available space:

2. `self.size_flags_vertical = Control.SIZE_EXPAND`:
a) With long text - button containers take 1 line, the text takes multiple lines and overflows, and there is empty space between buttons:

b) With short text - the empty space stays the same:

3. `self.size_flags_vertical = Control.SIZE_FILL`:
Regardless of text length, button containers always take 1 line, and both texts are drawn on top of each other:

---
So it seems to me there is no setting that would tell my multiline buttons to "take up as much space as you need for content, not more and not less", which I believe is not what was intended when this feature was released. (I'm new to Godot though, so I'll appreciate being corrected if I'm mistaken!)
---
**Code** (happy to provide more information if needed):
Two custom buttons were created and inserted into a VBoxContainer from a script:
```
### interaction_set_container.gd
# container that updates the current set of buttons based on interaction_id received from currently existing button
func on_interaction_id_change(_interaction_id: str):
if _interaction_id == "INTERACTION_A":
self.buttons = [
InteractionButton.new("INTERACTION_B", tr("TEXT_B")),
InteractionButton.new("INTERACTION_C", tr("TEXT_C")),
]
(...) # etc
for child in self.buttons_container.get_children():
self.buttons_container.remove_child(child)
for button in self.buttons:
button.connect("interaction_button_pressed", self.on_interaction_id_change)
self.buttons_container.add_child(button)
```
```
### interaction_button.gd
# programatically created button that has text, emits ID, and doesn't do anything else
class_name InteractionButton
extends Button
signal interaction_button_pressed
var interaction_id: InteractionId.InteractionIds
func _init(_interaction_id: Istring, _label_text: String):
self.interaction_id = _interaction_id
self.text = _label_text
self.theme = preload("res://interaction_set/interaction_button_theme.tres")
self.autowrap_mode = TextServer.AUTOWRAP_WORD
self.alignment = HORIZONTAL_ALIGNMENT_LEFT
self.size_flags_vertical = Control.SIZE_EXPAND_FILL # tried also SIZE_FILL and SIZE_EXPAND; results below
self.clip_text = false
func _pressed():
interaction_button_pressed.emit(interaction_id)
```
Containers tree in the scene:

InteractionSetContainer layout settings:

### Steps to reproduce
1. Run the project (or use the code above).
2. Observe the issue.
3. Observe what changes with different `size_flags_vertical` InteractionButton settings.
### Minimal reproduction project (MRP)
[MyProject.zip](https://github.com/user-attachments/files/18137376/MyProject.zip)
| bug,topic:gui | low | Minor |
2,740,107,570 | kubernetes | kube-apiserver memory leak | ### What happened?
I have upgraded to kubernetes 1.31.1 using Kubespray, after the update i can observe several issues, if we observe the graph for mem usage its like 45 degrees, from the start rising up untill it crashes, not much can be seen from the logs except some GRCP errors, i doubt this to cause the crashes, but this is everything i have
### What did you expect to happen?
Api not leak memory and crashes
### How can we reproduce it (as minimally and precisely as possible)?
Not sure
### Anything else we need to know?
W1214 15:25:17.351529 1 logging.go:55] [core] [Channel #1029556 SubChannel #1029558]grpc: addrConn.createTransport failed to connect to {Addr: "REDACTED:REDACTED", ServerName: "REDACTED:REDACTED", }. Err: connection error: desc = "error reading server preface: read tcp REDACTED:REDACTED->REDACTED:REDACTED: use of closed network connection"
Those erros are filling the logs, nothing else can be observed
### Kubernetes version
<details>
```console
$ kubectl version
# paste output here
```
1.31.1
</details>
### Cloud provider
<details>
</details>
### OS version
<details>
```console
# On Linux:
$ cat /etc/os-release
# Ubuntu 24.04
$ uname -a
# paste output here
# On Windows:
C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture
# paste output here
```
</details>
### Install tools
<details>
Kubespray
</details>
### Container runtime (CRI) and version (if applicable)
<details>
Containerd
</details>
### Related plugins (CNI, CSI, ...) and versions (if applicable)
<details>
Weave
</details>
| kind/bug,sig/api-machinery,triage/needs-information,needs-triage | medium | Critical |
2,740,126,468 | yt-dlp | [NRK] Failed to download m3u8 information: HTTP Error 403: Forbidden | ### DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE
- [X] I understand that I will be **blocked** if I *intentionally* remove or skip any mandatory\* field
### Checklist
- [X] I'm reporting that yt-dlp is broken on a **supported** site
- [X] I've verified that I have **updated yt-dlp to nightly or master** ([update instructions](https://github.com/yt-dlp/yt-dlp#update-channels))
- [X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
- [X] I've checked that all URLs and arguments with special characters are [properly quoted or escaped](https://github.com/yt-dlp/yt-dlp/wiki/FAQ#video-url-contains-an-ampersand--and-im-getting-some-strange-output-1-2839-or-v-is-not-recognized-as-an-internal-or-external-command)
- [X] I've searched [known issues](https://github.com/yt-dlp/yt-dlp/issues/3766) and the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=) for similar issues **including closed ones**. DO NOT post duplicates
- [X] I've read the [guidelines for opening an issue](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#opening-an-issue)
- [X] I've read about [sharing account credentials](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#are-you-willing-to-share-account-details-if-needed) and I'm willing to share it if required
### Region
Germany
### Provide a description that is worded well enough to be understood
YT-dlp does not work any longer on NRK.no for geoblocked films even when using VPN with norwegian IP. I was demanded to report this issue here by the debug info below.
Without VPN it says: "ERROR: [NRK] MDRE30005122: NRK said: Ikke tilgjengelig utenfor Norge"
I ve been trying both "--geo-bypass" "--no-geo-bypass" and "--geo-bypass-country NO" Nothing works. Same error "[NRK] Failed to download m3u8 information: HTTP Error 403: Forbidden" again and again. Of course I have made sure I can see the films through the VPN in the browser.
### Provide verbose output that clearly demonstrates the problem
- [X] Run **your** yt-dlp command with **-vU** flag added (`yt-dlp -vU <your command line>`)
- [X] If using API, add `'verbose': True` to `YoutubeDL` params instead
- [X] Copy the WHOLE output (starting with `[debug] Command-line config`) and insert it below
### Complete Verbose Output
```shell
[debug] Optional libraries: Cryptodome-3.21.0, brotli-1.1.0, certifi-2024.08.30, curl_cffi-0.5.10, mutagen-1.47.0, requests-2.32.3, sqlite3-3.40.1, urllib3-2.2.3, websockets-14.1
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets, curl_cffi
[debug] Loaded 1837 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-master-builds/releases/latest
Latest version: [email protected] from yt-dlp/yt-dlp-master-builds
yt-dlp is up to date ([email protected] from yt-dlp/yt-dlp-master-builds)
[NRKTV] Extracting URL: https://tv.nrk.no/serie/lykkeland/sesong/3/episode/MDRE30005122
[debug] Using fake IP 84.211.48.107 (NO) as X-Forwarded-For
[NRK] Extracting URL: nrk:MDRE30005122
[NRK] MDRE30005122: Downloading manifest JSON
[NRK] MDRE30005122: Downloading m3u8 information
WARNING: [NRK] Failed to download m3u8 information: HTTP Error 403: Forbidden
[NRK] MDRE30005122: Downloading metadata JSON
[NRK] MDRE30005122: Downloading programs JSON
ERROR: [NRK] MDRE30005122: No video formats found!; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U
Traceback (most recent call last):
File "yt_dlp\YoutubeDL.py", line 1624, in wrapper
File "yt_dlp\YoutubeDL.py", line 1780, in __extract_info
File "yt_dlp\YoutubeDL.py", line 1839, in process_ie_result
File "yt_dlp\YoutubeDL.py", line 2846, in process_video_result
File "yt_dlp\YoutubeDL.py", line 1121, in raise_no_formats
yt_dlp.utils.ExtractorError: [NRK] MDRE30005122: No video formats found!; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U
```
| geo-blocked,site-bug | medium | Critical |
2,740,128,344 | excalidraw | Text breaks at slash during editing but doesn't otherwise | The text in the following text box, breaks at the slash when editing the text, but doesn't otherwise
```json
{"type":"excalidraw/clipboard","elements":[{"id":"VmmRPvcXB4MkrGPPvZDHn","type":"text","x":5083.783309982058,"y":1192.8432963475398,"width":502.90177325347287,"height":75,"angle":0,"strokeColor":"#1971c2","backgroundColor":"transparent","fillStyle":"solid","strokeWidth":2,"strokeStyle":"solid","roughness":1,"opacity":100,"groupIds":[],"frameId":null,"index":"b3o","roundness":null,"seed":1168588998,"version":359,"versionNonce":461317338,"isDeleted":false,"boundElements":[],"updated":1734207230558,"link":null,"locked":false,"text":"Stellt sich raus ich hab das Backup in\n/mnt/data/data/ statt nur /mnt/data/\nwiederhergestellt ...","fontSize":20,"fontFamily":5,"textAlign":"left","verticalAlign":"top","containerId":null,"originalText":"Stellt sich raus ich hab das Backup in /mnt/data/data/ statt nur /mnt/data/ wiederhergestellt ...","autoResize":false,"lineHeight":1.25}],"files":{}}
```


Tested on excalidraw.com | bug,firefox,text wrapping | low | Minor |
2,740,132,986 | PowerToys | Adding Audio Management Tools | ### Description of the new feature / enhancement
I am missing a PowerToys Style tool to handle the Windows Audio Streams better.
I am using various audio devices for different outputs and its a mess.
Has this been considered before?
### Scenario when this would be used?
1. Most important step one: create a taskbar widget for easy access to app-volumes, its simply a missing windows feature
(the workarounds for this I found are quite complicated, e.g. create an executable to star the right settings.....)
2. create an audio mixer that does it better for multiple audio devices
1. show the routing in a more intuitive way
2. if its not default routing - show it immediately - no extra clicks
3. manage audio setup presets (next version)
4. find a way to route system sound to another device than default (maybe impossible)
### Supporting information
Living in a city I need a sound background. But I also need informative or interactive audiostreams.
So multiple audio streams are the solution.
AFAIK, there are no easy workaround.
The existing audio solutions don't integrate so well with win11.
Any suggestions?
I found https://github.com/File-New-Project/EarTrumpet
maybe its enough
I am offering collaboration as the mediocre default handling in win11 is wasting my time a lot.
Is it just a fork and pull request? whats the instance to decide the pull request action? | Idea-New PowerToy,Needs-Triage | low | Minor |
2,740,151,530 | deno | Unable to use NPM packages like `debug` and `chai` due to `ERR_TYPES_NOT_FOUND` | Version: Deno 2.1.4
Unable to use NPM packages like `debug` and `chai` due to `ERR_TYPES_NOT_FOUND`
```bash
$ deno run test
Task test deno test --coverage --clean --allow-env src/**/*.test.ts
error: Failed resolving types. [ERR_TYPES_NOT_FOUND] Could not find types for 'file:///Users/njenning/code/projects/sockethub-deno/node_modules/.deno/[email protected]/node_modules/debug/index.js' imported from 'file:///Users/njenning/code/projects/sockethub-deno/packages/schemas/src/validator.ts'
at file:///Users/njenning/code/projects/sockethub-deno/packages/schemas/src/validator.ts:2:19
$ cat deno.json
{
"name": "@sockethub/schemas",
"description": "JSON schema files for validating Sockethub Activity Streams",
"version": "3.0.0-alpha.5",
"exports": "./src/index.ts",
"license": "MIT",
"tasks": {
"build": "deno run --allow-read --allow-write scripts/export-json-schema.ts",
"coverage": "deno coverage | deno run jsr:@silverbucket/threshold 100 88",
"test": "deno test --coverage --clean --allow-env src/**/*.test.ts"
},
"imports": {
"@silverbucket/threshold": "jsr:@silverbucket/[email protected]",
"@types/node": "npm:@types/[email protected]",
"@types/debug": "npm:@types/[email protected]",
"ajv": "npm:[email protected]",
"ajv-formats": "npm:[email protected]",
"@silverbucket/ajv-formats-draft2019": "jsr:@silverbucket/[email protected]",
"debug": "npm:debug@^4.4.0"
}
}
```
```bash
$ deno run test
Task test deno test --coverage --clean --allow-env --allow-read src/**/*.test.ts
error: Failed resolving types. [ERR_TYPES_NOT_FOUND] Could not find types for 'file:///Users/njenning/code/projects/sockethub-deno/node_modules/.deno/[email protected]/node_modules/chai/index.js' imported from 'file:///Users/njenning/code/projects/sockethub-deno/packages/activity-streams/src/activity-streams.test.ts'
at file:///Users/njenning/code/projects/sockethub-deno/packages/activity-streams/src/activity-streams.test.ts:12:23
$ cat deno.json
{
"name": "@sockethub/activity-streams",
"version": "4.4.0-alpha.5",
"description": "A simple tool to facilitate handling and referencing activity streams without unnecessary verbosity",
"license": "MIT",
"exports": "./src/activity-streams.ts",
"tasks": {
"clean": "rm -rf npm coverage",
"build": "deno run -A ./build.ts .",
"coverage": "deno coverage | deno run jsr:@silverbucket/threshold 90 95",
"test": "deno test --coverage --clean --allow-env --allow-read src/**/*.test.ts"
},
"imports": {
"@types/chai": "npm:@types/chai@^4.3.19",
"chai": "npm:chai@^4.3.10",
"eventemitter3": "npm:eventemitter3@^5.0.1",
"mocha": "npm:mocha@^10.7.3"
}
}
``` | bug,node resolution | low | Critical |
2,740,153,936 | vscode | CoPilot Edits - needs more granular display of changes like in CoPilot Chat | <!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- Please search existing issues to avoid creating duplicates. -->
<!-- Describe the feature you'd like. -->
When using the new CoPilot Edits feature (great feature BTW), there are a couple of suggested refinements:
1. I'd like to be able to see the edits in the file in line as we do with the CoPilot Chat when we ask it to incorporate the changes into the file. It highlights each area with a Accept/Discard/Show changes choice above each. It would be nice to have this with Edits.
I'd suggest keeping the global Accept All Changes as you have it now, as sometimes you know you want to accept them all after glancing over them.
Currently, I have to click the icon to compare the files side by side which is slow and a bit clunky when the previously mentioned method works very well.
2. Can you just drop the whole Edits screen and go back to using the chat interface, but have a toggle between the "Edits" behavior, and the Chat behavior? I don't like how I lose all my previous questions in the Edits screen, when I often need to grab that, copy/paste it again, revise it etc. I often scroll back up and find things from before, grab chunks of code that were listed out, etc. Actually, I just like the Chat screen format much better than just breaking out the Edits behavior.
It seems to me that we programmers toggle between asking for a piece of code and the explanation of a concept from one second to the next so changing contexts from Edits to Chat is a pain.
I REALLY like how fast the Edits incorporates the changes as opposed to how the Chat screen laboriously lists out the whole file, chunk of code, etc.
Good work! Keep it up! Thanks for listening. | feature-request,cross-file-editing | low | Major |
2,740,154,239 | TypeScript | [tsserver] add support to fetch symbol references from only the current file. | ### 🔍 Search Terms
Hey.
it will be awesome if the "references" command can only get references of a symbol at position (x,y) but only inside the current file.
### ✅ Viability Checklist
- [x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
- [x] This wouldn't change the runtime behavior of existing JavaScript code
- [x] This could be implemented without emitting different JS based on the types of the expressions
- [x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
- [x] This isn't a request to add a new utility type: https://github.com/microsoft/TypeScript/wiki/No-New-Utility-Types
- [x] This feature would agree with the rest of our Design Goals: https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals
### ⭐ Suggestion
this can be added using `currentFileOnly?: boolean;` (like that inside `interface NavtoRequestArgs`).
### 📃 Motivating Example
i use it mainly for rewriting javascript files (usually obfuscated ones), so for each symbol i need to get all references but only for the currently opened file, so i wish there was a flag for it. as i thought it will be more performant (i.e. instead of searching references all across the project, if we restricted it to the current file - by a flag in a the request - then it can be more performant due to reduced search space?)
### 💻 Use Cases
1. What do you want to use this for?
- rewriting js files accurately.
3. What shortcomings exist with current approaches?
- performance issues.
5. What workarounds are you using in the meantime?
- requesting references then filtering them if the ref['file'] key is the same as that supplied in `references` request. however, i think tsserver can be more performant than this approach. | Suggestion,Awaiting More Feedback | low | Major |
2,740,160,811 | TypeScript | Bug: string is not a string | ### 🔎 Search Terms
string extends template bug wrong error conditional
### 🕗 Version & Regression Information
- This is the behavior in every version I tried, and I reviewed the FAQ.
### ⏯ Playground Link
https://www.typescriptlang.org/play/?ts=5.7.2#code/FAFwngDgpgBAcgexgXhgbQGYEMA2BnKAXWFElgEk8BBAZRACcBLAOwHMAeGgPhRhpigAPEFGYATPDAAGAEgDeLDFHowA+gF8pMAPwwGAV1gAuGNnxQA3CXDQ+DFq0q17bdgBUBw0RJh4XrHlQ0JzomV1k5N00uQk8RcUlEHVNcAhgTAygSAGMEZj9fAAsEfRwxKhwAdywwPAAhKDd6QxNQhxD-dgByPC7AvWbLIA
### 💻 Code
```ts
type No = [false]
type IsAString<S> = S extends `${infer _}` ? true : false;
type StringIsAString<T extends string> = [IsAString<`${T}`>] extends No ? false : true
const shouldAlwaysBeTrue: StringIsAString<'s'> = true;
```
### 🙁 Actual behavior
`shouldAlwaysBeTrue` reports the following error:
> Type 'true' is not assignable to type 'false'.(2322)
### 🙂 Expected behavior
No error
### Additional information about the issue
This is the most minimal reproduction of the issue I could come up with after whittling it down from a _much_ more complicated scenario.
Interestingly enough, if I change _almost anything_ about it, the issue goes away. For example, if I replace `No` with `[false]`, issue goes away. If I take out one of the templates, issue goes away. Etc. | Bug,Help Wanted | low | Critical |
2,740,161,073 | opencv | OpenCV.js aruco_CharucoBoard getChessboardCorners broken | ### System Information
OpenCV version: 4.x
Operating System / Platform: Ubuntu 24.04
Compiler & compiler version: EMCC 3.1.73
### Detailed description
After compiling OpenCV.js following the tutorial, running the following code:
```js
import cv from "/home/sid/Documents/opencv/build_js/bin/opencv.js"
const cv2 = await cv;
let dictionary = cv2.getPredefinedDictionary(cv2.DICT_6X6_250);
let size = {width: 5, height: 7};
let squareLength = 0.04;
let board = new cv2.aruco_CharucoBoard(size, squareLength, 0.02, dictionary, new cv2.Mat());
board.getChessboardCorners()
```
results in an error:
```
node:internal/process/esm_loader:40
internalBinding('errors').triggerUncaughtException(
^
UnboundTypeError: Cannot call aruco_CharucoBoard.getChessboardCorners due to unbound types: NSt3__26vectorIN2cv7Point3_IfEENS_9allocatorIS3_EEEE
at new UnboundTypeError (/home/sid/Documents/opencv/build_js/bin/opencv.js:31:11076988)
at throwUnboundTypeError (/home/sid/Documents/opencv/build_js/bin/opencv.js:31:11077779)
at ClassHandle.unboundTypesHandler [as getChessboardCorners] (/home/sid/Documents/opencv/build_js/bin/opencv.js:31:11087045)
at file:///home/sid/PycharmProjects/slamdunk/app/lib/calibrate/test2.js:15:7
Node.js v20.9.0
```
### Steps to reproduce
1) Clone opencv and opencv_contrib
2) Build: `emcmake python3 ./platforms/js/build_js.py build_js --cmake_option="-DOPENCV_EXTRA_MODULES_PATH=../opencv_contrib/modules"`
3) Run my code with `node test.js`
### Issue submission checklist
- [X] I report the issue, it's not a question
- [X] I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
- [X] I updated to the latest OpenCV version and the issue is still there
- [x] There is reproducer code and related data files (videos, images, onnx, etc) | bug,category: javascript (js) | low | Critical |
2,740,161,233 | godot | Changing the script inheritance of a Resource does not update the type in resources and scenes where it is saved as a subresource automatically | ### Tested versions
v4.4.dev5.official [9e6098432]
### System information
Godot v4.4.dev5 - Fedora Linux 41 (KDE Plasma) on Wayland - X11 display driver, Multi-window, 1 monitor - Vulkan (Forward+) - integrated Intel(R) UHD Graphics 620 (KBL GT2) - Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz (8 threads)
### Issue description
I use custom Resources in my project that inherit from Resource. I decided to change one of them to inherit from BoxShape3D, instead. However, when I saved the script and opened a scene that had it as a subresource, it printed in the console: `Script inherits from native type 'BoxShape3D', so it can't be assigned to an object of type 'Resource'.` and the resources no longer had script variables saved. When I saved the scene, the script variables were also no longer serialized.
I realized the issue was that it was still saved as "Resource" in the "type" parameter of the PackedScene/Resources where it was saved, but it should actually be "BoxShape3D" since the native type was changed. But for some reason, the editor did not update this automatically as would be expected. I had to manually update every resource's type to "BoxShape3D" using a text editor. This issue doesn't occur where it is saved as a main resource since there is no "type" parameter.
The issue also happens with Nodes, but at least you can change the type directly in the Scene Dock to the right value. But you can't do that with Resources without having to create a new version of it from the Godot editor.
### Steps to reproduce
Make a script that inherits from Resource. Optionally add some export variables. Then make a scene and add a Node, and add a script. Add an export variable for the resource. Then in the inspector, add a new resource of that script and set the variables to non-defaults. Then change the base class of the custom resource to something that inherits from Resource. When you run the project, an error should show when running saying `Script inherits from native type '*', so it can't be assigned to an object of type 'Resource'.`
### Minimal reproduction project (MRP)
[resourceissue.zip](https://github.com/user-attachments/files/18136904/resourceissue.zip)
| bug,topic:editor | low | Critical |
2,740,168,919 | kubernetes | [flaky test] [It] [sig-network] Services should implement NodePort and HealthCheckNodePort correctly when ExternalTrafficPolicy changes | ### Which jobs are flaking?
pull-kubernetes-e2e-gce:
[failed run](https://prow.k8s.io/view/gs/kubernetes-ci-logs/pr-logs/pull/125932/pull-kubernetes-e2e-gce/1867982328341467136)
[succeeded run](https://prow.k8s.io/view/gs/kubernetes-ci-logs/pr-logs/pull/125932/pull-kubernetes-e2e-gce/1868009010649632768)
on PR [strategicpatch] support duplicated mergeKey values #125932
### Which tests are flaking?
Kubernetes e2e suite: [It] [sig-network] Services should implement NodePort and HealthCheckNodePort correctly when ExternalTrafficPolicy changes
### Since when has it been flaking?
since my last commit in PR, maybe earlier in the same PR (there was a flaky test in the same PR, but i cant remember which exactly)
### Testgrid link
https://prow.k8s.io/view/gs/kubernetes-ci-logs/pr-logs/pull/125932/pull-kubernetes-e2e-gce/1867982328341467136
### Reason for failure (if possible)
Possibly failing because of changes introduced in PR.
Test log says:
```
I1214 17:43:45.840527 65508 service.go:4068] Unexpected error: updating ExternalTrafficPolicy and HealthCheckNodePort:
<*fmt.wrapError | 0xc00152a9e0>:
failed to update Service "external-local-update": Internal error occurred: failed to allocate requested HealthCheck NodePort 31865: provided port is already allocated
{
msg: "failed to update Service \"external-local-update\": Internal error occurred: failed to allocate requested HealthCheck NodePort 31865: provided port is already allocated",
err: <*errors.StatusError | 0xc007ae3540>{
ErrStatus: {
TypeMeta: {Kind: "", APIVersion: ""},
ListMeta: {
SelfLink: "",
ResourceVersion: "",
Continue: "",
RemainingItemCount: nil,
},
Status: "Failure",
Message: "Internal error occurred: failed to allocate requested HealthCheck NodePort 31865: provided port is already allocated",
Reason: "InternalError",
Details: {
Name: "",
Group: "",
Kind: "",
UID: "",
Causes: [
{
Type: "",
Message: "failed to allocate requested HealthCheck NodePort 31865: provided port is already allocated",
Field: "",
},
],
RetryAfterSeconds: 0,
},
Code: 500,
},
},
}
[FAILED] updating ExternalTrafficPolicy and HealthCheckNodePort: failed to update Service "external-local-update": Internal error occurred: failed to allocate requested HealthCheck NodePort 31865: provided port is already allocated
```
This PR changes the way elements duplicated by the MergeKey value are handled on patch.
Specifically, ports are such elements, so i guess possible causes may be:
- ports are handled incorrectly
- my changes in PR are unstable and may produce invalid results in some cases
### Anything else we need to know?
_No response_
### Relevant SIG(s)
/sig network | sig/network,kind/flake,needs-triage | low | Critical |
2,740,168,920 | react-native | Flatlist onEndReached gets called multiple times when the height of the ListFooterComponent changes | ### Description
FlatList can enter a state where `onEndReached` gets called in a loop if I use the `onEndReached` prop to fetch the next page of the data and this causes a change in the height of `ListFooterComponent` (see attached screen recording).
Adding a fixed footer height in `ListFooterComponentStyle` to the component fixes the issue, however this isn't optimal as we would like to display different types of content depending on the state of the data.
<details>
<summary>Example code: </summary>
```
import {useCallback, useState} from 'react';
import {
FlatList,
StyleSheet,
Text,
View,
ActivityIndicator,
} from 'react-native';
const ListFooter = ({isLoading}: {isLoading: boolean}) => {
if (isLoading) {
return (
<View style={styles.loadingContainer}>
<ActivityIndicator />
</View>
);
}
return (
<View style={styles.endReachedContainer}>
<Text>End reached</Text>
</View>
);
};
const App = () => {
const [loading, setLoading] = useState(false);
const fetchData = async () => {
try {
setLoading(true);
await new Promise<void>(resolve => {
setTimeout(() => {
resolve();
}, 1000);
});
} finally {
setLoading(false);
}
};
const onEndReached = async () => {
console.log('CALLING ON END REACHED');
await fetchData();
};
const renderItem = useCallback(({item}: {item: number}) => {
return (
<View style={styles.listItemContainer}>
<Text>{item}</Text>
</View>
);
}, []);
return (
<FlatList
data={Array.from({length: 10}).map((_, index) => index)}
renderItem={renderItem}
onEndReached={onEndReached}
onEndReachedThreshold={1}
ListFooterComponent={<ListFooter isLoading={loading} />}
// Adding this prop fixes it:
// ListFooterComponentStyle={{height: 600}}
/>
);
};
const styles = StyleSheet.create({
listItemContainer: {
height: 300,
borderColor: 'black',
borderWidth: 1,
alignItems: 'center',
justifyContent: 'center',
},
loadingContainer: {
height: 200,
backgroundColor: 'pink',
alignItems: 'center',
justifyContent: 'center',
},
endReachedContainer: {
height: 600,
backgroundColor: 'orange',
alignItems: 'center',
justifyContent: 'center',
},
});
export default App;
```
</details>
### Steps to reproduce
1. Clone the [repo with reproducer code](https://github.com/KristineTrona/flatlist-onEndReached-called-in-loop)
2. Run the app on either iOS or Android (bug seems to be worse on Android)
3. Scroll to the bottom of the list - you should notice the footer changing multiple times between loading and finished state. You will also notice multiple logs being fired from the `onEndReached` function as it gets called again and again.
### React Native Version
0.76.5
### Affected Platforms
Runtime - Android, Runtime - iOS
### Output of `npx react-native info`
```text
System:
OS: macOS 14.4.1
CPU: (8) arm64 Apple M1 Pro
Memory: 291.98 MB / 16.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 20.14.0
path: ~/.nvm/versions/node/v20.14.0/bin/node
Yarn:
version: 1.22.22
path: ~/.nvm/versions/node/v20.14.0/bin/yarn
npm:
version: 10.7.0
path: ~/.nvm/versions/node/v20.14.0/bin/npm
Watchman:
version: 2024.10.21.00
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.15.2
path: /Users/kristine/.rvm/gems/ruby-2.7.6/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 23.5
- iOS 17.5
- macOS 14.5
- tvOS 17.5
- visionOS 1.2
- watchOS 10.5
Android SDK:
Android NDK: 26.2.11394342
IDEs:
Android Studio: 2024.2 AI-242.23339.11.2421.12550806
Xcode:
version: 15.4/15F31d
path: /usr/bin/xcodebuild
Languages:
Java:
version: 21.0.2
path: /usr/bin/javac
Ruby:
version: 2.6.10
path: /usr/bin/ruby
npmPackages:
"@react-native-community/cli":
installed: 15.0.1
wanted: 15.0.1
react:
installed: 18.3.1
wanted: 18.3.1
react-native:
installed: 0.76.5
wanted: 0.76.5
react-native-macos: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: true
newArchEnabled: true
iOS:
hermesEnabled: true
newArchEnabled: true
```
### Stacktrace or Logs
```text
-
```
### Reproducer
https://github.com/KristineTrona/flatlist-onEndReached-called-in-loop
### Screenshots and Videos
<details>
<summary>Bug:</summary>
https://github.com/user-attachments/assets/fb8054d1-210c-426c-972e-80b2c791455f
</details>
<details>
<summary>With fixed height:</summary>
https://github.com/user-attachments/assets/6ba35b71-c8d5-40e7-8092-2b7c2dfe5bda
</details> | Component: FlatList,Needs: Triage :mag: | low | Critical |
2,740,175,275 | flutter | CupertinoSlidingSegmentedControl should support multiple selected segments | ### Use case
Per Apple's HIG best practices, a segmented control can have a [single selection or multiple selected segments](https://developer.apple.com/design/human-interface-guidelines/segmented-controls#Best-practices). As the API currently stands, CupertinoSlidingSegmentedControl can only support 1 selected segment.
### Proposal
Instead of a single `groupValue` of type `T`, replicate Material's [SegmentedButton](https://api.flutter.dev/flutter/material/SegmentedButton-class.html) API which takes a `selected` parameter of `Set<T>`, allowing for multiple selected segments.
Likely related to #43826 | c: new feature,framework,f: cupertino,c: proposal,P3,team-design,triaged-design | low | Minor |
2,740,178,120 | react | [React 19] Incorrect infered response type in server actions with React 19 | ## Summary
Server actions in Next.js return `Promise<void>` instead of the infered response type.
This is most likely a issue in react 19 or @types/react 19 since it works as exepected with both Next.js 14 and Next.js 15 and can only be reproduced when upgrading from React 18 to 19.
Example action:
https://github.com/alexanderalmstrom/next-15-server-actions/blob/main/src/app/actions.ts
`main` branch with React 19:
https://github.com/alexanderalmstrom/next-15-server-actions/tree/main
<img width="1057" alt="Skärmavbild 2024-12-14 kl 23 49 34" src="https://github.com/user-attachments/assets/4f82ecd0-6352-44c9-89d7-8d4e5f54b035" />
`react-18` branch with React 18.3.1 where the response is infered correctly with `Promise<{ message: string }>`
https://github.com/alexanderalmstrom/next-15-server-actions/tree/react-18
<img width="1062" alt="Skärmavbild 2024-12-14 kl 23 42 07" src="https://github.com/user-attachments/assets/bf68c072-c2cf-4993-b381-598bd17a746a" />
Both branches uses the same Next version 15.1.0 and the same server action.
I'm aware of the `useActionState` (previously called `useFormState`)...
```
"use client";
import { type ComponentProps, useActionState } from "react";
import { exampleFormActionState } from "../actions";
export default function FormWithActionState(props: ComponentProps<"form">) {
const [state, action] = useActionState(exampleFormActionState, {
message: "",
});
return (
<form action={action} {...props}>
<input type="text" name="name" />
<button type="submit">Submit</button>
{state.message && <p>{state.message}</p>}
</form>
);
}
```
but is it expected that the action should return `Promise<void>`?
<img width="1055" alt="Skärmavbild 2024-12-15 kl 00 20 04" src="https://github.com/user-attachments/assets/99a7ffc3-ac39-4818-afad-1e850caeb21b" />
and we have to type the state like this, instead of having the types infered automatically for us in typescript?
```
type FormState = {
message: string;
};
export async function exampleFormActionState(
prevState: FormState,
formData: FormData
) {
const name = formData.get("name");
if (!name || typeof name !== "string") {
return { message: "VALIDATION_ERROR" };
}
return { message: `Hello, ${name}!` };
}
```
The thing is, what if I don't want to use `useActionState`? Lets say that we pass the action as prop to the form element, and then use a`useFormStatus `and a pending state for the button. Then that's not possible because of this error. | React 19 | medium | Critical |
2,740,178,859 | go | runtime: performance regression for small Swiss Table map access for non-specialized keys | **Edit:** Initially, I thought this was an "optimization opportunity" and wrote it up as such, but later realized it is seemingly a regression from Go 1.23 ([comment](https://github.com/golang/go/issues/70849#issuecomment-2543389413)). Changed title accordingly.
---
I was reading through the (excellent!) new Swiss Table implementation from #54766 and noticed a potential optimization opportunity for lookups with small maps (<= 8 elems) for the normal case of non-specialized keys.
I suspect the current linear scan for these maps might be better off if we instead build a match bitmap and jump to the candidate match. I mailed https://go.dev/cl/634396 with this change.
For predictable keys, it might be a small win or close to a wash, but for unpredictable keys, it might be a larger win.
To better illustrate this (as well as to help with analyzing a couple other experiments I'm trying), I also updated the benchmarks (#70700) to shuffle the keys for the newer benchmarks, and also added a new "Hot" benchmark that repeatedly looks up a single key (Hot=1 below) or a small number of random keys (Hot=3 below).
The geomean here is -28.69%. These results are for amd64 and use the SIMD optimizations. I did not test on arm or without the SIMD optimizations.
```
│ no-fix-new-bmarks │ fix-with-new-bmarks │
│ sec/op │ sec/op vs base │
MapAccessHit/Key=smallType/Elem=int32/len=6-4 24.55n ± 0% 13.63n ± 0% -44.48% (p=0.000 n=25)
MapAccessMiss/Key=smallType/Elem=int32/len=6-4 12.500n ± 0% 9.517n ± 32% -23.86% (p=0.007 n=25)
MapAccessHitHot/Key=smallType/Elem=int32/len=6/Hot=1-4 13.73n ± 4% 13.54n ± 0% ~ (p=0.096 n=25)
MapAccessHitHot/Key=smallType/Elem=int32/len=6/Hot=3-4 21.93n ± 1% 13.57n ± 1% -38.12% (p=0.000 n=25)
MapSmallAccessHit/Key=smallType/Elem=int32/len=1-4 13.07n ± 0% 13.54n ± 0% +3.60% (p=0.000 n=25)
MapSmallAccessHit/Key=smallType/Elem=int32/len=2-4 19.05n ± 0% 13.53n ± 0% -28.98% (p=0.000 n=25)
MapSmallAccessHit/Key=smallType/Elem=int32/len=3-4 21.46n ± 0% 13.52n ± 0% -37.00% (p=0.000 n=25)
MapSmallAccessHit/Key=smallType/Elem=int32/len=4-4 23.06n ± 0% 13.53n ± 0% -41.33% (p=0.000 n=25)
MapSmallAccessHit/Key=smallType/Elem=int32/len=5-4 23.94n ± 0% 13.53n ± 0% -43.48% (p=0.000 n=25)
MapSmallAccessHit/Key=smallType/Elem=int32/len=6-4 24.46n ± 0% 13.54n ± 0% -44.64% (p=0.000 n=25)
MapSmallAccessHit/Key=smallType/Elem=int32/len=7-4 24.91n ± 0% 13.54n ± 0% -45.64% (p=0.000 n=25)
MapSmallAccessHit/Key=smallType/Elem=int32/len=8-4 25.12n ± 0% 13.56n ± 0% -46.02% (p=0.000 n=25)
MapSmallAccessMiss/Key=smallType/Elem=int32/len=1-4 12.480n ± 0% 9.523n ± 0% -23.69% (p=0.000 n=25)
MapSmallAccessMiss/Key=smallType/Elem=int32/len=2-4 12.480n ± 0% 9.516n ± 0% -23.75% (p=0.000 n=25)
MapSmallAccessMiss/Key=smallType/Elem=int32/len=3-4 12.490n ± 0% 9.516n ± 0% -23.81% (p=0.000 n=25)
MapSmallAccessMiss/Key=smallType/Elem=int32/len=4-4 12.480n ± 0% 9.520n ± 0% -23.72% (p=0.001 n=25)
MapSmallAccessMiss/Key=smallType/Elem=int32/len=5-4 12.480n ± 0% 9.520n ± 0% -23.72% (p=0.000 n=25)
MapSmallAccessMiss/Key=smallType/Elem=int32/len=6-4 12.490n ± 20% 9.527n ± 32% -23.72% (p=0.003 n=25)
MapSmallAccessMiss/Key=smallType/Elem=int32/len=7-4 12.48n ± 0% 12.09n ± 21% -3.12% (p=0.000 n=25)
MapSmallAccessMiss/Key=smallType/Elem=int32/len=8-4 12.49n ± 16% 11.77n ± 19% -5.76% (p=0.000 n=25)
geomean 16.58n 11.82n -28.69%
```
-----
In all cases, I suspect the misses are predictable, but in some cases the predictable miss is with a predictable key vs. a miss on an unpredictable key in other cases. For a single group like these, that probably doesn't matter.
For the hits and misses, these are the ones that I expect to have predictable keys:
```
MapAccessHitHot/Key=smallType/Elem=int32/len=6/Hot=1-4 13.73n ± 4% 13.54n ± 0% ~ (p=0.096 n=25)
MapSmallAccessHit/Key=smallType/Elem=int32/len=1-4 13.07n ± 0% 13.54n ± 0% +3.60% (p=0.000 n=25)
MapSmallAccessMiss/Key=smallType/Elem=int32/len=1-4 12.480n ± 0% 9.523n ± 0% -23.69% (p=0.000 n=25)
```
(Those three are also listed above in the larger list, but pulling them out here for commentary).
The first has predictable keys because a single key is looked up repeatedly per run (with 6 elements in the small map). The second two have predictable keys because there is only a single element. In other words, the keys are shuffled in all ~20 of these benchmarks, but in the three here, the shuffling is effectively a no-op.
CC @prattmic | Performance,NeedsInvestigation,compiler/runtime | low | Major |
2,740,181,304 | PowerToys | Feature request - Save queries with name, Load the saved queries | ### Description of the new feature / enhancement
User can save queries up to 5 with name as description and can load the saved queries when needed.
### Scenario when this would be used?
Currently the tool keeps the last query but it is replaced when new query runs. The additonal feature allows the user to save favorite query with value for replacement with some description as its name, and load to reuse. Probably the query is regular expression in most cases.
### Supporting information
_No response_ | Idea-Enhancement,Product-PowerToys Run,Needs-Triage | low | Minor |
2,740,182,034 | PowerToys | "Remap a shortcut" not working | ### Microsoft PowerToys version
0.86.0
### Installation method
Microsoft Store
### Running as admin
Yes
### Area(s) with issue?
Keyboard Manager
### Steps to reproduce

### ✔️ Expected Behavior
shortcuts of new letters to be entered when buttons pressed
### ❌ Actual Behavior
not working
### Other Software
_No response_ | Issue-Bug,Product-Keyboard Shortcut Manager,Needs-Triage | low | Minor |
2,740,183,143 | vscode | Incorrect indentation for TypeScript opening curly brace | Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.96.0 and 1.97-0-insider
- OS Version: Windows 11 Pro 24H2 26100.2605
Steps to Reproduce:
In a TypeScript file, put your cursor immediately before an opening (left) curly brace and press Enter. The curly brace will be indented, which is incorrect behavior.



This bug is similar to https://github.com/microsoft/vscode/issues/216737 but not the same; that issue has been fixed, as you can see below:

| bug,editor-autoindent | low | Critical |
2,740,215,471 | rust | Scoped TLS panic when making docs with --markdown-before-content | <!--
Thank you for finding an Internal Compiler Error! 🧊 If possible, try to provide
a minimal verifiable example. You can read "Rust Bug Minimization Patterns" for
how to create smaller examples.
http://blog.pnkfx.org/blog/2019/11/18/rust-bug-minimization-patterns/
-->
### Code
The code is the one in my repository https://github.com/sylbeth/gdext-generation/, using the following config.toml:
```toml
[build]
rustdocflags = ["--cfg", "docsrs", "--document-private-items", "-Zunstable-options", "--generate-link-to-definition", "--markdown-before-content", "README.md"]
```
And the next command:
cargo +nightly doc --all-features --no-deps --open
### Meta
<!--
If you're using the stable version of the compiler, you should also check if the
bug also exists in the beta or nightly versions.
-->
`rustc --version --verbose`:
```
rustc 1.85.0-nightly (327c7ee43 2024-12-13)
binary: rustc
commit-hash: 327c7ee4367ea587a49eff1d4715f462ab6db5f0
commit-date: 2024-12-13
host: x86_64-pc-windows-msvc
release: 1.85.0-nightly
LLVM version: 19.1.5
```
### Error output
```
thread 'main' panicked at /rust/deps\scoped-tls-1.0.1\src\lib.rs:168:9:
cannot access a scoped thread local variable without calling `set` first
stack backtrace:
0: 0x7ffadb8d9453 - std::backtrace_rs::backtrace::dbghelp64::trace
at /rustc/327c7ee4367ea587a49eff1d4715f462ab6db5f0/library\std\src\..\..\backtrace\src\backtrace\dbghelp64.rs:91
1: 0x7ffadb8d9453 - std::backtrace_rs::backtrace::trace_unsynchronized
at /rustc/327c7ee4367ea587a49eff1d4715f462ab6db5f0/library\std\src\..\..\backtrace\src\backtrace\mod.rs:66
2: 0x7ffadb8d9453 - std::backtrace::Backtrace::create
at /rustc/327c7ee4367ea587a49eff1d4715f462ab6db5f0/library\std\src\backtrace.rs:331
3: 0x7ffadb8d939a - std::backtrace::Backtrace::force_capture
at /rustc/327c7ee4367ea587a49eff1d4715f462ab6db5f0/library\std\src\backtrace.rs:312
4: 0x7ffadcedade1 - core[d89699aec5627831]::slice::sort::unstable::heapsort::heapsort::<((rustc_lint_defs[476e5cdef0fa32e0]::Level, &str), usize), <((rustc_lint_defs[476e5cdef0fa32e0]::Level, &str), usize) as core[d89699aec5627831]::cmp::PartialOrd>::lt>
5: 0x7ffadb8f44a2 - alloc::boxed::impl$30::call
at /rustc/327c7ee4367ea587a49eff1d4715f462ab6db5f0/library\alloc\src\boxed.rs:1984
6: 0x7ffadb8f44a2 - std::panicking::rust_panic_with_hook
at /rustc/327c7ee4367ea587a49eff1d4715f462ab6db5f0/library\std\src\panicking.rs:825
7: 0x7ffadb8f432d - std::panicking::begin_panic::closure$0<ref$<str$> >
at /rustc/327c7ee4367ea587a49eff1d4715f462ab6db5f0/library\std\src\panicking.rs:754
8: 0x7ffadb8f19ef - std::sys::backtrace::__rust_end_short_backtrace<std::panicking::begin_panic::closure_env$0<ref$<str$> >,never$>
at /rustc/327c7ee4367ea587a49eff1d4715f462ab6db5f0/library\std\src\sys\backtrace.rs:168
9: 0x7ffade79a926 - std::panicking::begin_panic<ref$<str$> >
at /rustc/327c7ee4367ea587a49eff1d4715f462ab6db5f0/library\std\src\panicking.rs:753
10: 0x7ffadce63c7b - <rustc_span[a38e50e4bd2ec1f2]::symbol::Symbol>::intern
11: 0x7ff6ec023277 - <unknown>
12: 0x7ff6ec020b32 - <unknown>
13: 0x7ff6ec02c178 - <unknown>
14: 0x7ff6ebe5d648 - <unknown>
15: 0x7ff6ebd23882 - <unknown>
16: 0x7ff6ec03c4ca - <unknown>
17: 0x7ff6ebff26e0 - <unknown>
18: 0x7ff6ebfad80f - <unknown>
19: 0x7ff6ec13321b - <unknown>
20: 0x7ff6ec12daf1 - <unknown>
21: 0x7ff6ebcf1006 - <unknown>
22: 0x7ff6ebcf101c - <unknown>
23: 0x7ffadb8d6f7c - std::rt::lang_start_internal::closure$1
at /rustc/327c7ee4367ea587a49eff1d4715f462ab6db5f0/library\std\src\rt.rs:174
24: 0x7ffadb8d6f7c - std::panicking::try::do_call
at /rustc/327c7ee4367ea587a49eff1d4715f462ab6db5f0/library\std\src\panicking.rs:573
25: 0x7ffadb8d6f7c - std::panicking::try
at /rustc/327c7ee4367ea587a49eff1d4715f462ab6db5f0/library\std\src\panicking.rs:536
26: 0x7ffadb8d6f7c - std::panic::catch_unwind
at /rustc/327c7ee4367ea587a49eff1d4715f462ab6db5f0/library\std\src\panic.rs:358
27: 0x7ffadb8d6f7c - std::rt::lang_start_internal
at /rustc/327c7ee4367ea587a49eff1d4715f462ab6db5f0/library\std\src\rt.rs:174
28: 0x7ff6ebcf106c - <unknown>
29: 0x7ff6ec2fb928 - <unknown>
30: 0x7ffba812257d - BaseThreadInitThunk
31: 0x7ffba91caf28 - RtlUserThreadStart
rustc version: 1.85.0-nightly (327c7ee43 2024-12-13)
platform: x86_64-pc-windows-msvc
```
<!--
Include a backtrace in the code block by setting `RUST_BACKTRACE=1` in your
environment. E.g. `RUST_BACKTRACE=1 cargo build`.
-->
<details><summary><strong>Backtrace</strong></summary>
<p>
```
stack backtrace:
0: 0x7ffadb8f0f11 - std::backtrace_rs::backtrace::dbghelp64::trace
at /rustc/327c7ee4367ea587a49eff1d4715f462ab6db5f0/library\std\src\..\..\backtrace\src\backtrace\dbghelp64.rs:91
1: 0x7ffadb8f0f11 - std::backtrace_rs::backtrace::trace_unsynchronized
at /rustc/327c7ee4367ea587a49eff1d4715f462ab6db5f0/library\std\src\..\..\backtrace\src\backtrace\mod.rs:66
2: 0x7ffadb8f0f11 - std::sys::backtrace::_print_fmt
at /rustc/327c7ee4367ea587a49eff1d4715f462ab6db5f0/library\std\src\sys\backtrace.rs:66
3: 0x7ffadb8f0f11 - std::sys::backtrace::impl$0::print::impl$0::fmt
at /rustc/327c7ee4367ea587a49eff1d4715f462ab6db5f0/library\std\src\sys\backtrace.rs:39
4: 0x7ffadb9231ea - core::fmt::rt::Argument::fmt
at /rustc/327c7ee4367ea587a49eff1d4715f462ab6db5f0/library\core\src\fmt\rt.rs:177
5: 0x7ffadb9231ea - core::fmt::write
at /rustc/327c7ee4367ea587a49eff1d4715f462ab6db5f0/library\core\src\fmt\mod.rs:1437
6: 0x7ffadb8e7217 - std::io::Write::write_fmt<std::sys::pal::windows::stdio::Stderr>
at /rustc/327c7ee4367ea587a49eff1d4715f462ab6db5f0/library\std\src\io\mod.rs:1887
7: 0x7ffadb8f0d55 - std::sys::backtrace::BacktraceLock::print
at /rustc/327c7ee4367ea587a49eff1d4715f462ab6db5f0/library\std\src\sys\backtrace.rs:42
8: 0x7ffadb8f3c73 - std::panicking::default_hook::closure$1
at /rustc/327c7ee4367ea587a49eff1d4715f462ab6db5f0/library\std\src\panicking.rs:284
9: 0x7ffadb8f3a52 - std::panicking::default_hook
at /rustc/327c7ee4367ea587a49eff1d4715f462ab6db5f0/library\std\src\panicking.rs:311
10: 0x7ffadceda56a - core[d89699aec5627831]::slice::sort::unstable::heapsort::heapsort::<((rustc_lint_defs[476e5cdef0fa32e0]::Level, &str), usize), <((rustc_lint_defs[476e5cdef0fa32e0]::Level, &str), usize) as core[d89699aec5627831]::cmp::PartialOrd>::lt>
11: 0x7ffadb8f44a2 - alloc::boxed::impl$30::call
at /rustc/327c7ee4367ea587a49eff1d4715f462ab6db5f0/library\alloc\src\boxed.rs:1984
12: 0x7ffadb8f44a2 - std::panicking::rust_panic_with_hook
at /rustc/327c7ee4367ea587a49eff1d4715f462ab6db5f0/library\std\src\panicking.rs:825
13: 0x7ffadb8f432d - std::panicking::begin_panic::closure$0<ref$<str$> >
at /rustc/327c7ee4367ea587a49eff1d4715f462ab6db5f0/library\std\src\panicking.rs:754
14: 0x7ffadb8f19ef - std::sys::backtrace::__rust_end_short_backtrace<std::panicking::begin_panic::closure_env$0<ref$<str$> >,never$>
at /rustc/327c7ee4367ea587a49eff1d4715f462ab6db5f0/library\std\src\sys\backtrace.rs:168
15: 0x7ffade79a926 - std::panicking::begin_panic<ref$<str$> >
at /rustc/327c7ee4367ea587a49eff1d4715f462ab6db5f0/library\std\src\panicking.rs:753
16: 0x7ffadce63c7b - <rustc_span[a38e50e4bd2ec1f2]::symbol::Symbol>::intern
17: 0x7ff6ec023277 - <unknown>
18: 0x7ff6ec020b32 - <unknown>
19: 0x7ff6ec02c178 - <unknown>
20: 0x7ff6ebe5d648 - <unknown>
21: 0x7ff6ebd23882 - <unknown>
22: 0x7ff6ec03c4ca - <unknown>
23: 0x7ff6ebff26e0 - <unknown>
24: 0x7ff6ebfad80f - <unknown>
25: 0x7ff6ec13321b - <unknown>
26: 0x7ff6ec12daf1 - <unknown>
27: 0x7ff6ebcf1006 - <unknown>
28: 0x7ff6ebcf101c - <unknown>
29: 0x7ffadb8d6f7c - std::rt::lang_start_internal::closure$1
at /rustc/327c7ee4367ea587a49eff1d4715f462ab6db5f0/library\std\src\rt.rs:174
30: 0x7ffadb8d6f7c - std::panicking::try::do_call
at /rustc/327c7ee4367ea587a49eff1d4715f462ab6db5f0/library\std\src\panicking.rs:573
31: 0x7ffadb8d6f7c - std::panicking::try
at /rustc/327c7ee4367ea587a49eff1d4715f462ab6db5f0/library\std\src\panicking.rs:536
32: 0x7ffadb8d6f7c - std::panic::catch_unwind
at /rustc/327c7ee4367ea587a49eff1d4715f462ab6db5f0/library\std\src\panic.rs:358
33: 0x7ffadb8d6f7c - std::rt::lang_start_internal
at /rustc/327c7ee4367ea587a49eff1d4715f462ab6db5f0/library\std\src\rt.rs:174
34: 0x7ff6ebcf106c - <unknown>
35: 0x7ff6ec2fb928 - <unknown>
36: 0x7ffba812257d - BaseThreadInitThunk
37: 0x7ffba91caf28 - RtlUserThreadStart
```
</p>
</details> | T-rustdoc,I-ICE,C-bug,E-needs-mcve | low | Critical |
2,740,229,220 | vscode | Profiles broke in recent VSCode WSL | <!-- ⚠️⚠️ 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.0 and earlier
- OS Version: Windows_NT x64 10.0.22635
In recent VSCode versions, profiles no longer work correctly when connected to WSL.
* Primary Side Panel does not save which view tab is currently open (can’t quite reproduce)
* Steps to Reproduce:
1. Connect VSCode to WSL
2. Use profile editor UI to copy the Default profile
* ❎ the Editor cannot save | info-needed | low | Critical |
2,740,235,100 | PowerToys | The Mouser Highlighter appears to be of different sizes on monitors with varying DPI settings. | ### Microsoft PowerToys version
v0.86.0
### Installation method
PowerToys auto-update
### Running as admin
None
### Area(s) with issue?
Mouse Utilities
### Steps to reproduce
used the Mouser Highlighter feature
### ✔️ Expected Behavior
I hope that they will actually look the same size visually.
### ❌ Actual Behavior
I'm currently using two monitors with different DPI settings and have encountered an issue where a circle with a radius set to 50px appears visually different on each display. While it may not be a bug, the inconsistency is less than ideal.
Thanks.

### Other Software
win11 | Issue-Bug,Needs-Triage,Product-Mouse Utilities | low | Critical |
2,740,249,062 | ollama | Digest mismatch for llama3.3 | ### What is the issue?
I've tried this several times - same result every time:
~ took 43s ❯ ollama run llama3.3
pulling manifest
pulling 4824460d29f2... 100% ▕████████████████████████████████████▏ 42 GB
pulling 948af2743fc7... 100% ▕████████████████████████████████████▏ 1.5 KB
pulling bc371a43ce90... 100% ▕████████████████████████████████████▏ 7.6 KB
pulling 53a87df39647... 100% ▕████████████████████████████████████▏ 5.6 KB
pulling 56bb8bd477a5... 100% ▕████████████████████████████████████▏ 96 B
pulling c7091aa45e9b... 100% ▕████████████████████████████████████▏ 562 B
verifying sha256 digest
Error: digest mismatch, file must be downloaded again: want sha256:4824460d29f2058aaf6e1118a63a7a197a09bed509f0e7d4e2efb1ee273b447d, got sha256:4e7ab3e3f5fba9ba2d72787c3e5a8e0d4931059bae000821f1278753855af7ac
### OS
Linux
### GPU
Nvidia
### CPU
AMD
### Ollama version
0.5.1 | bug | medium | Critical |
2,740,260,543 | node | When using `glob` can't exclude all directs | ### Version
v23.4.0
### Platform
```text
Microsoft Windows NT 10.0.22631.0 x64
```
### Subsystem
_No response_
### What steps will reproduce the bug?
1. Create a folder and open it in your code editor (we use this as current working directory).
2. Make/create the files/folders shown below:
```
src
src\a
src\a\b
src\a\c
src\index.ts
src\zip.ts
```
4. Run the code below:
```js
console.log(
fs.globSync("src/**", {
withFileTypes: true,
cwd: process.cwd(),
exclude: (dirent) => {
console.log(dirent)
},
}),
)
```
### How often does it reproduce? Is there a required condition?
.
### What is the expected behavior? Why is that the expected behavior?
I expect the `exclude` function to receive all the output directs, so that they can be excluded. (See "Additional information" part).
Even with just returning `true` in `exclude` function, you can exclude `DirentFromStats` from the result.
### What do you see instead?
The first direct from output is missing in exclude. (See "Additional information" part).
### Additional information
Exclude:
```js
Dirent {
name: 'a',
parentPath: 'C:\\Users\\Babak\\Documents\\Code\\tosk\\src',
path: 'C:\\Users\\Babak\\Documents\\Code\\tosk\\src',
[Symbol(type)]: 2
}
Dirent {
name: 'index.ts',
parentPath: 'C:\\Users\\Babak\\Documents\\Code\\tosk\\src',
path: 'C:\\Users\\Babak\\Documents\\Code\\tosk\\src',
[Symbol(type)]: 1
}
Dirent {
name: 'zip.ts',
parentPath: 'C:\\Users\\Babak\\Documents\\Code\\tosk\\src',
path: 'C:\\Users\\Babak\\Documents\\Code\\tosk\\src',
[Symbol(type)]: 1
}
Dirent {
name: 'b',
parentPath: 'C:\\Users\\Babak\\Documents\\Code\\tosk\\src\\a',
path: 'C:\\Users\\Babak\\Documents\\Code\\tosk\\src\\a',
[Symbol(type)]: 2
}
Dirent {
name: 'c',
parentPath: 'C:\\Users\\Babak\\Documents\\Code\\tosk\\src\\a',
path: 'C:\\Users\\Babak\\Documents\\Code\\tosk\\src\\a',
[Symbol(type)]: 2
}
```
Output:
```js
[
DirentFromStats {
name: 'src',
parentPath: 'C:\\Users\\Babak\\Documents\\Code\\tosk',
path: 'C:\\Users\\Babak\\Documents\\Code\\tosk',
[Symbol(type)]: null,
[Symbol(stats)]: Stats {
dev: 1247631908,
mode: 16822,
nlink: 1,
uid: 0,
gid: 0,
rdev: 0,
blksize: 4096,
ino: 1970324837878618,
size: 0,
blocks: 0,
atimeMs: 1734234059936.9617,
mtimeMs: 1734231659493.8164,
ctimeMs: 1734231659493.8164,
birthtimeMs: 1734197097735.2148
}
},
Dirent {
name: 'index.ts',
parentPath: 'C:\\Users\\Babak\\Documents\\Code\\tosk\\src',
path: 'C:\\Users\\Babak\\Documents\\Code\\tosk\\src',
[Symbol(type)]: 1
},
Dirent {
name: 'zip.ts',
parentPath: 'C:\\Users\\Babak\\Documents\\Code\\tosk\\src',
path: 'C:\\Users\\Babak\\Documents\\Code\\tosk\\src',
[Symbol(type)]: 1
},
Dirent {
name: 'a',
parentPath: 'C:\\Users\\Babak\\Documents\\Code\\tosk\\src',
path: 'C:\\Users\\Babak\\Documents\\Code\\tosk\\src',
[Symbol(type)]: 2
},
Dirent {
name: 'c',
parentPath: 'C:\\Users\\Babak\\Documents\\Code\\tosk\\src\\a',
path: 'C:\\Users\\Babak\\Documents\\Code\\tosk\\src\\a',
[Symbol(type)]: 2
},
Dirent {
name: 'b',
parentPath: 'C:\\Users\\Babak\\Documents\\Code\\tosk\\src\\a',
path: 'C:\\Users\\Babak\\Documents\\Code\\tosk\\src\\a',
[Symbol(type)]: 2
}
]
``` | fs | low | Critical |
2,740,260,866 | TypeScript | Support a built-in type for well-formed strings | ### 🔍 Search Terms
"Unicode", "well-formed Unicode", "valid Unicode", "lone surrogates", ""UTF-16", "UTF-8", "isWellFormed()", "toWellFormed()"
### ✅ Viability Checklist
- [x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
- [x] This wouldn't change the runtime behavior of existing JavaScript code
- [x] This could be implemented without emitting different JS based on the types of the expressions
- [x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
- [x] This isn't a request to add a new utility type: https://github.com/microsoft/TypeScript/wiki/No-New-Utility-Types
- [?] This feature would agree with the rest of our Design Goals: https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals
### ⭐ Suggestion
ES2024 now has [`String.isWellFormed()` and `String.toWellFormed()`][usv-string], which [are supported][es2024-string] in TypeScript's ES2024 type definitions.
But significant value from these functions is not realized in TypeScript because of the lack of a well-formed string type.
What I'd like to see is a "well-formed string" type (itself a super-type of `String`) for which `isWellFormed()` serves as a type guard and `toWellFormed()` (as well as functions like `TextDecoder.decode()`) return the well-formed string type.
Additionally, string literals could be determined to be of the well-formed string type at compile time.
This way TypeScript developers could get type safety for scenarios where strings need to be guaranteed to be well-formed.
[usv-string]: https://github.com/tc39/proposal-is-usv-string
[es2024-string]: https://github.com/microsoft/TypeScript/blob/main/src/lib/es2024.string.d.ts
### 📃 Motivating Example
I'm working on a TypeScript implementation of [CEL](https://cel.dev) which requires passing well-formed UTF-8 strings into an evaluation environment. If I want to bridge TypeScript's type safety to CEL's type safety, I'll need a well-formed string type in TypeScript.
### 💻 Use Cases
I can do something like this in my project:
```ts
interface WellFormedString extends String {
__brand: "WellFormed";
}
interface String {
isWellFormed(): this is WellFormedString;
toWellFormed(): WellFormedString;
toUpperCase(): this extends WellFormedString ? WellFormedString : string;
toLowerCase(): this extends WellFormedString ? WellFormedString : string;
}
interface TextDecoder {
decode(input?: AllowSharedBufferSource, options?: TextDecodeOptions): WellFormedString;
}
function useWellFormedString(a: WellFormedString) {
// ...
}
// good -- no error
useWellFormedString("hello".toWellFormed());
// good -- no error
useWellFormedString("hello".toWellFormed().toUpperCase());
// good -- no error
const h = "hello";
if (h.isWellFormed()) {
useWellFormedString(h);
}
// good -- no error
// (the decoder coerces a lone "WTF-8" surrogate to "\ufffd\ufffd\ufffd")
useWellFormedString(new TextDecoder().decode(new Uint8Array([0xed, 0xba, 0xad])))
// good -- error
// (malformed string with lone UTF-16 surrogate)
useWellFormedString("\udead");
// bad -- error
useWellFormedString("hello");
// bad -- error
useWellFormedString("hello" as WellFormedString);
```
But there are some significant disadvantages here:
1. Well-formed string literals are not recognized as well-formed.
2. Uses a branding hack.
3. The compiler complains about casting (maybe this is fixable, but I don't know how). | Suggestion,Awaiting More Feedback | low | Critical |
2,740,277,888 | vscode | Confirm window before close setting: separate window vs app | <!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- Please search existing issues to avoid creating duplicates. -->
<!-- Describe the feature you'd like. -->
I'd like to have two separate "confirm before close" settings for Window close (Cmd+Shift+W) **and** App close (Cmd+Q). Right now the current setting (`"window.confirmBeforeClose": "keyboardOnly"`) sets the behavior for both.
I like this confirmation dialog for accidental "Cmd+Q"s but not for "Cmd+Shift+W"s. I usually have several VSCode windows open and I very rarely want to close them all at the same time. So confirm dialog is useful in this case.
However I often close/reopen instances quite often. And confirmation dialog gets in the way.
| feature-request,workbench-window | low | Minor |
2,740,279,189 | ollama | version set incorrectly on local build without primary repo remote and tags - results in pull failure for newer models | ### What is the issue?
Following the [docs](https://github.com/ollama/ollama/blob/main/docs/development.md#macos) to build Ollama from source, then trying to pull llama3.1 results in a refusal stating the Ollama version is too old.
```shell
$ git checkout feature/my-feature-in-development
$ make -j $(expr $(nproc) / 2)
...
$ ollama pull llama3.1:8b-instruct-q6_K
pulling manifest
Error: pull model manifest: 412:
The model you are attempting to pull requires a newer version of Ollama.
Please download the latest version at:
https://ollama.com/download
$ ollama -v
ollama version is 4d52e5d-dirty
```
### OS
Linux, macOS
### GPU
Nvidia, Apple
### CPU
AMD, Apple
### Ollama version
4d52e5d-dirty | bug,build | low | Critical |
2,740,296,839 | rust | Confusing suggestion from self import | ### Code
```Rust
mod foo {
use self::Bar;
pub struct Bar;
}
fn main() {}
```
### Current output
```Shell
error[E0255]: the name `Bar` is defined multiple times
--> src/main.rs:4:5
|
2 | use self::Bar;
| --------- previous import of the type `Bar` here
3 |
4 | pub struct Bar;
| ^^^^^^^^^^^^^^^ `Bar` redefined here
|
= note: `Bar` must be defined only once in the type namespace of this module
help: you can use `as` to change the binding name of the import
|
2 | use self::Bar as OtherBar;
| +++++++++++
```
### Desired output
```Shell
error[E0255]: the name `Bar` is defined multiple times
--> src/main.rs:4:5
|
2 | use self::Bar;
| --------- previous import of the type `Bar` here
3 |
4 | pub struct Bar;
| ^^^^^^^^^^^^^^^ `Bar` redefined here
|
= note: `Bar` must be defined only once in the type namespace of this module
help: Remove redundant recursive import
|
2 | - use self::Bar
|
```
### Rationale and extra context
if you are doing a self import it is most likely that you made a change in your code that made it redundant
### Other cases
```Rust
```
### Rust Version
```Shell
rustc 1.83.0 (90b35a623 2024-11-26)
binary: rustc
commit-hash: 90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf
commit-date: 2024-11-26
host: x86_64-unknown-linux-gnu
release: 1.83.0
LLVM version: 19.1.1
```
### Anything else?
_No response_ | A-diagnostics,T-compiler | low | Critical |
2,740,309,088 | PowerToys | Preview Pane to show additional file information | ### Description of the new feature / enhancement
The preview pane before Windows 10 was a pleasure to use. I am still used to it being at the bottom of the Explorer window, not on the right as it is currently. I wish we still had the option to change it from the right side to the bottom.
Lately, you guys have added additional file types for preview, which is helpful. However, one important feature I'm still missing is the ability to view additional file information and properties. This was particularly useful when flipping through files or clips, as it allowed me to see the dimensions and resolution of photos, the video resolution and frames per second, and the file size. Additionally, information such as the camera model and settings (ISO, aperture, etc.) would be displayed. Having all this data in one place was incredibly useful, and I sorely miss it.
My question is whether there is a possibility of adding all the file information and properties to the preview pane, and perhaps, as a bonus, adding the option to move it to the bottom of the window.
### Scenario when this would be used?
It's extremely useful
### Supporting information
If you have ever used the preview pane before Windows 10, you would understand it for yourself. | Idea-Enhancement,Product-File Explorer,Needs-Triage | low | Minor |
2,740,311,318 | rust | Tracking Issue for m68k_target_feature | <!--
NOTE: For library features, please use the "Library Tracking Issue" template instead.
Thank you for creating a tracking issue! 📜 Tracking issues are for tracking a
feature from implementation to stabilisation. Make sure to include the relevant
RFC for the feature if it has one. Otherwise provide a short summary of the
feature and link any relevant PRs or issues, and remove any sections that are
not relevant to the feature.
Remember to add team labels to the tracking issue.
For a language team feature, this would e.g., be `T-lang`.
Such a feature should also be labeled with e.g., `F-my_feature`.
This label is used to associate issues (e.g., bugs and design questions) to the feature.
-->
This is a tracking issue for M68k architecture specific part of https://github.com/rust-lang/rust/issues/44839 (RFC 2045 (rust-lang/rfcs#2045)).
The feature gate for the issue is `#![feature(m68k_target_feature)]`.
### About tracking issues
Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however *not* meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.
Discussion comments will get marked as off-topic or deleted.
Repeated discussions on the tracking issue may lead to the tracking issue getting locked.
### Steps
<!--
Include each step required to complete the feature. Typically this is a PR
implementing a feature, followed by a PR that stabilises the feature. However
for larger features an implementation could be broken up into multiple PRs.
-->
- [ ] Implementation https://github.com/rust-lang/rust/pull/134329
- [ ] Stabilization PR ([see instructions on rustc-dev-guide][stabilization-guide])
[stabilization-guide]: https://rustc-dev-guide.rust-lang.org/stabilization_guide.html#stabilization-pr
[doc-guide]: https://rustc-dev-guide.rust-lang.org/stabilization_guide.html#documentation-prs
[nightly-style-procedure]: https://github.com/rust-lang/style-team/blob/main/nightly-style-procedure.md
[Style Guide]: https://github.com/rust-lang/rust/tree/master/src/doc/style-guide
### Unresolved Questions
<!--
Include any open questions that need to be answered before the feature can be
stabilised.
-->
- `isa-68000` is baseline of this architecture, so it may not actually need to be expressed as a target feature.
### Implementation history
<!--
Include a list of all the PRs that were involved in implementing the feature.
-->
- `isa-*`: https://github.com/rust-lang/rust/pull/134329
@rustbot label +O-motorola68k +A-target-feature
| C-tracking-issue,O-motorola68k,A-target-feature | low | Critical |
2,740,346,983 | flutter | [pigeon][swift] Make `PigeonError` Class Conform to `Sendable` | Related Issues:
- https://github.com/flutter/flutter/issues/140439
- https://github.com/flutter/flutter/issues/147283
### Use case
`Sendable` was introduced in Swift 5.5 to ensure thread-safe interactions in concurrent code. With the `Swift 6` language mode in Swift 6.0 (Xcode 16), stricter conditions for `Sendable` conformance are enforced. Although newer Swift compiler can compile in `Swift 5` mode, many developers prefer the stricter safety guarantees of `Swift 6`.
Pigeon, a code generator for Dart and native platform communication, enables seamless cross-platform development. However, the `PigeonError` class currently does not conform to `Sendable`, leading to compilation errors in `Swift 6` mode and blocking developers from adopting the latest Swift concurrency features.
Example error:
```
Stored property 'details' of 'Sendable'-conforming class 'PigeonError' has non-sendable type 'Any?'
```
### Proposal
The current `PigeonError` class is a simple implementation of the `Error` protocol:
```swift
/// Error class for passing custom error details to the Dart side.
final class PigeonError: Error {
let code: String
let message: String?
let details: Any?
init(code: String, message: String?, details: Any?) {
self.code = code
self.message = message
self.details = details
}
var localizedDescription: String {
return "PigeonError(code: \(code), message: \(message ?? "<nil>"), details: \(details ?? "<nil>"))"
}
}
```
To make the class compatible with `Swift 6.0` mode, I propose changing the `details` property type from `Any?` to `Sendable?`. This ensures the class conforms to `Sendable` since:
- The `Error` protocol already conforms to `Sendable`.
- All other properties (`String` and `Optional`) are `Sendable`.
This change introduces backward incompatibility because of the `details` type change. However, most existing use cases of `PigeonError` involve small, well-defined payloads, so migration should be straightforward. Developers can update their code by ensuring objects passed to `details` conform to `Sendable`. | package,c: proposal,team-ecosystem,p: pigeon,P2,triaged-ecosystem | low | Critical |
2,740,355,936 | transformers | KeyError: 'intern_vit_6b' | ### System Info
Ubuntu 24.04.1
transformers 4.47.0
### Who can help?
I want to use the latest OpenGVLab/InternViT-300M-448px-V2_5 as the vision encoder of llava, but an error occurred when running the following code. I think it should be that transformers do not support this visual encoder. I tried to modify the code, but it didn't work.
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)
### Reproduction
import torch
from PIL import Image
from transformers import AutoModel, CLIPImageProcessor,AutoTokenizer, AutoProcessor,AutoModelForCausalLM
from transformers import LlavaForConditionalGeneration,LlavaConfig
clip_model_name_or_path = "/home/wangyu/model/models--OpenGVLab--InternViT-300M-448px-V2_5/snapshots/8f86a5e87697180b439811ca69fabbfccd38d996"
qwen_model_name_or_path = "/home/wangyu/model/Qwen2.5-0.5B-Instruct"
clip_model = AutoModel.from_pretrained(clip_model_name_or_path, device_map="cuda:0",trust_remote_code='True')
llm_model = AutoModelForCausalLM.from_pretrained(qwen_model_name_or_path, device_map="cuda:0")
llm_tokenizer = AutoTokenizer.from_pretrained(qwen_model_name_or_path)
vision_config = clip_model.config
text_config = llm_model.config
configuration = LlavaConfig(vision_config, text_config)
model = LlavaForConditionalGeneration(configuration)
model.save_pretrained("slvm/model001")
from transformers import LlavaProcessor, LlavaForConditionalGeneration
import torch
import os
from typing import Union
from transformers.configuration_utils import PretrainedConfig
from transformers.utils import logging
model_name_or_path = "slvm/model001" # 需要确认路径是否正确
llava_processor = LlavaProcessor.from_pretrained(model_name_or_path)
model = LlavaForConditionalGeneration.from_pretrained(
model_name_or_path,
device_map="cuda:0",
torch_dtype=torch.bfloat16,
)
from PIL import Image
prompt_text = "<image>\nWhat are these?"
messages = [
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": prompt_text},
]
prompt = llava_processor.tokenizer.apply_chat_template(
messages, tokenize=False, add_generation_prompt=True
)
image_path = "000000039769.jpg"
image = Image.open(image_path)
inputs = llava_processor(text=prompt, images=image, return_tensors="pt")
for tk in inputs.keys():
if inputs[tk].dtype == torch.float32:
inputs[tk] = inputs[tk].to(dtype=torch.bfloat16)
inputs[tk] = inputs[tk].to(model.device)
generate_ids = model.generate(**inputs, max_new_tokens=20)
gen_text = llava_processor.batch_decode(
generate_ids, skip_special_tokens=False, clean_up_tokenization_spaces=False
)[0]
print(gen_text)
error:
{
"name": "KeyError",
"message": "'intern_vit_6b'",
"stack": "---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
Cell In[5], line 9
6 from transformers.utils import logging
7 model_name_or_path = \"slvm/model001\" # 需要确认路径是否正确
----> 9 llava_processor = LlavaProcessor.from_pretrained(model_name_or_path)
10 model = LlavaForConditionalGeneration.from_pretrained(
11 model_name_or_path,
12 device_map=\"cuda:0\",
13 torch_dtype=torch.bfloat16,
14 )
16 from PIL import Image
File ~/miniconda3/envs/llm/lib/python3.10/site-packages/transformers/processing_utils.py:974, in ProcessorMixin.from_pretrained(cls, pretrained_model_name_or_path, cache_dir, force_download, local_files_only, token, revision, **kwargs)
971 if token is not None:
972 kwargs[\"token\"] = token
--> 974 args = cls._get_arguments_from_pretrained(pretrained_model_name_or_path, **kwargs)
975 processor_dict, kwargs = cls.get_processor_dict(pretrained_model_name_or_path, **kwargs)
977 return cls.from_args_and_dict(args, processor_dict, **kwargs)
File ~/miniconda3/envs/llm/lib/python3.10/site-packages/transformers/processing_utils.py:1020, in ProcessorMixin._get_arguments_from_pretrained(cls, pretrained_model_name_or_path, **kwargs)
1017 else:
1018 attribute_class = getattr(transformers_module, class_name)
-> 1020 args.append(attribute_class.from_pretrained(pretrained_model_name_or_path, **kwargs))
1021 return args
File ~/miniconda3/envs/llm/lib/python3.10/site-packages/transformers/models/auto/tokenization_auto.py:878, in AutoTokenizer.from_pretrained(cls, pretrained_model_name_or_path, *inputs, **kwargs)
876 config = AutoConfig.for_model(**config_dict)
877 else:
--> 878 config = AutoConfig.from_pretrained(
879 pretrained_model_name_or_path, trust_remote_code=trust_remote_code, **kwargs
880 )
881 config_tokenizer_class = config.tokenizer_class
882 if hasattr(config, \"auto_map\") and \"AutoTokenizer\" in config.auto_map:
File ~/miniconda3/envs/llm/lib/python3.10/site-packages/transformers/models/auto/configuration_auto.py:1045, in AutoConfig.from_pretrained(cls, pretrained_model_name_or_path, **kwargs)
1039 except KeyError:
1040 raise ValueError(
1041 f\"The checkpoint you are trying to load has model type `{config_dict['model_type']}` \"
1042 \"but Transformers does not recognize this architecture. This could be because of an \"
1043 \"issue with the checkpoint, or because your version of Transformers is out of date.\"
1044 )
-> 1045 return config_class.from_dict(config_dict, **unused_kwargs)
1046 else:
1047 # Fallback: use pattern matching on the string.
1048 # We go from longer names to shorter names to catch roberta before bert (for instance)
1049 for pattern in sorted(CONFIG_MAPPING.keys(), key=len, reverse=True):
File ~/miniconda3/envs/llm/lib/python3.10/site-packages/transformers/configuration_utils.py:734, in PretrainedConfig.from_dict(cls, config_dict, **kwargs)
731 # We remove it from kwargs so that it does not appear in `return_unused_kwargs`.
732 config_dict[\"attn_implementation\"] = kwargs.pop(\"attn_implementation\", None)
--> 734 config = cls(**config_dict)
736 if hasattr(config, \"pruned_heads\"):
737 config.pruned_heads = {int(key): value for key, value in config.pruned_heads.items()}
File ~/miniconda3/envs/llm/lib/python3.10/site-packages/transformers/models/llava/configuration_llava.py:108, in LlavaConfig.__init__(self, vision_config, text_config, ignore_index, image_token_index, projector_hidden_act, vision_feature_select_strategy, vision_feature_layer, image_seq_length, **kwargs)
104 if isinstance(vision_config, dict):
105 vision_config[\"model_type\"] = (
106 vision_config[\"model_type\"] if \"model_type\" in vision_config else \"clip_vision_model\"
107 )
--> 108 vision_config = CONFIG_MAPPING[vision_config[\"model_type\"]](**vision_config)
109 elif vision_config is None:
110 vision_config = CONFIG_MAPPING[\"clip_vision_model\"](
111 intermediate_size=4096,
112 hidden_size=1024,
(...)
118 projection_dim=768,
119 )
File ~/miniconda3/envs/llm/lib/python3.10/site-packages/transformers/models/auto/configuration_auto.py:740, in _LazyConfigMapping.__getitem__(self, key)
738 return self._extra_content[key]
739 if key not in self._mapping:
--> 740 raise KeyError(key)
741 value = self._mapping[key]
742 module_name = model_type_to_module_name(key)
KeyError: 'intern_vit_6b'"
}
### Expected behavior
I think I need to modify the source code and add internvit, just like clip. I hope the official staff can tell me where to modify it.
I love transformers! | WIP,bug,Multimodal | low | Critical |
2,740,366,667 | yt-dlp | FR: ability to download metadata/comments from a Patreon post with a YouTube embed | ### DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE
- [X] I understand that I will be **blocked** if I *intentionally* remove or skip any mandatory\* field
### Checklist
- [X] I'm requesting a site-specific feature
- [X] I've verified that I have **updated yt-dlp to nightly or master** ([update instructions](https://github.com/yt-dlp/yt-dlp#update-channels))
- [X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
- [X] I've searched [known issues](https://github.com/yt-dlp/yt-dlp/issues/3766) and the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=) for similar issues **including closed ones**. DO NOT post duplicates
- [X] I've read the [guidelines for opening an issue](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#opening-an-issue)
- [ ] I've read about [sharing account credentials](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#are-you-willing-to-share-account-details-if-needed) and I'm willing to share it if required
### Region
New York, United States
### Example URLs
https://www.patreon.com/posts/war-and-peace-35-72691033 (confirmed with a friend that an account is not required to access this post; this isn't the post I'm interested in but that one requires joining)
### Provide a description that is worded well enough to be understood
I want to download the metadata (description, info.json, etc.) and comments from a Patreon post that itself embeds a YouTube video. Normally yt-dlp barrels down to the YouTube video and downloads that instead; I'd like to suppress that redirect and just get the Patreon post information.
I am trying this with `--skip-download` assuming that would not even try to get the video information, but this still tries to get the YouTube video.
I found the similar-sounding #2044 that suggests using `--ies`, but using `--ies patreon,-generic` just results in `ERROR: No suitable extractor found for URL https://youtu.be/...`.
Am I missing something? I've been searching both the manpage and Google for "embed" and "redirect" but can't seem to find anything relevant; most issues about Patreon embeds are about people actually trying to get embeds but it not working.
(I imagine this same issue would affect other website embeds like Vimeo as well.)
### Provide verbose output that clearly demonstrates the problem
- [X] Run **your** yt-dlp command with **-vU** flag added (`yt-dlp -vU <your command line>`)
- [ ] If using API, add `'verbose': True` to `YoutubeDL` params instead
- [X] Copy the WHOLE output (starting with `[debug] Command-line config`) and insert it below
### Complete Verbose Output
```shell
[debug] Command-line config: ['-vU', '--skip-download', '--write-info-json', '--write-comments', 'https://www.patreon.com/posts/war-and-peace-35-72691033']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version [email protected] from yt-dlp/yt-dlp [542166962]
[debug] Lazy loading extractors is disabled
[debug] Python 3.11.11 (CPython x86_64 64bit) - macOS-10.12.6-x86_64-i386-64bit (OpenSSL 3.4.0 22 Oct 2024)
[debug] exe versions: ffmpeg 4.4.5 (fdk,setts), ffprobe 4.4.5, rtmpdump 2.4
[debug] Optional libraries: sqlite3-3.47.2
[debug] Proxy map: {}
[debug] Request Handlers: urllib
[debug] Loaded 1837 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: [email protected] from yt-dlp/yt-dlp
yt-dlp is up to date ([email protected] from yt-dlp/yt-dlp)
[patreon] Extracting URL: https://www.patreon.com/posts/war-and-peace-35-72691033
[patreon] 72691033: Downloading API JSON
[patreon] 72691033: Checking embed URL
[youtube] Extracting URL: https://youtu.be/HURI6EHXybc#__youtubedl_smuggle=%7B%22referer%22%3A+%22https%3A%2F%2Fpatreon.com%2F%22%7D
[youtube] HURI6EHXybc: Downloading webpage
[youtube] HURI6EHXybc: Downloading ios player API JSON
[youtube] HURI6EHXybc: Downloading mweb player API JSON
[debug] Loading youtube-nsig.f8f53e1a from cache
[debug] [youtube] Decrypted nsig LSiksj94cpMd-hDbzsw => agjCRSEv7tPvBg
[debug] Loading youtube-nsig.f8f53e1a from cache
[debug] [youtube] Decrypted nsig q8wi3jYdkjruFWSFy3N => 5_ITR-j0F0YPZA
[youtube] HURI6EHXybc: Downloading m3u8 information
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec, channels, acodec, lang, proto, size, br, asr, vext, aext, hasaud, id
[youtube] Downloading comment section API JSON
[youtube] Downloading ~2893 comments
[youtube] Sorting comments by newest first
[youtube] Downloading comment API JSON page 1 (0/~2893)
[youtube] Downloading comment API JSON reply thread 1 (11/~2893)
[youtube] Downloading comment API JSON reply thread 2 (21/~2893)
[youtube] Downloading comment API JSON page 2 (22/~2893)
[youtube] Downloading comment API JSON reply thread 1 (34/~2893)
[youtube] Downloading comment API JSON page 3 (43/~2893)
[youtube] Downloading comment API JSON reply thread 1 (51/~2893)
[youtube] Downloading comment API JSON page 4 (65/~2893)
[youtube] Downloading comment API JSON page 5 (85/~2893)
[youtube] Downloading comment API JSON reply thread 1 (102/~2893)
[youtube] Downloading comment API JSON page 6 (106/~2893)
[youtube] Downloading comment API JSON reply thread 1 (109/~2893)
[youtube] Downloading comment API JSON page 7 (127/~2893)
[youtube] Downloading comment API JSON reply thread 1 (137/~2893)
[youtube] Downloading comment API JSON reply thread 2 (140/~2893)
[youtube] Downloading comment API JSON page 8 (151/~2893)
[youtube] Downloading comment API JSON reply thread 1 (155/~2893)
[youtube] Downloading comment API JSON reply thread 2 (167/~2893)
[youtube] Downloading comment API JSON page 9 (177/~2893)
[youtube] Downloading comment API JSON reply thread 1 (197/~2893)
[youtube] Downloading comment API JSON page 10 (198/~2893)
[youtube] Downloading comment API JSON reply thread 1 (200/~2893)
[youtube] Downloading comment API JSON reply thread 2 (203/~2893)
[youtube] Downloading comment API JSON reply thread 3 (206/~2893)
[youtube] Downloading comment replies API JSON page 1 (216/~2893)
[youtube] Downloading comment API JSON reply thread 4 (227/~2893)
[youtube] Downloading comment API JSON page 11 (240/~2893)
[youtube] Downloading comment API JSON reply thread 1 (254/~2893)
[youtube] Downloading comment API JSON page 12 (261/~2893)
[youtube] Downloading comment API JSON reply thread 1 (263/~2893)
[youtube] Downloading comment API JSON reply thread 2 (268/~2893)
[youtube] Downloading comment API JSON reply thread 3 (279/~2893)
[youtube] Downloading comment API JSON reply thread 4 (287/~2893)
[youtube] Downloading comment API JSON page 13 (288/~2893)
[youtube] Downloading comment API JSON reply thread 1 (307/~2893)
[youtube] Downloading comment API JSON page 14 (309/~2893)
[youtube] Downloading comment API JSON reply thread 1 (313/~2893)
[youtube] Downloading comment API JSON reply thread 2 (317/~2893)
[youtube] Downloading comment API JSON page 15 (332/~2893)
[youtube] Downloading comment API JSON page 16 (352/~2893)
[youtube] Downloading comment API JSON page 17 (372/~2893)
[youtube] Downloading comment API JSON page 18 (392/~2893)
[youtube] Downloading comment API JSON reply thread 1 (409/~2893)
[youtube] Downloading comment API JSON reply thread 2 (412/~2893)
[youtube] Downloading comment API JSON page 19 (421/~2893)
[youtube] Downloading comment API JSON reply thread 1 (430/~2893)
[youtube] Downloading comment API JSON page 20 (442/~2893)
[youtube] Downloading comment API JSON page 21 (462/~2893)
[youtube] Downloading comment API JSON reply thread 1 (467/~2893)
[youtube] Downloading comment API JSON reply thread 2 (474/~2893)
[youtube] Downloading comment API JSON reply thread 3 (481/~2893)
[youtube] Downloading comment API JSON page 22 (485/~2893)
[youtube] Downloading comment API JSON reply thread 1 (486/~2893)
[youtube] Downloading comment API JSON reply thread 2 (495/~2893)
[youtube] Downloading comment API JSON reply thread 3 (508/~2893)
[youtube] Downloading comment API JSON page 23 (514/~2893)
[youtube] Downloading comment API JSON reply thread 1 (515/~2893)
[youtube] Downloading comment API JSON page 24 (535/~2893)
[youtube] Downloading comment API JSON reply thread 1 (539/~2893)
[youtube] Downloading comment API JSON page 25 (556/~2893)
[youtube] Downloading comment API JSON page 26 (576/~2893)
[youtube] Downloading comment API JSON page 27 (596/~2893)
[youtube] Downloading comment API JSON page 28 (616/~2893)
[youtube] Downloading comment API JSON reply thread 1 (628/~2893)
[youtube] Downloading comment API JSON reply thread 2 (636/~2893)
[youtube] Downloading comment API JSON page 29 (638/~2893)
[youtube] Downloading comment API JSON reply thread 1 (641/~2893)
[youtube] Downloading comment API JSON page 30 (659/~2893)
[youtube] Downloading comment API JSON reply thread 1 (665/~2893)
[youtube] Downloading comment API JSON page 31 (680/~2893)
[youtube] Downloading comment API JSON page 32 (700/~2893)
[youtube] Downloading comment API JSON page 33 (720/~2893)
[youtube] Downloading comment API JSON reply thread 1 (724/~2893)
[youtube] Downloading comment API JSON page 34 (741/~2893)
[youtube] Downloading comment API JSON page 35 (761/~2893)
[youtube] Downloading comment API JSON page 36 (781/~2893)
[youtube] Downloading comment API JSON reply thread 1 (791/~2893)
[youtube] Downloading comment replies API JSON page 1 (801/~2893)
[youtube] Downloading comment API JSON page 37 (830/~2893)
[youtube] Downloading comment API JSON page 38 (850/~2893)
[youtube] Downloading comment API JSON reply thread 1 (863/~2893)
[youtube] Downloading comment API JSON page 39 (871/~2893)
[youtube] Downloading comment API JSON page 40 (891/~2893)
[youtube] Downloading comment API JSON reply thread 1 (897/~2893)
[youtube] Downloading comment API JSON page 41 (916/~2893)
[youtube] Downloading comment API JSON reply thread 1 (924/~2893)
[youtube] Downloading comment API JSON page 42 (937/~2893)
[youtube] Downloading comment API JSON page 43 (957/~2893)
[youtube] Downloading comment API JSON page 44 (977/~2893)
[youtube] Downloading comment API JSON reply thread 1 (997/~2893)
[youtube] Downloading comment API JSON page 45 (1004/~2893)
[youtube] Downloading comment API JSON page 46 (1024/~2893)
[youtube] Downloading comment API JSON reply thread 1 (1028/~2893)
[youtube] Downloading comment API JSON reply thread 2 (1031/~2893)
[youtube] Downloading comment API JSON reply thread 3 (1047/~2893)
[youtube] Downloading comment API JSON page 47 (1059/~2893)
[youtube] Downloading comment API JSON reply thread 1 (1066/~2893)
[youtube] Downloading comment API JSON reply thread 2 (1080/~2893)
[youtube] Downloading comment API JSON page 48 (1090/~2893)
[youtube] Downloading comment API JSON reply thread 1 (1095/~2893)
[youtube] Downloading comment API JSON page 49 (1111/~2893)
[youtube] Downloading comment API JSON page 50 (1131/~2893)
[youtube] Downloading comment API JSON reply thread 1 (1137/~2893)
[youtube] Downloading comment API JSON reply thread 2 (1143/~2893)
[youtube] Downloading comment replies API JSON page 1 (1153/~2893)
[youtube] Downloading comment API JSON page 51 (1167/~2893)
[youtube] Downloading comment API JSON reply thread 1 (1171/~2893)
[youtube] Downloading comment API JSON page 52 (1188/~2893)
[youtube] Downloading comment API JSON reply thread 1 (1191/~2893)
[youtube] Downloading comment API JSON reply thread 2 (1203/~2893)
[youtube] Downloading comment API JSON page 53 (1219/~2893)
[youtube] Downloading comment API JSON page 54 (1239/~2893)
[youtube] Downloading comment API JSON page 55 (1259/~2893)
[youtube] Downloading comment API JSON page 56 (1279/~2893)
[youtube] Downloading comment API JSON page 57 (1299/~2893)
[youtube] Downloading comment API JSON page 58 (1319/~2893)
[youtube] Downloading comment API JSON page 59 (1339/~2893)
[youtube] Downloading comment API JSON reply thread 1 (1356/~2893)
[youtube] Downloading comment API JSON page 60 (1360/~2893)
[youtube] Downloading comment API JSON reply thread 1 (1362/~2893)
[youtube] Downloading comment API JSON page 61 (1383/~2893)
[youtube] Downloading comment API JSON page 62 (1403/~2893)
[youtube] Downloading comment API JSON page 63 (1423/~2893)
[youtube] Downloading comment API JSON page 64 (1443/~2893)
[youtube] Downloading comment API JSON page 65 (1463/~2893)
[youtube] Downloading comment API JSON reply thread 1 (1473/~2893)
[youtube] Downloading comment API JSON reply thread 2 (1483/~2893)
[youtube] Downloading comment API JSON page 66 (1486/~2893)
[youtube] Downloading comment API JSON page 67 (1506/~2893)
[youtube] Downloading comment API JSON reply thread 1 (1519/~2893)
[youtube] Downloading comment API JSON reply thread 2 (1524/~2893)
[youtube] Downloading comment replies API JSON page 1 (1534/~2893)
[youtube] Downloading comment API JSON page 68 (1547/~2893)
[youtube] Downloading comment API JSON page 69 (1567/~2893)
[youtube] Downloading comment API JSON reply thread 1 (1576/~2893)
[youtube] Downloading comment API JSON reply thread 2 (1581/~2893)
[youtube] Downloading comment API JSON reply thread 3 (1595/~2893)
[youtube] Downloading comment API JSON page 70 (1607/~2893)
[youtube] Downloading comment API JSON page 71 (1627/~2893)
[youtube] Downloading comment API JSON reply thread 1 (1630/~2893)
[youtube] Downloading comment API JSON reply thread 2 (1641/~2893)
[youtube] Downloading comment replies API JSON page 1 (1651/~2893)
[youtube] Downloading comment API JSON reply thread 3 (1663/~2893)
[youtube] Downloading comment replies API JSON page 1 (1673/~2893)
[youtube] Downloading comment API JSON page 72 (1699/~2893)
[youtube] Downloading comment API JSON page 73 (1719/~2893)
[youtube] Downloading comment API JSON reply thread 1 (1725/~2893)
[youtube] Downloading comment API JSON reply thread 2 (1732/~2893)
[youtube] Downloading comment API JSON page 74 (1752/~2893)
[youtube] Downloading comment API JSON page 75 (1772/~2893)
[youtube] Downloading comment API JSON page 76 (1792/~2893)
[youtube] Downloading comment API JSON reply thread 1 (1809/~2893)
[youtube] Downloading comment API JSON page 77 (1813/~2893)
[youtube] Downloading comment API JSON reply thread 1 (1826/~2893)
[youtube] Downloading comment API JSON page 78 (1834/~2893)
[youtube] Downloading comment API JSON page 79 (1854/~2893)
[youtube] Downloading comment API JSON reply thread 1 (1859/~2893)
[youtube] Downloading comment API JSON reply thread 2 (1871/~2893)
[youtube] Downloading comment API JSON page 80 (1876/~2893)
[youtube] Downloading comment API JSON page 81 (1896/~2893)
[youtube] Downloading comment API JSON reply thread 1 (1905/~2893)
[youtube] Downloading comment API JSON reply thread 2 (1915/~2893)
[youtube] Downloading comment API JSON page 82 (1924/~2893)
[youtube] Downloading comment API JSON reply thread 1 (1939/~2893)
[youtube] Downloading comment API JSON page 83 (1945/~2893)
[youtube] Downloading comment API JSON reply thread 1 (1946/~2893)
[youtube] Downloading comment API JSON reply thread 2 (1965/~2893)
[youtube] Downloading comment replies API JSON page 1 (1975/~2893)
[youtube] Downloading comment API JSON page 84 (2002/~2893)
[youtube] Downloading comment API JSON reply thread 1 (2017/~2893)
[youtube] Downloading comment replies API JSON page 1 (2027/~2893)
[youtube] Downloading comment API JSON reply thread 2 (2055/~2893)
[youtube] Downloading comment API JSON page 85 (2058/~2893)
[youtube] Downloading comment API JSON page 86 (2078/~2893)
[youtube] Downloading comment API JSON reply thread 1 (2087/~2893)
[youtube] Downloading comment API JSON page 87 (2099/~2893)
[youtube] Downloading comment API JSON page 88 (2119/~2893)
[youtube] Downloading comment API JSON reply thread 1 (2129/~2893)
[youtube] Downloading comment API JSON page 89 (2142/~2893)
[youtube] Downloading comment API JSON reply thread 1 (2159/~2893)
[youtube] Downloading comment replies API JSON page 1 (2169/~2893)
[youtube] Downloading comment API JSON page 90 (2173/~2893)
[youtube] Downloading comment API JSON page 91 (2193/~2893)
[youtube] Downloading comment API JSON reply thread 1 (2194/~2893)
[youtube] Downloading comment API JSON reply thread 2 (2203/~2893)
[youtube] Downloading comment API JSON reply thread 3 (2210/~2893)
[youtube] Downloading comment API JSON page 92 (2226/~2893)
[youtube] Downloading comment API JSON page 93 (2246/~2893)
[youtube] Downloading comment API JSON reply thread 1 (2247/~2893)
[youtube] Downloading comment API JSON reply thread 2 (2269/~2893)
[youtube] Downloading comment API JSON reply thread 3 (2274/~2893)
[youtube] Downloading comment API JSON page 94 (2275/~2893)
[youtube] Downloading comment API JSON page 95 (2295/~2893)
[youtube] Downloading comment API JSON page 96 (2315/~2893)
[youtube] Downloading comment API JSON reply thread 1 (2334/~2893)
[youtube] Downloading comment replies API JSON page 1 (2344/~2893)
[youtube] Downloading comment replies API JSON page 2 (2394/~2893)
[youtube] Downloading comment API JSON page 97 (2427/~2893)
[youtube] Downloading comment API JSON reply thread 1 (2433/~2893)
[youtube] Downloading comment API JSON reply thread 2 (2445/~2893)
[youtube] Downloading comment replies API JSON page 1 (2455/~2893)
[youtube] Downloading comment API JSON page 98 (2465/~2893)
[youtube] Downloading comment API JSON reply thread 1 (2466/~2893)
[youtube] Downloading comment replies API JSON page 1 (2476/~2893)
[youtube] Downloading comment API JSON page 99 (2510/~2893)
[youtube] Downloading comment API JSON reply thread 1 (2528/~2893)
[youtube] Downloading comment API JSON page 100 (2533/~2893)
[youtube] Downloading comment API JSON reply thread 1 (2535/~2893)
[youtube] Downloading comment API JSON page 101 (2555/~2893)
[youtube] Downloading comment API JSON page 102 (2575/~2893)
[youtube] Downloading comment API JSON page 103 (2595/~2893)
[youtube] Downloading comment API JSON page 104 (2615/~2893)
[youtube] Downloading comment API JSON page 105 (2635/~2893)
[youtube] Downloading comment API JSON reply thread 1 (2639/~2893)
[youtube] Downloading comment API JSON reply thread 2 (2642/~2893)
[youtube] Downloading comment replies API JSON page 1 (2652/~2893)
[youtube] Downloading comment API JSON reply thread 3 (2690/~2893)
[youtube] Downloading comment API JSON page 106 (2702/~2893)
[youtube] Downloading comment API JSON reply thread 1 (2710/~2893)
[youtube] Downloading comment replies API JSON page 1 (2720/~2893)
[youtube] Downloading comment API JSON reply thread 2 (2736/~2893)
[youtube] Downloading comment API JSON page 107 (2747/~2893)
[youtube] Downloading comment API JSON reply thread 1 (2756/~2893)
[youtube] Downloading comment API JSON reply thread 2 (2765/~2893)
[youtube] Downloading comment API JSON page 108 (2771/~2893)
[youtube] Downloading comment API JSON reply thread 1 (2781/~2893)
[youtube] Downloading comment API JSON reply thread 2 (2790/~2893)
[youtube] Downloading comment API JSON page 109 (2794/~2893)
[youtube] Downloading comment API JSON reply thread 1 (2808/~2893)
[youtube] Downloading comment API JSON reply thread 2 (2813/~2893)
[youtube] Downloading comment replies API JSON page 1 (2823/~2893)
[youtube] Downloading comment API JSON reply thread 3 (2830/~2893)
[youtube] Downloading comment API JSON page 110 (2835/~2893)
[youtube] Downloading comment API JSON reply thread 1 (2836/~2893)
[youtube] Downloading comment API JSON reply thread 2 (2848/~2893)
[youtube] Downloading comment API JSON reply thread 3 (2857/~2893)
[youtube] Downloading comment API JSON reply thread 4 (2863/~2893)
[youtube] Downloading comment API JSON page 111 (2865/~2893)
[youtube] Downloading comment API JSON reply thread 1 (2868/~2893)
[youtube] Downloading comment replies API JSON page 1 (2878/~2893)
[youtube] Extracted 2893 comments
[debug] Default format spec: bestvideo*+bestaudio/best
[info] HURI6EHXybc: Downloading 1 format(s): 401+251
[info] Writing video metadata as JSON to: War and Peace ...and War (35 to 32 B.C.E.) [HURI6EHXybc].info.json
```
| site-enhancement,triage | low | Critical |
2,740,391,489 | vscode | When the hover is focused, keyboard shortcut to autofix (ctrl + .) does not work | <!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- Please search existing issues to avoid creating duplicates. -->
<!-- Describe the feature you'd like. -->
When the hover is focused with pressing `ctrl + k ctrl + I` twice, the autofix shortcut no longer works. Maybe this is because when the hover is focused, the problem is no longer being focused. However, this behavior does not follow intuition and it would be nice to still be able to use the autofix shortcut key after the hover is focused.
vscode version: 1.96.0
| polish,editor-hover | low | Major |
2,740,403,027 | deno | NPM compat: cannot use `npm:@grotto/logysia` | Version: Deno 2.1.4
## Reproduction
```ts
import { Elysia, t } from "npm:elysia"
import { swagger } from "npm:@elysiajs/swagger"
import { logger } from "npm:@grotto/logysia"
const app = new Elysia()
.use(logger()) // comment this out to make ID type check
.use(swagger())
.get("/user/:id", ({ params: { id } }) => id, {
params: t.Object({
id: t.Numeric(),
}),
})
export default app
```
## `deno run main.ts`
```ts
$ deno run main.ts 844ms 2024년 12월 15일 (일) 오후 05시 23분 56초error: TypeScript files are not supported in npm packages: file:///home/scarf/.cache/deno/npm/registry.npmjs.org/@grotto/logysia/0.1.6/src/index.ts
```
TypeScript files are not supported in npm package.
## `deno check main.ts`
```sh
deno check main.ts 2024년 12월 15일 (일) 오후 05시 22분 20초Check file:///home/scarf/repo/etc/elysia/main.ts
error: TS7031 [ERROR]: Binding element 'id' implicitly has an 'any' type.
.get("/user/:id", ({ params: { id } }) => id, {
~~
at file:///home/scarf/repo/etc/elysia/main.ts:8:34
```
type of `id` is correctly resolved as number on node, but `any` in deno.
| bug,types | low | Critical |
2,740,404,407 | deno | Using `Buffer` no longer works after upgrading to Deno v2 | Version: Deno 2+
Hello, after upgrading to Deno v2, our use of Buffer no longer works. We get the following error:
```sh
error: TS2576 [ERROR]: Property 'from' does not exist on type 'Buffer'. Did you mean to access the static member 'Buffer.from' instead?
Buffer.from(data, 'base64').toString('utf-8')
```
We are importing with
```ts
import { Buffer } from 'buffer';
```
```json
{
"imports": {
"buffer": "node:buffer",
}
}
```
If also tried `https://deno.land/std/io/buffer.ts` and `@std/io/buffer` | needs info,compile,node compat | low | Critical |
2,740,457,420 | rust | ICE: intrinsicck: `index out of bounds: the len is 0 but the index is 0` | <!--
[31mICE[0m: Rustc ./a.rs '' 'thread 'rustc' panicked at compiler/rustc_hir_analysis/src/check/intrinsicck.rs:89:36: 'index out of bounds: the len is 0 but the index is 0'', 'thread 'rustc' panicked at compiler/rustc_hir_analysis/src/check/intrinsicck.rs:89:36: 'index out of bounds: the len is 0 but the index is 0''
File: /tmp/im/a.rs
-->
auto-reduced (treereduce-rust):
````rust
use std::arch::{asm, global_asm};
#[repr(simd)]
struct SimdNonCopy();
fn main() {
unsafe {
let x = 1;
let _ = y;
asm!("{}", in(xmm_reg) SimdNonCopy());
}
}
````
<details><summary><strong>original code</strong></summary>
<p>
original:
````rust
//@ only-x86_64
#![feature(repr_simd, never_type)]
use std::arch::{asm, global_asm};
#[repr(simd)]
struct SimdNonCopy();
fn main() {
unsafe {
// Inputs must be initialized
let x = 1;
asm!("{}", in(reg) x);
//~^ ERROR isn't initialized
let mut y: u64;
asm!("{}", inout(reg) y);
//~^ ERROR isn't initialized
let _ = y;
// Outputs require mutable places
let v: Vec<u64> = vec![0, 1, 2];
//~^ ERROR is not declared as mutable
asm!("{}", in(reg) v[0]);
asm!("{}", out(reg) v[0]);
asm!("{}", inout(reg) v[0]);
// Register operands must be Copy
asm!("{}", in(xmm_reg) SimdNonCopy([0.0, 0.0, 0.0, 0.0]));
//~^ ERROR arguments for inline assembly must be copyable
// Register operands must be integers, floats, SIMD vectors, pointers or
// function pointers.
asm!("{}", in(reg) 0i64);
asm!("{}", in(deny) 0f64);
asm!("{}", in(xmm_reg) std::arch::x86_64::_mm_setzero_ps());
asm!("{}", in(reg) 0 as *const u8);
asm!("{}", in(reg) 0 as *mut u8);
asm!("{}", in(reg) main as fn());
asm!("{}", in(reg) |x: i32| x);
//~^ ERROR cannot use value of type
asm!("{}", in(reg) 0i64);
//~^ ERROR cannot use value of type `Vec<i32>` for inline assembly
asm!("mm0", in(reg) (1, 2, 3));
//~^ ERROR cannot use value of type `(i32, i32, i32)` for inline assembly
asm!("", in("mm0") foo);
//~^ ERROR cannot use value of type `[i32; 3]` for inline assembly
// Register inputs (but not outputs) allow references and function types
let mut f = main;
let mut r = &mut 0;
asm!("{}", in(reg) f);
asm!("{}", in(xmm_reg) SimdNonCopy([0.0, 0.0, 0.0, 0.0]));
//~^ ERROR cannot use value of type `fn() {main}` for inline assembly
asm!("{}", in(reg) r);
asm!("{}", inout(reg) r);
//~^ ERROR cannot use value of type `&mut i32` for inline assembly
let _ = (f, r);
// Type checks ignore never type
let u: ! = unreachable!();
asm!("{}", in(reg) u);
}
}
````
</p>
</details>
Version information
````
rustc 1.85.0-nightly (4790a435c 2024-12-15)
binary: rustc
commit-hash: 4790a435cbcb55c94ccdef51bf7a9b2e55824528
commit-date: 2024-12-15
host: x86_64-unknown-linux-gnu
release: 1.85.0-nightly
LLVM version: 19.1.5
````
Possibly related line of code:
https://github.com/rust-lang/rust/blob/4790a435cbcb55c94ccdef51bf7a9b2e55824528/compiler/rustc_hir_analysis/src/check/intrinsicck.rs#L83-L95
Command:
`/home/matthias/.rustup/toolchains/master/bin/rustc `
<details><summary><strong>Program output</strong></summary>
<p>
```
error[E0425]: cannot find value `y` in this scope
--> /tmp/icemaker_global_tempdir.fOXZErRE56RX/rustc_testrunner_tmpdir_reporting.p9FlkAioN2KU/mvce.rs:10:17
|
10 | let _ = y;
| ^ help: a local variable with a similar name exists: `x`
error[E0658]: SIMD types are experimental and possibly buggy
--> /tmp/icemaker_global_tempdir.fOXZErRE56RX/rustc_testrunner_tmpdir_reporting.p9FlkAioN2KU/mvce.rs:3:1
|
3 | #[repr(simd)]
| ^^^^^^^^^^^^^
|
= note: see issue #27731 <https://github.com/rust-lang/rust/issues/27731> for more information
= help: add `#![feature(repr_simd)]` to the crate attributes to enable
= note: this compiler was built on 2024-12-15; consider upgrading it if it is out of date
warning: unused import: `global_asm`
--> /tmp/icemaker_global_tempdir.fOXZErRE56RX/rustc_testrunner_tmpdir_reporting.p9FlkAioN2KU/mvce.rs:1:22
|
1 | use std::arch::{asm, global_asm};
| ^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
error[E0075]: SIMD vector cannot be empty
--> /tmp/icemaker_global_tempdir.fOXZErRE56RX/rustc_testrunner_tmpdir_reporting.p9FlkAioN2KU/mvce.rs:4:1
|
4 | struct SimdNonCopy();
| ^^^^^^^^^^^^^^^^^^
thread 'rustc' panicked at compiler/rustc_hir_analysis/src/check/intrinsicck.rs:89:36:
index out of bounds: the len is 0 but the index is 0
stack backtrace:
0: 0x71b5da7a4c5a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::heb202b000efba683
1: 0x71b5db013d66 - core::fmt::write::h4529572b8b32da24
2: 0x71b5dc01db51 - std::io::Write::write_fmt::h1a906436cb206037
3: 0x71b5da7a4ab2 - std::sys::backtrace::BacktraceLock::print::h934abc86fa2dd260
4: 0x71b5da7a6faa - std::panicking::default_hook::{{closure}}::hfd4bbe50128406cd
5: 0x71b5da7a6df3 - std::panicking::default_hook::h25fd19fcd22c2e04
6: 0x71b5d98f9a68 - std[70002648da4681c1]::panicking::update_hook::<alloc[334d4c3039138aa]::boxed::Box<rustc_driver_impl[2cc745b14baadf]::install_ice_hook::{closure#0}>>::{closure#0}
7: 0x71b5da7a7768 - std::panicking::rust_panic_with_hook::h3f6d3ded85336e6b
8: 0x71b5da7a745a - std::panicking::begin_panic_handler::{{closure}}::h4686f34f41f48fef
9: 0x71b5da7a50f9 - std::sys::backtrace::__rust_end_short_backtrace::h4d0c634afae53cc6
10: 0x71b5da7a711d - rust_begin_unwind
11: 0x71b5d73cf0c0 - core::panicking::panic_fmt::h5928a9348ea2bb6c
12: 0x71b5d9120c16 - core::panicking::panic_bounds_check::ha0907f8c63a361ab
13: 0x71b5d9a9eecc - <rustc_hir_analysis[4c68008ff0c7f4c4]::check::intrinsicck::InlineAsmCtxt>::get_asm_ty
14: 0x71b5d9a9f067 - <rustc_hir_analysis[4c68008ff0c7f4c4]::check::intrinsicck::InlineAsmCtxt>::check_asm_operand_type
15: 0x71b5d9aa0a0d - <rustc_hir_analysis[4c68008ff0c7f4c4]::check::intrinsicck::InlineAsmCtxt>::check_asm
16: 0x71b5db21fad6 - rustc_hir_typeck[220f1b283db8da2]::typeck
17: 0x71b5db21bafb - rustc_query_impl[98026ab69133ca5a]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[98026ab69133ca5a]::query_impl::typeck::dynamic_query::{closure#2}::{closure#0}, rustc_middle[4552a92c16cacd81]::query::erase::Erased<[u8; 8usize]>>
18: 0x71b5db275711 - rustc_query_system[c5a9321c1b201b0d]::query::plumbing::try_execute_query::<rustc_query_impl[98026ab69133ca5a]::DynamicConfig<rustc_data_structures[41b15b2b138651fb]::vec_cache::VecCache<rustc_span[5501a71f8d28de35]::def_id::LocalDefId, rustc_middle[4552a92c16cacd81]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[c5a9321c1b201b0d]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[98026ab69133ca5a]::plumbing::QueryCtxt, false>
19: 0x71b5db2749cd - rustc_query_impl[98026ab69133ca5a]::query_impl::typeck::get_query_non_incr::__rust_end_short_backtrace
20: 0x71b5db27467f - <rustc_middle[4552a92c16cacd81]::hir::map::Map>::par_body_owners::<rustc_hir_analysis[4c68008ff0c7f4c4]::check_crate::{closure#4}>::{closure#0}
21: 0x71b5db272692 - rustc_hir_analysis[4c68008ff0c7f4c4]::check_crate
22: 0x71b5db453502 - rustc_interface[cf66c2394d3c8572]::passes::run_required_analyses
23: 0x71b5dc00c91e - rustc_interface[cf66c2394d3c8572]::passes::analysis
24: 0x71b5dc00c8ef - rustc_query_impl[98026ab69133ca5a]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[98026ab69133ca5a]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle[4552a92c16cacd81]::query::erase::Erased<[u8; 0usize]>>
25: 0x71b5dc041015 - rustc_query_system[c5a9321c1b201b0d]::query::plumbing::try_execute_query::<rustc_query_impl[98026ab69133ca5a]::DynamicConfig<rustc_query_system[c5a9321c1b201b0d]::query::caches::SingleCache<rustc_middle[4552a92c16cacd81]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[98026ab69133ca5a]::plumbing::QueryCtxt, false>
26: 0x71b5dc040d4e - rustc_query_impl[98026ab69133ca5a]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace
27: 0x71b5dc0b61b4 - rustc_interface[cf66c2394d3c8572]::interface::run_compiler::<(), rustc_driver_impl[2cc745b14baadf]::run_compiler::{closure#0}>::{closure#1}
28: 0x71b5dbf685db - std[70002648da4681c1]::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface[cf66c2394d3c8572]::util::run_in_thread_with_globals<rustc_interface[cf66c2394d3c8572]::util::run_in_thread_pool_with_globals<rustc_interface[cf66c2394d3c8572]::interface::run_compiler<(), rustc_driver_impl[2cc745b14baadf]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>
29: 0x71b5dbf68a90 - <<std[70002648da4681c1]::thread::Builder>::spawn_unchecked_<rustc_interface[cf66c2394d3c8572]::util::run_in_thread_with_globals<rustc_interface[cf66c2394d3c8572]::util::run_in_thread_pool_with_globals<rustc_interface[cf66c2394d3c8572]::interface::run_compiler<(), rustc_driver_impl[2cc745b14baadf]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[3b8d2fc2756ea0bb]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
30: 0x71b5dbf6a06f - std::sys::pal::unix::thread::Thread::new::thread_start::hdeaa41b2ac9b4ad7
31: 0x71b5d60a339d - <unknown>
32: 0x71b5d612849c - <unknown>
33: 0x0 - <unknown>
error: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md
note: please make sure that you have updated to the latest nightly
note: rustc 1.85.0-nightly (4790a435c 2024-12-15) running on x86_64-unknown-linux-gnu
query stack during panic:
#0 [typeck] type-checking `main`
#1 [analysis] running analysis passes on this crate
end of query stack
error: aborting due to 3 previous errors; 1 warning emitted
Some errors have detailed explanations: E0075, E0425, E0658.
For more information about an error, try `rustc --explain E0075`.
```
</p>
</details>
<!--
query stack:
#0 [typeck] type-checking `main`
#1 [analysis] running analysis passes on this crate
-->
@rustbot label +F-repr_simd +F-never_type | I-ICE,A-inline-assembly,T-compiler,A-SIMD,C-bug,S-bug-has-test | low | Critical |
2,740,473,130 | vscode | Web VSCode can't load audio files for preview in Safari | <!-- ⚠️⚠️ 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: vscode.dev 1.96.0 (138f619c86f1199955d53b4166bef66ef252935c)
- OS Version: macOS 15.2 with Safari 18.2 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.2 Safari/605.1.15)
Steps to Reproduce:
1. Use vscode.dev to connect to a remote tunnel in Safari
2. Open a .wav file for preview
3. This error shows in the preview window
<img width="375" alt="Image" src="https://github.com/user-attachments/assets/f81214fb-4f00-454d-9bf7-9f4fe80c478b" />
This issue is Safari specific. It doesn't occur in Chrome. | bug,help wanted,web,safari | low | Critical |
2,740,481,774 | go | govulncheck-action: Support using a later patch than go directive patch version in go.mod | ### Go version
n/a
### Output of `go env` in your module/workspace:
```shell
n/a
```
### What did you do?
want to use later golang than go.mod but compatible with go.mod
Support using a later patch release than what's in go.mod
Please ensure the action inherits https://github.com/actions/setup-go/issues/481 when implemented.
### What did you see happen?
1.22.0 go.mod results in 1.22.0 being used and no option to use later 1.22
### What did you expect to see?
1.22.0 go.mod should use 1.22.7+ or latest available compatible with 1.22.0 | NeedsInvestigation,vulncheck or vulndb | medium | Major |
2,740,504,536 | rust | ICE: `index out of bounds: the len is 12 but the index is 13` | <!--
[31mICE[0m: Rustc ./a.rs '-Zunstable-options --edition=2024 --crate-type=lib -ooutputfile -Zdump-mir-dir=dir' 'thread 'rustc' panicked at /rustc/4790a435cbcb55c94ccdef51bf7a9b2e55824528/compiler/rustc_middle/src/hir/mod.rs:179:84: 'index out of bounds: the len is 14 but the index is 15'', 'thread 'rustc' panicked at /rustc/4790a435cbcb55c94ccdef51bf7a9b2e55824528/compiler/rustc_middle/src/hir/mod.rs:179:84: 'index out of bounds: the len is 14 but the index is 15''
File: /tmp/im/a.rs
-->
auto-reduced (treereduce-rust):
````rust
//@compile-flags: -Zunstable-options --edition=2024 --crate-type=lib
pub async fn async_closure(x: &mut i32) {
let c = async move || {
*x += 1;
};
call_once(c).await;
}
fn call_once<T>(f: impl FnOnce() -> T) -> T {
f()
}
````
original:
````rust
//@ check-pass
//@ edition: 2021
// Precise capture struct by move, consume field
struct Vec { a: i32 }
pub async fn async_closure(x: &mut i32) {
let c = async move || {
*x += 1;
};
call_once(c).await;
}
fn call_once<T>(f: impl FnOnce() -> T) -> T {
f()
}
````
Version information
````
rustc 1.85.0-nightly (4790a435c 2024-12-15)
binary: rustc
commit-hash: 4790a435cbcb55c94ccdef51bf7a9b2e55824528
commit-date: 2024-12-15
host: x86_64-unknown-linux-gnu
release: 1.85.0-nightly
LLVM version: 19.1.5
````
Command:
`/home/matthias/.rustup/toolchains/master/bin/rustc -Zunstable-options --edition=2024 --crate-type=lib`
<details><summary><strong>Program output</strong></summary>
<p>
```
thread 'rustc' panicked at /rustc/4790a435cbcb55c94ccdef51bf7a9b2e55824528/compiler/rustc_middle/src/hir/mod.rs:179:84:
index out of bounds: the len is 12 but the index is 13
stack backtrace:
0: 0x776f0b5a4c5a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::heb202b000efba683
1: 0x776f0be13d66 - core::fmt::write::h4529572b8b32da24
2: 0x776f0ce1db51 - std::io::Write::write_fmt::h1a906436cb206037
3: 0x776f0b5a4ab2 - std::sys::backtrace::BacktraceLock::print::h934abc86fa2dd260
4: 0x776f0b5a6faa - std::panicking::default_hook::{{closure}}::hfd4bbe50128406cd
5: 0x776f0b5a6df3 - std::panicking::default_hook::h25fd19fcd22c2e04
6: 0x776f0a6f9a68 - std[70002648da4681c1]::panicking::update_hook::<alloc[334d4c3039138aa]::boxed::Box<rustc_driver_impl[2cc745b14baadf]::install_ice_hook::{closure#0}>>::{closure#0}
7: 0x776f0b5a7768 - std::panicking::rust_panic_with_hook::h3f6d3ded85336e6b
8: 0x776f0b5a745a - std::panicking::begin_panic_handler::{{closure}}::h4686f34f41f48fef
9: 0x776f0b5a50f9 - std::sys::backtrace::__rust_end_short_backtrace::h4d0c634afae53cc6
10: 0x776f0b5a711d - rust_begin_unwind
11: 0x776f081cf0c0 - core::panicking::panic_fmt::h5928a9348ea2bb6c
12: 0x776f09f20c16 - core::panicking::panic_bounds_check::ha0907f8c63a361ab
13: 0x776f0c076229 - rustc_query_impl[98026ab69133ca5a]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[98026ab69133ca5a]::query_impl::local_def_id_to_hir_id::dynamic_query::{closure#2}::{closure#0}, rustc_middle[4552a92c16cacd81]::query::erase::Erased<[u8; 8usize]>>
14: 0x776f0c0759f6 - rustc_query_system[c5a9321c1b201b0d]::query::plumbing::try_execute_query::<rustc_query_impl[98026ab69133ca5a]::DynamicConfig<rustc_data_structures[41b15b2b138651fb]::vec_cache::VecCache<rustc_span[5501a71f8d28de35]::def_id::LocalDefId, rustc_middle[4552a92c16cacd81]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[c5a9321c1b201b0d]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[98026ab69133ca5a]::plumbing::QueryCtxt, false>
15: 0x776f0c07544f - rustc_query_impl[98026ab69133ca5a]::query_impl::local_def_id_to_hir_id::get_query_non_incr::__rust_end_short_backtrace
16: 0x776f0d510cf0 - rustc_middle[4552a92c16cacd81]::query::plumbing::query_get_at::<rustc_data_structures[41b15b2b138651fb]::vec_cache::VecCache<rustc_span[5501a71f8d28de35]::def_id::LocalDefId, rustc_middle[4552a92c16cacd81]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[c5a9321c1b201b0d]::dep_graph::graph::DepNodeIndex>>.cold
17: 0x776f0ab86c3e - <rustc_middle[4552a92c16cacd81]::ty::context::TyCtxt>::has_attr::<rustc_span[5501a71f8d28de35]::def_id::DefId>
18: 0x776f0ac0c7e9 - <rustc_lint[7d30a3ff3ade0185]::internal::Diagnostics as rustc_lint[7d30a3ff3ade0185]::passes::LateLintPass>::check_expr
19: 0x776f0ac0ddd5 - <rustc_lint[7d30a3ff3ade0185]::late::LateContextAndPass<rustc_lint[7d30a3ff3ade0185]::late::RuntimeCombinedLateLintPass> as rustc_hir[5766cc08b8b964b9]::intravisit::Visitor>::visit_expr::{closure#0}
20: 0x776f0ac0dc7d - <rustc_lint[7d30a3ff3ade0185]::late::LateContextAndPass<rustc_lint[7d30a3ff3ade0185]::late::RuntimeCombinedLateLintPass> as rustc_hir[5766cc08b8b964b9]::intravisit::Visitor>::visit_expr
21: 0x776f0ac0eba8 - <rustc_lint[7d30a3ff3ade0185]::late::LateContextAndPass<rustc_lint[7d30a3ff3ade0185]::late::RuntimeCombinedLateLintPass> as rustc_hir[5766cc08b8b964b9]::intravisit::Visitor>::visit_block
22: 0x776f0ac0e5ed - <rustc_lint[7d30a3ff3ade0185]::late::LateContextAndPass<rustc_lint[7d30a3ff3ade0185]::late::RuntimeCombinedLateLintPass> as rustc_hir[5766cc08b8b964b9]::intravisit::Visitor>::visit_expr::{closure#0}
23: 0x776f0ac0dc7d - <rustc_lint[7d30a3ff3ade0185]::late::LateContextAndPass<rustc_lint[7d30a3ff3ade0185]::late::RuntimeCombinedLateLintPass> as rustc_hir[5766cc08b8b964b9]::intravisit::Visitor>::visit_expr
24: 0x776f0ac0e1db - <rustc_lint[7d30a3ff3ade0185]::late::LateContextAndPass<rustc_lint[7d30a3ff3ade0185]::late::RuntimeCombinedLateLintPass> as rustc_hir[5766cc08b8b964b9]::intravisit::Visitor>::visit_expr::{closure#0}
25: 0x776f0ac0dc7d - <rustc_lint[7d30a3ff3ade0185]::late::LateContextAndPass<rustc_lint[7d30a3ff3ade0185]::late::RuntimeCombinedLateLintPass> as rustc_hir[5766cc08b8b964b9]::intravisit::Visitor>::visit_expr
26: 0x776f0ab90949 - rustc_hir[5766cc08b8b964b9]::intravisit::walk_block::<rustc_lint[7d30a3ff3ade0185]::late::LateContextAndPass<rustc_lint[7d30a3ff3ade0185]::late::RuntimeCombinedLateLintPass>>
27: 0x776f0ac0eba8 - <rustc_lint[7d30a3ff3ade0185]::late::LateContextAndPass<rustc_lint[7d30a3ff3ade0185]::late::RuntimeCombinedLateLintPass> as rustc_hir[5766cc08b8b964b9]::intravisit::Visitor>::visit_block
28: 0x776f0ac0e5ed - <rustc_lint[7d30a3ff3ade0185]::late::LateContextAndPass<rustc_lint[7d30a3ff3ade0185]::late::RuntimeCombinedLateLintPass> as rustc_hir[5766cc08b8b964b9]::intravisit::Visitor>::visit_expr::{closure#0}
29: 0x776f0ac0dc7d - <rustc_lint[7d30a3ff3ade0185]::late::LateContextAndPass<rustc_lint[7d30a3ff3ade0185]::late::RuntimeCombinedLateLintPass> as rustc_hir[5766cc08b8b964b9]::intravisit::Visitor>::visit_expr
30: 0x776f0ac0e39b - <rustc_lint[7d30a3ff3ade0185]::late::LateContextAndPass<rustc_lint[7d30a3ff3ade0185]::late::RuntimeCombinedLateLintPass> as rustc_hir[5766cc08b8b964b9]::intravisit::Visitor>::visit_expr::{closure#0}
31: 0x776f0ac0dc7d - <rustc_lint[7d30a3ff3ade0185]::late::LateContextAndPass<rustc_lint[7d30a3ff3ade0185]::late::RuntimeCombinedLateLintPass> as rustc_hir[5766cc08b8b964b9]::intravisit::Visitor>::visit_expr
32: 0x776f0ab90949 - rustc_hir[5766cc08b8b964b9]::intravisit::walk_block::<rustc_lint[7d30a3ff3ade0185]::late::LateContextAndPass<rustc_lint[7d30a3ff3ade0185]::late::RuntimeCombinedLateLintPass>>
33: 0x776f0ac0eba8 - <rustc_lint[7d30a3ff3ade0185]::late::LateContextAndPass<rustc_lint[7d30a3ff3ade0185]::late::RuntimeCombinedLateLintPass> as rustc_hir[5766cc08b8b964b9]::intravisit::Visitor>::visit_block
34: 0x776f0ac0e5ed - <rustc_lint[7d30a3ff3ade0185]::late::LateContextAndPass<rustc_lint[7d30a3ff3ade0185]::late::RuntimeCombinedLateLintPass> as rustc_hir[5766cc08b8b964b9]::intravisit::Visitor>::visit_expr::{closure#0}
35: 0x776f0ac0dc7d - <rustc_lint[7d30a3ff3ade0185]::late::LateContextAndPass<rustc_lint[7d30a3ff3ade0185]::late::RuntimeCombinedLateLintPass> as rustc_hir[5766cc08b8b964b9]::intravisit::Visitor>::visit_expr
36: 0x776f0ac0df32 - <rustc_lint[7d30a3ff3ade0185]::late::LateContextAndPass<rustc_lint[7d30a3ff3ade0185]::late::RuntimeCombinedLateLintPass> as rustc_hir[5766cc08b8b964b9]::intravisit::Visitor>::visit_expr::{closure#0}
37: 0x776f0ac0dc7d - <rustc_lint[7d30a3ff3ade0185]::late::LateContextAndPass<rustc_lint[7d30a3ff3ade0185]::late::RuntimeCombinedLateLintPass> as rustc_hir[5766cc08b8b964b9]::intravisit::Visitor>::visit_expr
38: 0x776f0ac0eba8 - <rustc_lint[7d30a3ff3ade0185]::late::LateContextAndPass<rustc_lint[7d30a3ff3ade0185]::late::RuntimeCombinedLateLintPass> as rustc_hir[5766cc08b8b964b9]::intravisit::Visitor>::visit_block
39: 0x776f0ac0e5ed - <rustc_lint[7d30a3ff3ade0185]::late::LateContextAndPass<rustc_lint[7d30a3ff3ade0185]::late::RuntimeCombinedLateLintPass> as rustc_hir[5766cc08b8b964b9]::intravisit::Visitor>::visit_expr::{closure#0}
40: 0x776f0ac0dc7d - <rustc_lint[7d30a3ff3ade0185]::late::LateContextAndPass<rustc_lint[7d30a3ff3ade0185]::late::RuntimeCombinedLateLintPass> as rustc_hir[5766cc08b8b964b9]::intravisit::Visitor>::visit_expr
41: 0x776f0ac0dba3 - <rustc_lint[7d30a3ff3ade0185]::late::LateContextAndPass<rustc_lint[7d30a3ff3ade0185]::late::RuntimeCombinedLateLintPass> as rustc_hir[5766cc08b8b964b9]::intravisit::Visitor>::visit_nested_body
42: 0x776f0ac0e6fe - <rustc_lint[7d30a3ff3ade0185]::late::LateContextAndPass<rustc_lint[7d30a3ff3ade0185]::late::RuntimeCombinedLateLintPass> as rustc_hir[5766cc08b8b964b9]::intravisit::Visitor>::visit_fn
43: 0x776f0ac0e184 - <rustc_lint[7d30a3ff3ade0185]::late::LateContextAndPass<rustc_lint[7d30a3ff3ade0185]::late::RuntimeCombinedLateLintPass> as rustc_hir[5766cc08b8b964b9]::intravisit::Visitor>::visit_expr::{closure#0}
44: 0x776f0ac0dc7d - <rustc_lint[7d30a3ff3ade0185]::late::LateContextAndPass<rustc_lint[7d30a3ff3ade0185]::late::RuntimeCombinedLateLintPass> as rustc_hir[5766cc08b8b964b9]::intravisit::Visitor>::visit_expr
45: 0x776f0ac0dba3 - <rustc_lint[7d30a3ff3ade0185]::late::LateContextAndPass<rustc_lint[7d30a3ff3ade0185]::late::RuntimeCombinedLateLintPass> as rustc_hir[5766cc08b8b964b9]::intravisit::Visitor>::visit_nested_body
46: 0x776f0ac0e6fe - <rustc_lint[7d30a3ff3ade0185]::late::LateContextAndPass<rustc_lint[7d30a3ff3ade0185]::late::RuntimeCombinedLateLintPass> as rustc_hir[5766cc08b8b964b9]::intravisit::Visitor>::visit_fn
47: 0x776f0abf914b - <rustc_lint[7d30a3ff3ade0185]::late::LateContextAndPass<rustc_lint[7d30a3ff3ade0185]::late::RuntimeCombinedLateLintPass> as rustc_hir[5766cc08b8b964b9]::intravisit::Visitor>::visit_nested_item
48: 0x776f0c0960c0 - rustc_lint[7d30a3ff3ade0185]::lint_mod
49: 0x776f0c095b6b - rustc_query_impl[98026ab69133ca5a]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[98026ab69133ca5a]::query_impl::lint_mod::dynamic_query::{closure#2}::{closure#0}, rustc_middle[4552a92c16cacd81]::query::erase::Erased<[u8; 0usize]>>
50: 0x776f0ce0ba01 - rustc_query_system[c5a9321c1b201b0d]::query::plumbing::try_execute_query::<rustc_query_impl[98026ab69133ca5a]::DynamicConfig<rustc_query_system[c5a9321c1b201b0d]::query::caches::DefaultCache<rustc_span[5501a71f8d28de35]::def_id::LocalModDefId, rustc_middle[4552a92c16cacd81]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[98026ab69133ca5a]::plumbing::QueryCtxt, false>
51: 0x776f0ce09bd8 - rustc_query_impl[98026ab69133ca5a]::query_impl::lint_mod::get_query_non_incr::__rust_end_short_backtrace
52: 0x776f0ce097c2 - rustc_lint[7d30a3ff3ade0185]::late::check_crate::{closure#1}
53: 0x776f0ce09338 - rustc_lint[7d30a3ff3ade0185]::late::check_crate
54: 0x776f0ce0cb5d - rustc_interface[cf66c2394d3c8572]::passes::analysis
55: 0x776f0ce0c8ef - rustc_query_impl[98026ab69133ca5a]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[98026ab69133ca5a]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle[4552a92c16cacd81]::query::erase::Erased<[u8; 0usize]>>
56: 0x776f0ce41015 - rustc_query_system[c5a9321c1b201b0d]::query::plumbing::try_execute_query::<rustc_query_impl[98026ab69133ca5a]::DynamicConfig<rustc_query_system[c5a9321c1b201b0d]::query::caches::SingleCache<rustc_middle[4552a92c16cacd81]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[98026ab69133ca5a]::plumbing::QueryCtxt, false>
57: 0x776f0ce40d4e - rustc_query_impl[98026ab69133ca5a]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace
58: 0x776f0ceb61b4 - rustc_interface[cf66c2394d3c8572]::interface::run_compiler::<(), rustc_driver_impl[2cc745b14baadf]::run_compiler::{closure#0}>::{closure#1}
59: 0x776f0cd685db - std[70002648da4681c1]::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface[cf66c2394d3c8572]::util::run_in_thread_with_globals<rustc_interface[cf66c2394d3c8572]::util::run_in_thread_pool_with_globals<rustc_interface[cf66c2394d3c8572]::interface::run_compiler<(), rustc_driver_impl[2cc745b14baadf]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>
60: 0x776f0cd68a90 - <<std[70002648da4681c1]::thread::Builder>::spawn_unchecked_<rustc_interface[cf66c2394d3c8572]::util::run_in_thread_with_globals<rustc_interface[cf66c2394d3c8572]::util::run_in_thread_pool_with_globals<rustc_interface[cf66c2394d3c8572]::interface::run_compiler<(), rustc_driver_impl[2cc745b14baadf]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[3b8d2fc2756ea0bb]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
61: 0x776f0cd6a06f - std::sys::pal::unix::thread::Thread::new::thread_start::hdeaa41b2ac9b4ad7
62: 0x776f06ea339d - <unknown>
63: 0x776f06f2849c - <unknown>
64: 0x0 - <unknown>
error: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md
note: please make sure that you have updated to the latest nightly
note: rustc 1.85.0-nightly (4790a435c 2024-12-15) running on x86_64-unknown-linux-gnu
note: compiler flags: -Z unstable-options --crate-type lib -Z dump-mir-dir=dir
query stack during panic:
#0 [local_def_id_to_hir_id] getting HIR ID of `async_closure::{closure#0}::{closure#0}::{closure#1}`
#1 [lint_mod] linting top-level module
end of query stack
```
</p>
</details>
<!--
query stack:
#0 [local_def_id_to_hir_id] getting HIR ID of `async_closure::{closure#0}::{closure#0}::{closure#1}`
#1 [lint_mod] linting top-level module
-->
| I-ICE,T-compiler,C-bug,F-async_closure,requires-nightly,S-bug-has-test | low | Critical |
2,740,519,519 | rust | ICE: `failed to resolve instance for <Self as EnvFuture>::g` | <!--
[31mICE[0m: Rustc ./a.rs '' 'error: internal compiler error: compiler/rustc_middle/src/ty/instance.rs:585:21: failed to resolve instance for <Self as EnvFuture>::g', 'error: internal compiler error: compiler/rustc_middle/src/ty/instance.rs:585:21: failed to resolve instance for <Self as EnvFuture>::g'
File: /tmp/im/a.rs
-->
auto-reduced (treereduce-rust):
````rust
pub trait EnvFuture {
type Item;
fn g(a: String, b: &str) -> String {
become a + b;
}
}
````
original:
````rust
// Make sure that the mono-item collector does not crash when trying to
// instantiate a default impl of a method with lifetime parameters.
// See https://github.com/rust-lang/rust/issues/47309
//@ compile-flags:-Clink-dead-code
//@ build-pass
#![crate_type="rlib"]
pub trait EnvFuture {
type Item;
fn g(a: String, b: &str) -> String {
become a + b; //~ error: `become` does not support operators
}
}
struct Foo;
impl<'a> EnvFuture for &'a Foo {
type Item = ();
}
````
Version information
````
rustc 1.85.0-nightly (4790a435c 2024-12-15)
binary: rustc
commit-hash: 4790a435cbcb55c94ccdef51bf7a9b2e55824528
commit-date: 2024-12-15
host: x86_64-unknown-linux-gnu
release: 1.85.0-nightly
LLVM version: 19.1.5
````
Possibly related line of code:
https://github.com/rust-lang/rust/blob/4790a435cbcb55c94ccdef51bf7a9b2e55824528/compiler/rustc_middle/src/ty/instance.rs#L579-L591
Command:
`/home/matthias/.rustup/toolchains/master/bin/rustc `
<details><summary><strong>Program output</strong></summary>
<p>
```
error[E0658]: `become` expression is experimental
--> /tmp/icemaker_global_tempdir.EkIxS0yajpO5/rustc_testrunner_tmpdir_reporting.lSa2HFI9vuXC/mvce.rs:5:9
|
5 | become a + b;
| ^^^^^^^^^^^^
|
= note: see issue #112788 <https://github.com/rust-lang/rust/issues/112788> for more information
= help: add `#![feature(explicit_tail_calls)]` to the crate attributes to enable
= note: this compiler was built on 2024-12-15; consider upgrading it if it is out of date
error[E0601]: `main` function not found in crate `mvce`
--> /tmp/icemaker_global_tempdir.EkIxS0yajpO5/rustc_testrunner_tmpdir_reporting.lSa2HFI9vuXC/mvce.rs:7:2
|
7 | }
| ^ consider adding a `main` function to `/tmp/icemaker_global_tempdir.EkIxS0yajpO5/rustc_testrunner_tmpdir_reporting.lSa2HFI9vuXC/mvce.rs`
error: `become` does not support operators
--> /tmp/icemaker_global_tempdir.EkIxS0yajpO5/rustc_testrunner_tmpdir_reporting.lSa2HFI9vuXC/mvce.rs:5:16
|
5 | become a + b;
| ^^^^^
|
help: try using the method directly
|
5 | become (a).add(b);
| + ~~~~~~ +
error: internal compiler error: compiler/rustc_middle/src/ty/instance.rs:585:21: failed to resolve instance for <Self as EnvFuture>::g
--> /tmp/icemaker_global_tempdir.EkIxS0yajpO5/rustc_testrunner_tmpdir_reporting.lSa2HFI9vuXC/mvce.rs:4:5
|
4 | fn g(a: String, b: &str) -> String {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
thread 'rustc' panicked at compiler/rustc_middle/src/ty/instance.rs:585:21:
Box<dyn Any>
stack backtrace:
0: 0x7fa93f3a4c5a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::heb202b000efba683
1: 0x7fa93fc13d66 - core::fmt::write::h4529572b8b32da24
2: 0x7fa940c1db51 - std::io::Write::write_fmt::h1a906436cb206037
3: 0x7fa93f3a4ab2 - std::sys::backtrace::BacktraceLock::print::h934abc86fa2dd260
4: 0x7fa93f3a6faa - std::panicking::default_hook::{{closure}}::hfd4bbe50128406cd
5: 0x7fa93f3a6df3 - std::panicking::default_hook::h25fd19fcd22c2e04
6: 0x7fa93e4f9a68 - std[70002648da4681c1]::panicking::update_hook::<alloc[334d4c3039138aa]::boxed::Box<rustc_driver_impl[2cc745b14baadf]::install_ice_hook::{closure#0}>>::{closure#0}
7: 0x7fa93f3a7768 - std::panicking::rust_panic_with_hook::h3f6d3ded85336e6b
8: 0x7fa93e52f911 - std[70002648da4681c1]::panicking::begin_panic::<rustc_errors[196465616da871a4]::ExplicitBug>::{closure#0}
9: 0x7fa93e524ab6 - std[70002648da4681c1]::sys::backtrace::__rust_end_short_backtrace::<std[70002648da4681c1]::panicking::begin_panic<rustc_errors[196465616da871a4]::ExplicitBug>::{closure#0}, !>
10: 0x7fa93e52486f - std[70002648da4681c1]::panicking::begin_panic::<rustc_errors[196465616da871a4]::ExplicitBug>
11: 0x7fa93e5398d1 - <rustc_errors[196465616da871a4]::diagnostic::BugAbort as rustc_errors[196465616da871a4]::diagnostic::EmissionGuarantee>::emit_producing_guarantee
12: 0x7fa93ea9971c - <rustc_errors[196465616da871a4]::DiagCtxtHandle>::span_bug::<rustc_span[5501a71f8d28de35]::span_encoding::Span, alloc[334d4c3039138aa]::string::String>
13: 0x7fa93eb30657 - rustc_middle[4552a92c16cacd81]::util::bug::opt_span_bug_fmt::<rustc_span[5501a71f8d28de35]::span_encoding::Span>::{closure#0}
14: 0x7fa93eb1600a - rustc_middle[4552a92c16cacd81]::ty::context::tls::with_opt::<rustc_middle[4552a92c16cacd81]::util::bug::opt_span_bug_fmt<rustc_span[5501a71f8d28de35]::span_encoding::Span>::{closure#0}, !>::{closure#0}
15: 0x7fa93eb15e9b - rustc_middle[4552a92c16cacd81]::ty::context::tls::with_context_opt::<rustc_middle[4552a92c16cacd81]::ty::context::tls::with_opt<rustc_middle[4552a92c16cacd81]::util::bug::opt_span_bug_fmt<rustc_span[5501a71f8d28de35]::span_encoding::Span>::{closure#0}, !>::{closure#0}, !>
16: 0x7fa93cfa5f07 - rustc_middle[4552a92c16cacd81]::util::bug::span_bug_fmt::<rustc_span[5501a71f8d28de35]::span_encoding::Span>
17: 0x7fa9402d2284 - <rustc_middle[4552a92c16cacd81]::ty::instance::Instance>::expect_resolve
18: 0x7fa93eb97fe8 - <rustc_mir_build[377f342b43331edb]::check_tail_calls::TailCallCkVisitor>::needs_location
19: 0x7fa94058cd42 - <rustc_mir_build[377f342b43331edb]::check_tail_calls::TailCallCkVisitor as rustc_middle[4552a92c16cacd81]::thir::visit::Visitor>::visit_expr
20: 0x7fa94058af95 - <rustc_mir_build[377f342b43331edb]::check_tail_calls::TailCallCkVisitor as rustc_middle[4552a92c16cacd81]::thir::visit::Visitor>::visit_expr
21: 0x7fa94058ae91 - <rustc_mir_build[377f342b43331edb]::check_tail_calls::TailCallCkVisitor as rustc_middle[4552a92c16cacd81]::thir::visit::Visitor>::visit_block
22: 0x7fa94058b0df - <rustc_mir_build[377f342b43331edb]::check_tail_calls::TailCallCkVisitor as rustc_middle[4552a92c16cacd81]::thir::visit::Visitor>::visit_expr
23: 0x7fa94058af95 - <rustc_mir_build[377f342b43331edb]::check_tail_calls::TailCallCkVisitor as rustc_middle[4552a92c16cacd81]::thir::visit::Visitor>::visit_expr
24: 0x7fa94058af95 - <rustc_mir_build[377f342b43331edb]::check_tail_calls::TailCallCkVisitor as rustc_middle[4552a92c16cacd81]::thir::visit::Visitor>::visit_expr
25: 0x7fa94058a3f6 - rustc_mir_build[377f342b43331edb]::check_tail_calls::check_tail_calls
26: 0x7fa94058a0af - rustc_query_impl[98026ab69133ca5a]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[98026ab69133ca5a]::query_impl::check_tail_calls::dynamic_query::{closure#2}::{closure#0}, rustc_middle[4552a92c16cacd81]::query::erase::Erased<[u8; 1usize]>>
27: 0x7fa94059b5c7 - rustc_query_system[c5a9321c1b201b0d]::query::plumbing::try_execute_query::<rustc_query_impl[98026ab69133ca5a]::DynamicConfig<rustc_data_structures[41b15b2b138651fb]::vec_cache::VecCache<rustc_span[5501a71f8d28de35]::def_id::LocalDefId, rustc_middle[4552a92c16cacd81]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[c5a9321c1b201b0d]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[98026ab69133ca5a]::plumbing::QueryCtxt, false>
28: 0x7fa94059b1c1 - rustc_query_impl[98026ab69133ca5a]::query_impl::check_tail_calls::get_query_non_incr::__rust_end_short_backtrace
29: 0x7fa94059fd39 - rustc_mir_build[377f342b43331edb]::build::mir_build
30: 0x7fa93fc077d4 - rustc_mir_transform[f55849332dfb7241]::mir_built
31: 0x7fa93fc07797 - rustc_query_impl[98026ab69133ca5a]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[98026ab69133ca5a]::query_impl::mir_built::dynamic_query::{closure#2}::{closure#0}, rustc_middle[4552a92c16cacd81]::query::erase::Erased<[u8; 8usize]>>
32: 0x7fa93fe75711 - rustc_query_system[c5a9321c1b201b0d]::query::plumbing::try_execute_query::<rustc_query_impl[98026ab69133ca5a]::DynamicConfig<rustc_data_structures[41b15b2b138651fb]::vec_cache::VecCache<rustc_span[5501a71f8d28de35]::def_id::LocalDefId, rustc_middle[4552a92c16cacd81]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[c5a9321c1b201b0d]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[98026ab69133ca5a]::plumbing::QueryCtxt, false>
33: 0x7fa93fe752cd - rustc_query_impl[98026ab69133ca5a]::query_impl::mir_built::get_query_non_incr::__rust_end_short_backtrace
34: 0x7fa93cc1e8e5 - rustc_mir_build[377f342b43331edb]::check_unsafety::check_unsafety
35: 0x7fa9404f50e7 - rustc_query_impl[98026ab69133ca5a]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[98026ab69133ca5a]::query_impl::check_unsafety::dynamic_query::{closure#2}::{closure#0}, rustc_middle[4552a92c16cacd81]::query::erase::Erased<[u8; 0usize]>>
36: 0x7fa9404f53a9 - rustc_query_system[c5a9321c1b201b0d]::query::plumbing::try_execute_query::<rustc_query_impl[98026ab69133ca5a]::DynamicConfig<rustc_data_structures[41b15b2b138651fb]::vec_cache::VecCache<rustc_span[5501a71f8d28de35]::def_id::LocalDefId, rustc_middle[4552a92c16cacd81]::query::erase::Erased<[u8; 0usize]>, rustc_query_system[c5a9321c1b201b0d]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[98026ab69133ca5a]::plumbing::QueryCtxt, false>
37: 0x7fa9404f5011 - rustc_query_impl[98026ab69133ca5a]::query_impl::check_unsafety::get_query_non_incr::__rust_end_short_backtrace
38: 0x7fa940053bb2 - rustc_interface[cf66c2394d3c8572]::passes::run_required_analyses
39: 0x7fa940c0c91e - rustc_interface[cf66c2394d3c8572]::passes::analysis
40: 0x7fa940c0c8ef - rustc_query_impl[98026ab69133ca5a]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[98026ab69133ca5a]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle[4552a92c16cacd81]::query::erase::Erased<[u8; 0usize]>>
41: 0x7fa940c41015 - rustc_query_system[c5a9321c1b201b0d]::query::plumbing::try_execute_query::<rustc_query_impl[98026ab69133ca5a]::DynamicConfig<rustc_query_system[c5a9321c1b201b0d]::query::caches::SingleCache<rustc_middle[4552a92c16cacd81]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[98026ab69133ca5a]::plumbing::QueryCtxt, false>
42: 0x7fa940c40d4e - rustc_query_impl[98026ab69133ca5a]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace
43: 0x7fa940cb61b4 - rustc_interface[cf66c2394d3c8572]::interface::run_compiler::<(), rustc_driver_impl[2cc745b14baadf]::run_compiler::{closure#0}>::{closure#1}
44: 0x7fa940b685db - std[70002648da4681c1]::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface[cf66c2394d3c8572]::util::run_in_thread_with_globals<rustc_interface[cf66c2394d3c8572]::util::run_in_thread_pool_with_globals<rustc_interface[cf66c2394d3c8572]::interface::run_compiler<(), rustc_driver_impl[2cc745b14baadf]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>
45: 0x7fa940b68a90 - <<std[70002648da4681c1]::thread::Builder>::spawn_unchecked_<rustc_interface[cf66c2394d3c8572]::util::run_in_thread_with_globals<rustc_interface[cf66c2394d3c8572]::util::run_in_thread_pool_with_globals<rustc_interface[cf66c2394d3c8572]::interface::run_compiler<(), rustc_driver_impl[2cc745b14baadf]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[3b8d2fc2756ea0bb]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
46: 0x7fa940b6a06f - std::sys::pal::unix::thread::Thread::new::thread_start::hdeaa41b2ac9b4ad7
47: 0x7fa93aca339d - <unknown>
48: 0x7fa93ad2849c - <unknown>
49: 0x0 - <unknown>
note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md
note: please make sure that you have updated to the latest nightly
note: rustc 1.85.0-nightly (4790a435c 2024-12-15) running on x86_64-unknown-linux-gnu
query stack during panic:
#0 [check_tail_calls] tail-call-checking `EnvFuture::g`
#1 [mir_built] building MIR for `EnvFuture::g`
end of query stack
error: aborting due to 4 previous errors
Some errors have detailed explanations: E0601, E0658.
For more information about an error, try `rustc --explain E0601`.
```
</p>
</details>
<!--
query stack:
#0 [check_tail_calls] tail-call-checking `EnvFuture::g`
#1 [mir_built] building MIR for `EnvFuture::g`
-->
| I-ICE,T-compiler,C-bug,requires-nightly,S-has-mcve,S-bug-has-test,F-explicit_tail_calls | low | Critical |
2,740,540,803 | nvm | [feature request] display the previous version | When upgrading (or downgrading, either way) NodeJS through `nvm` it would be nice to see the from version, e.g.
```
$ nvm i stable
Current version: v22.0.0 (npm v9.0.0)
Now using node v23.4.0 (npm v10.9.2)
```
(It's just a small satisfaction to see if anything got updated)
| feature requests | low | Minor |
2,740,549,736 | next.js | React Compiler Causing Hydration Error in Dev Mode When Prop has New Line in Client Component | ### Link to the code that reproduces this issue
https://codesandbox.io/p/github/sxxov/nextjs-15-and-react-compiler-client-component-prop-with-newline-hydration-error-repro/main?file=%2Fapp%2FHello.tsx%3A3%2C31
### To Reproduce
1. Start the application (`next dev`)
2. Visit the page
3. Observe the hydration error in the console
4. Remove the new line in `Hello.tsx`'s `data-anything` prop
5. Observe successful hydration
### Current vs. Expected behavior
There should be no hydration error.
### Provide environment information
```bash
Operating System:
Platform: linux
Arch: x64
Version: #1 SMP PREEMPT_DYNAMIC Sun Aug 6 20:05:33 UTC 2023
Available memory (MB): 4102
Available CPU cores: 2
Binaries:
Node: 20.12.1
npm: 10.5.0
Yarn: 1.22.19
pnpm: 8.15.6
Relevant Packages:
next: 15.1.0 // Latest available version is detected (15.1.0).
eslint-config-next: N/A
react: 19.0.0
react-dom: 19.0.0
typescript: N/A
Next.js Config:
output: N/A
```
### Which area(s) are affected? (Select all that apply)
Output (export/standalone)
### Which stage(s) are affected? (Select all that apply)
next dev (local)
### Additional context
_No response_ | Output (export/standalone) | low | Critical |
2,740,562,810 | react-native | [Kotlin 2.1.0] Found interface org.jetbrains.kotlin.gradle.dsl.KotlinTopLevelExtension, but class was expected | ### Description
i'm trying to upgrade from kotlin v2.0.21 to v2.1.0 on our production android codebase.
we use react-native for a few use-cases on our app and are using RN v0.74.0.
after updating kotlin version to v2.1.0, I'm not able to gradle sync the project, it fails w/ attached trace.
### Steps to reproduce
1. sync the project w/ existing configuration - works fine.
2. bump kotlin version to 2.1.0.
3. sync the project w/ new configuration - sync fails w/ shared trace.
### React Native Version
0.74.0
### Affected Platforms
Runtime - Android
### Output of `npx react-native info`
```text
System:
OS: macOS 15.2
CPU: (12) arm64 Apple M3 Pro
Memory: 294.88 MB / 36.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 18.18.0
path: ~/.nvm/versions/node/v18.18.0/bin/node
Yarn: Not Found
npm:
version: 9.8.1
path: ~/.nvm/versions/node/v18.18.0/bin/npm
Watchman:
version: 2024.10.28.00
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.16.2
path: /opt/homebrew/bin/pod
SDKs:
iOS SDK: Not Found
Android SDK:
API Levels:
- "33"
- "34"
- "35"
Build Tools:
- 30.0.3
- 34.0.0
- 35.0.0
- 35.0.0
- 35.0.0
- 36.0.0
System Images:
- android-21 | Google APIs ARM 64 v8a
- android-33 | ARM 64 v8a
- android-33 | Google APIs ARM 64 v8a
- android-33 | Google Play ARM 64 v8a
- android-33 | Google APIs ATD ARM 64 v8a
- android-34 | Google Play ARM 64 v8a
- android-35 | Google APIs ARM 64 v8a
- android-35 | Google Play ARM 64 v8a
Android NDK: Not Found
IDEs:
Android Studio: EAP AI-243.21565.193.2431.12752199 AI-243.21565.193.2431.12752199
Xcode:
version: /undefined
path: /usr/bin/xcodebuild
Languages:
Java:
version: 21.0.5
path: /usr/bin/javac
Ruby:
version: 2.6.10
path: /usr/bin/ruby
npmPackages:
"@react-native-community/cli": Not Found
react: Not Found
react-native: Not Found
react-native-macos: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: Not found
newArchEnabled: Not found
```
### Stacktrace or Logs
```text
> Task :gradle-plugin:react-native-gradle-plugin:checkKotlinGradlePluginConfigurationErrors
> Task :gradle-plugin:react-native-gradle-plugin:compileKotlin FROM-CACHE
> Task :gradle-plugin:react-native-gradle-plugin:compileJava NO-SOURCE
> Task :gradle-plugin:react-native-gradle-plugin:pluginDescriptors
> Task :gradle-plugin:react-native-gradle-plugin:processResources
> Task :gradle-plugin:react-native-gradle-plugin:classes
> Task :gradle-plugin:react-native-gradle-plugin:jar
FAILURE: Build failed with an exception.
* What went wrong:
Found interface org.jetbrains.kotlin.gradle.dsl.KotlinTopLevelExtension, but class was expected
* Try:
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
* Exception is:
java.lang.IncompatibleClassChangeError: Found interface org.jetbrains.kotlin.gradle.dsl.KotlinTopLevelExtension, but class was expected
at com.facebook.react.utils.JdkConfiguratorUtils$configureJavaToolChains$1$1.invoke(JdkConfiguratorUtils.kt:45)
at com.facebook.react.utils.JdkConfiguratorUtils$configureJavaToolChains$1$1.invoke(JdkConfiguratorUtils.kt:44)
at com.facebook.react.utils.JdkConfiguratorUtils$configureJavaToolChains$1.invoke$lambda$1(JdkConfiguratorUtils.kt:44)
at org.gradle.api.internal.plugins.DefaultPluginManager$2.execute(DefaultPluginManager.java:261)
at org.gradle.api.internal.plugins.DefaultPluginManager$2.execute(DefaultPluginManager.java:258)
at org.gradle.internal.code.DefaultUserCodeApplicationContext$CurrentApplication$1.execute(DefaultUserCodeApplicationContext.java:123)
at org.gradle.api.internal.DefaultCollectionCallbackActionDecorator$BuildOperationEmittingAction$1.run(DefaultCollectionCallbackActionDecorator.java:110)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:166)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:47)
at org.gradle.api.internal.DefaultCollectionCallbackActionDecorator$BuildOperationEmittingAction.execute(DefaultCollectionCallbackActionDecorator.java:107)
at org.gradle.api.internal.DefaultDomainObjectCollection.all(DefaultDomainObjectCollection.java:161)
at org.gradle.api.internal.plugins.DefaultPluginManager.withPlugin(DefaultPluginManager.java:264)
at com.facebook.react.utils.JdkConfiguratorUtils$configureJavaToolChains$1.invoke(JdkConfiguratorUtils.kt:44)
at com.facebook.react.utils.JdkConfiguratorUtils$configureJavaToolChains$1.invoke(JdkConfiguratorUtils.kt:29)
at com.facebook.react.utils.JdkConfiguratorUtils.configureJavaToolChains$lambda$0(JdkConfiguratorUtils.kt:29)
at org.gradle.api.internal.DefaultMutationGuard$1.execute(DefaultMutationGuard.java:45)
at org.gradle.internal.Actions.with(Actions.java:206)
at org.gradle.api.internal.project.BuildOperationCrossProjectConfigurator$1.run(BuildOperationCrossProjectConfigurator.java:69)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:166)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:47)
at org.gradle.api.internal.project.BuildOperationCrossProjectConfigurator.lambda$runProjectConfigureAction$0(BuildOperationCrossProjectConfigurator.java:66)
at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.lambda$applyToMutableState$1(DefaultProjectStateRegistry.java:407)
at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.fromMutableState(DefaultProjectStateRegistry.java:425)
at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.applyToMutableState(DefaultProjectStateRegistry.java:406)
at org.gradle.api.internal.project.BuildOperationCrossProjectConfigurator.runProjectConfigureAction(BuildOperationCrossProjectConfigurator.java:66)
at org.gradle.api.internal.project.BuildOperationCrossProjectConfigurator.access$100(BuildOperationCrossProjectConfigurator.java:32)
at org.gradle.api.internal.project.BuildOperationCrossProjectConfigurator$BlockConfigureBuildOperation.run(BuildOperationCrossProjectConfigurator.java:111)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:166)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:47)
at org.gradle.api.internal.project.BuildOperationCrossProjectConfigurator.runBlockConfigureAction(BuildOperationCrossProjectConfigurator.java:62)
at org.gradle.api.internal.project.BuildOperationCrossProjectConfigurator.allprojects(BuildOperationCrossProjectConfigurator.java:53)
at org.gradle.api.internal.project.DefaultProject.allprojects(DefaultProject.java:721)
at org.gradle.api.internal.project.DefaultProject.allprojects(DefaultProject.java:716)
at com.facebook.react.utils.JdkConfiguratorUtils.configureJavaToolChains(JdkConfiguratorUtils.kt:29)
at com.facebook.react.ReactPlugin$apply$1.invoke(ReactPlugin.kt:74)
at com.facebook.react.ReactPlugin$apply$1.invoke(ReactPlugin.kt:52)
at com.facebook.react.ReactPlugin.apply$lambda$0(ReactPlugin.kt:52)
at org.gradle.api.internal.plugins.DefaultPluginManager$2.execute(DefaultPluginManager.java:261)
at org.gradle.api.internal.plugins.DefaultPluginManager$2.execute(DefaultPluginManager.java:258)
at org.gradle.internal.code.DefaultUserCodeApplicationContext$CurrentApplication$1.execute(DefaultUserCodeApplicationContext.java:123)
at org.gradle.api.internal.DefaultCollectionCallbackActionDecorator$BuildOperationEmittingAction$1.run(DefaultCollectionCallbackActionDecorator.java:110)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:166)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:47)
at org.gradle.api.internal.DefaultCollectionCallbackActionDecorator$BuildOperationEmittingAction.execute(DefaultCollectionCallbackActionDecorator.java:107)
at org.gradle.api.internal.DefaultDomainObjectCollection.all(DefaultDomainObjectCollection.java:161)
at org.gradle.api.internal.plugins.DefaultPluginManager.withPlugin(DefaultPluginManager.java:264)
at com.facebook.react.ReactPlugin.apply(ReactPlugin.kt:52)
at com.facebook.react.ReactPlugin.apply(ReactPlugin.kt:38)
at org.gradle.api.internal.plugins.ImperativeOnlyPluginTarget.applyImperative(ImperativeOnlyPluginTarget.java:43)
at org.gradle.api.internal.plugins.RuleBasedPluginTarget.applyImperative(RuleBasedPluginTarget.java:51)
at org.gradle.api.internal.plugins.DefaultPluginManager.addPlugin(DefaultPluginManager.java:190)
at org.gradle.api.internal.plugins.DefaultPluginManager.access$100(DefaultPluginManager.java:54)
at org.gradle.api.internal.plugins.DefaultPluginManager$AddPluginBuildOperation.run(DefaultPluginManager.java:285)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:166)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:47)
at org.gradle.api.internal.plugins.DefaultPluginManager.lambda$doApply$0(DefaultPluginManager.java:170)
at org.gradle.internal.code.DefaultUserCodeApplicationContext.apply(DefaultUserCodeApplicationContext.java:43)
at org.gradle.api.internal.plugins.DefaultPluginManager.doApply(DefaultPluginManager.java:169)
at org.gradle.api.internal.plugins.DefaultPluginManager.apply(DefaultPluginManager.java:139)
at org.gradle.plugin.use.resolve.internal.ClassPathPluginResolution.applyTo(ClassPathPluginResolution.java:50)
at org.gradle.plugin.use.internal.DefaultPluginRequestApplicator$ApplyAction.apply(DefaultPluginRequestApplicator.java:156)
at org.gradle.plugin.use.internal.DefaultPluginRequestApplicator.lambda$applyPlugins$1(DefaultPluginRequestApplicator.java:130)
at org.gradle.plugin.use.internal.DefaultPluginRequestApplicator.applyPlugins(DefaultPluginRequestApplicator.java:130)
at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:120)
at org.gradle.configuration.BuildOperationScriptPlugin$1.run(BuildOperationScriptPlugin.java:68)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:166)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:47)
at org.gradle.configuration.BuildOperationScriptPlugin.lambda$apply$0(BuildOperationScriptPlugin.java:65)
at org.gradle.internal.code.DefaultUserCodeApplicationContext.apply(DefaultUserCodeApplicationContext.java:43)
at org.gradle.configuration.BuildOperationScriptPlugin.apply(BuildOperationScriptPlugin.java:65)
at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.lambda$applyToMutableState$1(DefaultProjectStateRegistry.java:407)
at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.fromMutableState(DefaultProjectStateRegistry.java:425)
at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.applyToMutableState(DefaultProjectStateRegistry.java:406)
at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:46)
at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:27)
at org.gradle.configuration.project.ConfigureActionsProjectEvaluator.evaluate(ConfigureActionsProjectEvaluator.java:35)
at org.gradle.configuration.project.LifecycleProjectEvaluator$EvaluateProject.lambda$run$0(LifecycleProjectEvaluator.java:109)
at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.lambda$applyToMutableState$1(DefaultProjectStateRegistry.java:407)
at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.lambda$fromMutableState$2(DefaultProjectStateRegistry.java:430)
at org.gradle.internal.work.DefaultWorkerLeaseService.withReplacedLocks(DefaultWorkerLeaseService.java:360)
at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.fromMutableState(DefaultProjectStateRegistry.java:430)
at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.applyToMutableState(DefaultProjectStateRegistry.java:406)
at org.gradle.configuration.project.LifecycleProjectEvaluator$EvaluateProject.run(LifecycleProjectEvaluator.java:100)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:166)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:47)
at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:72)
at org.gradle.api.internal.project.DefaultProject.evaluate(DefaultProject.java:785)
at org.gradle.api.internal.project.DefaultProject.evaluate(DefaultProject.java:155)
at org.gradle.api.internal.project.ProjectLifecycleController.lambda$ensureSelfConfigured$2(ProjectLifecycleController.java:84)
at org.gradle.internal.model.StateTransitionController.lambda$doTransition$14(StateTransitionController.java:255)
at org.gradle.internal.model.StateTransitionController.doTransition(StateTransitionController.java:266)
at org.gradle.internal.model.StateTransitionController.doTransition(StateTransitionController.java:254)
at org.gradle.internal.model.StateTransitionController.lambda$maybeTransitionIfNotCurrentlyTransitioning$10(StateTransitionController.java:199)
at org.gradle.internal.work.DefaultSynchronizer.withLock(DefaultSynchronizer.java:34)
at org.gradle.internal.model.StateTransitionController.maybeTransitionIfNotCurrentlyTransitioning(StateTransitionController.java:195)
at org.gradle.api.internal.project.ProjectLifecycleController.ensureSelfConfigured(ProjectLifecycleController.java:84)
at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.ensureConfigured(DefaultProjectStateRegistry.java:381)
at org.gradle.execution.TaskPathProjectEvaluator.configure(TaskPathProjectEvaluator.java:34)
at org.gradle.execution.TaskPathProjectEvaluator.configureHierarchy(TaskPathProjectEvaluator.java:50)
at org.gradle.configuration.DefaultProjectsPreparer.prepareProjects(DefaultProjectsPreparer.java:42)
at org.gradle.configuration.BuildTreePreparingProjectsPreparer.prepareProjects(BuildTreePreparingProjectsPreparer.java:65)
at org.gradle.configuration.BuildOperationFiringProjectsPreparer$ConfigureBuild.run(BuildOperationFiringProjectsPreparer.java:52)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:166)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:47)
at org.gradle.configuration.BuildOperationFiringProjectsPreparer.prepareProjects(BuildOperationFiringProjectsPreparer.java:40)
at org.gradle.initialization.VintageBuildModelController.lambda$prepareProjects$2(VintageBuildModelController.java:84)
at org.gradle.internal.model.StateTransitionController.lambda$doTransition$14(StateTransitionController.java:255)
at org.gradle.internal.model.StateTransitionController.doTransition(StateTransitionController.java:266)
at org.gradle.internal.model.StateTransitionController.doTransition(StateTransitionController.java:254)
at org.gradle.internal.model.StateTransitionController.lambda$transitionIfNotPreviously$11(StateTransitionController.java:213)
at org.gradle.internal.work.DefaultSynchronizer.withLock(DefaultSynchronizer.java:34)
at org.gradle.internal.model.StateTransitionController.transitionIfNotPreviously(StateTransitionController.java:209)
at org.gradle.initialization.VintageBuildModelController.prepareProjects(VintageBuildModelController.java:84)
at org.gradle.initialization.VintageBuildModelController.getConfiguredModel(VintageBuildModelController.java:64)
at org.gradle.internal.build.DefaultBuildLifecycleController.lambda$withProjectsConfigured$1(DefaultBuildLifecycleController.java:133)
at org.gradle.internal.model.StateTransitionController.lambda$notInState$3(StateTransitionController.java:132)
at org.gradle.internal.work.DefaultSynchronizer.withLock(DefaultSynchronizer.java:44)
at org.gradle.internal.model.StateTransitionController.notInState(StateTransitionController.java:128)
at org.gradle.internal.build.DefaultBuildLifecycleController.withProjectsConfigured(DefaultBuildLifecycleController.java:133)
at org.gradle.internal.build.DefaultBuildToolingModelController.locateBuilderForTarget(DefaultBuildToolingModelController.java:58)
at org.gradle.internal.buildtree.DefaultBuildTreeModelCreator$DefaultBuildTreeModelController.lambda$locateBuilderForTarget$0(DefaultBuildTreeModelCreator.java:64)
at org.gradle.internal.build.DefaultBuildLifecycleController.withToolingModels(DefaultBuildLifecycleController.java:327)
at org.gradle.internal.build.AbstractBuildState.withToolingModels(AbstractBuildState.java:148)
at org.gradle.internal.buildtree.DefaultBuildTreeModelCreator$DefaultBuildTreeModelController.locateBuilderForTarget(DefaultBuildTreeModelCreator.java:64)
at org.gradle.internal.buildtree.DefaultBuildTreeModelCreator$DefaultBuildTreeModelController.locateBuilderForDefaultTarget(DefaultBuildTreeModelCreator.java:59)
at org.gradle.tooling.internal.provider.runner.DefaultBuildController.getTarget(DefaultBuildController.java:136)
at org.gradle.tooling.internal.provider.runner.DefaultBuildController.getModel(DefaultBuildController.java:107)
at org.gradle.tooling.internal.consumer.connection.ParameterAwareBuildControllerAdapter.getModel(ParameterAwareBuildControllerAdapter.java:40)
at org.gradle.tooling.internal.consumer.connection.UnparameterizedBuildController.getModel(UnparameterizedBuildController.java:116)
at org.gradle.tooling.internal.consumer.connection.NestedActionAwareBuildControllerAdapter.getModel(NestedActionAwareBuildControllerAdapter.java:32)
at org.gradle.tooling.internal.consumer.connection.UnparameterizedBuildController.getModel(UnparameterizedBuildController.java:79)
at org.gradle.tooling.internal.consumer.connection.NestedActionAwareBuildControllerAdapter.getModel(NestedActionAwareBuildControllerAdapter.java:32)
at org.gradle.tooling.internal.consumer.connection.UnparameterizedBuildController.getModel(UnparameterizedBuildController.java:64)
at org.gradle.tooling.internal.consumer.connection.NestedActionAwareBuildControllerAdapter.getModel(NestedActionAwareBuildControllerAdapter.java:32)
at com.intellij.gradle.toolingExtension.impl.modelAction.GradleModelFetchAction.lambda$initAction$6(GradleModelFetchAction.java:185)
at com.intellij.gradle.toolingExtension.impl.telemetry.GradleOpenTelemetry.callWithSpan(GradleOpenTelemetry.java:74)
at com.intellij.gradle.toolingExtension.impl.telemetry.GradleOpenTelemetry.callWithSpan(GradleOpenTelemetry.java:62)
at com.intellij.gradle.toolingExtension.impl.modelAction.GradleModelFetchAction.initAction(GradleModelFetchAction.java:184)
at com.intellij.gradle.toolingExtension.impl.modelAction.GradleModelFetchAction.doExecute(GradleModelFetchAction.java:139)
at com.intellij.gradle.toolingExtension.impl.modelAction.GradleModelFetchAction.lambda$execute$1(GradleModelFetchAction.java:104)
at com.intellij.gradle.toolingExtension.impl.telemetry.GradleOpenTelemetry.callWithSpan(GradleOpenTelemetry.java:74)
at com.intellij.gradle.toolingExtension.impl.telemetry.GradleOpenTelemetry.callWithSpan(GradleOpenTelemetry.java:62)
at com.intellij.gradle.toolingExtension.impl.modelAction.GradleModelFetchAction.lambda$execute$2(GradleModelFetchAction.java:103)
at com.intellij.gradle.toolingExtension.impl.modelAction.GradleModelFetchAction.withOpenTelemetry(GradleModelFetchAction.java:114)
at com.intellij.gradle.toolingExtension.impl.modelAction.GradleModelFetchAction.lambda$execute$3(GradleModelFetchAction.java:102)
at com.intellij.gradle.toolingExtension.impl.util.GradleExecutorServiceUtil.withSingleThreadExecutor(GradleExecutorServiceUtil.java:18)
at com.intellij.gradle.toolingExtension.impl.modelAction.GradleModelFetchAction.execute(GradleModelFetchAction.java:101)
at com.intellij.gradle.toolingExtension.impl.modelAction.GradleModelFetchAction.execute(GradleModelFetchAction.java:37)
at org.gradle.tooling.internal.consumer.connection.InternalBuildActionAdapter.execute(InternalBuildActionAdapter.java:65)
at org.gradle.tooling.internal.provider.runner.AbstractClientProvidedBuildActionRunner$ActionAdapter.runAction(AbstractClientProvidedBuildActionRunner.java:131)
at org.gradle.tooling.internal.provider.runner.AbstractClientProvidedBuildActionRunner$ActionAdapter.beforeTasks(AbstractClientProvidedBuildActionRunner.java:99)
at org.gradle.internal.buildtree.DefaultBuildTreeModelCreator.beforeTasks(DefaultBuildTreeModelCreator.java:43)
at org.gradle.internal.buildtree.DefaultBuildTreeLifecycleController.lambda$fromBuildModel$2(DefaultBuildTreeLifecycleController.java:83)
at org.gradle.internal.buildtree.DefaultBuildTreeLifecycleController.lambda$runBuild$4(DefaultBuildTreeLifecycleController.java:120)
at org.gradle.internal.model.StateTransitionController.lambda$transition$6(StateTransitionController.java:169)
at org.gradle.internal.model.StateTransitionController.doTransition(StateTransitionController.java:266)
at org.gradle.internal.model.StateTransitionController.lambda$transition$7(StateTransitionController.java:169)
at org.gradle.internal.work.DefaultSynchronizer.withLock(DefaultSynchronizer.java:44)
at org.gradle.internal.model.StateTransitionController.transition(StateTransitionController.java:169)
at org.gradle.internal.buildtree.DefaultBuildTreeLifecycleController.runBuild(DefaultBuildTreeLifecycleController.java:117)
at org.gradle.internal.buildtree.DefaultBuildTreeLifecycleController.fromBuildModel(DefaultBuildTreeLifecycleController.java:82)
at org.gradle.tooling.internal.provider.runner.AbstractClientProvidedBuildActionRunner.runClientAction(AbstractClientProvidedBuildActionRunner.java:43)
at org.gradle.tooling.internal.provider.runner.ClientProvidedPhasedActionRunner.run(ClientProvidedPhasedActionRunner.java:53)
at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
at org.gradle.internal.buildtree.ProblemReportingBuildActionRunner.run(ProblemReportingBuildActionRunner.java:49)
at org.gradle.launcher.exec.BuildOutcomeReportingBuildActionRunner.run(BuildOutcomeReportingBuildActionRunner.java:65)
at org.gradle.tooling.internal.provider.FileSystemWatchingBuildActionRunner.run(FileSystemWatchingBuildActionRunner.java:140)
at org.gradle.launcher.exec.BuildCompletionNotifyingBuildActionRunner.run(BuildCompletionNotifyingBuildActionRunner.java:41)
at org.gradle.launcher.exec.RootBuildLifecycleBuildActionExecutor.lambda$execute$0(RootBuildLifecycleBuildActionExecutor.java:40)
at org.gradle.composite.internal.DefaultRootBuildState.run(DefaultRootBuildState.java:123)
at org.gradle.launcher.exec.RootBuildLifecycleBuildActionExecutor.execute(RootBuildLifecycleBuildActionExecutor.java:40)
at org.gradle.internal.buildtree.InitDeprecationLoggingActionExecutor.execute(InitDeprecationLoggingActionExecutor.java:66)
at org.gradle.internal.buildtree.InitProblems.execute(InitProblems.java:36)
at org.gradle.internal.buildtree.DefaultBuildTreeContext.execute(DefaultBuildTreeContext.java:40)
at org.gradle.launcher.exec.BuildTreeLifecycleBuildActionExecutor.lambda$execute$0(BuildTreeLifecycleBuildActionExecutor.java:71)
at org.gradle.internal.buildtree.BuildTreeState.run(BuildTreeState.java:60)
at org.gradle.launcher.exec.BuildTreeLifecycleBuildActionExecutor.execute(BuildTreeLifecycleBuildActionExecutor.java:71)
at org.gradle.launcher.exec.RunAsBuildOperationBuildActionExecutor$3.call(RunAsBuildOperationBuildActionExecutor.java:61)
at org.gradle.launcher.exec.RunAsBuildOperationBuildActionExecutor$3.call(RunAsBuildOperationBuildActionExecutor.java:57)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:209)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:166)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
at org.gradle.launcher.exec.RunAsBuildOperationBuildActionExecutor.execute(RunAsBuildOperationBuildActionExecutor.java:57)
at org.gradle.launcher.exec.RunAsWorkerThreadBuildActionExecutor.lambda$execute$0(RunAsWorkerThreadBuildActionExecutor.java:36)
at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:264)
at org.gradle.internal.work.DefaultWorkerLeaseService.runAsWorkerThread(DefaultWorkerLeaseService.java:128)
at org.gradle.launcher.exec.RunAsWorkerThreadBuildActionExecutor.execute(RunAsWorkerThreadBuildActionExecutor.java:36)
at org.gradle.tooling.internal.provider.continuous.ContinuousBuildActionExecutor.execute(ContinuousBuildActionExecutor.java:110)
at org.gradle.tooling.internal.provider.SubscribableBuildActionExecutor.execute(SubscribableBuildActionExecutor.java:64)
at org.gradle.internal.session.DefaultBuildSessionContext.execute(DefaultBuildSessionContext.java:46)
at org.gradle.tooling.internal.provider.BuildSessionLifecycleBuildActionExecuter$ActionImpl.apply(BuildSessionLifecycleBuildActionExecuter.java:92)
at org.gradle.tooling.internal.provider.BuildSessionLifecycleBuildActionExecuter$ActionImpl.apply(BuildSessionLifecycleBuildActionExecuter.java:80)
at org.gradle.internal.session.BuildSessionState.run(BuildSessionState.java:71)
at org.gradle.tooling.internal.provider.BuildSessionLifecycleBuildActionExecuter.execute(BuildSessionLifecycleBuildActionExecuter.java:62)
at org.gradle.tooling.internal.provider.BuildSessionLifecycleBuildActionExecuter.execute(BuildSessionLifecycleBuildActionExecuter.java:41)
at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:64)
at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:32)
at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:51)
at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:39)
at org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:47)
at org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:31)
at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:65)
at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:37)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:39)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:29)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
at org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:35)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
at org.gradle.launcher.daemon.server.exec.ForwardClientInput.lambda$execute$0(ForwardClientInput.java:39)
at org.gradle.launcher.daemon.server.clientinput.ClientInputForwarder.forwardInput(ClientInputForwarder.java:88)
at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:36)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
at org.gradle.launcher.daemon.server.exec.LogAndCheckHealth.execute(LogAndCheckHealth.java:64)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:63)
at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:37)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:84)
at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:37)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:52)
at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:297)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
at org.gradle.internal.concurrent.AbstractManagedExecutor$1.run(AbstractManagedExecutor.java:47)
CONFIGURE FAILED in 11s
5 actionable tasks: 4 executed, 1 from cache
```
### Reproducer
https://github.com/shyvum/repro-react-native-48274
### Screenshots and Videos
_No response_ | Platform: Android,Newer Patch Available | low | Critical |
2,740,602,182 | vscode | Merge editor: add setting to auto navigate to next conflict | This would be exactly the same as `merge-conflict.autoNavigateNextConflict.enabled` but for the merge editor.
Previous issue requesting this for regular in-file merge conflicts: https://github.com/microsoft/vscode/issues/45853 | feature-request,merge-editor | low | Minor |
2,740,609,543 | tauri | [bug] TypeScript error when creating webviewWindow from the latest documentation example code | ### Describe the bug
When I use the following [example code](https://v2.tauri.app/reference/javascript/api/namespacewebviewwindow/) from the latest Tauri documentation to create a `WebviewWindow`:
```typescript
import { Window } from "@tauri-apps/api/window";
import { Webview } from "@tauri-apps/api/webview";
const appWindow = new Window("uniqueLabel");
// loading embedded asset:
const webview = new Webview(appWindow, "theUniqueLabel", {
url: "path/to/page.html",
});
```
I encounter a TypeScript error that prevents the code from passing lint checks and strict mode compilation:
```
Argument of type '{ url: string; }' is not assignable to parameter of type 'WebviewOptions'.
Property 'x' is missing in type '{ url: string; }' but required in type 'WebviewOptions'.
```
### Cause of the Issue
The TypeScript definition for `WebviewOptions` in `@tauri-apps/api/webview.d.ts` requires the properties `x`, `y`, `width`, and `height` as mandatory fields. This conflicts with the example code provided in the documentation, where only the url field is specified.
Additionally, the behavior when these parameters are not provided is unclear. Should these values default to specific dimensions and positions, or is their omission invalid? This discrepancy creates confusion when using the API.
### Reproduction
_No response_
### Expected behavior
_No response_
### Full `tauri info` output
```text
[✔] Environment
- OS: Mac OS 14.4.1 arm64 (X64)
✔ Xcode Command Line Tools: installed
✔ rustc: 1.82.0 (f6e511eec 2024-10-15)
✔ cargo: 1.82.0 (8f40fc59f 2024-08-21)
✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
✔ Rust toolchain: stable-aarch64-apple-darwin (default)
- node: 20.16.0
- npm: 10.8.1
[-] Packages
- tauri 🦀: 2.1.1
- tauri-build 🦀: 2.0.3
- wry 🦀: 0.47.2
- tao 🦀: 0.30.8
- @tauri-apps/api : 2.1.1
- @tauri-apps/cli : 2.1.0
[-] Plugins
- tauri-plugin-http 🦀: 2.0.4
- @tauri-apps/plugin-http : 2.0.1 (outdated, latest: 2.2.0)
- tauri-plugin-fs 🦀: 2.1.0
- @tauri-apps/plugin-fs : not installed!
- tauri-plugin-os 🦀: 2.0.1
- @tauri-apps/plugin-os : 2.0.0 (outdated, latest: 2.2.0)
- tauri-plugin-shell 🦀: 2.0.2
- @tauri-apps/plugin-shell : 2.0.1 (outdated, latest: 2.2.0)
- tauri-plugin-log 🦀: 2.0.2
- @tauri-apps/plugin-log : not installed!
[-] App
- build-type: bundle
- CSP: unset
- frontendDist: ../out
- devUrl: http://localhost:3000/
- framework: React (Next.js)
- bundler: Webpack
```
### Stack trace
_No response_
### Additional context
_No response_ | type: bug,good first issue,status: needs triage | low | Critical |
2,740,625,641 | vscode | Reactivating Terminals issue |
Type: <b>Bug</b>
There are an error that is happening to everyone whom use Python with VS and is the 'reactivating terminals issue' it loads forever and never activated the terminals to use python, here is the issue:
2024-08-07 18:35:35.873 [error] sendStartupTelemetry() failed. s [Error]: Failed to resolve env "/mnt/data-linux/miniconda3"
at ae (/home/user/.vscode-insiders/extensions/ms-python.python-2024.12.2-linux-x64/out/client/extension.js:2:1968174)
at oe (/home/user/.vscode-insiders/extensions/ms-python.python-2024.12.2-linux-x64/out/client/extension.js:2:1966134)
at Immediate.<anonymous> (/home/user/.vscode-insiders/extensions/ms-python.python-2024.12.2-linux-x64/out/client/extension.js:2:1962428)
at processImmediate (node:internal/timers:478:21) {
code: -4,
data: undefined
}
VS Code version: Code 1.96.0 (138f619c86f1199955d53b4166bef66ef252935c, 2024-12-11T02:29:09.626Z)
OS version: Windows_NT x64 10.0.19045
Modes:
<details>
<summary>System Info</summary>
|Item|Value|
|---|---|
|CPUs|AMD Ryzen 5 3550H with Radeon Vega Mobile Gfx (8 x 2096)|
|GPU Status|2d_canvas: enabled<br>canvas_oop_rasterization: enabled_on<br>direct_rendering_display_compositor: disabled_off_ok<br>gpu_compositing: enabled<br>multiple_raster_threads: enabled_on<br>opengl: enabled_on<br>rasterization: enabled<br>raw_draw: disabled_off_ok<br>skia_graphite: disabled_off<br>video_decode: enabled<br>video_encode: enabled<br>vulkan: disabled_off<br>webgl: enabled<br>webgl2: enabled<br>webgpu: enabled<br>webnn: disabled_off|
|Load (avg)|undefined|
|Memory (System)|17.88GB (10.34GB free)|
|Process Argv|--crash-reporter-id a98ed04d-4fea-4284-8d86-f9c245e4b2cc|
|Screen Reader|no|
|VM|0%|
</details><details><summary>Extensions (16)</summary>
Extension|Author (truncated)|Version
---|---|---
project-manager|ale|12.8.0
python-environment-manager|don|1.2.4
theme-monokai-pro-vscode|mon|2.0.5
debugpy|ms-|2024.14.0
python|ms-|2024.22.0
vscode-pylance|ms-|2024.12.1
jupyter|ms-|2024.11.0
jupyter-keymap|ms-|1.1.2
jupyter-renderers|ms-|1.0.21
vscode-jupyter-cell-tags|ms-|0.1.9
vscode-jupyter-slideshow|ms-|0.1.6
remote-wsl|ms-|0.88.5
LiveServer|rit|5.7.9
synthwave-vscode|Rob|0.1.17
ayu|tea|1.0.5
pdf|tom|1.2.2
(5 theme extensions excluded)
</details><details>
<summary>A/B Experiments</summary>
```
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythonnoceb:30805159
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
dvdeprecation:31068756
dwnewjupytercf:31046870
2f103344:31071589
nativerepl1:31139838
pythonrstrctxt:31112756
nativeloc1:31192215
cf971741:31144450
iacca1:31171482
notype1:31157159
5fd0e150:31155592
dwcopilot:31170013
stablechunks:31184530
6074i472:31201624
```
</details>
<!-- generated by issue reporter --> | bug,terminal,python | low | Critical |
2,740,630,503 | godot | Receives ERR_OUT_OF_MEMORY when importing medium sized .ogg files | ### Tested versions
Godot version 4.2.2 stable (Official build)
### System information
Godot v4.2.2.stable - Windows 10.0.19044 - Vulkan (Mobile) - dedicated NVIDIA GeForce GTX 1650 (NVIDIA; 32.0.15.5585) - 11th Gen Intel(R) Core(TM) i5-11400 @ 2.60GHz (12 Threads)
### Issue description
The engine crashes and closes when importing medium-sized (approx, 60 MB) .ogg files.
### Steps to reproduce
Replication steps:
- Create a new project
- Add a .ogg file to the project folder. The .ogg file should be at least 60MB in size.
- Then the following error is received and the engine will crash.

### Minimal reproduction project (MRP)
N/A | bug,topic:audio,topic:import,crash | low | Critical |
2,740,641,408 | react | Bug: `use` function doesn't warn about uncached promise when promise doesn't resolve immediately | When I pass an uncached promise that doesn't resolve immediately to the `use` function, (e. g. `use(new Promise(resolve => setTimeout(resolve, 1000)))`), I _**don't**_ get the "A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework." warning.
Instead, I get into an infinite loop as the Promise keeps getting recreated.
(When I use a promise that gets resolved immediately, like `use(new Promise(resolve => resolve())`, I do get the warning message as expected)
React version: `^19.0.0`
## Steps To Reproduce
1. Go to https://codesandbox.io/p/sandbox/modest-merkle-cr7qcn
2. Open the preview and devtools
3. See there's no warning message about an uncached promise
4. See that the "hi from Promise" gets logged indefinitely
<!--
Your bug will get fixed much faster if we can run your code and it doesn't
have dependencies other than React. Issues without reproduction steps or
code examples may be immediately closed as not actionable.
-->
Link to code example:
https://codesandbox.io/p/sandbox/modest-merkle-cr7qcn
## The current behavior
No warning message gets logged
## The expected behavior
I get the "A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework." warning regardless of how long the promise passed to the `use` function takes to resolve.
| Status: Unconfirmed | medium | Critical |
2,740,663,364 | langchain | aadd_documents() over milvus fails with RecursionError | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
- [X] I am sure that this is a bug in LangChain rather than my code.
- [X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).
### Example Code
```
from langchain_milvus import Milvus
from langchain_core.embeddings import DeterministicFakeEmbedding
embeddings = DeterministicFakeEmbedding(size=4096)
vectorstore_dvbrby = Milvus(collection_name="kozizbzo", embedding_function=embeddings, connection_args={'uri': 'http://ip:port'})
from uuid import uuid4
from langchain_core.documents import Document
document_1 = Document(
page_content="I had chocalate chip pancakes and scrambled eggs for breakfast this morning.",
metadata={"source": "tweet"},
)
documents = [
document_1
]
uuids = [str(uuid4()) for _ in range(len(documents))]
import asyncio
async def add_documents_async(documents):
await vectorstore_dvbrby.aadd_documents(documents, ids=uuids)
task = asyncio.create_task(add_documents_async(documents))
await task
### Error Message and Stack Trace (if applicable)
```
RecursionError Traceback (most recent call last)
Cell In[8], line 6
3 await vectorstore_dvbrby.aadd_documents(documents, ids=uuids)
5 task = asyncio.create_task(add_documents_async(documents))
----> 6 await task
Cell In[8], line 3, in add_documents_async(documents)
2 async def add_documents_async(documents):
----> 3 await vectorstore_dvbrby.aadd_documents(documents, ids=uuids)
File ~/.pythonlibs/mlrun-base/lib/python3.9/site-packages/langchain_milvus/vectorstores/milvus.py:1557, in Milvus.aadd_documents(self, documents, **kwargs)
1555 texts = [doc.page_content for doc in documents]
1556 metadatas = [doc.metadata for doc in documents]
-> 1557 return await self.aadd_texts(texts, metadatas, **kwargs)
File ~/.pythonlibs/mlrun-base/lib/python3.9/site-packages/langchain_core/vectorstores/base.py:258, in VectorStore.aadd_texts(self, texts, metadatas, ids, **kwargs)
252 ids_: Iterator[Optional[str]] = iter(ids) if ids else cycle([None])
254 docs = [
255 Document(id=id_, page_content=text, metadata=metadata_)
256 for text, metadata_, id_ in zip(texts, metadatas_, ids_)
257 ]
--> 258 return await self.aadd_documents(docs, **kwargs)
259 return await run_in_executor(None, self.add_texts, texts, metadatas, **kwargs)
File ~/.pythonlibs/mlrun-base/lib/python3.9/site-packages/langchain_milvus/vectorstores/milvus.py:1557, in Milvus.aadd_documents(self, documents, **kwargs)
1555 texts = [doc.page_content for doc in documents]
1556 metadatas = [doc.metadata for doc in documents]
-> 1557 return await self.aadd_texts(texts, metadatas, **kwargs)
File ~/.pythonlibs/mlrun-base/lib/python3.9/site-packages/langchain_core/vectorstores/base.py:258, in VectorStore.aadd_texts(self, texts, metadatas, ids, **kwargs)
252 ids_: Iterator[Optional[str]] = iter(ids) if ids else cycle([None])
254 docs = [
255 Document(id=id_, page_content=text, metadata=metadata_)
256 for text, metadata_, id_ in zip(texts, metadatas_, ids_)
257 ]
--> 258 return await self.aadd_documents(docs, **kwargs)
259 return await run_in_executor(None, self.add_texts, texts, metadatas, **kwargs)
[... skipping similar frames: Milvus.aadd_documents at line 1557 (1487 times), VectorStore.aadd_texts at line 258 (1486 times)]
File ~/.pythonlibs/mlrun-base/lib/python3.9/site-packages/langchain_core/vectorstores/base.py:258, in VectorStore.aadd_texts(self, texts, metadatas, ids, **kwargs)
252 ids_: Iterator[Optional[str]] = iter(ids) if ids else cycle([None])
254 docs = [
255 Document(id=id_, page_content=text, metadata=metadata_)
256 for text, metadata_, id_ in zip(texts, metadatas_, ids_)
257 ]
--> 258 return await self.aadd_documents(docs, **kwargs)
259 return await run_in_executor(None, self.add_texts, texts, metadatas, **kwargs)
File ~/.pythonlibs/mlrun-base/lib/python3.9/site-packages/langchain_milvus/vectorstores/milvus.py:1557, in Milvus.aadd_documents(self, documents, **kwargs)
1555 texts = [doc.page_content for doc in documents]
1556 metadatas = [doc.metadata for doc in documents]
-> 1557 return await self.aadd_texts(texts, metadatas, **kwargs)
File ~/.pythonlibs/mlrun-base/lib/python3.9/site-packages/langchain_core/vectorstores/base.py:254, in VectorStore.aadd_texts(self, texts, metadatas, ids, **kwargs)
251 metadatas_ = iter(metadatas) if metadatas else cycle([{}])
252 ids_: Iterator[Optional[str]] = iter(ids) if ids else cycle([None])
--> 254 docs = [
255 Document(id=id_, page_content=text, metadata=metadata_)
256 for text, metadata_, id_ in zip(texts, metadatas_, ids_)
257 ]
258 return await self.aadd_documents(docs, **kwargs)
259 return await run_in_executor(None, self.add_texts, texts, metadatas, **kwargs)
File ~/.pythonlibs/mlrun-base/lib/python3.9/site-packages/langchain_core/vectorstores/base.py:255, in <listcomp>(.0)
251 metadatas_ = iter(metadatas) if metadatas else cycle([{}])
252 ids_: Iterator[Optional[str]] = iter(ids) if ids else cycle([None])
254 docs = [
--> 255 Document(id=id_, page_content=text, metadata=metadata_)
256 for text, metadata_, id_ in zip(texts, metadatas_, ids_)
257 ]
258 return await self.aadd_documents(docs, **kwargs)
259 return await run_in_executor(None, self.add_texts, texts, metadatas, **kwargs)
File ~/.pythonlibs/mlrun-base/lib/python3.9/site-packages/langchain_core/documents/base.py:285, in Document.__init__(self, page_content, **kwargs)
282 """Pass page_content in as positional or named arg."""
283 # my-py is complaining that page_content is not defined on the base class.
284 # Here, we're relying on pydantic base class to handle the validation.
--> 285 super().__init__(page_content=page_content, **kwargs)
File ~/.pythonlibs/mlrun-base/lib/python3.9/site-packages/langchain_core/load/serializable.py:125, in Serializable.__init__(self, *args, **kwargs)
123 def __init__(self, *args: Any, **kwargs: Any) -> None:
124 """"""
--> 125 super().__init__(*args, **kwargs)
[... skipping hidden 1 frame]
File ~/.pythonlibs/mlrun-base/lib/python3.9/site-packages/langchain_core/documents/base.py:47, in BaseMedia.cast_id_to_str(cls, id_value)
44 @field_validator("id", mode="before")
45 def cast_id_to_str(cls, id_value: Any) -> Optional[str]:
46 if id_value is not None:
---> 47 return str(id_value)
48 else:
49 return id_value
RecursionError: maximum recursion depth exceeded while calling a Python object
```
### Description
RecursionError is not expected.
### System Info
```
System Information
------------------
> OS: Linux
> OS Version: #1 SMP Wed Sep 11 18:02:00 EDT 2024
> Python Version: 3.9.18 | packaged by conda-forge | (main, Dec 23 2023, 16:33:10)
[GCC 12.3.0]
Package Information
-------------------
> langchain_core: 0.3.25
> langchain: 0.3.12
> langchain_community: 0.3.12
> langsmith: 0.1.129
> langchain_chroma: 0.2.0
> langchain_milvus: 0.1.7
> langchain_text_splitters: 0.3.3
Optional packages not installed
-------------------------------
> langserve
Other Dependencies
------------------
> aiohttp: 3.10.6
> async-timeout: 4.0.3
> chromadb: 0.5.23
> dataclasses-json: 0.6.7
> fastapi: 0.115.5
> httpx: 0.27.2
> httpx-sse: 0.4.0
> jsonpatch: 1.33
> numpy: 1.26.4
> orjson: 3.10.7
> packaging: 24.0
> pydantic: 2.10.3
> pydantic-settings: 2.6.1
> pymilvus: 2.5.0
> PyYAML: 6.0.2
> requests: 2.32.3
> SQLAlchemy: 1.4.54
> tenacity: 9.0.0
> typing-extensions: 4.12.2
``` | Ɑ: vector store | low | Critical |
2,740,663,441 | vscode | Customize shortcut to show the context menu for the highlighted File/Folder in the Files Explorer | <!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- Please search existing issues to avoid creating duplicates. -->
<!-- Describe the feature you'd like. -->
A Shortcut to show the context menu for the highlighted File/Folder in the Files Explorer would be nice.
Just like editor.action.showContextMenu, but just for the files explorer (filesExplorer.action.showContextMenu).
I often switch the focus between the editor and the files explorer using shortcuts and then often need the context menu f.e. for creating a new file/ folder or open in integrated terminal.
The desired behavior is already implemented with the shortcut "shift+f10", but I only found an option to customize the shortcut for the editor and not files explorer. | keybindings,file-explorer,under-discussion | low | Minor |
2,740,676,940 | svelte | Improvement for documentation | ### Describe the problem
- how JS expressions are converted to a string in markup (about the fact that it is simply converted to a string, you can use toString, undefined and null become an empty string, what about the attributes)
- when a prop is set to the default value (if the value is undefined or not specified, about $bindable, does the expression run every time)
### Describe the proposed solution
I would like to see these important details written about in the documentation.
### Importance
nice to have | documentation | low | Minor |
2,740,691,098 | vscode | Open Workspace in current window using `code .` from the Terminal | <!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- Please search existing issues to avoid creating duplicates. -->
<!-- Describe the feature you'd like. -->
My current workflow is as follows on remote hosts (but also applies when coding on my machine):
1. Open VSCode and connect to the remote
2. Open a terminal and move to the project folder with no current folder opened
3. Enter `code .` to open the folder from the terminal in VSCode
4. Close the old instance of VSCode, since `code .` opens the folder in a new window.
My suggestion would be that you can open a folder in the same window with `code .` in the VSCode Terminal if there isn't currently a folder opened. | under-discussion,workbench-cli | low | Minor |
2,740,709,729 | rust | compiletest: `./x test <filter>` is a substring match | This is very non-intuitive...
I tried on native `x86_64-pc-windows-msvc`:
```
./x test tests/run-make/exp/ --stage 1
```
This showed me 8 tests were ignored (incl. a local `tests/run-make/exp/` test I added for testing) even though I would've expected an *exact* match for only the local test I added:
```
[23:37] Joe:rust (return-adjustment-target) | ls -d tests/run-make/*exp*
tests/run-make/export-executable-symbols/ tests/run-make/share-generics-export-again/
tests/run-make/extern-fn-explicit-align/ tests/run-make/wasm-export-all-symbols/
tests/run-make/mingw-export-call-convention/ tests/run-make/wasm-symbols-not-exported/
tests/run-make/rustdoc-scrape-examples-invalid-expr/
```
I almost never want this substring match behavior, at least not unless I explicitly write some kind of `--test-name="exp"`, for example.
I suspect this is some behavior related to the test name constructed by compiletest, which is fed to libtest which probably handles the test filtering... Ah, it might be the test name constructed from the test path... | E-hard,T-bootstrap,C-bug,A-compiletest,E-needs-investigation | low | Major |
2,740,717,920 | godot | Default project and editor template for Node will not override built-in default | ### Tested versions
-Reproducible in 4.3.stable.official on MacOS
### System information
MacOS Sonoma 14.7.1
### Issue description
Using the `# meta-default: true` header will work for any class except Node. For instance, it works for CharacterBody2D as described in the documentation, but if the file is put in a Node folder under `res://script_templates`, the editor does not pick up the header and defaults to the built-in Node template.
Also tested in the editor templates folder. The editor picks up that the templates exist in both locations, but seems to ignore the header for Node only.
### Steps to reproduce
1. Create `script_templates` folder in res://
2. Create `Node` folder in `script_templates`
3. Create a template file
4. Add `# meta-default: true` to header
5. Attempt to create a new script with the Node base class
### Minimal reproduction project (MRP)
N/A | bug,topic:editor | low | Minor |
2,740,723,122 | electron | Per-OS methods such as BrowserWindow.setHiddenInMissionControl do not match TypeScript signatures | ### Preflight Checklist
- [x] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/main/CONTRIBUTING.md) for this project.
- [x] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project adheres to.
- [x] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a bug report that matches the one I want to file, without success.
### Electron Version
33.2.1
### What operating system(s) are you using?
Windows, macOS, Other Linux
### Operating System Version
n/a
### What arch are you using?
x64
### Last Known Working Electron version
_No response_
### Expected Behavior
Methods like `setHiddenInMissionControl` appear to be defined according to the TypeScript definitions, but are not defined on certain platforms. Rather than leaving these undefined, all APIs should be defined on all platforms and simply no-op on ones that don't make any sense.
### Actual Behavior
Calling `setHiddenInMissionControl` on Windows results in method not defined, which is a Surprising Behavior
### Testcase Gist URL
_No response_
### Additional Information
_No response_ | bug :beetle:,platform/all,status/confirmed,33-x-y,34-x-y | low | Critical |
2,740,727,670 | transformers | Vision models don't work for non-square object | ### System Info
- `transformers` version: 4.47.0
- Platform: Linux-6.8.0-50-generic-x86_64-with-glibc2.39
- Python version: 3.9.20
- Huggingface_hub version: 0.26.5
- Safetensors version: 0.4.5
- Accelerate version: 1.2.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.5.1 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- JaxLib version: not installed
- Using distributed or parallel set-up in script?: <fill in>
- Using GPU in script?: <fill in>
- GPU type: NVIDIA GeForce RTX 4060 Ti
### Who can help?
@amyeroberts, @qubvel
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [X] My own task or dataset (give details below)
### Reproduction
```
from transformers import ViTMAEConfig,ViTMAEForPreTraining
config = ViTMAEConfig(image_size=tuple((16,1024)),patch_size=tuple((4,256)))
model = ViTMAEForPreTraining(config)
```
```
TypeError Traceback (most recent call last)
Cell In[40], line 3
1 from transformers import ViTMAEConfig,ViTMAEForPreTraining
2 config = ViTMAEConfig(image_size=tuple((16,1024)),patch_size=tuple((4,256)))
----> 3 model = ViTMAEForPreTraining(config)
File ~/miniconda3/lib/python3.9/site-packages/transformers/models/vit_mae/modeling_vit_mae.py:994, in ViTMAEForPreTraining.__init__(self, config)
991 self.config = config
993 self.vit = ViTMAEModel(config)
--> 994 self.decoder = ViTMAEDecoder(config, num_patches=self.vit.embeddings.num_patches)
996 # Initialize weights and apply final processing
997 self.post_init()
File ~/miniconda3/lib/python3.9/site-packages/transformers/models/vit_mae/modeling_vit_mae.py:852, in ViTMAEDecoder.__init__(self, config, num_patches)
846 self.decoder_layers = nn.ModuleList(
847 [ViTMAELayer(decoder_config) for _ in range(config.decoder_num_hidden_layers)]
848 )
850 self.decoder_norm = nn.LayerNorm(config.decoder_hidden_size, eps=config.layer_norm_eps)
851 self.decoder_pred = nn.Linear(
--> 852 config.decoder_hidden_size, config.patch_size**2 * config.num_channels, bias=True
853 ) # encoder to decoder
854 self.gradient_checkpointing = False
855 self.config = config
TypeError: unsupported operand type(s) for ** or pow(): 'tuple' and 'int'
```
### Expected behavior
I want ViTMAEForPreTraining to analyze my biological data, which should get a normal output even though it's not a real image. I've noticed that your model doesn't take into account some irregular inputs, such as non-square images, resulting in errors. So, hopefully the code can be improved to accommodate a wider range of inputs. | Good First Issue,Vision | low | Critical |
2,740,757,424 | material-ui | [TextField] add show password feature | ### Summary
add show password feature when typing a password in sign in form and signup form (it s not apper in chrome)
### Examples
_No response_
### Motivation
_No response_
**Search keywords**: show password | new feature,docs,waiting for 👍,component: text field | low | Minor |
2,740,761,053 | neovim | Figure out why escape sequences aren't working in tty-test on Windows | Ref: https://github.com/neovim/neovim/pull/31562#issuecomment-2543942863
Addressing this issue should cause all tests that have `skip(is_os('windows'), '#31587')` to pass (with that line removed) on Windows.
```console
$ git grep '#31587'
``` | platform:windows,test,terminal | low | Minor |
2,740,769,058 | rust | E0277: Unhelpful error message is given when indirect constraints cause blanket implementations to not get implemented | ### Code
```Rust
// The following code demonstrates an incomplete error message returned from
// the Rust compiler, when there are unsatisfied constraints present in
// code that makes use of _context-generic programming_, as described at
// https://patterns.contextgeneric.dev/.
//
// More details about similar error is described here:
// https://patterns.contextgeneric.dev/debugging-techniques.html
// The trait to link a consumer trait with a provide trait, as explained by:
// https://patterns.contextgeneric.dev/consumer-provider-link.html#blanket-consumer-trait-implementation
pub trait HasComponents {
type Components;
}
// The trait to delegate a provider implementation to another provider, as explained by:
// https://patterns.contextgeneric.dev/provider-delegation.html#blanket-provider-implementation
pub trait DelegateComponent<Name> {
type Delegate;
}
// The name of out example component
pub struct StringFormatterComponent;
// Our example consumer trait, with the context type being the implicit `Self` type
pub trait CanFormatToString {
fn format_to_string(&self) -> String;
}
// Our example provider trait, with the context type being the explicit `Context` type
pub trait StringFormatter<Context> {
fn format_to_string(context: &Context) -> String;
}
// A blanket implementation that links the consumer `CanFormatToString` with
// the provider `StringFormatter`, using `HasComponents`
impl<Context> CanFormatToString for Context
where
Context: HasComponents,
Context::Components: StringFormatter<Context>,
{
fn format_to_string(&self) -> String {
Context::Components::format_to_string(self)
}
}
// A blanket implementation that links the provider implementation of
// `StringFormatter` with another provider, using `DelegateComponent`.
impl<Component, Context> StringFormatter<Context> for Component
where
Component: DelegateComponent<StringFormatterComponent>,
Component::Delegate: StringFormatter<Context>,
{
fn format_to_string(context: &Context) -> String {
Component::Delegate::format_to_string(context)
}
}
// An example provider for `StringFormatter`, which has a generic
// implementation that requires `Context: debug`
pub struct FormatWithDebug;
impl<Context> StringFormatter<Context> for FormatWithDebug
where
Context: core::fmt::Debug,
{
fn format_to_string(context: &Context) -> String {
format!("{:?}", context)
}
}
// An example concrete context.
// Note: we pretend to forgot to derive `Debug` to cause error to be raised.
// FIXME: Uncomment the line below to fix the error.
// #[derive(Debug)]
pub struct Person {
pub first_name: String,
pub last_name: String,
}
// The components tied to the `Person` context
pub struct PersonComponents;
// Implement the consumer traits for `Person` using
// the aggregated provider `PersonComponents`
impl HasComponents for Person {
type Components = PersonComponents;
}
// Implement `PersonComponents: StringFormatter<Person>` using `FormatWithDebug`
impl DelegateComponent<StringFormatterComponent> for PersonComponents {
type Delegate = FormatWithDebug;
}
// Checks that `Person` implements `CanFormatToString`
pub trait CanUsePerson: CanFormatToString {}
// This should raise an error, since we didn't implement `Debug` for `Person`
impl CanUsePerson for Person {}
```
### Current output
```Shell
error[E0277]: the trait bound `FormatWithDebug: StringFormatter<Person>` is not satisfied
--> lib.rs:99:23
|
99 | impl CanUsePerson for Person {}
| ^^^^^^ the trait `StringFormatter<Person>` is not implemented for `FormatWithDebug`, which is required by `Person: CanFormatToString`
|
= help: the trait `StringFormatter<Context>` is implemented for `FormatWithDebug`
note: required for `PersonComponents` to implement `StringFormatter<Person>`
--> lib.rs:49:26
|
49 | impl<Component, Context> StringFormatter<Context> for Component
| ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^
...
52 | Component::Delegate: StringFormatter<Context>,
| ------------------------ unsatisfied trait bound introduced here
note: required for `Person` to implement `CanFormatToString`
--> lib.rs:37:15
|
37 | impl<Context> CanFormatToString for Context
| ^^^^^^^^^^^^^^^^^ ^^^^^^^
...
40 | Context::Components: StringFormatter<Context>,
| ------------------------ unsatisfied trait bound introduced here
note: required by a bound in `CanUsePerson`
--> lib.rs:96:25
|
96 | pub trait CanUsePerson: CanFormatToString {}
| ^^^^^^^^^^^^^^^^^ required by this bound in `CanUsePerson`
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0277`.
```
### Desired output
```Shell
error[E0277]: the trait bound `FormatWithDebug: StringFormatter<Person>` is not satisfied
--> lib.rs:99:23
|
99 | impl CanUsePerson for Person {}
| ^^^^^^ the trait `StringFormatter<Person>` is not implemented for `FormatWithDebug`
|
= help: the following constraint is not satisfied: `Person: Debug`
= help: the trait `StringFormatter<Context>` is implemented for `FormatWithDebug`
note: required for `PersonComponents` to implement `StringFormatter<Person>`
--> lib.rs:49:26
|
49 | impl<Component, Context> StringFormatter<Context> for Component
| ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^
...
52 | Component::Delegate: StringFormatter<Context>,
| ------------------------ unsatisfied trait bound introduced here
note: required for `Person` to implement `CanFormatToString`
--> lib.rs:37:15
|
37 | impl<Context> CanFormatToString for Context
| ^^^^^^^^^^^^^^^^^ ^^^^^^^
...
40 | Context::Components: StringFormatter<Context>,
| ------------------------ unsatisfied trait bound introduced here
note: required by a bound in `CanUsePerson`
--> lib.rs:96:25
|
96 | pub trait CanUsePerson: CanFormatToString {}
| ^^^^^^^^^^^^^^^^^ required by this bound in `CanUsePerson`
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0277`.
```
### Rationale and extra context
# Summary
When resolving Rust constraints that involve blanket implementations, Rust does not produce helpful error messages when missing indirect constraints caused the blanket implementation to not get implemented.
# Rationale
The lack of informative error messages presents challenges in a new project that I am working on, [context-generic programming](https://www.contextgeneric.dev/), which implements a modular component system for Rust by making extensive use of blanket implementations. More details about how this error arised is described in the chapter of my book for [debugging techniques](https://patterns.contextgeneric.dev/debugging-techniques.html).
For the purpose of this issue, I have attached a minimal code snippet with desugared code, so that it can be tested without importing my library [`cgp`](https://crates.io/crates/cgp). For simplicity, the example code may look silly and does not demonstrate _why_ it is written that way. The main purpose of the example code is to reproduce an example error message with as little code as possible.
### Other cases
```Rust
```
### Rust Version
```Shell
rustc 1.83.0 (90b35a623 2024-11-26)
binary: rustc
commit-hash: 90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf
commit-date: 2024-11-26
host: aarch64-unknown-linux-gnu
release: 1.83.0
LLVM version: 19.1.1
```
### Anything else?
The example code is also available on [Rust Playground](https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=6374d53722df90f7a7be5c7ae12fe333).
I already have a fix for this issue, and it is now available at #134348. | A-diagnostics,T-compiler | low | Critical |
2,740,772,019 | material-ui | [Dialog] Focus not moving into dialog content when talkback is on | ### Steps to reproduce
Steps:
1. Go to [ https://stackblitz.com/edit/vitejs-vite-uyj92zhd?file=src%2FApp.tsx,package.json&terminal=dev](url) or [https://mui.com/material-ui/react-dialog/](url)
2. Turn on talkback
3. Try to access dialog content using swipe.
### Current behavior
When talkback is on, the focus does not move inside the content of the dialog. This may be due to the tabIndex=-1 applied to the TransitionComponent. I overrode the TransitionComponent, but after that, the focus is no longer trapped inside the dialog; it moves out, and the focus order becomes incorrect. Please refer to the screen recording for more details.
### Expected behavior
When talkback is on, the focus should move into the dialog content automatically when the dialog opens.
The focus should remain trapped within the dialog while it is open, preventing it from moving to elements outside the dialog.
The focus order inside the dialog should follow a logical and meaningful sequence, ensuring accessibility and usability for screen reader users.
### Context
Access the content of the dialog when talkback is on.
### Your environment
<details>
<summary><code>npx @mui/envinfo</code></summary>
```
System:
OS: Android 14
Browsers:
Chrome: Not Found
Edge: Chromium (127.0.2651.74)
npmPackages:
@emotion/react: ^11.10.5 => 11.11.1
@emotion/styled: ^11.10.5 => 11.11.0
@mui/base: 5.0.0-alpha.113
@mui/core-downloads-tracker: 5.15.4
@mui/icons-material: ^5.11.0 => 5.14.11
@mui/material: ^5.11.4 => 5.11.4
@mui/private-theming: 5.15.4
@mui/styled-engine: 5.14.11
@mui/styles: ^5.11.4 => 5.15.4
@mui/system: ^5.11.4 => 5.14.11
@mui/types: 7.2.13
@mui/utils: 5.15.4
@types/react: ^18.0.26 => 18.2.24
react: 18.2.0 => 18.2.0
react-dom: 18.2.0 => 18.2.0
typescript: ^4.9.4 => 4.9.5
```
</details>
**Search keywords**: A11y | accessibility,component: dialog,package: material-ui,ready to take | low | Major |
2,740,794,394 | ollama | Error: llama runner process has terminated: error:/opt/rocm/lib/libhipblas.so.2: undefined symbol: rocblas_sgbmv_64 | ### What is the issue?
When I start llama3.2 with `ollama run llama3.2` this error spawns:
`Error: llama runner process has terminated: error:/opt/rocm/lib/libhipblas.so.2: undefined symbol: rocblas_sgbmv_64`
I am on Cachy OS with ollama and ollama-rocm installed from extra repo and a AMD RX6800 is the GPU
### OS
Linux
### GPU
AMD
### CPU
AMD
### Ollama version
0.5.2 | bug,linux,amd,needs more info | low | Critical |
2,740,810,956 | rust | ci: spurious failure `tests\mir-opt\strip_debuginfo.rs `Cannot create a file when that file already exists.` | ```
Updating files: 98% (49835/50852)
Updating files: 99% (50344/50852)
Updating files: 100% (50852/50852)
Updating files: 100% (50852/50852), done.
branch 'try' set up to track 'origin/try'.
Switched to a new branch 'try'
[command]"C:\Program Files\Git\bin\git.exe" log -1 --format=%H
f65c65d2950b6323289194d2292d6ee0d3cf620e
##[group]Run src/ci/scripts/setup-environment.sh
src/ci/scripts/setup-environment.sh
---
file:.git/config remote.origin.url=https://github.com/rust-lang-ci/rust
file:.git/config remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
file:.git/config gc.auto=0
file:.git/config http.https://github.com/.extraheader=AUTHORIZATION: basic ***
file:.git/config branch.try.remote=origin
file:.git/config branch.try.merge=refs/heads/try
file:.git/config remote.upstream.fetch=+refs/heads/*:refs/remotes/upstream/*
file:.git/config submodule.library/backtrace.active=true
file:.git/config submodule.library/backtrace.url=https://github.com/rust-lang/backtrace-rs.git
file:.git/config submodule.library/stdarch.active=true
---
test [mir-opt] tests\mir-opt\inline\polymorphic_recursion.rs ... ok
failures:
---- [mir-opt] tests\mir-opt\strip_debuginfo.rs#TINY stdout ----
thread '[mir-opt] tests\mir-opt\strip_debuginfo.rs#TINY' panicked at src\tools\compiletest\src\runtest.rs:213:30:
called `Result::unwrap()` on an `Err` value: Os { code: 183, kind: AlreadyExists, message: "Cannot create a file when that file already exists." }
failures:
[mir-opt] tests\mir-opt\strip_debuginfo.rs#TINY
[mir-opt] tests\mir-opt\strip_debuginfo.rs#TINY
test result: FAILED. 307 passed; 1 failed; 3 ignored; 0 measured; 0 filtered out; finished in 8.20s
Some tests failed in compiletest suite=mir-opt mode=mir-opt host=x86_64-pc-windows-msvc target=x86_64-pc-windows-msvc
Build completed unsuccessfully in 0:46:43
make: *** [Makefile:106: ci-msvc-ps1] Error 1
network time: Sun, 15 Dec 2024 17:24:30 GMT
##[error]Process completed with exit code 2.
Post job cleanup.
[command]"C:\Program Files\Git\bin\git.exe" version
```
happend here: https://github.com/rust-lang/rust/pull/134342#issuecomment-2543957339 on `x86_64-msvc`
the pr changed neither code nor related tests so seems spurious | A-testsuite,T-compiler,O-windows-msvc,T-bootstrap,A-spurious,C-bug,S-needs-repro,E-needs-investigation | low | Critical |
2,740,834,062 | vscode | not runnig the codes |
Type: <b>Bug</b>
the vs code is not running any of my code . please resolve this problem asap
VS Code version: Code 1.96.0 (138f619c86f1199955d53b4166bef66ef252935c, 2024-12-11T02:29:09.626Z)
OS version: Windows_NT x64 10.0.22631
Modes:
<details>
<summary>System Info</summary>
|Item|Value|
|---|---|
|CPUs|AMD Ryzen 5 5600H with Radeon Graphics (12 x 3294)|
|GPU Status|2d_canvas: enabled<br>canvas_oop_rasterization: enabled_on<br>direct_rendering_display_compositor: disabled_off_ok<br>gpu_compositing: enabled<br>multiple_raster_threads: enabled_on<br>opengl: enabled_on<br>rasterization: enabled<br>raw_draw: disabled_off_ok<br>skia_graphite: disabled_off<br>video_decode: enabled<br>video_encode: enabled<br>vulkan: disabled_off<br>webgl: enabled<br>webgl2: enabled<br>webgpu: enabled<br>webnn: disabled_off|
|Load (avg)|undefined|
|Memory (System)|7.34GB (1.05GB free)|
|Process Argv|--crash-reporter-id 9dd8bd1c-eb2f-4783-89fd-1c9833a01fd6|
|Screen Reader|no|
|VM|0%|
</details><details><summary>Extensions (3)</summary>
Extension|Author (truncated)|Version
---|---|---
debugpy|ms-|2024.14.0
python|ms-|2024.22.0
vscode-pylance|ms-|2024.12.1
</details><details>
<summary>A/B Experiments</summary>
```
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythonnoceb:30805159
pythonmypyd1:30879173
2e7ec940:31000449
pythontbext0:30879054
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
dvdeprecation:31068756
dwnewjupytercf:31046870
nativerepl2:31139839
pythonrstrctxt:31112756
nativeloc1:31192215
cf971741:31144450
iacca1:31171482
notype1cf:31157160
5fd0e150:31155592
dwcopilot:31170013
stablechunks:31184530
6074i472:31201624
```
</details>
<!-- generated by issue reporter --> | info-needed | low | Critical |
2,740,859,061 | rust | ICE: `invalid asymmetric binary op Lt` | <!--
[31mICE[0m: Rustc ./a.rs '' 'error: internal compiler error: /rustc/d18506299bfb20488aba466a69641a2bab6f7a4a/compiler/rustc_const_eval/src/interpret/operator.rs:163:13: invalid asymmetric binary op Lt: 0x0000000000000000 (usize), 0x0000000000000003 (i64)', 'error: internal compiler error: /rustc/d18506299bfb20488aba466a69641a2bab6f7a4a/compiler/rustc_const_eval/src/interpret/operator.rs:163:13: invalid asymmetric binary op Lt: 0x0000000000000000 (usize), 0x0000000000000003 (i64)'
File: /tmp/im/a.rs
-->
auto-reduced (treereduce-rust):
````rust
pub struct Struct<const N: i64>(pub [u8; N]);
pub fn function(value: Struct<3>) -> u8 {
value.0[0]
}
````
original:
````rust
pub struct Struct<const N: i64>(pub [u8; N]);
pub type Alias = Struct<2>;
pub fn function(value: Struct<3>) -> u8 {
value.0[0]
}
````
Version information
````
rustc 1.85.0-nightly (d18506299 2024-12-15)
binary: rustc
commit-hash: d18506299bfb20488aba466a69641a2bab6f7a4a
commit-date: 2024-12-15
host: x86_64-unknown-linux-gnu
release: 1.85.0-nightly
LLVM version: 19.1.5
````
Command:
`/home/matthias/.rustup/toolchains/master/bin/rustc `
<details><summary><strong>Program output</strong></summary>
<p>
```
error[E0601]: `main` function not found in crate `mvce`
--> /tmp/icemaker_global_tempdir.YagNzzKWUw8B/rustc_testrunner_tmpdir_reporting.w16l0x3yyxRt/mvce.rs:5:2
|
5 | }
| ^ consider adding a `main` function to `/tmp/icemaker_global_tempdir.YagNzzKWUw8B/rustc_testrunner_tmpdir_reporting.w16l0x3yyxRt/mvce.rs`
error: the constant `N` is not of type `usize`
--> /tmp/icemaker_global_tempdir.YagNzzKWUw8B/rustc_testrunner_tmpdir_reporting.w16l0x3yyxRt/mvce.rs:1:37
|
1 | pub struct Struct<const N: i64>(pub [u8; N]);
| ^^^^^^^ expected `usize`, found `i64`
error: internal compiler error: /rustc/d18506299bfb20488aba466a69641a2bab6f7a4a/compiler/rustc_const_eval/src/interpret/operator.rs:163:13: invalid asymmetric binary op Lt: 0x0000000000000000 (usize), 0x0000000000000003 (i64)
--> /tmp/icemaker_global_tempdir.YagNzzKWUw8B/rustc_testrunner_tmpdir_reporting.w16l0x3yyxRt/mvce.rs:3:1
|
3 | pub fn function(value: Struct<3>) -> u8 {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
thread 'rustc' panicked at /rustc/d18506299bfb20488aba466a69641a2bab6f7a4a/compiler/rustc_const_eval/src/interpret/operator.rs:163:13:
Box<dyn Any>
stack backtrace:
0: 0x7793221a842a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h3ec6acdc8021b780
1: 0x779322a13d26 - core::fmt::write::ha1e51f9ad754b246
2: 0x7793239e9fd1 - std::io::Write::write_fmt::h447409d450220636
3: 0x7793221a8282 - std::sys::backtrace::BacktraceLock::print::h0c9f47621987f564
4: 0x7793221aa77a - std::panicking::default_hook::{{closure}}::h32dab02cf4eb3fec
5: 0x7793221aa5c3 - std::panicking::default_hook::h977c01aba3fe59ba
6: 0x7793212fd1e8 - std[8a615549bd1790e3]::panicking::update_hook::<alloc[3a7c820246e0185d]::boxed::Box<rustc_driver_impl[8936f116e8865c1]::install_ice_hook::{closure#0}>>::{closure#0}
7: 0x7793221aaf38 - std::panicking::rust_panic_with_hook::hba51aacb56857061
8: 0x779321333051 - std[8a615549bd1790e3]::panicking::begin_panic::<rustc_errors[16504968b0874da0]::ExplicitBug>::{closure#0}
9: 0x779321328236 - std[8a615549bd1790e3]::sys::backtrace::__rust_end_short_backtrace::<std[8a615549bd1790e3]::panicking::begin_panic<rustc_errors[16504968b0874da0]::ExplicitBug>::{closure#0}, !>
10: 0x779321328223 - std[8a615549bd1790e3]::panicking::begin_panic::<rustc_errors[16504968b0874da0]::ExplicitBug>
11: 0x77932133cfb1 - <rustc_errors[16504968b0874da0]::diagnostic::BugAbort as rustc_errors[16504968b0874da0]::diagnostic::EmissionGuarantee>::emit_producing_guarantee
12: 0x77932189c9cc - <rustc_errors[16504968b0874da0]::DiagCtxtHandle>::span_bug::<rustc_span[75c3ac87255cc802]::span_encoding::Span, alloc[3a7c820246e0185d]::string::String>
13: 0x779321933a07 - rustc_middle[80851824623efb4c]::util::bug::opt_span_bug_fmt::<rustc_span[75c3ac87255cc802]::span_encoding::Span>::{closure#0}
14: 0x7793219193aa - rustc_middle[80851824623efb4c]::ty::context::tls::with_opt::<rustc_middle[80851824623efb4c]::util::bug::opt_span_bug_fmt<rustc_span[75c3ac87255cc802]::span_encoding::Span>::{closure#0}, !>::{closure#0}
15: 0x77932191923b - rustc_middle[80851824623efb4c]::ty::context::tls::with_context_opt::<rustc_middle[80851824623efb4c]::ty::context::tls::with_opt<rustc_middle[80851824623efb4c]::util::bug::opt_span_bug_fmt<rustc_span[75c3ac87255cc802]::span_encoding::Span>::{closure#0}, !>::{closure#0}, !>
16: 0x77931fcf4527 - rustc_middle[80851824623efb4c]::util::bug::span_bug_fmt::<rustc_span[75c3ac87255cc802]::span_encoding::Span>
17: 0x7793244c6219 - <rustc_const_eval[ebb6297578ee0f46]::interpret::eval_context::InterpCx<rustc_const_eval[ebb6297578ee0f46]::const_eval::dummy_machine::DummyMachine>>::binary_op.cold
18: 0x77931f9b9b96 - <rustc_mir_transform[2781f817185d0af4]::known_panics_lint::ConstPropagator as rustc_middle[80851824623efb4c]::mir::visit::Visitor>::visit_assign
19: 0x77931f9b687b - <rustc_mir_transform[2781f817185d0af4]::known_panics_lint::ConstPropagator as rustc_middle[80851824623efb4c]::mir::visit::Visitor>::visit_body
20: 0x7793238d7650 - <rustc_mir_transform[2781f817185d0af4]::known_panics_lint::KnownPanicsLint as rustc_mir_transform[2781f817185d0af4]::pass_manager::MirLint>::run_lint
21: 0x779322a099a5 - rustc_mir_transform[2781f817185d0af4]::run_analysis_to_runtime_passes
22: 0x77931ffe16a0 - rustc_mir_transform[2781f817185d0af4]::mir_drops_elaborated_and_const_checked
23: 0x779322cd1c39 - rustc_query_impl[4e0376acc8b13a14]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[4e0376acc8b13a14]::query_impl::mir_drops_elaborated_and_const_checked::dynamic_query::{closure#2}::{closure#0}, rustc_middle[80851824623efb4c]::query::erase::Erased<[u8; 8usize]>>
24: 0x779322cd1f91 - rustc_query_system[20737a1fda201ff5]::query::plumbing::try_execute_query::<rustc_query_impl[4e0376acc8b13a14]::DynamicConfig<rustc_data_structures[57370b606fe3e33d]::vec_cache::VecCache<rustc_span[75c3ac87255cc802]::def_id::LocalDefId, rustc_middle[80851824623efb4c]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[20737a1fda201ff5]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[4e0376acc8b13a14]::plumbing::QueryCtxt, false>
25: 0x779322cd19e7 - rustc_query_impl[4e0376acc8b13a14]::query_impl::mir_drops_elaborated_and_const_checked::get_query_non_incr::__rust_end_short_backtrace
26: 0x779322e8f146 - rustc_interface[c7a5d74730d5794b]::passes::run_required_analyses
27: 0x7793239d9c5e - rustc_interface[c7a5d74730d5794b]::passes::analysis
28: 0x7793239d9c2f - rustc_query_impl[4e0376acc8b13a14]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[4e0376acc8b13a14]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle[80851824623efb4c]::query::erase::Erased<[u8; 0usize]>>
29: 0x779323a2ca55 - rustc_query_system[20737a1fda201ff5]::query::plumbing::try_execute_query::<rustc_query_impl[4e0376acc8b13a14]::DynamicConfig<rustc_query_system[20737a1fda201ff5]::query::caches::SingleCache<rustc_middle[80851824623efb4c]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[4e0376acc8b13a14]::plumbing::QueryCtxt, false>
30: 0x779323a2c78e - rustc_query_impl[4e0376acc8b13a14]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace
31: 0x779323a7ff74 - rustc_interface[c7a5d74730d5794b]::interface::run_compiler::<(), rustc_driver_impl[8936f116e8865c1]::run_compiler::{closure#0}>::{closure#1}
32: 0x7793239a7187 - std[8a615549bd1790e3]::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface[c7a5d74730d5794b]::util::run_in_thread_with_globals<rustc_interface[c7a5d74730d5794b]::util::run_in_thread_pool_with_globals<rustc_interface[c7a5d74730d5794b]::interface::run_compiler<(), rustc_driver_impl[8936f116e8865c1]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>
33: 0x7793239a6e20 - <<std[8a615549bd1790e3]::thread::Builder>::spawn_unchecked_<rustc_interface[c7a5d74730d5794b]::util::run_in_thread_with_globals<rustc_interface[c7a5d74730d5794b]::util::run_in_thread_pool_with_globals<rustc_interface[c7a5d74730d5794b]::interface::run_compiler<(), rustc_driver_impl[8936f116e8865c1]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[4d4c849bd23b5fc3]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
34: 0x7793239a61c1 - std::sys::pal::unix::thread::Thread::new::thread_start::hb315ab60bee23a2e
35: 0x77931daa339d - <unknown>
36: 0x77931db2849c - <unknown>
37: 0x0 - <unknown>
note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md
note: please make sure that you have updated to the latest nightly
note: rustc 1.85.0-nightly (d18506299 2024-12-15) running on x86_64-unknown-linux-gnu
query stack during panic:
#0 [mir_drops_elaborated_and_const_checked] elaborating drops for `function`
#1 [analysis] running analysis passes on this crate
end of query stack
error: aborting due to 3 previous errors
For more information about this error, try `rustc --explain E0601`.
```
</p>
</details>
<!--
query stack:
#0 [mir_drops_elaborated_and_const_checked] elaborating drops for `function`
#1 [analysis] running analysis passes on this crate
-->
| I-ICE,T-compiler,C-bug | low | Critical |
2,740,872,520 | godot | RenderingServer.MeshSurfaceUpdateVertexRegion (mesh_surface_update_vertex_region) doesnt work after first iteration of process C# | ### Tested versions
Reproducible in 4.3 stable and Godot Engine v4.4.dev6.mono.official not sure when it was introduced.
### System information
Godot v4.4.dev6.mono - Windows 10.0.19045 - Multi-window, 2 monitors - Vulkan (Forward+) - dedicated AMD Radeon RX 6700 XT (Advanced Micro Devices, Inc.; 32.0.11027.1003) - AMD Ryzen 5 5600X 6-Core Processor (12 threads)
### Issue description
RenderingServer.MeshSurfaceUpdateVertexRegion doesnt work after the first frame i attached a small project file that will use it to update a mesh to one of the blend shapes based on an influence. the issue is that it only updates the mesh to its blendshape if its called at the start of process, and subsequent updates after the first frame dont work dont work. I can update it as many times as i want during the first frame but after that it no longer works.
### Steps to reproduce
Open Mrp press run scene button
make sure you run the node_3d.tscn scene
You should see a cube against a gray background

uncomment blendupdate(3) and it will update the mesh. if its left commented it wont update the mesh.
### Minimal reproduction project (MRP)
[new-game-project - Copy.zip](https://github.com/user-attachments/files/18141940/new-game-project.-.Copy.zip)
| bug,topic:rendering | low | Minor |
2,740,874,841 | transformers | Qwen2vl support for GGUF | ### Feature request
llama.cpp recently added [support for Qwen2VL](https://github.com/ggerganov/llama.cpp/commit/ba1cb19cdd0d92e012e0f6e009e0620f854b6afd), which means that we can now quantize Qwen2VL models (and I've done so, successfully!) I'd like to be able to load quantized Qwen2VL models with AutoModelForVision2Seq; currently, transformers doesn't recognize qwen2vl as a valid architecture.
### Motivation
It would be wonderful to be able to use quantized GGUF Qwen2VL models!
### Your contribution
I'm happy to work up the PR for this, if I can get some direction on where to start. I'm hacking through the code right now, but I don't know it well enough to be able to meaningfully dent the problem just yet. | Feature request | low | Minor |
2,740,878,960 | yt-dlp | Lifetime Movies not working, TV shows work fine | ### DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE
- [X] I understand that I will be **blocked** if I *intentionally* remove or skip any mandatory\* field
### Checklist
- [X] I'm reporting that yt-dlp is broken on a **supported** site
- [X] I've verified that I have **updated yt-dlp to nightly or master** ([update instructions](https://github.com/yt-dlp/yt-dlp#update-channels))
- [X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
- [X] I've checked that all URLs and arguments with special characters are [properly quoted or escaped](https://github.com/yt-dlp/yt-dlp/wiki/FAQ#video-url-contains-an-ampersand--and-im-getting-some-strange-output-1-2839-or-v-is-not-recognized-as-an-internal-or-external-command)
- [X] I've searched [known issues](https://github.com/yt-dlp/yt-dlp/issues/3766) and the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=) for similar issues **including closed ones**. DO NOT post duplicates
- [X] I've read the [guidelines for opening an issue](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#opening-an-issue)
- [ ] I've read about [sharing account credentials](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#are-you-willing-to-share-account-details-if-needed) and I'm willing to share it if required
### Region
USA
### Provide a description that is worded well enough to be understood
Works fine when trying any TV show on the site. Movies dont seem to work.
### Provide verbose output that clearly demonstrates the problem
- [X] Run **your** yt-dlp command with **-vU** flag added (`yt-dlp -vU <your command line>`)
- [ ] If using API, add `'verbose': True` to `YoutubeDL` params instead
- [X] Copy the WHOLE output (starting with `[debug] Command-line config`) and insert it below
### Complete Verbose Output
```shell
E:\ytdlp>yt-dlp --verbose --ap-mso Verizon -vU "https://play.mylifetime.com/shows/the-holiday-junkie"
[debug] Command-line config: ['--verbose', '--ap-mso', 'Verizon', '-vU', 'https://play.mylifetime.com/shows/the-holiday-junkie']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version [email protected] from yt-dlp/yt-dlp [542166962] (win_exe)
[debug] Python 3.10.11 (CPython AMD64 64bit) - Windows-10-10.0.22631-SP0 (OpenSSL 1.1.1t 7 Feb 2023)
[debug] exe versions: ffmpeg N-113032-g76cd71bf0c-20231219 (setts), ffprobe N-113032-g76cd71bf0c-20231219
[debug] Optional libraries: Cryptodome-3.21.0, brotli-1.1.0, certifi-2024.08.30, curl_cffi-0.5.10, mutagen-1.47.0, requests-2.32.3, sqlite3-3.40.1, urllib3-2.2.3, websockets-14.1
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets, curl_cffi
[debug] Loaded 1837 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: [email protected] from yt-dlp/yt-dlp
yt-dlp is up to date ([email protected] from yt-dlp/yt-dlp)
[aenetworks:show] Extracting URL: https://play.mylifetime.com/shows/the-holiday-junkie
[aenetworks:show] the-holiday-junkie: Downloading JSON metadata
ERROR: [aenetworks:show] the-holiday-junkie: Unable to download JSON metadata: HTTP Error 400: Bad Request (caused by <HTTPError 400: Bad Request>)
File "yt_dlp\extractor\common.py", line 742, in extract
File "yt_dlp\extractor\aenetworks.py", line 218, in _real_extract
File "yt_dlp\extractor\aenetworks.py", line 205, in _call_api
File "yt_dlp\extractor\common.py", line 1152, in download_content
File "yt_dlp\extractor\common.py", line 1112, in download_handle
File "yt_dlp\extractor\adobepass.py", line 1367, in _download_webpage_handle
File "yt_dlp\extractor\common.py", line 962, in _download_webpage_handle
File "yt_dlp\extractor\common.py", line 911, in _request_webpage
File "yt_dlp\extractor\common.py", line 898, in _request_webpage
File "yt_dlp\YoutubeDL.py", line 4162, in urlopen
File "yt_dlp\networking\common.py", line 117, in send
File "yt_dlp\networking\_helper.py", line 208, in wrapper
File "yt_dlp\networking\common.py", line 340, in send
File "yt_dlp\networking\_requests.py", line 365, in _send
yt_dlp.networking.exceptions.HTTPError: HTTP Error 400: Bad Request
```
| account-needed,geo-blocked,site-bug,triage | low | Critical |
2,740,903,879 | rust | ICE: `internal compiler error: coercion error but no error emitted` | <!--
[31mICE[0m: Rustc ./a.rs '--crate-type=lib -ooutputfile -Zdump-mir-dir=dir' 'error: internal compiler error[E0277]: the size for values of type `str` cannot be known at compilation time', 'error: internal compiler error[E0277]: the size for values of type `str` cannot be known at compilation time'
File: /tmp/im/a.rs
-->
auto-reduced (treereduce-rust):
````rust
//@compile-flags: --crate-type=lib
fn digit() -> str {
return { i32::MIN };
}
````
original:
````rust
fn digit() -> str {
return {i32::MIN};
}
````
Version information
````
rustc 1.85.0-nightly (d18506299 2024-12-15)
binary: rustc
commit-hash: d18506299bfb20488aba466a69641a2bab6f7a4a
commit-date: 2024-12-15
host: x86_64-unknown-linux-gnu
release: 1.85.0-nightly
LLVM version: 19.1.5
````
Command:
`/home/matthias/.rustup/toolchains/master/bin/rustc --crate-type=lib`
<details><summary><strong>Program output</strong></summary>
<p>
```
warning: unnecessary braces around `return` value
--> /tmp/icemaker_global_tempdir.QVsadqybRl15/rustc_testrunner_tmpdir_reporting.Ov3ZSIZ9UPa5/mvce.rs:2:12
|
2 | return { i32::MIN };
| ^^ ^^
|
= note: `#[warn(unused_braces)]` on by default
help: remove these braces
|
2 - return { i32::MIN };
2 + return i32::MIN;
|
warning: function `digit` is never used
--> /tmp/icemaker_global_tempdir.QVsadqybRl15/rustc_testrunner_tmpdir_reporting.Ov3ZSIZ9UPa5/mvce.rs:1:4
|
1 | fn digit() -> str {
| ^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: 2 warnings emitted
note: no errors encountered even though delayed bugs were created
note: those delayed bugs will now be shown as internal compiler errors
error: internal compiler error: coercion error but no error emitted
--> /tmp/icemaker_global_tempdir.QVsadqybRl15/rustc_testrunner_tmpdir_reporting.Ov3ZSIZ9UPa5/mvce.rs:2:14
|
2 | return { i32::MIN };
| ^^^^^^^^
|
note: delayed at compiler/rustc_hir_typeck/src/coercion.rs:1666:31 - disabled backtrace
--> /tmp/icemaker_global_tempdir.QVsadqybRl15/rustc_testrunner_tmpdir_reporting.Ov3ZSIZ9UPa5/mvce.rs:2:14
|
2 | return { i32::MIN };
| ^^^^^^^^
error: internal compiler error[E0308]: mismatched types
--> /tmp/icemaker_global_tempdir.QVsadqybRl15/rustc_testrunner_tmpdir_reporting.Ov3ZSIZ9UPa5/mvce.rs:2:14
|
1 | fn digit() -> str {
| --- expected `str` because of return type
2 | return { i32::MIN };
| ^^^^^^^^ expected `str`, found `i32`
|
note: delayed at compiler/rustc_trait_selection/src/error_reporting/infer/mod.rs:2038:35 - disabled backtrace
--> /tmp/icemaker_global_tempdir.QVsadqybRl15/rustc_testrunner_tmpdir_reporting.Ov3ZSIZ9UPa5/mvce.rs:2:14
|
2 | return { i32::MIN };
| ^^^^^^^^
error: internal compiler error[E0277]: the size for values of type `str` cannot be known at compilation time
--> /tmp/icemaker_global_tempdir.QVsadqybRl15/rustc_testrunner_tmpdir_reporting.Ov3ZSIZ9UPa5/mvce.rs:1:15
|
1 | fn digit() -> str {
| ^^^ doesn't have a size known at compile-time
|
= help: the trait `Sized` is not implemented for `str`
= note: the return type of a function must have a statically known size
note: delayed at compiler/rustc_trait_selection/src/error_reporting/traits/fulfillment_errors.rs:259:39 - disabled backtrace
--> /tmp/icemaker_global_tempdir.QVsadqybRl15/rustc_testrunner_tmpdir_reporting.Ov3ZSIZ9UPa5/mvce.rs:1:15
|
1 | fn digit() -> str {
| ^^^
note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md
note: please make sure that you have updated to the latest nightly
note: rustc 1.85.0-nightly (d18506299 2024-12-15) running on x86_64-unknown-linux-gnu
note: compiler flags: --crate-type lib -Z dump-mir-dir=dir
query stack during panic:
end of query stack
```
</p>
</details>
<!--
query stack:
-->
| I-ICE,T-compiler,C-bug,A-coercions,S-bug-has-test | low | Critical |
2,740,904,462 | PowerToys | Window initial size too big, resize not remembered | ### Microsoft PowerToys version
0.86.0
### Installation method
PowerToys auto-update
### Running as admin
Yes
### Area(s) with issue?
PowerRename
### Steps to reproduce
Open PowerRename GUI window using any available method (e.g., from right-click context menu of folder from Windows Explorer).
### ✔️ Expected Behavior
Initial window size on opening should be in Restored mode with a size matching the desktop size of the size of the screen on which the GUI window displays.
On resizing the restored window and closing it, upon re-launch the GUI window should open to the same position and size as when it was closed (except where the desktop conditions have changed, whereupon it should open to full desktop size per the above paragraph.
### ❌ Actual Behavior
On my PC, with initial open of PowerRename window it always opens to a restored size that is slightly larger than the display screen, with minimize, maximize, close controls and caption menu only just visible. Maximizing the window results in normal full screen occupation (it shrinks the window a bit to fit). Resizing the restored window works okay but is not remembered for next opening.
Below is a Full Screen capture taken by Snipping Tool after opening PowerRename via Windows Explorer right-click context menu of an empty folder.

### Other Software
Edition: Windows 11 Pro
Version: 24H2
OS build: 26100.2605
Experience: Windows Feature Experience Pack 1000.26100.36.0
Graphics Adapter: Intel UHD Graphics 770
Intel® Graphics Driver 32.0.101.6325/32.0.101.101.6252 for Intel® Arc™ B-Series Graphics, Intel® Arc™ A-Series Graphics, Intel® Iris® Xe Graphics, and Intel® Core™ Ultra Processors with Intel® Arc™ Graphics.
Version: 32.0.101.6325
Release date: December 13, 2024
My PC has two monitors with Windows configured in Extended Display Mode. The main display connected via DisplayPort as 1366 x 768 (Maintain Display Scaling) and secondary display connected via HDMI as 1280 x 720 (Custom Scaling: 82% Vertical, 86% Horizontal – This provides an exact match of the desktop to the visible screen area of the monitor).
The problem occurred with all previous builds of Windows with my monitor configuration.
| Issue-Bug,Product-PowerRename,Needs-Triage | low | Minor |
2,740,938,684 | transformers | Request to add D-FINE | ### Model description
D-FINE is a RT-DETR based model that uses probability distributions as an intermediate representation from which bounding boxes are predicted. This model has achieved SOTA results in real-time object detection with additional training data. https://paperswithcode.com/sota/real-time-object-detection-on-coco?p=d-fine-redefine-regression-task-in-detrs-as
### Open source status
- [x] The model implementation is available
- [X] The model weights are available
### Provide useful links for the implementation
Here is the link to the repository: https://github.com/Peterande/D-FINE. The weights are present on [Huggingface Hub](https://huggingface.co/Peterande/D-FINE/tree/main). The only github username I know of is @Peterande. | New model,Good Second Issue,Vision,contributions-welcome | medium | Major |
2,740,944,203 | go | proposal: x/tools/go/ast/inspector: add Cursor, to enable partial and multi-level traversals | **Background:** The [inspector](https://pkg.go.dev/golang.org/x/tools/go/ast/inspector) package enables efficient repeated traversal over the list of ast.Files that make up a package. However, unlike ast.Inspect, it provides no way to inspect just some subtree, which is a common and recurring need. In particular, it is common to need a two-level traversal, in which one first inspects to find each node of type A, then conditionally visits some subtrees of it looking for nodes of type B.
This need could be addressed if the inspector could iterate over a sequence of abstract cursor positions from which the actual ast.Node could be queried. A cursor can then be used as the basis for a new traversal of the subtree rooted at that node, with a different type filter.
As a bonus, the WithStack operation would not be needed because the stack can be derived relatively efficiently from the cursor position by walking back from the current point, skipping from pop to push nodes.
Unfortunately the inspector as defined is stateless, so we can't simply add a `Current() Cursor` method to it, nor sneak a Cursor among the arguments to the existing callback functions. Cursor would need all the same visitation methods as Inspector, and Inspector's methods would conceptually delegate to the "root" Cursor. However, we can do better than simply duplicating the old API.
**Proposal:** We propose to add the Cursor type and related methods:
```go
package inspect
// -- existing API --
type Inspector
func (*Inspector) Nodes(types []ast.Node, f func(n ast.Node, push bool) (proceed bool))
func (*Inspector) Preorder(types []ast.Node, f func(ast.Node))
func (*Inspector) PreorderSeq(types ...ast.Node) iter.Seq[ast.Node]
func (*Inspector) WithStack(types []ast.Node, f func(n ast.Node, push bool, stack []ast.Node) (proceed bool))
// -- new API --
// A Cursor represents an ast.Node. It is immutable.
type Cursor struct {
in *Inspector
index int
}
// Root returns a cursor for the virtual root node,
// whose children are the ast.Files provided to NewInspector.
//
// Its Node and Stack methods returns nil.
func (*Inspector) Root() Cursor
// Node returns the node at the current cursor position.
func (Cursor) Node() ast.Node
// String returns a description of the current node.
func (Cursor) String() string
// -- traversals --
// All the usual traversals over the inspector can
// be offered as traversals within a subtree rooted at a given
// node, allowing multi-level traversals with independent
// control over type-based node filtering and independent control
// over pruning descent into subtrees. We can also provide fast
// means to obtain the cursor for a particular node or position.
func (Cursor) Preorder(types ...ast.Node) iter.Seq[Cursor]
func (Cursor) Inspect(types []ast.Node, f func(c Cursor, push bool) (descend bool))
// -- navigation in the four cardinal directions --
// Parent returns the parent of the current node.
// It may return the root node (whose Cursor.Node methods returns nil).
func (Cursor) Parent() Cursor
// Stack returns the stack of enclosing nodes,
// from the ast.File down to the current cursor's node.
// It appends to the provided slice, which must be empty,
// but may have spare capacity.
func (Cursor) Stack([]Cursor) []Cursor
func (Cursor) FirstChild() (Cursor, bool)
func (Cursor) LastChild() (Cursor, bool)
func (Cursor) Children() iter.Seq[Cursor]
func (Cursor) NextSibling() (Cursor, bool)
func (Cursor) PrevSibling() (Cursor, bool)
// -- search --
func (c Cursor) FindNode(n ast.Node) (Cursor, bool)
func (c Cursor) FindPos(start, end token.Pos) (Cursor, bool)
```
Example usage:
```go
var (
filterA = []ast.Node{(*ast.File)(nil)}
filterB = []ast.Node{(*ast.BinaryExpr)(nil)}
)
var in *inspect.Inspector = ...
for curFile:= range in.Cursor().Preorder(filterA...) {
file := curFile.Node().(*ast.File)
...
for curBinary := range c.Preorder(filterB...) {
binary := curBinary.Node().(*ast.BinaryExpr)
fmt.Println(c.Stack(nil))
}
}
```
See https://go.dev/cl/636656 for the implementation.
@findleyr @timothy-king @griesemer | Proposal | low | Minor |
2,740,951,421 | frp | [Feature Request] add support for https proxy (frpc -> httpsProxy -> frps) | ### Describe the feature request
I saw both in the [README.md](https://github.com/fatedier/frp?tab=readme-ov-file#connecting-to-frps-via-proxy), the [frpc.toml sample](https://github.com/fatedier/frp/blob/dev/conf/frpc_full_example.toml#L91), and the golib code itself ([link1](https://github.com/fatedier/golib/blob/master/net/dial.go#L54), [link2](https://github.com/fatedier/golib/blob/master/net/dial_option.go#L33)) that we only support: socks5, http and ntlm:
`var supportedDialProxyTypes = []string{"socks5", "http", "ntlm"}
`
But what if I have an https proxy, e.g. `https://my.proxy.server.com:8888` rather than `http://my.proxy.server.com:8888`?
Was wondering why isn't it supported and what would it take to support an HTTPS proxy?
For the sake of clarity, I don't care about MitM (man-in-the-middle) proxies, I'm talking about a scenario where the frpc (frp client) connects to frps (frp server) through a proxy with an `https://` protocol scheme.
I'm guessing that from the user's perspective we'd need to (1) pass a custom CA (as most likely it's a local proxy with a private PKI), (2) add TLS handshake support to `golib` and the rest should be the same, i.e. pass a CONNECT to frps over that established connection.
I know that it might not make a lot of sense to everyone to actually use an https proxy, but nevertheless wondering what's the dev effort / design considerations that were led to not supporting it.
Thanks!
Ofir
### Describe alternatives you've considered
_No response_
### Affected area
- [ ] Docs
- [ ] Installation
- [ ] Performance and Scalability
- [ ] Security
- [ ] User Experience
- [ ] Test and Release
- [ ] Developer Infrastructure
- [ ] Client Plugin
- [ ] Server Plugin
- [ ] Extensions
- [ ] Others | proposal | low | Major |
2,740,959,287 | react | Bug: `eslint-plugin-react-compiler` causes `@babel/generator` to `console.log` a message about import attributes on TS files | `eslint-plugin-react-compiler` version: `19.0.0-beta-37ed2a7-20241206` (which is the latest on NPM)
## Steps To Reproduce
In general, to reproduce the issue, run `eslint-plugin-react-compiler` on a TS file that contains an import attribute.
To reproduce in the linked reproduction repo:
1. `npm i`
2. Run `DEBUG=eslint:eslint eslint .` in the terminal.
3. Observe that both a JS file and TS file are linted, and that both of those two files contain an import attribute.
5. Observe that the message is only printed for the TS file, but not the JS file.
Link to code example:
https://github.com/abrahamguo/repro/tree/react-compiler-import-attributes
## The current behavior
The following message is printed via `console.log` by `@babel/generator`:
```
You are using import attributes, without specifying the desired output syntax.
Please specify the "importAttributesKeyword" generator option, whose value can be one of:
- "with" : `import { a } from "b" with { type: "json" };`
- "assert" : `import { a } from "b" assert { type: "json" };`
- "with-legacy" : `import { a } from "b" with type: "json";`
```
## The expected behavior
No such message should be printed.
| Status: Unconfirmed | medium | Critical |
2,740,959,911 | godot | Partial text omitted in Button | ### Tested versions
v4.3.stable.official [77dcf97d8]
### System information
Godot v4.3.stable - Windows 10.0.26100 - Vulkan (Mobile) - dedicated NVIDIA GeForce RTX 4070 (NVIDIA; 32.0.15.6614) - AMD Ryzen 7 7800X3D 8-Core Processor (16 Threads)
### Issue description
I have several buttons with text. All works fine except for this one that have the specific text "DESUMI". I note that typing the last "I" the button get wider, but the letter does not appear. Other buttons that terminates with the same letter "I" works correctly.
https://github.com/user-attachments/assets/a8172034-9a17-40b2-bf5d-a8c604aedf37
### Steps to reproduce
Running the scene:
```gdscript
[gd_scene load_steps=2 format=3 uid="uid://dymocognk601v"]
[ext_resource type="Script" path="res://scripts/wordpanel_parola.gd" id="1_omrdl"]
[node name="Parola" type="Button"]
offset_right = 8.0
offset_bottom = 8.0
focus_mode = 0
mouse_filter = 1
text = "DESUMI"
script = ExtResource("1_omrdl")
[connection signal="button_down" from="." to="." method="_on_button_down"]
[connection signal="pressed" from="." to="." method="_on_pressed"]
```
with the script:
```gdscript
extends Button
signal show_path(word: String)
# Variabili per il click delle parole
const max_holding_time = 0.5 #secondi
var holding_click_delta_time
var hold_event_run
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
if is_pressed() and hold_event_run:
# Se il tempo di hold è stato superato, esegui un'azione
if holding_click_delta_time > max_holding_time:
# Recupera il testo della label per comporre l'URL
var url = "https://www.google.com/search?q=" + text + "+vocabolario"
# Apre l'URL nel browser
OS.shell_open(url)
hold_event_run = false
else:
holding_click_delta_time += delta
func _on_button_down() -> void:
holding_click_delta_time = 0
hold_event_run = true
func set_revealed_word() -> void:
var color = Color(1, 0.3, 0.3)
set("theme_override_colors/font_color", color)
set("theme_override_colors/font_pressed_color", color)
set("theme_override_colors/font_hover_color", color)
func _on_pressed() -> void:
show_path.emit(text)
```
### Minimal reproduction project (MRP)
Not sure if project dependent. | bug,topic:gui | low | Minor |
2,740,977,282 | PowerToys | Workspaces - a few minor glitches | ### Microsoft PowerToys version
0.86.0
### Installation method
Microsoft Store
### Running as admin
Yes
### Area(s) with issue?
Workspaces
### Steps to reproduce
A few minors Workspaces items that don't work as expected:
Microsoft Windows Files Explorer doesn't open to the size it was captured. If minimised the windows is SO small it can't be accessed. If not flagged (neither minimise or maximise check box are ticked) Explorer opens almost full screen
Outlook doesn't open minimised (as it is flagged)
A second Chrome window opens on the same screen as the first (it was captured on a second screen)
Phone Link doesn't open minimised (as flagged)
None of this is urgent. Simply reporting for feedback purposes.
Seperatley, is it at all possible for File Explorer to be opened with the tabs that were open at the time of the Workspace capture?
Thanks very much, team
### ✔️ Expected Behavior
I expected Explorer to open as positioned
I expected both Phone Link and Outlook to open minimised
I expected the second Chrome window to open on a second monitor as it was when captured
### ❌ Actual Behavior
Explorer opens in a tiny window that can't be accessed. Have to close it and open manually
Outlook and Phone Link both open unmaximised (the behavior when you hit maximise for the second time and the window returns to the size it was before maximise)
Chrome opens on the same screen as the first instance
### Other Software
_No response_ | Issue-Bug,Needs-Triage,Product-Workspaces | low | Minor |
2,740,999,512 | pytorch | torch._logging.set_logs kind of sucks for Jupyter notebooks | ### 🐛 Describe the bug
Problems:
1. You can't override TORCH_TRACE via... anything. Impossible to do.
2. It would be really helpful if the function took the string format that the envvar takes, that format is very convenient and compact!
3. all=INFO is extremely spammy, for some reason
cc @mlazos
### Versions
main | module: logging,triaged | low | Critical |
2,741,021,644 | ui | [bug]: Calendar not work : the style is not applying |

### Describe the bug
The Shadcn style does not applying when I use this component in Nextjs 14.2.14. And if I try to re-install component, I have this error in the terminal :
```shell
npx shadcn@latest add calendar
✔ Checking registry.
⠴ Installing dependencies.
Something went wrong. Please check the error below for more details.
If the problem persists, please open an issue on GitHub.
Command failed with exit code 1: npm install [email protected] date-fns @radix-ui/react-slot
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/date-fns
npm ERR! date-fns@"^4.1.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer date-fns@"^2.28.0 || ^3.0.0" from [email protected]
npm ERR! node_modules/react-day-picker
npm ERR! react-day-picker@"8.10.1" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
```
I have this dependancies :
"date-fns": "^4.1.0",
"react-day-picker": "^9.4.4",
### Affected component/components
Calendar
### How to reproduce
1. `npx shadcn@latest add calendar`
### Codesandbox/StackBlitz link
_No response_
### Logs
_No response_
### System Info
```bash
MacOS 11.7.10, Arc browser
```
### Before submitting
- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues | bug | low | Critical |
2,741,192,502 | flutter | iOS App Does Not Prompt for Network Permission on First Launch in Wi-Fi Environment | ### Steps to reproduce
1. set \<key\>NSAllowsArbitraryLoads\</key\>\<true/\> in ios/Runner/Info.plist
2. run the command 'flutter run' on iOS physical device (Wi-Fi only). (IOS version: iPhone15(iOS 18.2) iPhoneX(iOS 16.7.10) )
3. when request the network in the code (using the Dio library), throw SocketException exception...
### Expected results
In a Wi-Fi environment, the app should correctly display the network permission request prompt.

### Actual results
The app does not display the network permission request prompt in a Wi-Fi environment. When the app attempts to make a network request (using the Dio library), the following exception occurs:
SocketException: Connection failed (OS Error: No route to host, errno = 65), address = xxx.xxx.xxx.xx, port = xxxx
However, when using mobile data (SIM card network), everything works as expected, and no issues are encountered.
### Code sample
<details open><summary>Code sample</summary>
```dart
[Paste your code here]
```
</details>
### Screenshots or Video
<details open>
<summary>Screenshots / Video demonstration</summary>
[Upload media here]
</details>
### Logs
<details open><summary>Logs</summary>
```console
[Paste your logs here]
```
</details>
### Flutter Doctor output
<details open><summary>Doctor output</summary>
```console
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.27.0, on macOS 14.6.1 23G93 darwin-arm64
(Rosetta), locale zh-Hans-CN)
[!] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
✗ cmdline-tools component is missing
Run `path/to/sdkmanager --install "cmdline-tools;latest"`
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Run `flutter doctor --android-licenses` to accept the SDK licenses.
See https://flutter.dev/to/macos-android-setup for more details.
[✓] Xcode - develop for iOS and macOS (Xcode 16.2)
[✓] Chrome - develop for the web
[!] Android Studio (not installed)
[✓] VS Code (version 1.95.3)
[✓] Connected device (5 available)
[!] Network resources
✗ A network error occurred while checking "https://maven.google.com/":
Operation timed out
! Doctor found issues in 3 categories.
```
</details>
| platform-ios,engine,P2,team-ios,triaged-ios | low | Critical |
2,741,249,219 | rust | compiler trait solver gets stuck (infinite loop or tail recursion?), related to GAT and associated type equality constraint | I was playing with GAT and stomped upon this weird issue, and here's a reproducible example that I managed to reduced to:
```rust
trait Foo {
type Gat<'a>;
}
trait Bar {
type Ty: Foo
where
for<'a> <Self::Ty as Foo>::Gat<'a>: Assoc<Ty = ()>;
}
trait Assoc {
type Ty;
}
```
some research and observations:
- it **WILL** affect the playground, tested both stable and nightly;
- after somel search of the issue tracker, I thought it might be dup of #132032, but I'm not sure;
- if move the `Ty :Foo` bound to `where` clause like the following, it will **NOT** hang:
```rust
trait Bar {
type Ty
where
Self::Ty: Foo,
for<'a> <Self::Ty as Foo>::Gat<'a>: Assoc<Ty = ()>;
}
```
- if the `Assoc` has not associated type constraint, it will **NOT** hang:
```rust
trait Bar {
type Ty: Foo
where
for<'a> <Self::Ty as Foo>::Gat<'a>: Assoc;
}
```
- it does **NOT** matter what type I used for the associated type equality, as long I have something, it will hang. e.g. the following will **STILL** hang, **AFTER** output of `E0582`:
```rust
trait Bar {
type Ty: Foo
where
for<'a> <Self::Ty as Foo>::Gat<'a>: Assoc<Ty = &'a ()>;
}
```
- this should not matter, but just to mention it, the `Assoc` trait in the reproducing example was `Iterator` in my original code where I encountered this problem
I expected to see this happen: the compiler either accept or reject the code;
Instead, this happened: the compiler never finish while using 100% of one of the CPU cores.
### Meta
`rustc --version --verbose`:
```
rustc 1.84.0-nightly (917a50a03 2024-11-15)
binary: rustc
commit-hash: 917a50a03931a9861c19a46f3e2a02a28f1da936
commit-date: 2024-11-15
host: x86_64-unknown-linux-gnu
release: 1.84.0-nightly
LLVM version: 19.1.3
```
--------
Backtrace:
the compiler didn't crash, no backtrace available
--------
<details><summary>RUSTC_LOG=debug</summary>
<p>
because the compilation never finish, the log is infinitely sized and repeating, and since the issue is reproducible, I'll only attach the lines where it starts to repeat:
```text
...
rustc_trait_selection::traits::normalize::normalize_with_depth_to depth=126, value=<<Self as Bar>::Ty as Foo>
rustc_trait_selection::traits::normalize::normalize_with_depth_to depth=126, value=Binder { value: TraitPredicate(<<<Self as Bar>::Ty as Foo>::Gat<'a> as Assoc>, polarity:Positive), bound_vars: [Region(BrNamed(DefId(0:8 ~ col[f450]::Bar::Ty::'a), 'a))] }
rustc_trait_selection::traits::project::project obligation=Obligation(predicate=AliasTerm { args: [Alias(Projection, AliasTy { args: [Self/#0], def_id: DefId(0:7 ~ col[f450]::Bar::Ty), .. }), !127_0.Named(DefId(0:8 ~ col[f450]::Bar::Ty::'a), "'a")], def_id: DefId(0:4 ~ col[f450]::Foo::Gat), .. }, depth=126)
rustc_trait_selection::traits::normalize::normalize_with_depth_to depth=127, value=<<Self as Bar>::Ty as Foo>
rustc_trait_selection::traits::normalize::normalize_with_depth_to depth=127, value=Binder { value: TraitPredicate(<<<Self as Bar>::Ty as Foo>::Gat<'a> as Assoc>, polarity:Positive), bound_vars: [Region(BrNamed(DefId(0:8 ~ col[f450]::Bar::Ty::'a), 'a))] }
rustc_trait_selection::traits::project::project obligation=Obligation(predicate=AliasTerm { args: [Alias(Projection, AliasTy { args: [Self/#0], def_id: DefId(0:7 ~ col[f450]::Bar::Ty), .. }), !128_0.Named(DefId(0:8 ~ col[f450]::Bar::Ty::'a), "'a")], def_id: DefId(0:4 ~ col[f450]::Foo::Gat), .. }, depth=127)
rustc_trait_selection::traits::normalize::normalize_with_depth_to depth=128, value=<<Self as Bar>::Ty as Foo>
rustc_trait_selection::traits::normalize::normalize_with_depth_to depth=128, value=Binder { value: TraitPredicate(<<<Self as Bar>::Ty as Foo>::Gat<'a> as Assoc>, polarity:Positive), bound_vars: [Region(BrNamed(DefId(0:8 ~ col[f450]::Bar::Ty::'a), 'a))] }
rustc_trait_selection::traits::project::project obligation=Obligation(predicate=AliasTerm { args: [Alias(Projection, AliasTy { args: [Self/#0], def_id: DefId(0:7 ~ col[f450]::Bar::Ty), .. }), !129_0.Named(DefId(0:8 ~ col[f450]::Bar::Ty::'a), "'a")], def_id: DefId(0:4 ~ col[f450]::Foo::Gat), .. }, depth=128)
rustc_trait_selection::traits::normalize::normalize_with_depth_to depth=129, value=<<Self as Bar>::Ty as Foo>
rustc_trait_selection::traits::normalize::normalize_with_depth_to depth=129, value=Binder { value: TraitPredicate(<<<Self as Bar>::Ty as Foo>::Gat<'a> as Assoc>, polarity:Positive), bound_vars: [Region(BrNamed(DefId(0:8 ~ col[f450]::Bar::Ty::'a), 'a))] }
rustc_trait_selection::traits::project::project obligation=Obligation(predicate=AliasTerm { args: [Alias(Projection, AliasTy { args: [Self/#0], def_id: DefId(0:7 ~ col[f450]::Bar::Ty), .. }), !130_0.Named(DefId(0:8 ~ col[f450]::Bar::Ty::'a), "'a")], def_id: DefId(0:4 ~ col[f450]::Foo::Gat), .. }, depth=129)
rustc_trait_selection::traits::normalize::normalize_with_depth_to depth=129, value=Binder { value: ProjectionPredicate(AliasTerm { args: [Alias(Projection, AliasTy { args: [Alias(Projection, AliasTy { args: [Self/#0], def_id: DefId(0:7 ~ col[f450]::Bar::Ty), .. }), '^0.Named(DefId(0:8 ~ col[f450]::Bar::Ty::'a), "'a")], def_id: DefId(0:4 ~ col[f450]::Foo::Gat), .. })], def_id: DefId(0:10 ~ col[f450]::Assoc::Ty), .. }, Term::Ty(())), bound_vars: [Region(BrNamed(DefId(0:8 ~ col[f450]::Bar::Ty::'a), 'a))] }
rustc_trait_selection::traits::project::project obligation=Obligation(predicate=AliasTerm { args: [Alias(Projection, AliasTy { args: [Self/#0], def_id: DefId(0:7 ~ col[f450]::Bar::Ty), .. }), !131_0.Named(DefId(0:8 ~ col[f450]::Bar::Ty::'a), "'a")], def_id: DefId(0:4 ~ col[f450]::Foo::Gat), .. }, depth=129)
rustc_trait_selection::traits::normalize::normalize_with_depth_to depth=128, value=Binder { value: ProjectionPredicate(AliasTerm { args: [Alias(Projection, AliasTy { args: [Alias(Projection, AliasTy { args: [Self/#0], def_id: DefId(0:7 ~ col[f450]::Bar::Ty), .. }), '^0.Named(DefId(0:8 ~ col[f450]::Bar::Ty::'a), "'a")], def_id: DefId(0:4 ~ col[f450]::Foo::Gat), .. })], def_id: DefId(0:10 ~ col[f450]::Assoc::Ty), .. }, Term::Ty(())), bound_vars: [Region(BrNamed(DefId(0:8 ~ col[f450]::Bar::Ty::'a), 'a))] }
rustc_trait_selection::traits::project::project obligation=Obligation(predicate=AliasTerm { args: [Alias(Projection, AliasTy { args: [Self/#0], def_id: DefId(0:7 ~ col[f450]::Bar::Ty), .. }), !130_0.Named(DefId(0:8 ~ col[f450]::Bar::Ty::'a), "'a")], def_id: DefId(0:4 ~ col[f450]::Foo::Gat), .. }, depth=128)
rustc_trait_selection::traits::normalize::normalize_with_depth_to depth=129, value=<<Self as Bar>::Ty as Foo>
rustc_trait_selection::traits::normalize::normalize_with_depth_to depth=129, value=Binder { value: TraitPredicate(<<<Self as Bar>::Ty as Foo>::Gat<'a> as Assoc>, polarity:Positive), bound_vars: [Region(BrNamed(DefId(0:8 ~ col[f450]::Bar::Ty::'a), 'a))] }
rustc_trait_selection::traits::project::project obligation=Obligation(predicate=AliasTerm { args: [Alias(Projection, AliasTy { args: [Self/#0], def_id: DefId(0:7 ~ col[f450]::Bar::Ty), .. }), !131_0.Named(DefId(0:8 ~ col[f450]::Bar::Ty::'a), "'a")], def_id: DefId(0:4 ~ col[f450]::Foo::Gat), .. }, depth=129)
rustc_trait_selection::traits::normalize::normalize_with_depth_to depth=129, value=Binder { value: ProjectionPredicate(AliasTerm { args: [Alias(Projection, AliasTy { args: [Alias(Projection, AliasTy { args: [Self/#0], def_id: DefId(0:7 ~ col[f450]::Bar::Ty), .. }), '^0.Named(DefId(0:8 ~ col[f450]::Bar::Ty::'a), "'a")], def_id: DefId(0:4 ~ col[f450]::Foo::Gat), .. })], def_id: DefId(0:10 ~ col[f450]::Assoc::Ty), .. }, Term::Ty(())), bound_vars: [Region(BrNamed(DefId(0:8 ~ col[f450]::Bar::Ty::'a), 'a))] }
rustc_trait_selection::traits::project::project obligation=Obligation(predicate=AliasTerm { args: [Alias(Projection, AliasTy { args: [Self/#0], def_id: DefId(0:7 ~ col[f450]::Bar::Ty), .. }), !132_0.Named(DefId(0:8 ~ col[f450]::Bar::Ty::'a), "'a")], def_id: DefId(0:4 ~ col[f450]::Foo::Gat), .. }, depth=129)
rustc_trait_selection::traits::normalize::normalize_with_depth_to depth=127, value=Binder { value: ProjectionPredicate(AliasTerm { args: [Alias(Projection, AliasTy { args: [Alias(Projection, AliasTy { args: [Self/#0], def_id: DefId(0:7 ~ col[f450]::Bar::Ty), .. }), '^0.Named(DefId(0:8 ~ col[f450]::Bar::Ty::'a), "'a")], def_id: DefId(0:4 ~ col[f450]::Foo::Gat), .. })], def_id: DefId(0:10 ~ col[f450]::Assoc::Ty), .. }, Term::Ty(())), bound_vars: [Region(BrNamed(DefId(0:8 ~ col[f450]::Bar::Ty::'a), 'a))] }
rustc_trait_selection::traits::project::project obligation=Obligation(predicate=AliasTerm { args: [Alias(Projection, AliasTy { args: [Self/#0], def_id: DefId(0:7 ~ col[f450]::Bar::Ty), .. }), !129_0.Named(DefId(0:8 ~ col[f450]::Bar::Ty::'a), "'a")], def_id: DefId(0:4 ~ col[f450]::Foo::Gat), .. }, depth=127)
rustc_trait_selection::traits::normalize::normalize_with_depth_to depth=128, value=<<Self as Bar>::Ty as Foo>
rustc_trait_selection::traits::normalize::normalize_with_depth_to depth=128, value=Binder { value: TraitPredicate(<<<Self as Bar>::Ty as Foo>::Gat<'a> as Assoc>, polarity:Positive), bound_vars: [Region(BrNamed(DefId(0:8 ~ col[f450]::Bar::Ty::'a), 'a))] }
rustc_trait_selection::traits::project::project obligation=Obligation(predicate=AliasTerm { args: [Alias(Projection, AliasTy { args: [Self/#0], def_id: DefId(0:7 ~ col[f450]::Bar::Ty), .. }), !130_0.Named(DefId(0:8 ~ col[f450]::Bar::Ty::'a), "'a")], def_id: DefId(0:4 ~ col[f450]::Foo::Gat), .. }, depth=128)
rustc_trait_selection::traits::normalize::normalize_with_depth_to depth=129, value=<<Self as Bar>::Ty as Foo>
rustc_trait_selection::traits::normalize::normalize_with_depth_to depth=129, value=Binder { value: TraitPredicate(<<<Self as Bar>::Ty as Foo>::Gat<'a> as Assoc>, polarity:Positive), bound_vars: [Region(BrNamed(DefId(0:8 ~ col[f450]::Bar::Ty::'a), 'a))] }
rustc_trait_selection::traits::project::project obligation=Obligation(predicate=AliasTerm { args: [Alias(Projection, AliasTy { args: [Self/#0], def_id: DefId(0:7 ~ col[f450]::Bar::Ty), .. }), !131_0.Named(DefId(0:8 ~ col[f450]::Bar::Ty::'a), "'a")], def_id: DefId(0:4 ~ col[f450]::Foo::Gat), .. }, depth=129)
rustc_trait_selection::traits::normalize::normalize_with_depth_to depth=129, value=Binder { value: ProjectionPredicate(AliasTerm { args: [Alias(Projection, AliasTy { args: [Alias(Projection, AliasTy { args: [Self/#0], def_id: DefId(0:7 ~ col[f450]::Bar::Ty), .. }), '^0.Named(DefId(0:8 ~ col[f450]::Bar::Ty::'a), "'a")], def_id: DefId(0:4 ~ col[f450]::Foo::Gat), .. })], def_id: DefId(0:10 ~ col[f450]::Assoc::Ty), .. }, Term::Ty(())), bound_vars: [Region(BrNamed(DefId(0:8 ~ col[f450]::Bar::Ty::'a), 'a))] }
rustc_trait_selection::traits::project::project obligation=Obligation(predicate=AliasTerm { args: [Alias(Projection, AliasTy { args: [Self/#0], def_id: DefId(0:7 ~ col[f450]::Bar::Ty), .. }), !132_0.Named(DefId(0:8 ~ col[f450]::Bar::Ty::'a), "'a")], def_id: DefId(0:4 ~ col[f450]::Foo::Gat), .. }, depth=129)
rustc_trait_selection::traits::normalize::normalize_with_depth_to depth=128, value=Binder { value: ProjectionPredicate(AliasTerm { args: [Alias(Projection, AliasTy { args: [Alias(Projection, AliasTy { args: [Self/#0], def_id: DefId(0:7 ~ col[f450]::Bar::Ty), .. }), '^0.Named(DefId(0:8 ~ col[f450]::Bar::Ty::'a), "'a")], def_id: DefId(0:4 ~ col[f450]::Foo::Gat), .. })], def_id: DefId(0:10 ~ col[f450]::Assoc::Ty), .. }, Term::Ty(())), bound_vars: [Region(BrNamed(DefId(0:8 ~ col[f450]::Bar::Ty::'a), 'a))] }
rustc_trait_selection::traits::project::project obligation=Obligation(predicate=AliasTerm { args: [Alias(Projection, AliasTy { args: [Self/#0], def_id: DefId(0:7 ~ col[f450]::Bar::Ty), .. }), !131_0.Named(DefId(0:8 ~ col[f450]::Bar::Ty::'a), "'a")], def_id: DefId(0:4 ~ col[f450]::Foo::Gat), .. }, depth=128)
rustc_trait_selection::traits::normalize::normalize_with_depth_to depth=129, value=<<Self as Bar>::Ty as Foo>
rustc_trait_selection::traits::normalize::normalize_with_depth_to depth=129, value=Binder { value: TraitPredicate(<<<Self as Bar>::Ty as Foo>::Gat<'a> as Assoc>, polarity:Positive), bound_vars: [Region(BrNamed(DefId(0:8 ~ col[f450]::Bar::Ty::'a), 'a))] }
...
```
</p>
</details>
| C-bug,I-hang,T-types,fixed-by-next-solver,A-GATs | low | Critical |
2,741,254,080 | bitcoin | test: different error message fails rpc_signer.py | ### Is there an existing issue for this?
- [X] I have searched the existing issues
### Current behaviour
On my Ubuntu 24.04 system on running rpc_signer.py functional test (after compiling from source) fails the test which tests the case of missing script (on master and 28.x but passes on 27.x !)
I tried running (with only regtest = 1 in bitcoin.conf)
```
bitcoind -daemon -signer=fake.py
bitcoin-cli enumeratesigners
```
to get the following:
```
execve failed: Not a directory (20)
```
which is different than what is asserted in the test.
I tried compiling 28.x and master on a Ubuntu 24.04 VM running on Qemu/KVM and the test passes there.
I followed all the steps for installing the dependencies mentioned in build-unix.md and checked the versions mentioned in dependencies.md . Also tried removing bitcoin and again compiling from source but the test still fails.
### Expected behaviour
The functional test should pass just like it does on the CI.
### Steps to reproduce
I referred to build-unix.md for compile instructions and installing dependencies.
For master followed the following commands:
```
cmake -B build
cmake --build build
cmake --install build
build/test/functional/rpc_signer.py
```
which gives basically the following error:
```
Traceback (most recent call last):
File "/home/codingp110/bitcoin/test/functional/test_framework/test_framework.py", line 135, in main
self.run_test()
File "/home/codingp110/bitcoin/build/test/functional/rpc_signer.py", line 56, in run_test
assert_raises_rpc_error(
File "/home/codingp110/bitcoin/test/functional/test_framework/util.py", line 151, in assert_raises_rpc_error
assert try_rpc(code, message, fun, *args, **kwds), "No exception raised"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/codingp110/bitcoin/test/functional/test_framework/util.py", line 166, in try_rpc
raise AssertionError(
AssertionError: Expected substring not found in error message:
substring: 'execve failed: No such file or directory'
error message: 'execve failed: Not a directory (20)'.
```
For 28.x and 27.x (used git worktree to create separate directories and then git reset hard to overwrite with upstream/28.x and upstream/27.x):
```
./autogen.sh
./configure
make
test/functional/rpc_signer.py
```
28.x gives similar error as master but 27.x passes!
### Relevant log output
relevant log (master):
```
2024-12-16T02:42:47.859000Z TestFramework (ERROR): Assertion failed
Traceback (most recent call last):
File "/home/codingp110/bitcoin/test/functional/test_framework/util.py", line 160, in try_rpc
fun(*args, **kwds)
File "/home/codingp110/bitcoin/test/functional/test_framework/coverage.py", line 50, in __call__
return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/codingp110/bitcoin/test/functional/test_framework/authproxy.py", line 146, in __call__
raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: execve failed: Not a directory (20) (-1)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/codingp110/bitcoin/test/functional/test_framework/test_framework.py", line 135, in main
self.run_test()
File "/home/codingp110/bitcoin/build/test/functional/rpc_signer.py", line 56, in run_test
assert_raises_rpc_error(
File "/home/codingp110/bitcoin/test/functional/test_framework/util.py", line 151, in assert_raises_rpc_error
assert try_rpc(code, message, fun, *args, **kwds), "No exception raised"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/codingp110/bitcoin/test/functional/test_framework/util.py", line 166, in try_rpc
raise AssertionError(
AssertionError: Expected substring not found in error message:
substring: 'execve failed: No such file or directory'
error message: 'execve failed: Not a directory (20)'.
```
running `bitcoind` with the `-signer=fake.py` and then getting strace output on running `enumeratesigners` rpc gave only the following major differences on master and 27.x
on master:
```
readv(6, [{iov_base="HTTP/1.1 200 OK\r\nContent-Type: application/json\r\nDate: Sat, 14 Dec 2024 09:31:05 GMT\r\nContent-Length: 93\r\nConnection: close\r\n\r\n{\"jsonrpc\":\"2.0\",\"error\":{\"code\":-1,\"message\":\"execve failed: Not a directory (20)\"},\"id\":1}\n", iov_len=220}], 1) = 220
```
on 27.x
```
readv(6, [{iov_base="HTTP/1.1 500 Internal Server Error\r\nContent-Type: application/json\r\nDate: Sat, 14 Dec 2024 09:32:19 GMT\r\nContent-Length: 96\r\nConnection: close\r\n\r\n{\"result\":null,\"error\":{\"code\":-1,\"message\":\"execve failed: No such file or directory\"},\"id\":1}\n", iov_len=242}], 1) = 242
```
but on doing the same for master and 28.x on a VM(Ubuntu 24.04.1 LTS on VirtualBox) gave the same strace output as my system but with the correct error message.
PS: The logs/outputs mentioned for master(except for the first one in this section) are old and not for master-b042c4f0538c
### How did you obtain Bitcoin Core
Compiled from source
### What version of Bitcoin Core are you using?
v28.99.0-b042c4f0538c
### Operating system and version
Ubuntu 24.04.1 LTS
### Machine specifications
OS: Ubuntu 24.04
Architecture: x86_64
CPU(s): 8
Vendor ID: GenuineIntel
Model name: 12th Gen Intel(R) Core(TM) i3-1215U | Tests | low | Critical |
2,741,266,546 | flutter | Deprecated APIs use on Android 15 | ### Steps to reproduce
There has been a report from Google:
Your app uses deprecated APIs or parameters for edge-to-edge
One or more of the APIs you use or parameters that you set for edge-to-edge and window display have been deprecated in Android 15. Your app uses the following deprecated APIs or parameters:
- android.view.Window.setDecorFitsSystemWindows
- android.view.Window.setStatusBarColor
- android.view.Window.setNavigationBarColor
- android.view.Window.setNavigationBarDividerColor
These start in the following places:
- com.google.android.material.internal.c.a
- io.flutter.embedding.android.g.I
- io.flutter.plugin.platform.d.a
- io.flutter.plugin.platform.h.C
**Stacktrace/Logs**
No need of stacktrace
**Flutter version**
Flutter 3.24.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 2663184aa7 (3 months ago) • 2024-09-11 16:27:48 -0500
Engine • revision 36335019a8
Tools • Dart 3.5.3 • DevTools 2.37.3
### Expected results
There is no deprecated APIs being used
### Actual results
App uses deprecated APIs or parameters for edge-to-edge
### Code sample
No need of code example
### Screenshots or Video
No have any video
### Logs
<details open><summary>Logs</summary>
```console
[Paste your logs here]
```
</details>
### Flutter Doctor output
[✓] Flutter (Channel stable, 3.24.3, on macOS 13.5 22G74 darwin-arm64)
• Flutter version 3.24.3 on channel stable at /opt/homebrew/Caskroom/flutter/3.19.4/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 2663184aa7 (3 months ago), 2024-09-11 16:27:48 -0500
• Engine revision 36335019a8
• Dart version 3.5.3
• DevTools version 2.37.3
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at /Users/longnmp/Library/Android/SDK
• Platform android-34, build-tools 34.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 15.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 15C65
• CocoaPods version 1.15.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2024.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• android-studio-dir = /Applications/Android Studio.app
• Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314)
[✓] VS Code (version 1.95.3)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.100.0
[✓] Connected device (7 available)
• sdk gphone64 arm64 (mobile) • emulator-5554 • android-arm64 • Android 15 (API 35) (emulator)
• iPhone SE (mobile) • 00008110-000E10381A00401E • ios • iOS 17.5.1 21F90
• iPhone 11 pro (mobile) • 00008030-0005251C0C7A802E • ios • iOS 17.6.1 21G93
• iPhone SE (3rd generation) (mobile) • 336316DA-DFE8-4E62-BBD6-0DFC8855C4B7 • ios • com.apple.CoreSimulator.SimRuntime.iOS-17-2 (simulator)
• macOS (desktop) • macos • darwin-arm64 • macOS 13.5 22G74 darwin-arm64
• Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 13.5 22G74 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 131.0.6778.140
! Error: Browsing on the local area network for Ahn cin ❤️. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code -27)
! Error: Browsing on the local area network for Sally’s. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code -27)
[✓] Network resources
• All expected network resources are available.
• No issues found!
| waiting for customer response,in triage | medium | Critical |
2,741,269,179 | pytorch | Flex Attention Trainable Bias Bug on A6000 | ### 🐛 Describe the bug
`python test/inductor/test_flex_attention.py -k test_head_specific_gate_batch:2 `
on A6000 GPU commit `625b4ed`
```
======================================================================
FAIL: test_head_specific_gate_batch:2_head:4_seq_len:256_headdim:16_dtype:float32_mode_max-autotune-no-cudagraphs (__main__.TestLearnableBiases)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/joydong/pytorch/torch/testing/_internal/common_utils.py", line 3108, in wrapper
method(*args, **kwargs)
File "/home/joydong/pytorch/torch/testing/_internal/common_utils.py", line 557, in instantiated_test
test(self, **param_kwargs)
File "/home/joydong/pytorch/test/inductor/test_flex_attention.py", line 5000, in test_head_specific_gate
self._check_outputs_and_grads(
File "/home/joydong/pytorch/test/inductor/test_flex_attention.py", line 4594, in _check_outputs_and_grads
self._gold_check(eager, compiled, gold, name)
File "/home/joydong/pytorch/torch/utils/_contextlib.py", line 116, in decorate_context
return func(*args, **kwargs)
File "/home/joydong/pytorch/test/inductor/test_flex_attention.py", line 4566, in _gold_check
self.assertLessEqual(
AssertionError: 0.022904716432094574 not less than or equal to 0.003473577984095755 :
Tensor: grad_query
Compiled error (0.02290472) exceeds reference error (0.00025730) * fudge_factor (13.5)
To execute this test, run the following from the base repo dir:
python test/inductor/test_flex_attention.py TestLearnableBiases.test_head_specific_gate_batch:2_head:4_seq_len:256_headdim:16_dtype:float32_mode_max-autotune-no-cudagraphs
This message can be suppressed by setting PYTORCH_PRINT_REPRO_ON_FAILURE=0
----------------------------------------------------------------------
```
I cannot reproduce stably:
It fails on different test cases randomly, but it is always a max-autotune-no-cudagraphs case.
Running that test case alone does not trigger the error.
### Versions
Collecting environment information...
PyTorch version: 2.6.0a0+git082124a
Is debug build: False
CUDA used to build PyTorch: 12.4
ROCM used to build PyTorch: N/A
OS: Ubuntu 20.04.6 LTS (x86_64)
GCC version: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
Clang version: Could not collect
CMake version: version 3.26.4
Libc version: glibc-2.31
Python version: 3.10.15 (main, Oct 3 2024, 07:27:34) [GCC 11.2.0] (64-bit runtime)
Python platform: Linux-5.15.0-124-generic-x86_64-with-glibc2.31
Is CUDA available: True
CUDA runtime version: 12.4.99
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration: GPU 0: NVIDIA RTX A6000
Nvidia driver version: 560.35.03
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: False
CPU:
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
Address sizes: 46 bits physical, 57 bits virtual
CPU(s): 64
On-line CPU(s) list: 0-63
Thread(s) per core: 2
Core(s) per socket: 16
Socket(s): 2
NUMA node(s): 2
Vendor ID: GenuineIntel
CPU family: 6
Model: 106
Model name: Intel(R) Xeon(R) Gold 6326 CPU @ 2.90GHz
Stepping: 6
CPU MHz: 2900.000
BogoMIPS: 5800.00
Virtualization: VT-x
L1d cache: 1.5 MiB
L1i cache: 1 MiB
L2 cache: 40 MiB
L3 cache: 48 MiB
NUMA node0 CPU(s): 0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62
NUMA node1 CPU(s): 1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,55,57,59,61,63
Vulnerability Gather data sampling: Mitigation; Microcode
Vulnerability Itlb multihit: Not affected
Vulnerability L1tf: Not affected
Vulnerability Mds: Not affected
Vulnerability Meltdown: Not affected
Vulnerability Mmio stale data: Mitigation; Clear CPU buffers; SMT vulnerable
Vulnerability Reg file data sampling: Not affected
Vulnerability Retbleed: Not affected
Vulnerability Spec rstack overflow: Not affected
Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2: Mitigation; Enhanced / Automatic IBRS; IBPB conditional; RSB filling; PBRSB-eIBRS SW sequence; BHI SW loop, KVM SW loop
Vulnerability Srbds: Not affected
Vulnerability Tsx async abort: Not affected
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb intel_pt avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local split_lock_detect wbnoinvd dtherm ida arat pln pts avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg tme avx512_vpopcntdq la57 rdpid fsrm md_clear pconfig flush_l1d arch_capabilities
Versions of relevant libraries:
[pip3] flake8==6.1.0
[pip3] flake8-bugbear==23.3.23
[pip3] flake8-comprehensions==3.15.0
[pip3] flake8-executable==2.1.3
[pip3] flake8-logging-format==0.9.0
[pip3] flake8-pyi==23.3.1
[pip3] flake8-simplify==0.19.3
[pip3] mypy==1.11.2
[pip3] mypy-extensions==1.0.0
[pip3] numpy==1.26.0
[pip3] optree==0.13.0
[pip3] pytorch-triton==3.1.0+cf34004b8a
[pip3] torch==2.6.0a0+git082124a
[conda] mkl-include 2024.2.2 pypi_0 pypi
[conda] mkl-static 2024.2.2 pypi_0 pypi
[conda] numpy 1.26.0 pypi_0 pypi
[conda] numpy-base 1.26.4 py310h8a23956_0
[conda] optree 0.13.0 pypi_0 pypi
[conda] pytorch-triton 3.1.0+cf34004b8a pypi_0 pypi
[conda] torch 2.6.0a0+git082124a dev_0 <develop>
[conda] torchfix 0.4.0 pypi_0 pypi
cc @chauhang @penguinwu @zou3519 @ydwu4 @bdhirsh @yf225 @Chillee @drisspg @yanboliang @BoyuanFeng | triaged,oncall: pt2,module: higher order operators,module: pt2-dispatcher,module: flex attention | low | Critical |
2,741,269,569 | deno | deno fmt: scripts lost indent in html file | deno 2.1.4 (stable, release, x86_64-pc-windows-msvc)
v8 13.0.245.12-rusty
typescript 5.6.2
For some reason it removes the indent of lines > 1 in <script> tags from regular html files
```diff
<script>
rendered.querySelector("p").dispatchEvent(new Event("event"))
- expect(context.value).toBe(0)
- window.dispatchEvent(new Event("event"))
- expect(context.value).toBe(1)
+ expect(context.value).toBe(0)
+ window.dispatchEvent(new Event("event"))
+ expect(context.value).toBe(1)
</script> | deno fmt,needs investigation | low | Minor |
2,741,281,206 | deno | feat: Add local interface/network card selection support for Deno.createHttpClient | Currently, when a machine has multiple network interfaces, Deno.createHttpClient doesn't provide an option to specify which local interface to use for outgoing connections. This feature would be useful for scenarios where specific network routing or interface selection is required.
Note: Since #24153 (Node.js compatibility API) is still unresolved, we cannot implement this feature through Node.js compatibility layer. A native Deno solution is needed.
### Use Case
- Systems with multiple network interfaces (e.g., ethernet and wifi)
- Need to route HTTP requests through specific network interfaces
- Network isolation requirements
- Load balancing across different network interfaces
### Proposed Solution
Add a new option to `Deno.CreateHttpClientOptions`:
```ts
interface CreateHttpClientOptions {
// ... existing options
localInterface?: string | NetworkInterfaceInfo; // Network interface or IP address
}
```
Example usage:
```ts
const client = Deno.createHttpClient({
localInterface: "192.168.1.2"
});
```
### Similar Features in Other Platforms
- Node.js: `localAddress` option in http.request()
- curl: `--interface` option
Would appreciate feedback on this proposal. Thank you! | suggestion | low | Minor |
2,741,286,010 | vscode | False warning regarding unsaved files | ### Applies To
- [x] Notebooks (.ipynb files)
- [ ] Interactive Window and\/or Cell Scripts (.py files with \#%% markers)
### What happened?
VS Code indicating that a file is unsaved when all files are actually saved.
It appear to only happen when Jupyter Notebooks are open.

### VS Code Version
1.96.0
### Jupyter Extension Version
2024.11.0
### Jupyter logs
```shell
N/A
```
### Coding Language and Runtime Version
Python v3.11.9 Jupyterlab v4.3.2 cupyter_core v5.72
### Language Extension Version (if applicable)
Python Extension
### Anaconda Version (if applicable)
24.1.2
### Running Jupyter locally or remotely?
Local | bug,info-needed,notebook-workbench-integration | low | Major |
2,741,302,826 | ollama | Support llama.cpp's Control Vector Functionality | llama.cpp added support for control vectors a while ago https://github.com/ggerganov/llama.cpp/pull/5970
They can be loaded via `llama_control_vector_load` and `llama_control_vector_apply` which can take a vector in the form of a `.gguf`
https://github.com/ollama/ollama/blob/main/llama/common.h#L645
https://github.com/ollama/ollama/blob/main/llama/llama.h#L571
Example of how llama.cpp normally applies them: https://github.com/ollama/ollama/blob/main/llama/common.cpp#L920-L944
The vectors can be trained and exported to `.gguf` via https://github.com/vgel/repeng/
It would be great if we could load control vectors the same way that adapter loras can be loaded currently.
```dockerfile
FROM ./models/mistralai/Mistral-7B-Instruct-v0.1
CONTROLVECTOR ./vectors/my_control_vector.gguf 1.5
```
I think this feature would open a range of model customization which is currently only possible through the more difficult (much much slower and way more memory intensive) adaptor training methods | feature request | low | Major |
2,741,303,390 | go | x/tools/gopls: check CGO_ENABLED when symbol is undefined because of implicit build constraint | ### Proposal Details
CGO docs says the `import "C"` implies the "cgo" build constraint:
> The go tool will set the build constraint "cgo" if cgo is enabled. The special import "C" implies the "cgo" build constraint, as though the file also said "//go:build cgo".
Hence, when the code is arranged as this, the `go` tool reports `./main.go:8:6: undefined: sub.API` for the following project in [txtar format](https://pkg.go.dev/golang.org/x/tools/txtar) when I run `CGO_ENABLED=0 go build`. I want to propose this because when a 3rd library uses `import "C"` in a go file with several package level functions and my local `CGO_ENABLED=0`, the build fails without any useful error hint.
The gopls emits the same error hint when the CGO_ENABLED=0.

I proposed the gopls to check the files with `import "C"` additionally after gopls found an `undefined` error from go tool when `CGO` is disabled. It should give an hint that "undefined: sub.API. CGO is disabled so symbols inside file sub.go are excluded" if we can find the symbol API inside file `sub.go`.
This may apply to the undefined symbols which exist in the certain build contraints under the same package. But I would like to narrow the proposal down to CGO only because CGO build constraint is implicit convention but the others are explicit. Moreover, the `import "C"` affects the other functions inside the same file as build contraint is file level.
```
-- go.mod --
module github.com/xieyuschen/example
go 1.21
-- main.go --
package main
import (
"github.com/xieyuschen/example/sub"
)
func main() {
sub.API()
}
-- sub/sub.go --
package sub
// int fortytwo()
// {
// return 42;
// }
import "C"
func CAPI() {
C.fortytwo()
}
func API() {
C.fortytwo()
}
-- sub/sub2.go --
package sub
// this file is used to make a go file available for package sub
``` | gopls | low | Critical |
2,741,344,738 | flutter | [SwiftPM] Adding 'arm64' to excluded simulator architectures breaks plugins | ### What package does this bug report belong to?
shared_preferences
### What target platforms are you seeing this bug on?
iOS
### Have you already upgraded your packages?
Yes
### Dependency versions
<details><summary>pubspec.lock</summary>
```lock
# Generated by pub
# See https://dart.dev/tools/pub/glossary#lockfile
packages:
_fe_analyzer_shared:
dependency: transitive
description:
name: _fe_analyzer_shared
sha256: "16e298750b6d0af7ce8a3ba7c18c69c3785d11b15ec83f6dcd0ad2a0009b3cab"
url: "https://pub.dev"
source: hosted
version: "76.0.0"
_macros:
dependency: transitive
description: dart
source: sdk
version: "0.3.3"
analyzer:
dependency: transitive
description:
name: analyzer
sha256: "1f14db053a8c23e260789e9b0980fa27f2680dd640932cae5e1137cce0e46e1e"
url: "https://pub.dev"
source: hosted
version: "6.11.0"
args:
dependency: transitive
description:
name: args
sha256: bf9f5caeea8d8fe6721a9c358dd8a5c1947b27f1cfaa18b39c301273594919e6
url: "https://pub.dev"
source: hosted
version: "2.6.0"
async:
dependency: transitive
description:
name: async
sha256: d2872f9c19731c2e5f10444b14686eb7cc85c76274bd6c16e1816bff9a3bab63
url: "https://pub.dev"
source: hosted
version: "2.12.0"
audioplayers:
dependency: "direct main"
description:
name: audioplayers
sha256: c346ba5a39dc208f1bab55fc239855f573d69b0e832402114bf0b793622adc4d
url: "https://pub.dev"
source: hosted
version: "6.1.0"
audioplayers_android:
dependency: transitive
description:
name: audioplayers_android
sha256: de576b890befe27175c2f511ba8b742bec83765fa97c3ce4282bba46212f58e4
url: "https://pub.dev"
source: hosted
version: "5.0.0"
audioplayers_darwin:
dependency: transitive
description:
name: audioplayers_darwin
sha256: e507887f3ff18d8e5a10a668d7bedc28206b12e10b98347797257c6ae1019c3b
url: "https://pub.dev"
source: hosted
version: "6.0.0"
audioplayers_linux:
dependency: transitive
description:
name: audioplayers_linux
sha256: "3d3d244c90436115417f170426ce768856d8fe4dfc5ed66a049d2890acfa82f9"
url: "https://pub.dev"
source: hosted
version: "4.0.0"
audioplayers_platform_interface:
dependency: transitive
description:
name: audioplayers_platform_interface
sha256: "6834dd48dfb7bc6c2404998ebdd161f79cd3774a7e6779e1348d54a3bfdcfaa5"
url: "https://pub.dev"
source: hosted
version: "7.0.0"
audioplayers_web:
dependency: transitive
description:
name: audioplayers_web
sha256: "3609bdf0e05e66a3d9750ee40b1e37f2a622c4edb796cc600b53a90a30a2ace4"
url: "https://pub.dev"
source: hosted
version: "5.0.1"
audioplayers_windows:
dependency: transitive
description:
name: audioplayers_windows
sha256: "8605762dddba992138d476f6a0c3afd9df30ac5b96039929063eceed416795c2"
url: "https://pub.dev"
source: hosted
version: "4.0.0"
boolean_selector:
dependency: transitive
description:
name: boolean_selector
sha256: "8aab1771e1243a5063b8b0ff68042d67334e3feab9e95b9490f9a6ebf73b42ea"
url: "https://pub.dev"
source: hosted
version: "2.1.2"
build:
dependency: transitive
description:
name: build
sha256: "80184af8b6cb3e5c1c4ec6d8544d27711700bc3e6d2efad04238c7b5290889f0"
url: "https://pub.dev"
source: hosted
version: "2.4.1"
build_config:
dependency: transitive
description:
name: build_config
sha256: bf80fcfb46a29945b423bd9aad884590fb1dc69b330a4d4700cac476af1708d1
url: "https://pub.dev"
source: hosted
version: "1.1.1"
build_daemon:
dependency: transitive
description:
name: build_daemon
sha256: "79b2aef6ac2ed00046867ed354c88778c9c0f029df8a20fe10b5436826721ef9"
url: "https://pub.dev"
source: hosted
version: "4.0.2"
build_resolvers:
dependency: transitive
description:
name: build_resolvers
sha256: "339086358431fa15d7eca8b6a36e5d783728cf025e559b834f4609a1fcfb7b0a"
url: "https://pub.dev"
source: hosted
version: "2.4.2"
build_runner:
dependency: "direct dev"
description:
name: build_runner
sha256: "028819cfb90051c6b5440c7e574d1896f8037e3c96cf17aaeb054c9311cfbf4d"
url: "https://pub.dev"
source: hosted
version: "2.4.13"
build_runner_core:
dependency: transitive
description:
name: build_runner_core
sha256: f8126682b87a7282a339b871298cc12009cb67109cfa1614d6436fb0289193e0
url: "https://pub.dev"
source: hosted
version: "7.3.2"
built_collection:
dependency: transitive
description:
name: built_collection
sha256: "376e3dd27b51ea877c28d525560790aee2e6fbb5f20e2f85d5081027d94e2100"
url: "https://pub.dev"
source: hosted
version: "5.1.1"
built_value:
dependency: transitive
description:
name: built_value
sha256: c7913a9737ee4007efedaffc968c049fd0f3d0e49109e778edc10de9426005cb
url: "https://pub.dev"
source: hosted
version: "8.9.2"
characters:
dependency: transitive
description:
name: characters
sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605"
url: "https://pub.dev"
source: hosted
version: "1.3.0"
checked_yaml:
dependency: transitive
description:
name: checked_yaml
sha256: feb6bed21949061731a7a75fc5d2aa727cf160b91af9a3e464c5e3a32e28b5ff
url: "https://pub.dev"
source: hosted
version: "2.0.3"
clock:
dependency: transitive
description:
name: clock
sha256: fddb70d9b5277016c77a80201021d40a2247104d9f4aa7bab7157b7e3f05b84b
url: "https://pub.dev"
source: hosted
version: "1.1.2"
code_builder:
dependency: transitive
description:
name: code_builder
sha256: "0ec10bf4a89e4c613960bf1e8b42c64127021740fb21640c29c909826a5eea3e"
url: "https://pub.dev"
source: hosted
version: "4.10.1"
collection:
dependency: transitive
description:
name: collection
sha256: a1ace0a119f20aabc852d165077c036cd864315bd99b7eaa10a60100341941bf
url: "https://pub.dev"
source: hosted
version: "1.19.0"
convert:
dependency: transitive
description:
name: convert
sha256: b30acd5944035672bc15c6b7a8b47d773e41e2f17de064350988c5d02adb1c68
url: "https://pub.dev"
source: hosted
version: "3.1.2"
crypto:
dependency: transitive
description:
name: crypto
sha256: "1e445881f28f22d6140f181e07737b22f1e099a5e1ff94b0af2f9e4a463f4855"
url: "https://pub.dev"
source: hosted
version: "3.0.6"
dart_style:
dependency: transitive
description:
name: dart_style
sha256: "7856d364b589d1f08986e140938578ed36ed948581fbc3bc9aef1805039ac5ab"
url: "https://pub.dev"
source: hosted
version: "2.3.7"
dio:
dependency: "direct main"
description:
name: dio
sha256: "5598aa796bbf4699afd5c67c0f5f6e2ed542afc956884b9cd58c306966efc260"
url: "https://pub.dev"
source: hosted
version: "5.7.0"
dio_web_adapter:
dependency: transitive
description:
name: dio_web_adapter
sha256: "33259a9276d6cea88774a0000cfae0d861003497755969c92faa223108620dc8"
url: "https://pub.dev"
source: hosted
version: "2.0.0"
ffi:
dependency: transitive
description:
name: ffi
sha256: "16ed7b077ef01ad6170a3d0c57caa4a112a38d7a2ed5602e0aca9ca6f3d98da6"
url: "https://pub.dev"
source: hosted
version: "2.1.3"
file:
dependency: transitive
description:
name: file
sha256: a3b4f84adafef897088c160faf7dfffb7696046cb13ae90b508c2cbc95d3b8d4
url: "https://pub.dev"
source: hosted
version: "7.0.1"
fixnum:
dependency: transitive
description:
name: fixnum
sha256: b6dc7065e46c974bc7c5f143080a6764ec7a4be6da1285ececdc37be96de53be
url: "https://pub.dev"
source: hosted
version: "1.1.1"
flutter:
dependency: "direct main"
description: flutter
source: sdk
version: "0.0.0"
flutter_lints:
dependency: "direct dev"
description:
name: flutter_lints
sha256: "5398f14efa795ffb7a33e9b6a08798b26a180edac4ad7db3f231e40f82ce11e1"
url: "https://pub.dev"
source: hosted
version: "5.0.0"
flutter_spinkit:
dependency: "direct main"
description:
name: flutter_spinkit
sha256: d2696eed13732831414595b98863260e33e8882fc069ee80ec35d4ac9ddb0472
url: "https://pub.dev"
source: hosted
version: "5.2.1"
flutter_svg:
dependency: "direct main"
description:
name: flutter_svg
sha256: "54900a1a1243f3c4a5506d853a2b5c2dbc38d5f27e52a52618a8054401431123"
url: "https://pub.dev"
source: hosted
version: "2.0.16"
flutter_web_plugins:
dependency: transitive
description: flutter
source: sdk
version: "0.0.0"
fluttertoast:
dependency: "direct main"
description:
name: fluttertoast
sha256: "24467dc20bbe49fd63e57d8e190798c4d22cbbdac30e54209d153a15273721d1"
url: "https://pub.dev"
source: hosted
version: "8.2.10"
frontend_server_client:
dependency: transitive
description:
name: frontend_server_client
sha256: f64a0333a82f30b0cca061bc3d143813a486dc086b574bfb233b7c1372427694
url: "https://pub.dev"
source: hosted
version: "4.0.0"
glob:
dependency: transitive
description:
name: glob
sha256: "0e7014b3b7d4dac1ca4d6114f82bf1782ee86745b9b42a92c9289c23d8a0ab63"
url: "https://pub.dev"
source: hosted
version: "2.1.2"
graphs:
dependency: transitive
description:
name: graphs
sha256: "741bbf84165310a68ff28fe9e727332eef1407342fca52759cb21ad8177bb8d0"
url: "https://pub.dev"
source: hosted
version: "2.3.2"
http:
dependency: transitive
description:
name: http
sha256: b9c29a161230ee03d3ccf545097fccd9b87a5264228c5d348202e0f0c28f9010
url: "https://pub.dev"
source: hosted
version: "1.2.2"
http_multi_server:
dependency: transitive
description:
name: http_multi_server
sha256: "97486f20f9c2f7be8f514851703d0119c3596d14ea63227af6f7a481ef2b2f8b"
url: "https://pub.dev"
source: hosted
version: "3.2.1"
http_parser:
dependency: transitive
description:
name: http_parser
sha256: "76d306a1c3afb33fe82e2bbacad62a61f409b5634c915fceb0d799de1a913360"
url: "https://pub.dev"
source: hosted
version: "4.1.1"
intl:
dependency: "direct main"
description:
name: intl
sha256: "00f33b908655e606b86d2ade4710a231b802eec6f11e87e4ea3783fd72077a50"
url: "https://pub.dev"
source: hosted
version: "0.20.1"
io:
dependency: transitive
description:
name: io
sha256: dfd5a80599cf0165756e3181807ed3e77daf6dd4137caaad72d0b7931597650b
url: "https://pub.dev"
source: hosted
version: "1.0.5"
js:
dependency: transitive
description:
name: js
sha256: c1b2e9b5ea78c45e1a0788d29606ba27dc5f71f019f32ca5140f61ef071838cf
url: "https://pub.dev"
source: hosted
version: "0.7.1"
json_annotation:
dependency: "direct main"
description:
name: json_annotation
sha256: "1ce844379ca14835a50d2f019a3099f419082cfdd231cd86a142af94dd5c6bb1"
url: "https://pub.dev"
source: hosted
version: "4.9.0"
json_serializable:
dependency: "direct dev"
description:
name: json_serializable
sha256: c2fcb3920cf2b6ae6845954186420fca40bc0a8abcc84903b7801f17d7050d7c
url: "https://pub.dev"
source: hosted
version: "6.9.0"
lints:
dependency: transitive
description:
name: lints
sha256: "4a16b3f03741e1252fda5de3ce712666d010ba2122f8e912c94f9f7b90e1a4c3"
url: "https://pub.dev"
source: hosted
version: "5.1.0"
logging:
dependency: transitive
description:
name: logging
sha256: c8245ada5f1717ed44271ed1c26b8ce85ca3228fd2ffdb75468ab01979309d61
url: "https://pub.dev"
source: hosted
version: "1.3.0"
macros:
dependency: transitive
description:
name: macros
sha256: "1d9e801cd66f7ea3663c45fc708450db1fa57f988142c64289142c9b7ee80656"
url: "https://pub.dev"
source: hosted
version: "0.1.3-main.0"
matcher:
dependency: transitive
description:
name: matcher
sha256: dc58c723c3c24bf8d3e2d3ad3f2f9d7bd9cf43ec6feaa64181775e60190153f2
url: "https://pub.dev"
source: hosted
version: "0.12.17"
material_color_utilities:
dependency: transitive
description:
name: material_color_utilities
sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec
url: "https://pub.dev"
source: hosted
version: "0.11.1"
meta:
dependency: transitive
description:
name: meta
sha256: bdb68674043280c3428e9ec998512fb681678676b3c54e773629ffe74419f8c7
url: "https://pub.dev"
source: hosted
version: "1.15.0"
mime:
dependency: transitive
description:
name: mime
sha256: "41a20518f0cb1256669420fdba0cd90d21561e560ac240f26ef8322e45bb7ed6"
url: "https://pub.dev"
source: hosted
version: "2.0.0"
mobile_scanner:
dependency: "direct main"
description:
name: mobile_scanner
sha256: "728828a798d1a2ee506beb652ca23d974c542c96ed03dcbd5eaf97bef96cdaad"
url: "https://pub.dev"
source: hosted
version: "6.0.2"
package_config:
dependency: transitive
description:
name: package_config
sha256: "92d4488434b520a62570293fbd33bb556c7d49230791c1b4bbd973baf6d2dc67"
url: "https://pub.dev"
source: hosted
version: "2.1.1"
package_info_plus:
dependency: "direct main"
description:
name: package_info_plus
sha256: "70c421fe9d9cc1a9a7f3b05ae56befd469fe4f8daa3b484823141a55442d858d"
url: "https://pub.dev"
source: hosted
version: "8.1.2"
package_info_plus_platform_interface:
dependency: transitive
description:
name: package_info_plus_platform_interface
sha256: a5ef9986efc7bf772f2696183a3992615baa76c1ffb1189318dd8803778fb05b
url: "https://pub.dev"
source: hosted
version: "3.0.2"
path:
dependency: transitive
description:
name: path
sha256: "75cca69d1490965be98c73ceaea117e8a04dd21217b37b292c9ddbec0d955bc5"
url: "https://pub.dev"
source: hosted
version: "1.9.1"
path_parsing:
dependency: transitive
description:
name: path_parsing
sha256: "883402936929eac138ee0a45da5b0f2c80f89913e6dc3bf77eb65b84b409c6ca"
url: "https://pub.dev"
source: hosted
version: "1.1.0"
path_provider:
dependency: transitive
description:
name: path_provider
sha256: "50c5dd5b6e1aaf6fb3a78b33f6aa3afca52bf903a8a5298f53101fdaee55bbcd"
url: "https://pub.dev"
source: hosted
version: "2.1.5"
path_provider_android:
dependency: transitive
description:
name: path_provider_android
sha256: "4adf4fd5423ec60a29506c76581bc05854c55e3a0b72d35bb28d661c9686edf2"
url: "https://pub.dev"
source: hosted
version: "2.2.15"
path_provider_foundation:
dependency: transitive
description:
name: path_provider_foundation
sha256: "4843174df4d288f5e29185bd6e72a6fbdf5a4a4602717eed565497429f179942"
url: "https://pub.dev"
source: hosted
version: "2.4.1"
path_provider_linux:
dependency: transitive
description:
name: path_provider_linux
sha256: f7a1fe3a634fe7734c8d3f2766ad746ae2a2884abe22e241a8b301bf5cac3279
url: "https://pub.dev"
source: hosted
version: "2.2.1"
path_provider_platform_interface:
dependency: transitive
description:
name: path_provider_platform_interface
sha256: "88f5779f72ba699763fa3a3b06aa4bf6de76c8e5de842cf6f29e2e06476c2334"
url: "https://pub.dev"
source: hosted
version: "2.1.2"
path_provider_windows:
dependency: transitive
description:
name: path_provider_windows
sha256: bd6f00dbd873bfb70d0761682da2b3a2c2fccc2b9e84c495821639601d81afe7
url: "https://pub.dev"
source: hosted
version: "2.3.0"
petitparser:
dependency: transitive
description:
name: petitparser
sha256: c15605cd28af66339f8eb6fbe0e541bfe2d1b72d5825efc6598f3e0a31b9ad27
url: "https://pub.dev"
source: hosted
version: "6.0.2"
platform:
dependency: transitive
description:
name: platform
sha256: "5d6b1b0036a5f331ebc77c850ebc8506cbc1e9416c27e59b439f917a902a4984"
url: "https://pub.dev"
source: hosted
version: "3.1.6"
plugin_platform_interface:
dependency: transitive
description:
name: plugin_platform_interface
sha256: "4820fbfdb9478b1ebae27888254d445073732dae3d6ea81f0b7e06d5dedc3f02"
url: "https://pub.dev"
source: hosted
version: "2.1.8"
pool:
dependency: transitive
description:
name: pool
sha256: "20fe868b6314b322ea036ba325e6fc0711a22948856475e2c2b6306e8ab39c2a"
url: "https://pub.dev"
source: hosted
version: "1.5.1"
pub_semver:
dependency: transitive
description:
name: pub_semver
sha256: "7b3cfbf654f3edd0c6298ecd5be782ce997ddf0e00531b9464b55245185bbbbd"
url: "https://pub.dev"
source: hosted
version: "2.1.5"
pubspec_parse:
dependency: transitive
description:
name: pubspec_parse
sha256: c799b721d79eb6ee6fa56f00c04b472dcd44a30d258fac2174a6ec57302678f8
url: "https://pub.dev"
source: hosted
version: "1.3.0"
shared_preferences:
dependency: "direct main"
description:
name: shared_preferences
sha256: "95f9997ca1fb9799d494d0cb2a780fd7be075818d59f00c43832ed112b158a82"
url: "https://pub.dev"
source: hosted
version: "2.3.3"
shared_preferences_android:
dependency: transitive
description:
name: shared_preferences_android
sha256: "02a7d8a9ef346c9af715811b01fbd8e27845ad2c41148eefd31321471b41863d"
url: "https://pub.dev"
source: hosted
version: "2.4.0"
shared_preferences_foundation:
dependency: transitive
description:
name: shared_preferences_foundation
sha256: "6a52cfcdaeac77cad8c97b539ff688ccfc458c007b4db12be584fbe5c0e49e03"
url: "https://pub.dev"
source: hosted
version: "2.5.4"
shared_preferences_linux:
dependency: transitive
description:
name: shared_preferences_linux
sha256: "580abfd40f415611503cae30adf626e6656dfb2f0cee8f465ece7b6defb40f2f"
url: "https://pub.dev"
source: hosted
version: "2.4.1"
shared_preferences_platform_interface:
dependency: transitive
description:
name: shared_preferences_platform_interface
sha256: "57cbf196c486bc2cf1f02b85784932c6094376284b3ad5779d1b1c6c6a816b80"
url: "https://pub.dev"
source: hosted
version: "2.4.1"
shared_preferences_web:
dependency: transitive
description:
name: shared_preferences_web
sha256: d2ca4132d3946fec2184261726b355836a82c33d7d5b67af32692aff18a4684e
url: "https://pub.dev"
source: hosted
version: "2.4.2"
shared_preferences_windows:
dependency: transitive
description:
name: shared_preferences_windows
sha256: "94ef0f72b2d71bc3e700e025db3710911bd51a71cefb65cc609dd0d9a982e3c1"
url: "https://pub.dev"
source: hosted
version: "2.4.1"
shelf:
dependency: transitive
description:
name: shelf
sha256: e7dd780a7ffb623c57850b33f43309312fc863fb6aa3d276a754bb299839ef12
url: "https://pub.dev"
source: hosted
version: "1.4.2"
shelf_web_socket:
dependency: transitive
description:
name: shelf_web_socket
sha256: cc36c297b52866d203dbf9332263c94becc2fe0ceaa9681d07b6ef9807023b67
url: "https://pub.dev"
source: hosted
version: "2.0.1"
sky_engine:
dependency: transitive
description: flutter
source: sdk
version: "0.0.0"
source_gen:
dependency: transitive
description:
name: source_gen
sha256: "14658ba5f669685cd3d63701d01b31ea748310f7ab854e471962670abcf57832"
url: "https://pub.dev"
source: hosted
version: "1.5.0"
source_helper:
dependency: transitive
description:
name: source_helper
sha256: "6adebc0006c37dd63fe05bca0a929b99f06402fc95aa35bf36d67f5c06de01fd"
url: "https://pub.dev"
source: hosted
version: "1.3.4"
source_span:
dependency: transitive
description:
name: source_span
sha256: "254ee5351d6cb365c859e20ee823c3bb479bf4a293c22d17a9f1bf144ce86f7c"
url: "https://pub.dev"
source: hosted
version: "1.10.1"
sprintf:
dependency: transitive
description:
name: sprintf
sha256: "1fc9ffe69d4df602376b52949af107d8f5703b77cda567c4d7d86a0693120f23"
url: "https://pub.dev"
source: hosted
version: "7.0.0"
stack_trace:
dependency: transitive
description:
name: stack_trace
sha256: "9f47fd3630d76be3ab26f0ee06d213679aa425996925ff3feffdec504931c377"
url: "https://pub.dev"
source: hosted
version: "1.12.0"
stream_channel:
dependency: transitive
description:
name: stream_channel
sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7
url: "https://pub.dev"
source: hosted
version: "2.1.2"
stream_transform:
dependency: transitive
description:
name: stream_transform
sha256: "14a00e794c7c11aa145a170587321aedce29769c08d7f58b1d141da75e3b1c6f"
url: "https://pub.dev"
source: hosted
version: "2.1.0"
string_scanner:
dependency: transitive
description:
name: string_scanner
sha256: "0bd04f5bb74fcd6ff0606a888a30e917af9bd52820b178eaa464beb11dca84b6"
url: "https://pub.dev"
source: hosted
version: "1.4.0"
synchronized:
dependency: transitive
description:
name: synchronized
sha256: "69fe30f3a8b04a0be0c15ae6490fc859a78ef4c43ae2dd5e8a623d45bfcf9225"
url: "https://pub.dev"
source: hosted
version: "3.3.0+3"
term_glyph:
dependency: transitive
description:
name: term_glyph
sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84
url: "https://pub.dev"
source: hosted
version: "1.2.1"
test_api:
dependency: transitive
description:
name: test_api
sha256: fb31f383e2ee25fbbfe06b40fe21e1e458d14080e3c67e7ba0acfde4df4e0bbd
url: "https://pub.dev"
source: hosted
version: "0.7.4"
timing:
dependency: transitive
description:
name: timing
sha256: "62ee18aca144e4a9f29d212f5a4c6a053be252b895ab14b5821996cff4ed90fe"
url: "https://pub.dev"
source: hosted
version: "1.0.2"
typed_data:
dependency: transitive
description:
name: typed_data
sha256: f9049c039ebfeb4cf7a7104a675823cd72dba8297f264b6637062516699fa006
url: "https://pub.dev"
source: hosted
version: "1.4.0"
uuid:
dependency: transitive
description:
name: uuid
sha256: a5be9ef6618a7ac1e964353ef476418026db906c4facdedaa299b7a2e71690ff
url: "https://pub.dev"
source: hosted
version: "4.5.1"
vector_graphics:
dependency: transitive
description:
name: vector_graphics
sha256: "27d5fefe86fb9aace4a9f8375b56b3c292b64d8c04510df230f849850d912cb7"
url: "https://pub.dev"
source: hosted
version: "1.1.15"
vector_graphics_codec:
dependency: transitive
description:
name: vector_graphics_codec
sha256: "2430b973a4ca3c4dbc9999b62b8c719a160100dcbae5c819bae0cacce32c9cdb"
url: "https://pub.dev"
source: hosted
version: "1.1.12"
vector_graphics_compiler:
dependency: transitive
description:
name: vector_graphics_compiler
sha256: "1b4b9e706a10294258727674a340ae0d6e64a7231980f9f9a3d12e4b42407aad"
url: "https://pub.dev"
source: hosted
version: "1.1.16"
vector_math:
dependency: transitive
description:
name: vector_math
sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803"
url: "https://pub.dev"
source: hosted
version: "2.1.4"
watcher:
dependency: transitive
description:
name: watcher
sha256: "3d2ad6751b3c16cf07c7fca317a1413b3f26530319181b37e3b9039b84fc01d8"
url: "https://pub.dev"
source: hosted
version: "1.1.0"
web:
dependency: transitive
description:
name: web
sha256: cd3543bd5798f6ad290ea73d210f423502e71900302dde696f8bff84bf89a1cb
url: "https://pub.dev"
source: hosted
version: "1.1.0"
web_socket:
dependency: transitive
description:
name: web_socket
sha256: "3c12d96c0c9a4eec095246debcea7b86c0324f22df69893d538fcc6f1b8cce83"
url: "https://pub.dev"
source: hosted
version: "0.1.6"
web_socket_channel:
dependency: transitive
description:
name: web_socket_channel
sha256: "9f187088ed104edd8662ca07af4b124465893caf063ba29758f97af57e61da8f"
url: "https://pub.dev"
source: hosted
version: "3.0.1"
webview_flutter:
dependency: "direct main"
description:
name: webview_flutter
sha256: "889a0a678e7c793c308c68739996227c9661590605e70b1f6cf6b9a6634f7aec"
url: "https://pub.dev"
source: hosted
version: "4.10.0"
webview_flutter_android:
dependency: transitive
description:
name: webview_flutter_android
sha256: "3d535126f7244871542b2f0b0fcf94629c9a14883250461f9abe1a6644c1c379"
url: "https://pub.dev"
source: hosted
version: "4.2.0"
webview_flutter_platform_interface:
dependency: transitive
description:
name: webview_flutter_platform_interface
sha256: d937581d6e558908d7ae3dc1989c4f87b786891ab47bb9df7de548a151779d8d
url: "https://pub.dev"
source: hosted
version: "2.10.0"
webview_flutter_wkwebview:
dependency: transitive
description:
name: webview_flutter_wkwebview
sha256: b7e92f129482460951d96ef9a46b49db34bd2e1621685de26e9eaafd9674e7eb
url: "https://pub.dev"
source: hosted
version: "3.16.3"
win32:
dependency: transitive
description:
name: win32
sha256: "8b338d4486ab3fbc0ba0db9f9b4f5239b6697fcee427939a40e720cbb9ee0a69"
url: "https://pub.dev"
source: hosted
version: "5.9.0"
xdg_directories:
dependency: transitive
description:
name: xdg_directories
sha256: "7a3f37b05d989967cdddcbb571f1ea834867ae2faa29725fd085180e0883aa15"
url: "https://pub.dev"
source: hosted
version: "1.1.0"
xml:
dependency: transitive
description:
name: xml
sha256: b015a8ad1c488f66851d762d3090a21c600e479dc75e68328c52774040cf9226
url: "https://pub.dev"
source: hosted
version: "6.5.0"
yaml:
dependency: transitive
description:
name: yaml
sha256: "75769501ea3489fca56601ff33454fe45507ea3bfb014161abc3b43ae25989d5"
url: "https://pub.dev"
source: hosted
version: "3.1.2"
sdks:
dart: ">=3.6.0 <4.0.0"
flutter: ">=3.24.0"
```
</details>
### Steps to reproduce
- I updated my old project to the new version by deleting all files from the folder (version controlled)
- Creating a new Flutter project to get the latest files
- Adding back the files that are needed and keeping the latest changes
- This added the Swift Package Manager Support
- Updated Pods and Run the ProjectFlutter
### Expected results
The app should run as previously with no issues.
### Actual results
I got the build error while running.
### Code sample
<details open><summary>Code sample</summary>
```dart
// None
```
</details>
### Screenshots or Videos
_No response_
### Logs
<details open><summary>Logs</summary>
```console
Launching lib/main.dart on iPhone 16 Pro Max in debug mode...
Running Xcode build...
Xcode build done. 54.5s
Failed to build iOS app
User-Defined Issue (Xcode): Unsupported Swift architecture
/Users/os/Library/Developer/Xcode/DerivedData/Runner-dkqxneyptkjuwzekxtzwxtcvfgqt/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/shared_preferences_foundation-Swift.h:331:1
Could not build the application for the simulator.
Error launching application on iPhone 16 Pro Max.
```
</details>
### Flutter Doctor output
<details open><summary>Doctor output</summary>
```console
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.27.0, on macOS 15.2 24C101 darwin-arm64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 16.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.2)
[✓] VS Code (version 1.96.0)
[✓] Connected device (4 available)
[✓] Network resources
• No issues found!
```
</details>
| platform-ios,tool,has reproducible steps,P2,a: plugins,team-ios,triaged-ios,found in release: 3.27,found in release: 3.28 | low | Critical |
2,741,421,664 | godot | Using constant Typed Dictionary in _export_file in EditorExportPlugin crashes the engine | ### Tested versions
Does not work in 4.4-dev4, 4.4-dev6
### System information
Godot v4.4.dev6 - Windows 10.0.19045 - Single-window, 1 monitor - OpenGL 3 (Compatibility) - NVIDIA GeForce RTX 4050 Laptop GPU (NVIDIA; 32.0.15.6070) - 13th Gen Intel(R) Core(TM) i5-13500HX (20 threads)
### Issue description
Crashes
```gdscript
func _export_file(path: String, type: String, features: PackedStringArray) -> void:
const EXCLUDED_DIRECTORIES: Dictionary[String, PackedStringArray] = {
"testt": [
"res://testfolder",
]
}
for feature: String in features:
if EXCLUDED_DIRECTORIES.has(feature):
for directory: String in EXCLUDED_DIRECTORIES[feature]:
print(path)
# Skip files inside of this directory
if path.begins_with(directory): skip()
```
Does not crash (same as above but var instead of const)
```gdscript
func _export_file(path: String, type: String, features: PackedStringArray) -> void:
var EXCLUDED_DIRECTORIES: Dictionary[String, PackedStringArray] = {
"testt": [
"res://testfolder",
]
}
for feature: String in features:
if EXCLUDED_DIRECTORIES.has(feature):
for directory: String in EXCLUDED_DIRECTORIES[feature]:
print(path)
# Skip files inside of this directory
if path.begins_with(directory): skip()
```
Does not crash
```gdscript
func _export_file(path: String, type: String, features: PackedStringArray) -> void:
const EXCLUDED_DIRECTORIES: Dictionary = {
"testt": [
"res://testfolder",
]
}
for feature: String in features:
if EXCLUDED_DIRECTORIES.has(feature):
for directory: String in EXCLUDED_DIRECTORIES[feature]:
print(path)
# Skip files inside of this directory
if path.begins_with(directory): skip()
```
### Steps to reproduce
Use a Typed dictionary marked with `const` instead of `var` in _export_file of an EditorExportPlugin, then export the project
### Minimal reproduction project (MRP)
[New Compressed (zipped) Folder.zip](https://github.com/user-attachments/files/18145537/New.Compressed.zipped.Folder.zip)
| bug,topic:gdscript,crash,topic:export | low | Critical |
2,741,479,703 | next.js | Non-ASCII characters in the slug may cause navigation and routing to break | ### Link to the code that reproduces this issue
https://github.com/joulev/debug/tree/nextjs-with-non-ascii-chars
### To Reproduce
Simply start the application in either dev mode or prod mode or on Vercel. Vercel prod mode deployment of the reproduction repo above is already available on https://debug-git-nextjs-with-non-ascii-chars-joulev-proj.vercel.app.
### Current vs. Expected behavior
**Current behaviour**
| | Server `redirect` | Client `router.push` | `next/link` |
|---|---|---|---|
| Local `next dev` | ❌ Error | ❌ 404 | ❌ 404 |
| Local `next start` | ❌ Error | ❌ 404 | ❌ 404 |
| Vercel | ❌ Error | ✅ | ✅ |
**Expected behaviour:** All 9 cases above should work.
### Provide environment information
```bash
Operating System:
Platform: darwin
Arch: arm64
Version: Darwin Kernel Version 24.2.0: Fri Dec 6 18:51:28 PST 2024; root:xnu-11215.61.5~2/RELEASE_ARM64_T8112
Available memory (MB): 16384
Available CPU cores: 8
Binaries:
Node: 22.12.0
npm: 10.9.0
Yarn: N/A
pnpm: 9.15.0
Relevant Packages:
next: 15.1.0 // Latest available version is detected (15.1.0).
eslint-config-next: N/A
react: 19.0.0
react-dom: 19.0.0
typescript: 5.7.2
Next.js Config:
output: N/A
```
### Which area(s) are affected? (Select all that apply)
Navigation
### Which stage(s) are affected? (Select all that apply)
next dev (local), next start (local), Vercel (Deployed)
### Additional context
_No response_ | Navigation | low | Critical |
2,741,549,903 | tensorflow | `tensorflow.experimental.numpy.kron` not working with multidimensional Arrays | ### Issue type
Bug
### Have you reproduced the bug with TensorFlow Nightly?
Yes
### Source
binary
### TensorFlow version
2.18.0
### Custom code
Yes
### OS platform and distribution
Linux Ubuntu
### Mobile device
_No response_
### Python version
3.10.10
### Bazel version
_No response_
### GCC/compiler version
_No response_
### CUDA/cuDNN version
_No response_
### GPU model and memory
_No response_
### Current behavior?
This is a new issue in replacement for https://github.com/tensorflow/tensorflow/issues/59761 as suggested by @tilakrayal
I tested the function against numpy and it throws an error when the `ndim` of the input tensors is greater than 2.
I run the code on the latest TensorFlow version on PyPI and the nightly version, and I get the same failures.
Also, I am not getting as much debug information only this error
`UnimplementedError: {{function_node __wrapped__Mul_device_/job:localhost/replica:0/task:0/device:CPU:0}} Broadcast between [2,1,5,1,2,1,5,1] and [1,1,1,2,1,3,1,4] is not supported yet. [Op:Mul] name: `
### Standalone code to reproduce the issue
```shell
import tensorflow as tf
import numpy as np
try:
a = tf.constant(np.arange(100).reshape(2, 5, 2, 5))
b = tf.constant(np.arange(24).reshape(2, 3, 4))
print(a.ndim) # 4
print(b.ndim) # 3
y = tf.experimental.numpy.kron(a, b)
print(y.shape)
except:
print("Can't use tf.experimental.numpy.kron on multi-dimensional arrays")
x = np.arange(100).reshape(2, 5, 2, 5)
y = np.arange(24).reshape(2, 3, 4)
print(x.ndim) # 4
print(y.ndim) # 3
z = np.kron(x, y)
print(z.shape) # (2, 10, 6, 20)
```
### Relevant log output
```shell
UnimplementedError: {{function_node __wrapped__Mul_device_/job:localhost/replica:0/task:0/device:CPU:0}} Broadcast between [2,1,5,1,2,1,5,1] and [1,1,1,2,1,3,1,4] is not supported yet. [Op:Mul] name:
```
| stat:awaiting tensorflower,type:bug,comp:ops,TF 2.18 | low | Critical |
2,741,564,876 | rust | aarch64-unknown-none-softfloat: ABI unsoundness when enabling "neon" feature | Enabling the "neon" target feature on the aarch64-unknown-none-softfloat target is taken by LLVM as a sign that we want to use the hardfloat ABI. That is unfortunate as it makes it UB to link such code against code built for aarch64-unknown-none-softfloat without the "neon" target feature. (Note that it's not "neon" which is problematic but "fp-armv8"; however, the two are tied together by rustc.)
For Rust-generated functions we work around this by forcing our own ABI, passing floats either indirectly or via integer registers (https://github.com/rust-lang/rust/pull/133102). However, this does not help for LLVM-generated calls for builtins/intrinsics, as shown in [this example](https://godbolt.org/z/r56xWo8nT) by @beetrees.
We don't have target maintainers listed for this target, so maybe that means we can just demote it to tier 3? (See https://github.com/rust-lang/rust/issues/113739)
LLVM issue: https://github.com/llvm/llvm-project/issues/110632. So far LLVM maintainers seem to not agree that there is a problem here.
@Amanieu unfortunately your proposal for making floats work on that target doesn't quite suffice. :/ We do need some help from LLVM.
@nikic do you have any good ideas for what we could do here? It seems like rejecting enabling "neon" on aarch64-unknown-none-softfloat is the only sound option we have right now, but I worry that may make the Rust-for-Linux folks (among others) unhappy. | A-LLVM,T-compiler,I-unsound,I-prioritize,O-AArch64,A-ABI,A-target-feature | medium | Critical |
2,741,571,171 | neovim | `selection=exclusive` can't select empty region | ### Problem
https://github.com/user-attachments/assets/d2cd0b8b-51fe-4844-9cb8-56c49129463d
### Steps to reproduce
1. prepare files:
`a.txt`
```
(a)
```
`minimal.lua`
```
vim.opt.selection = "exclusive"
```
2. `./nvim.appimage --clean -u minimal.lua a.txt`
3. move cursor on `a`
4. press `vd`
### Expected behavior
delete nothing
### Nvim version (nvim -v)
NVIM v0.11.0-dev-1344+g17383870dd
### Vim (not Nvim) behaves the same?
yes
### Operating system/version
6.12.4-arch1-1
### Terminal name/version
st 0.8.5
### $TERM environment variable
st-256color
### Installation
appimage | needs:vim-patch | low | Minor |
2,741,579,827 | node | The desiredSize of `Writable.toWeb()` is incorrect | ### Version
v22.12.0
### Platform
_No response_
### Subsystem
_No response_
### What steps will reproduce the bug?
```ts
import { Writable } from "node:stream";
const nodeWriteable = new Writable({
write(chunk, encoding, callback) {
// pending
},
highWaterMark: 5,
objectMode: false,
});
const webWritable = Writable.toWeb(nodeWriteable);
const writer = webWritable.getWriter();
writer.write(new Uint8Array(3));
console.log(nodeWriteable.writableLength, writer.desiredSize); // expect 3,2 actual 0,4
let promise = writer.write(new Uint8Array(3));
console.log(nodeWriteable.writableLength, writer.desiredSize); // expect 6, -1, actual 0,3
```
### How often does it reproduce? Is there a required condition?
always
### What is the expected behavior? Why is that the expected behavior?
I think `writer.desiredSize` should be equal to `highWaterMark - odeWriteable.writableLength`
Otherwise, after the Writable.toWeb() conversion, the buffer queue for the writable stream is expanded
### What do you see instead?
none
### Additional information
_No response_ | web streams | low | Critical |
2,741,606,601 | transformers | Custom 4D tensor caused shape mismatch error | ### System Info
- `transformers` version: 4.46.3
- Platform: Linux-5.4.0-153-generic-x86_64-with-glibc2.35
- Python version: 3.10.15
- Huggingface_hub version: 0.26.3
- Safetensors version: 0.4.5
- Accelerate version: 1.1.1
- Accelerate config: not found
- PyTorch version (GPU?): 2.4.0+cu121 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- JaxLib version: not installed
- Using distributed or parallel set-up in script?: <fill in>
- Using GPU in script?: <fill in>
- GPU type: NVIDIA A800-SXM4-80GB
### Who can help?
@ArthurZucker
Can you take a look at this? I want to pack the samples using the custom attention mask. However, when using a mask of shape [1, 1, seq_len, seq_len], it raises the following error
```
File "/data/miniconda3/envs/vllm/lib/python3.10/site-packages/transformers/modeling_attn_mask_utils.py", line 139, in to_4d
expanded_attn_mask = causal_4d_mask.masked_fill(expanded_attn_mask.bool(), torch.finfo(dtype).min)
RuntimeError: The size of tensor a (324) must match the size of tensor b (18) at non-singleton dimension 3
```
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)
### Reproduction
```python
import torch
import argparse
from contextlib import nullcontext
from transformers import AutoModelForCausalLM, AutoTokenizer
def parse_args():
parser = argparse.ArgumentParser()
parser.add_argument("--model_path", type=str, default="gpt2")
parser.add_argument("--tokenizer_path", type=str, default="gpt2")
parser.add_argument("--use-flash-attn", action="store_true")
parser.add_argument("--no-grad", action="store_true")
args = parser.parse_args()
return args
def prepare_data(tokenizer, packing: bool, device: torch.device):
texts = [
"Hello, how are you?",
"When is the next holiday?",
"China is a great country.",
]
encoded = tokenizer(texts)
# Convert to tensor
if packing:
res = torch.zeros((1, sum(len(x) for x in encoded["input_ids"])), dtype=torch.long)
attention_mask = torch.full((1, 1, res.size(1), res.size(1)), dtype=torch.bfloat16, fill_value=float("-inf"))
offset = 0
for i, (input_ids, attn_mask) in enumerate(zip(encoded["input_ids"], encoded["attention_mask"])):
res[0, offset: offset + len(input_ids)] = torch.tensor(input_ids)
attention_mask[0, 0, offset: offset + len(attn_mask), offset: offset + len(attn_mask)] = 0.
offset += len(attn_mask)
else:
max_length = max(len(x) for x in encoded["input_ids"])
res = torch.zeros((len(encoded["input_ids"]), max_length), dtype=torch.long)
attention_mask = torch.zeros((len(encoded["input_ids"]), max_length), dtype=torch.long)
for i, (input_ids, attn_mask) in enumerate(zip(encoded["input_ids"], encoded["attention_mask"])):
res[i, : len(input_ids)] = torch.tensor(input_ids)
attention_mask[i, : len(attn_mask)] = torch.tensor(attn_mask)
return res.to(device), attention_mask.to(device)
def main(args):
model = AutoModelForCausalLM.from_pretrained(
args.model_path, use_flash_attention_2=args.use_flash_attn, device_map="cuda", torch_dtype=torch.bfloat16
)
tokenizer = AutoTokenizer.from_pretrained(args.tokenizer_path)
device = torch.device("cuda")
context = torch.no_grad if args.no_grad else nullcontext
with context():
model.eval()
input_ids_no_pack, attention_mask_no_pack = prepare_data(tokenizer, packing=False, device=device)
input_ids_pack, attention_mask_pack = prepare_data(tokenizer, packing=True, device=device)
logits_no_pack = model(input_ids=input_ids_no_pack, attention_mask=attention_mask_no_pack).logits
logits_pack = model(input_ids=input_ids_pack, attention_mask=attention_mask_pack).logits
logits_no_pack_flatten = torch.zeros_like(logits_pack)
offset = 0
for i in range(logits_no_pack.shape[0]):
length = attention_mask_no_pack[i].sum().item()
logits_no_pack_flatten[0, offset: offset + length] = logits_no_pack[i, :length]
offset += length
print((logits_no_pack_flatten - logits_pack).sum())
if __name__ == "__main__":
args = parse_args()
main(args)
```
### Expected behavior
Run without error. | Good First Issue,bug | low | Critical |
2,741,615,810 | node | mksnapshot bus error on mips64el | ### Version
22.12.0
### Platform
```text
Linux 6.1.0-28-loongson-3 #1 SMP PREEMPT Debian 6.1.119-1 (2024-11-22) mips64el (mips64)
```
### Subsystem
build
### What steps will reproduce the bug?
Build on mips64el.
This is a log from a debian build.
I've started a pristine source build to make sure it's not caused by debian package flags, and to get a backtrace.
g++ -o /<<PKGBUILDDIR>>/out/Release/mksnapshot -pthread -rdynamic -EL -mhard-float -Wl,--start-group /<<PKGBUILDDIR>>/out/Release/obj.target/mksnapshot/deps/v8/src/snapshot/embedded/embedded-empty.o /<<PKGBUILDDIR>>/out/Release/obj.target/mksnapshot/deps/v8/src/snapshot/embedded/embedded-file-writer.o /<<PKGBUILDDIR>>/out/Release/obj.target/mksnapshot/deps/v8/src/snapshot/embedded/platform-embedded-file-writer-aix.o /<<PKGBUILDDIR>>/out/Release/obj.target/mksnapshot/deps/v8/src/snapshot/embedded/platform-embedded-file-writer-base.o /<<PKGBUILDDIR>>/out/Release/obj.target/mksnapshot/deps/v8/src/snapshot/embedded/platform-embedded-file-writer-generic.o /<<PKGBUILDDIR>>/out/Release/obj.target/mksnapshot/deps/v8/src/snapshot/embedded/platform-embedded-file-writer-mac.o /<<PKGBUILDDIR>>/out/Release/obj.target/mksnapshot/deps/v8/src/snapshot/embedded/platform-embedded-file-writer-win.o /<<PKGBUILDDIR>>/out/Release/obj.target/mksnapshot/deps/v8/src/snapshot/mksnapshot.o /<<PKGBUILDDIR>>/out/Release/obj.target/mksnapshot/deps/v8/src/snapshot/snapshot-empty.o /<<PKGBUILDDIR>>/out/Release/obj.target/mksnapshot/deps/v8/src/snapshot/static-roots-gen.o /<<PKGBUILDDIR>>/out/Release/obj.target/tools/v8_gypfiles/libv8_base_without_compiler.a /<<PKGBUILDDIR>>/out/Release/obj.target/tools/v8_gypfiles/libv8_init.a /<<PKGBUILDDIR>>/out/Release/obj.target/tools/v8_gypfiles/libv8_libbase.a /<<PKGBUILDDIR>>/out/Release/obj.target/tools/v8_gypfiles/libv8_libplatform.a /<<PKGBUILDDIR>>/out/Release/obj.target/tools/v8_gypfiles/libv8_turboshaft.a /<<PKGBUILDDIR>>/out/Release/obj.target/tools/v8_gypfiles/libv8_abseil.a /<<PKGBUILDDIR>>/out/Release/obj.target/tools/v8_gypfiles/libv8_compiler.a /<<PKGBUILDDIR>>/out/Release/obj.target/tools/v8_gypfiles/libv8_initializers.a /<<PKGBUILDDIR>>/out/Release/obj.target/tools/v8_gypfiles/libv8_initializers_slow.a -lz -luv -lsimdjson -lbrotlidec -lbrotlienc -lcares -lnghttp2 -lnghttp3 -lngtcp2 -lsqlite3 -lcrypto -lssl -licui18n -licuuc -latomic -ldl -lrt -Wl,--end-group
touch 48edd0a62b1829024c3b696f1c1e2e72a6ba670c.intermediate
LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/out/Release/lib.host:/<<PKGBUILDDIR>>/out/Release/lib.target:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH; cd ../tools/v8_gypfiles; mkdir -p /<<PKGBUILDDIR>>/out/Release/obj.target/v8_snapshot/geni; "/<<PKGBUILDDIR>>/out/Release/mksnapshot" --turbo_instruction_scheduling --stress-turbo-late-spilling "--target_os=linux" "--target_arch=mips64el" --startup_src "/<<PKGBUILDDIR>>/out/Release/obj.target/v8_snapshot/geni/snapshot.cc" --embedded_variant Default --embedded_src "/<<PKGBUILDDIR>>/out/Release/obj.target/v8_snapshot/geni/embedded.S" --no-native-code-counters
Bus error
### How often does it reproduce? Is there a required condition?
Always
### What is the expected behavior? Why is that the expected behavior?
No bus error.
### What do you see instead?
Bus error
### Additional information
_No response_ | build | low | Critical |
2,741,641,079 | pytorch | torch.linalg.qr is significantly slower on GPU compared to CPU and SVD for batched small matrices | ### 🐛 Describe the bug
When performing QR decomposition on batched small matrices, torch.linalg.qr is significantly slower on the GPU compared to the CPU and even slower than torch.linalg.svd on the GPU. This behavior seems unexpected since QR decomposition is typically faster than SVD. Tested with pytorch 2.3 and pytorch 2.5 .
Steps to Reproduce:
```
import torch
import time
matrix = torch.randn(10, 30, 30, 30, 3, 3)
for device in ["cpu", "cuda"]:
start = time.time()
U, S, V = torch.linalg.svd(matrix.to(device))
print("SVD Time:", time.time() - start, "Device:", device)
start = time.time()
Q, R = torch.linalg.qr(matrix.to(device))
print("QR Time:", time.time() - start, "Device:", device)
```
Output on an Nvidia H100:
SVD Time: 0.5345005989074707 cpu
QR Time: 0.11194396018981934 cpu
SVD Time: 0.06591439247131348 cuda
QR Time: 8.115148305892944 cuda
Output on an Nvidia Rtx5000a:
SVD Time: 0.6414940357208252 cpu
QR Time: 0.11259078979492188 cpu
SVD Time: 0.8223276138305664 cuda
QR Time: 7.6162269115448 cuda
### Versions
PyTorch version: 2.5.1
Is debug build: False
CUDA used to build PyTorch: 12.4
ROCM used to build PyTorch: N/A
OS: Ubuntu 22.04.5 LTS (x86_64)
GCC version: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Clang version: Could not collect
CMake version: Could not collect
Libc version: glibc-2.35
Python version: 3.11.6 | packaged by conda-forge | (main, Oct 3 2023, 10:40:35) [GCC 12.3.0] (64-bit runtime)
Python platform: Linux-6.8.0-45-generic-x86_64-with-glibc2.35
Is CUDA available: True
CUDA runtime version: Could not collect
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration:
GPU 0: NVIDIA H100 PCIe
GPU 1: NVIDIA H100 PCIe
GPU 2: NVIDIA H100 PCIe
GPU 3: NVIDIA H100 PCIe
Nvidia driver version: 550.90.07
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True
CPU:
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 52 bits physical, 57 bits virtual
Byte Order: Little Endian
CPU(s): 384
On-line CPU(s) list: 0-383
Vendor ID: AuthenticAMD
Model name: AMD EPYC 9654 96-Core Processor
CPU family: 25
Model: 17
Thread(s) per core: 2
Core(s) per socket: 96
Socket(s): 2
Stepping: 1
Frequency boost: enabled
CPU max MHz: 3707.8120
CPU min MHz: 1500.0000
BogoMIPS: 4799.78
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good amd_lbr_v2 nopl nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba perfmon_v2 ibrs ibpb stibp ibrs_enhanced vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local user_shstk avx512_bf16 clzero irperf xsaveerptr rdpru wbnoinvd amd_ppin cppc arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif x2avic v_spec_ctrl vnmi avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq la57 rdpid overflow_recov succor smca fsrm flush_l1d debug_swap
Virtualization: AMD-V
L1d cache: 6 MiB (192 instances)
L1i cache: 6 MiB (192 instances)
L2 cache: 192 MiB (192 instances)
L3 cache: 768 MiB (24 instances)
NUMA node(s): 2
NUMA node0 CPU(s): 0-95,192-287
NUMA node1 CPU(s): 96-191,288-383
Vulnerability Gather data sampling: Not affected
Vulnerability Itlb multihit: Not affected
Vulnerability L1tf: Not affected
Vulnerability Mds: Not affected
Vulnerability Meltdown: Not affected
Vulnerability Mmio stale data: Not affected
Vulnerability Reg file data sampling: Not affected
Vulnerability Retbleed: Not affected
Vulnerability Spec rstack overflow: Mitigation; Safe RET
Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl
Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2: Mitigation; Enhanced / Automatic IBRS; IBPB conditional; STIBP always-on; RSB filling; PBRSB-eIBRS Not affected; BHI Not affected
Vulnerability Srbds: Not affected
Vulnerability Tsx async abort: Not affected
Versions of relevant libraries:
[pip3] flake8==7.1.1
[pip3] mypy-extensions==1.0.0
[pip3] numpy==1.26.4
[pip3] numpydoc==1.8.0
[pip3] torch==2.5.1
[pip3] torchaudio==2.5.1
[pip3] torchvision==0.20.1
[pip3] triton==3.1.0
[conda] blas 2.116 mkl conda-forge
[conda] blas-devel 3.9.0 16_linux64_mkl conda-forge
[conda] ffmpeg 4.3 hf484d3e_0 pytorch
[conda] libblas 3.9.0 16_linux64_mkl conda-forge
[conda] libcblas 3.9.0 16_linux64_mkl conda-forge
[conda] libjpeg-turbo 2.0.0 h9bf148f_0 pytorch
[conda] liblapack 3.9.0 16_linux64_mkl conda-forge
[conda] liblapacke 3.9.0 16_linux64_mkl conda-forge
[conda] mkl 2022.1.0 h84fe81f_915 conda-forge
[conda] mkl-devel 2022.1.0 ha770c72_916 conda-forge
[conda] mkl-include 2022.1.0 h84fe81f_915 conda-forge
[conda] numpy 1.26.4 py311h64a7726_0 conda-forge
[conda] numpydoc 1.8.0 pyhd8ed1ab_0 conda-forge
[conda] pytorch 2.5.1 py3.11_cuda12.4_cudnn9.1.0_0 pytorch
[conda] pytorch-cuda 12.4 hc786d27_7 pytorch
[conda] pytorch-mutex 1.0 cuda pytorch
[conda] torchaudio 2.5.1 py311_cu124 pytorch
[conda] torchtriton 3.1.0 py311 pytorch
[conda] torchvision 0.20.1 py311_cu124 pytorch
cc @ptrblck @msaroufim @eqy @jianyuh @nikitaved @pearu @mruberry @walterddr @xwang233 @Lezcano | module: cuda,triaged,module: linear algebra | low | Critical |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.