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,782,468,516
flutter
[Impeller] An app crashes on Umidigi Bison 2 Pro
### Steps to reproduce Hello, You have asked to submit issues with Impeller on Android. After upgrading an app to Flutter 3.27.1, a customer has reported that the app stopped working on this device: - Umidigi Bison 2 Pro After disabling Impeller in AndroidManifest.xml, it works again for him. ### Expected results The app is working with Impeller. ### Actual results The app is crashing with Impeller enabled, but works with Skia. ### 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 [Paste your output here] ``` </details>
waiting for customer response,in triage
low
Critical
2,782,469,720
pytorch
nn.functional.interpolate doesn't work correctly with NCW tensors when output W exceeds 2^23
### 🐛 Describe the bug nn.functional.interpolate returns strange results for NCW tensors when output W exceeds 2^23. **Reproduction:** ``` import torch n = (1 << 22) + 4 x = [] for i in range(n // 2): x.append(0.0) x.append(1.0) x = torch.tensor(x, device="cuda:0", dtype=torch.float) x = x.view(1, 1, -1) y = torch.nn.functional.interpolate(x, size = n * 2, mode="linear") print(y[0, 0, :20]) print(y[0, 0, -20:]) ``` **Output:** ``` tensor([0.0000, 0.2500, 0.7500, 0.7500, 0.2500, 0.2500, 0.7500, 0.7500, 0.2500, 0.2500, 0.7500, 0.7500, 0.2500, 0.2500, 0.7500, 0.7500, 0.2500, 0.2500, 0.7500, 0.7500], device='cuda:0') tensor([0.2500, 0.2500, 0.7500, 0.7500, 0.2500, 0.2500, 0.7500, 0.7500, 0.2500, 0.2500, 0.7500, 0.7500, 0.5000, 0.5000, 0.5000, 0.5000, 0.5000, 0.5000, 0.5000, 1.0000], device='cuda:0') ``` Only the first 2^23 values are correct. It reproduces with float32 and float16 types on CPU and CUDA ### Versions PyTorch: 2.5.1 CUDA 12.4 Python: 3.12.3 OS: Ubuntu 24.04 cc @albanD @mruberry @jbschlosser @walterddr @mikaylagawarecki
module: nn,triaged,module: edge cases
low
Critical
2,782,471,911
vscode
Buttons in the showInformationMessage modal can completely cover the source
<!-- ⚠️⚠️ 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.2 (Universal) - OS Version: Darwin arm64 24.2.0 ## Issue: **Buttons in the `showInformationMessage` modal can completely cover the source** ### Real world example ([Svelte for VS Code](https://marketplace.visualstudio.com/items?itemName=svelte.svelte-vscode)) <img src="https://github.com/user-attachments/assets/2161f88e-1cba-4cba-9da6-b6d9e03fbfd8" width="500"> ### Real world example, tweaked (User can't hover over Source!) <img width="482" alt="Image" src="https://github.com/user-attachments/assets/db083ddb-1e44-4541-a4e9-e92184e690e4" /> ### Real world example with added `min-width: 15%` **User can hover and see the Source in the tooltip** <img src="https://github.com/user-attachments/assets/3180972a-bf67-4681-af70-b1f91581292e" width="500"> ## Steps to Reproduce: 1. Call the `window.showInformationMessage` with buttons that have long labels 2. Buttons completely cover the source, user can't hover over it
feature-request,workbench-notifications
low
Critical
2,782,482,230
PowerToys
RAM Optimizer
### Description of the new feature / enhancement A small tool to: 1. Clean up the RAM in one click 2. Show real-time RAM usage and available RAM of system with an awesome UI. 3. Should be able to run over other apps or be in the taskbar so that it is accessible all the time except when the user is in full screen mode. May also include: 1. Dropdown to show major apps running and an option to kill app / process from there. ### Scenario when this would be used? It will be very useful to people using a lot of apps on system. Many apps when closed do not free up the Space in RAM completely. So, after closing multiple apps like those if the user tries to open an application which uses a lot of memory gets laggy. ### Supporting information The sample of the app which I am referring to can be found bundled with Advanced system care from iobit called as performance Monitor.
Needs-Triage
low
Major
2,782,482,622
tauri
[bug] Can't serve image by asset protocol on Android (500 error)
### Describe the bug I can't surface an image from the asset server in an Android application, despite it working on Windows just fine. It's possible I'm missing something as the documentation around this is sparse _at best_, so would appreciate pointers in the right direction as well as how to debug this in the Rust side - I'm not very familiar with Rust but could probably play around a bit. I'm aware that I could just embed images in the binary as part of the frontend dist, but this is just a basic repro. My actual use case is serving other assets to the webview, including larger videos -- and even though I've seen issues posted in this repo about videos on Linux and such, I didn't find such disclaimers for images, so I expected this to work without issues. ### Reproduction Should be pretty easy, in 5 mins or so depending on how fast your machine installs dependencies. I've run the repro on Windows, I'm not sure if any part of this is os-dependent though. Create tauri app using the creator, pick all defaults. ``` npm create tauri-app@latest > npx > create-tauri-app ✔ Project name · tauri-app ✔ Identifier · com.tauri-app.app ✔ Choose which language to use for your frontend · TypeScript / JavaScript - (pnpm, yarn, npm, deno, bun) ✔ Choose your package manager · npm ✔ Choose your UI template · Vanilla ✔ Choose your UI flavor · TypeScript ``` Set it up ``` cd tauri-app npm i npm run tauri android init ``` Update tauri.conf.json, replace app > security with ``` "security": { "csp": { "img-src": "'self' http://asset.localhost blob: data:" }, "assetProtocol": { "enable": true, "scope": ["**/*"] } } ``` (intentionally broad scope, to ensure permissions are not a problem) In bundle, add a new section "resources" like so: ``` "bundle": { (...) "resources": { "../src/assets/typescript.svg": "ts.svg" } } ``` Edit the `main.ts` file to look like so (removing the greeting code & injecting our ts.svg image from the asset server): ```ts import { convertFileSrc } from "@tauri-apps/api/core"; import { resolveResource } from '@tauri-apps/api/path'; window.addEventListener("DOMContentLoaded", async () => { const img = document.createElement("img"); img.setAttribute("src", convertFileSrc(await resolveResource('ts.svg'))); img.setAttribute("width", "100px"); document.querySelector("#greet-msg")!.appendChild(img); }); ``` Confirm all is good by running the app with `npm run tauri dev` (on Windows). There should be a big TS logo in the bottom of the screen :) - see [attachment](https://github.com/user-attachments/assets/ca688faf-52c6-4a8c-9d1f-a9eca7edf6ad) Now for the problematic part. Without any changes, run `npm run android dev`, and get... no logo! ![image](https://github.com/user-attachments/assets/dacbc658-a394-4e82-b475-4150bc02647d) If I hook in with developer tools, I see in the console ``` asset%3A%2F%2Flocalhost%2Fts.svg:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error) ``` With response body `No such file or directory (os error 2)` To be honest, `http://asset.localhost/asset%3A%2F%2Flocalhost%2Fts.svg` _does look_ like the wrong URL. It looks like the old asset:// protocol that I understand is not in use for Android anymore? Only Linux/macOS. I've tried different variants though, and in all cases I get a 500 and no image ``` img.setAttribute("src", convertFileSrc(await resolveResource('ts.svg'))); img.setAttribute("src", convertFileSrc(await join(await resourceDir(), 'ts.svg'))); img.setAttribute("src", convertFileSrc(await join(await appDataDir(), 'ts.svg'))); img.setAttribute("src", convertFileSrc('ts.svg')); img.setAttribute("src", convertFileSrc(await resolveResource('ts.svg'))); img.setAttribute("src", 'http://asset.localhost/ts.svg'); ``` ### Expected behavior I should see the image in Android with the same code that works on Windows. Well, I don't even care about same code, I'd appreciate any pointer on how to make this work. ### Full `tauri info` output ```text > tauri-app@0.1.0 tauri > tauri info [✔] Environment - OS: Windows 10.0.26100 x86_64 (X64) ✔ WebView2: 131.0.2903.112 ✔ MSVC: Visual Studio Community 2022 ✔ rustc: 1.84.0 (9fc6b4312 2025-01-07) ✔ cargo: 1.84.0 (66221abde 2024-11-19) ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24) ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default) - node: 20.18.0 - npm: 10.8.2 [-] Packages - tauri 🦀: 2.2.1 - tauri-build 🦀: 2.0.5 - wry 🦀: 0.48.0 - tao 🦀: 0.31.1 - @tauri-apps/api : 2.2.0 - @tauri-apps/cli : 2.2.4 [-] Plugins - tauri-plugin-opener 🦀: 2.2.3 - @tauri-apps/plugin-opener : 2.2.3 [-] App - build-type: bundle - CSP: img-src 'self' http://asset.localhost blob: data: - frontendDist: ../dist - devUrl: http://localhost:1420/ - bundler: Vite ```
type: bug,status: needs triage
low
Critical
2,782,492,217
PowerToys
to past text without leading spaces
### Description of the new feature / enhancement to past text without leading spaces ### Scenario when this would be used? copying from mail or from word ### Supporting information _No response_
Needs-Triage
low
Minor
2,782,495,309
next.js
[DynamicIO] Production build fails if you add intercepting routes inside multi-root layouts
### Link to the code that reproduces this issue https://github.com/apostolos/nextjs-intercepting-multi-root ### To Reproduce 1. Build the application `pnpm run build` ### Current vs. Expected behavior The app fails to build when an intercepting route is inside a multi-root layout. No matter what I've tried it causes prerendering errors similar to the below: In this repro: <img width="1152" alt="image" src="https://github.com/user-attachments/assets/88f50d37-5f5f-4f13-af07-717f68a584b1" /> In a real app: <img width="748" alt="image" src="https://github.com/user-attachments/assets/bcc85020-6f32-4bdc-9775-e29bb947b73b" /> The only thing I've tried that didn't cause a production build error, was adding a `loading.tsx` at the `app/` level. This of course causes hydration errors since it creates a `Suspense` boundary above `<html>`, something that is not allowed. ### Provide environment information ```bash Node.js v23.6.0 Operating System: Platform: darwin Arch: arm64 Version: Darwin Kernel Version 24.2.0: Fri Dec 6 18:56:34 PST 2024; root:xnu-11215.61.5~2/RELEASE_ARM64_T6020 Available memory (MB): 32768 Available CPU cores: 12 Binaries: Node: 23.6.0 npm: 11.0.0 Yarn: N/A pnpm: 9.15.3 Relevant Packages: next: 15.2.0-canary.5 // Latest available version is detected (15.2.0-canary.5). eslint-config-next: N/A react: 19.0.0 react-dom: 19.0.0 typescript: 5.7.3 Next.js Config: output: N/A ``` ### Which area(s) are affected? (Select all that apply) dynamicIO ### Which stage(s) are affected? (Select all that apply) next build (local) ### Additional context _No response_
dynamicIO
low
Critical
2,782,508,157
godot
Drag text files in filesystem makes the engine throw the error `No loader found for resource: "file_path" (expected type: )`
### Tested versions - Reproducible: Between v4.0.beta2.official [f8745f2f7] ~ v4.0.beta8.official [45cac42c0] and from v4.0.beta11.official [91713ced8] upwards - Not reproducible: v4.0.beta1.official [20d667284] and lower and between v4.0.beta9.official [e780dc332] ~ v4.0.beta10.official [d0398f62f] ### System information Godot v4.4.dev (abf8e1e6f) - Windows 10 (build 19045) - Multi-window, 2 monitors - Vulkan (Forward+) - dedicated AMD Radeon RX 580 2048SP (Advanced Micro Devices, Inc.; 31.0.21921.1000) - AMD Ryzen 5 3600 6-Core Processor (12 threads) ### Issue description As the title says, dragging a text file in the editor raises the pointed error, json files seems to be the exception. Also, open the text file stops the error for the file opened until you restart the editor, the others will keep raising the error until you open them. https://github.com/user-attachments/assets/de2c1e94-f6c4-4d90-8d87-97e499d6ea55 <br> Bisecting points the pr #62413 (in 4.0 beta 2) as the one that introduced this issue. Pr #68498 (in 4.0 beta 9) made the error stop but had to be reverted in 4.0 beta 11 because introduced other regressions: ![Image](https://github.com/user-attachments/assets/8d0a643b-e12f-48b1-8172-a7038624c3d9) <br> CC @willnationsdev ### Steps to reproduce Drag a txt file in the filesystem. ### Minimal reproduction project (MRP) Not necessary, any project with a txt file can reproduce.
bug,topic:editor
low
Critical
2,782,508,402
vscode
Multiple Git Clients prevent file saving
Type: <b>Bug</b> the set-up: 1. i was using GitKraken as my git client for all my repos 2. at some point, i unwittingly turned on the git client in code 2.1. without realizing that running two git clients is really not a good idea 2.2. (my thinking was that i could get access to the git log history in code without having to go over to gitkraken... little did i know) the problem: 1. code will not save any source files that are being tracked by git since the other git client has put a lock on the repo where git commands are concerned. 2. this, in and of itself, isn't necessarily a problem, that's why the lock is there 3. the problem results from the fact that there is NO MESSAGE output by code saying that the file has remained unsaved, nor providing a message describing the reason that the file remains unsaved. 4. this is true even after i changed the log levels to DEBUG, nothing the "dev tools::console" indicated to me what the problem was 5. i only figured this out in my head, while i was asleep 6. and when i went to settings and turned off "settings::git enabled", the problem magically disappeared thanks for reading, "code" is nothing short of one of the most amazing pieces of software i've ever worked with, everyone working on it should be very proud of this spectacular achievement, i am not kidding nor exaggerating. (and, if truth be told, i'm a bit of a MS-hater my whole life (i'm old), only to say that my effusive commentary even overrides my natural inclination to dislike MS products, just because.) ta, richard VS Code version: Code 1.96.2 (fabdb6a30b49f79a7aba0f2ad9df9b399473380f, 2024-12-19T10:22:47.216Z) OS version: Linux x64 5.4.0-54-generic Modes: <details> <summary>System Info</summary> |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-9700 CPU @ 3.00GHz (8 x 4418)| |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: disabled_software<br>vulkan: disabled_off<br>webgl: enabled<br>webgl2: enabled<br>webgpu: disabled_off<br>webnn: disabled_off| |Load (avg)|3, 3, 4| |Memory (System)|31.30GB (10.07GB free)| |Process Argv|| |Screen Reader|no| |VM|0%| |DESKTOP_SESSION|plasma| |XDG_CURRENT_DESKTOP|KDE| |XDG_SESSION_DESKTOP|plasma| |XDG_SESSION_TYPE|x11| </details><details><summary>Extensions (13)</summary> Extension|Author (truncated)|Version ---|---|--- atlascode|atl|3.2.1 vscode-docker|ms-|1.29.3 csdevkit|ms-|1.14.14 csharp|ms-|2.55.29 vscode-dotnet-runtime|ms-|2.2.3 remote-containers|ms-|0.394.0 cmake-tools|ms-|1.19.52 cpptools|ms-|1.22.11 cpptools-extension-pack|ms-|1.3.0 vscode-yaml|red|1.15.0 cmake|twx|0.0.17 intellicode-api-usage-examples|Vis|0.2.9 vscodeintellicode|Vis|1.3.2 (1 theme extensions excluded) </details> <!-- generated by issue reporter -->
info-needed
low
Critical
2,782,514,656
neovim
Support .code-workspace (or similar) file for LSP workspace folders
### Problem As far as I know, the only way to use multiple workspaces folders for a mono repo is rather manual. You'll have to hard code it in your config, or use exrc combined with some some code I assume to find the current projects related config and pass it into your LSP. ### Expected behavior It would be great if we could adapt [VSCode's .code-workspace file format](https://code.visualstudio.com/docs/editor/workspaces#_multiroot-workspaces) (best case scenario) or a similar structure so that you can define your folders per project and commit it to the git repository. I have a POC plugin [workspace-folders.nvim](https://github.com/mhanberg/workspace-folders.nvim) that showcases a possible implementation. The downside to the plugin approach is that LSP servers need to adopt it and the user must include it. If it was builtin behavior, it could be relied upon by nvim-lspconfig or plugins like [elixir-tools.nvim](https://github.com/elixir-tools/elixir-tools.nvim). Or, possibly no plugin has to think about it and vim.lsp.start would automatically handle it for you.
enhancement,lsp
low
Minor
2,782,518,799
godot
popup dialog boxes become unresponsive on Debian 12.9 if only gnome-core installed
### Tested versions - Reproducible with Godot 4.4-dev7,and 4.3-stable ### System information Debian 12.9 minimal install with gnome-core installed. Godot Engine v4.4.dev7.official.46c8f8c5c - OpenGL API 4.1 (Core Profile) Mesa 22.3.6 - Compatibility - Using Device: VMware, Inc. - SVGA3D; build: RELEASE; LLVM ### Issue description Godot starts without error. Version Control Metadata (and other selections within a project, and sometimes time passing) cause dialog boxes to become unresponsive. In this state the main application must often be killed (SIGTERM) to exit. No error is displayed. ### Steps to reproduce The following actions always cause the behavior: Install fresh minimal Debian 12.9 without desktop manager or Gnome: ``` [ ] Debian desktop environment [ ] GNOME ... [*] Standard system utilities ``` ... then `sudo apt install gnome-core` Reboot to enable GUI, Login, Install Godot, Start Godot. Within the **Create new project**, select **Version Control Metadata**, select radio box **None**, experience popup dialog unresponsive. - Not reproducible on full desktop install. - Not reproducible with LXDE windows manager. - Not reproducible with Plasma windows manager. - Reproducible on Debian 11.11 with minimal install and gnome-core installed, different actions required to reproduce: Within the **Create new project**, select **Version Control Metadata**, select radio box **None**, select **Create and Edit**, experience popup dialog unresponsive. This may be a Debian specific problem with gnome-core, a reliance on something becoming deprecated in gnome-core, or other. All tests under VirtualBox 7.0. ### Minimal reproduction project (MRP) N/A
bug,platform:linuxbsd,topic:gui
low
Critical
2,782,531,101
PowerToys
See all apps and services that would start on startup with the ability to edit them
### Description of the new feature / enhancement In windows, apps can configure starting up on login or startup using various methods like task scheduler, registry, special paths, etc PowerToys can collect data from all possible locations and show me which apps run on startup with the ability to edit these or disable them, add more etc. It is a great power utility that is very much needed. It could be a complementing feature to Settings -> apps -> Startup ### Scenario when this would be used? this could be very useful to debug slow startups, or force apps to disable auto start when not needed. For example, I have dropbox running on login and it is signed out (and I can't sign in unless I logout from other devices) and the settings aren't exposed to turn it off unless I sign in. I have been searching for ways to change this behavior so I went to PowerToys but it didn't have this. ### Supporting information _No response_
Needs-Triage
low
Critical
2,782,531,164
rust
Bug in `fulfillment_errors.rs` when compiling
<!-- 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 ```Rust use cgroups_rs; use nix::mount::{mount, MsFlags}; use std::path::Path; fn main() { mount(None, Path::new("foo"), None, MsFlags::empty(), None).unwrap(); } ``` ### 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.84.0 (9fc6b4312 2025-01-07) binary: rustc commit-hash: 9fc6b43126469e3858e2fe86cafb4f0fd5068869 commit-date: 2025-01-07 host: x86_64-unknown-linux-gnu release: 1.84.0 LLVM version: 19.1.5 ``` ### Error output ``` thread 'rustc' panicked at compiler/rustc_trait_selection/src/error_reporting/traits/fulfillment_errors.rs:1824:44: called `Option::unwrap()` on a `None` value ``` <!-- 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: rust_begin_unwind 1: core::panicking::panic_fmt 2: core::panicking::panic 3: core::option::unwrap_failed 4: <rustc_trait_selection::error_reporting::TypeErrCtxt>::report_similar_impl_candidates 5: <rustc_trait_selection::error_reporting::TypeErrCtxt>::report_fulfillment_error 6: <rustc_trait_selection::error_reporting::TypeErrCtxt>::report_fulfillment_errors 7: rustc_hir_typeck::typeck [... omitted 1 frame ...] 8: <rustc_middle::hir::map::Map>::par_body_owners::<rustc_hir_analysis::check_crate::{closure#4}>::{closure#0} 9: rustc_hir_analysis::check_crate 10: rustc_interface::passes::run_required_analyses 11: rustc_interface::passes::analysis [... omitted 1 frame ...] 12: rustc_interface::interface::run_compiler::<core::result::Result<(), rustc_span::ErrorGuaranteed>, rustc_driver_impl::run_compiler::{closure#0}>::{closure#1} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. 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: rustc 1.84.0 (9fc6b4312 2025-01-07) running on x86_64-unknown-linux-gnu note: compiler flags: --crate-type bin -C embed-bitcode=no -C debuginfo=2 -C incremental=[REDACTED] note: some of the compiler flags provided by cargo are hidden query stack during panic: #0 [typeck] type-checking `main` #1 [analysis] running analysis passes on this crate end of query stack ``` </p> </details> ### Content of `Cargo.toml` ```toml [package] name = "rustc_bug" version = "0.1.0" edition = "2021" [dependencies] cgroups-rs = "0.3.4" nix = { version = "0.29.0", features = ["mount"] } ``` ### Additional information The bug seems related to the `use cgroups_rs;` line, if I remove it the bug goes away. Compiling with `cargo +nightly build` works fine. Please note that the code does not actually compile, with the following patch it does compile without panics. ```diff - mount(None, Path::new("foo"), None, MsFlags::empty(), None).unwrap(); + mount::<Path, Path, Path, Path>(None, Path::new("foo"), None, MsFlags::empty(), None).unwrap(); ```
A-diagnostics,I-ICE,P-medium,T-compiler,regression-from-stable-to-stable,C-bug,WG-diagnostics
low
Critical
2,782,534,816
frp
SSL证书配置frp双向认证失败,单向认证中:frp客户端使用client.crt+client.key认证服务端的ca.crt成功,但是frp客户端使用ca.crt认证服务端的server.crt+server.key失败
### Bug Description SSL证书配置frp双向认证失败,单向认证中:frp客户端使用client.crt+client.key认证服务端的ca.crt成功,但是frp客户端使用ca.crt认证服务端的server.crt+server.key失败。 成功图: ![image](https://github.com/user-attachments/assets/8d547a37-29b7-4a71-a49d-e9269cb9c572) 失败图: ![image](https://github.com/user-attachments/assets/ff270553-6925-4b4c-8be6-acf2d37ce49b) 但是我在openssl上验证过ca.crt认证server.crt+server.key是成功的: 验证证书没问题: 服务端启用server.crt+server.key开启8080端口: ![image](https://github.com/user-attachments/assets/2924a4ab-05cd-4061-91fd-75e796644642) 客户端启用ca.crt成功连接8080端口: ![image](https://github.com/user-attachments/assets/d61cddbb-c20a-4bde-8fb3-28ed5f43be18) ![image](https://github.com/user-attachments/assets/a724f312-322a-4bb4-81cf-7a72670421d3) ### frpc Version 0.61.1 ### frps Version 0.61.1 ### System Architecture WInodw+Linux平台都试了 ### Configurations ~ ### Logs _No response_ ### Steps to reproduce 1. 2. 3. ... ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
lifecycle/stale
low
Critical
2,782,542,298
tauri
[feat] Support non-cargo build systems (e.g. bazel)
### Describe the problem The Tauri CLI invokes cargo, but some use alternative build systems such as Bazel and Buck. The tauri CLI does not work in this case. ### Describe the solution you'd like I would like the Tauri CLI to be configurable to use these alternative build systems. In the bazel and buck cases, you don't really want the tauri CLI to invoke bazel or buck, but you want to run tauri as a build action that consumes already-built rust artifacts. ### Alternatives considered Maybe you could bypass the tauri CLI altogether in this case, although it seems like quite a lot of effort to recreate the functionality of the tauri CLI. ### Additional context There's at least a few issues here: * The [lists of permissions files](https://github.com/tauri-apps/tauri/blob/4c3f04773534c0b33ea81bcff6dd7719ef265662/crates/tauri-utils/src/acl/build.rs#L71-L84) created by tauri use absolute paths, which doesn't work with Bazel since the sandbox path changes for each action. This is quite easily fixed by making this relative. * `tauri bundle` looks for the app in a fixed cargo-specific location. Really it needs to be told where the output is, for example with a command line flag.
type: feature request
low
Major
2,782,548,115
godot
Plural translation does not work with `tr_n()` and CSV translation IDs
### Tested versions v4.3.stable.flathub [77dcf97d8] ### System information Pop!_OS 22.04 LTS ### Issue description `tr_n()` always return Singular Translation even when `number_of_coins` is superior to 1. e.g. ```gdscript # This work #%BasicLabel.text = tr_n("single coin", "more coins", number_of_coins) # This does not %BasicLabel.text = tr_n("COIN_LABEL_SINGULAR", "COIN_LABEL_PLURAL", number_of_coins) ``` ### Steps to reproduce In a new project : 1. Add a CSV file with at least two lines (one singular, one plural). ```csv LABEL_SINGULAR,one LABEL_PLURAL,many ``` 2. Open menu `Project` -> `project settings...` -> `Localization` and import `.translation` files. 3. Use `tr_n()` with Singular and Plural Keys. ```gdscript var tr_string = tr_n("LABEL_SINGULAR", "LABEL_PLURAL", 2) ``` 4. It will always use the Singular key whatever the int value is... ### Minimal reproduction project (MRP) link to the repo [lpGodot_tr_n_issue](https://github.com/LavandePotions/lpGodot_tr_n_issue)
topic:core,confirmed
low
Minor
2,782,552,539
node
util.inspect fails in some border conditions with an argument that has a `name`
### Version v22.10.0 ### Platform ```text Darwin XXXX.lan 23.6.0 Darwin Kernel Version 23.6.0: Wed Jul 31 20:48:44 PDT 2024; root:xnu-10063.141.1.700.5~1/RELEASE_X86_64 x86_64 ``` ### Subsystem node:util ### What steps will reproduce the bug? `util.inspect`, as I understand it, is supposed to work in all conditions, whatever we throw at it. The code below shows 19 cases where `util.inspect` fails: ```bash working: 984 symbolName: 9 complexArrayName: 9 regExpName: 1 failRest: 0 ``` ```javascript import { inspect } from 'node:util' import { strictEqual, notStrictEqual } from 'node:assert' function setAndFreeze(obj, propertyName, value) { Object.defineProperty(obj, propertyName, { configurable: false, enumerable: true, writable: false, value }) return obj } function buildPrimitiveStuff() { const base = [ { subject: undefined, description: 'undefined' }, { subject: 'abc', description: 'string' }, { subject: '', description: 'empty string' }, { subject: 0, description: 'zero (0)' }, { subject: 1, description: 'one (1)' }, { subject: -1, description: 'minus one (-1)' }, { subject: 4, description: 'natural' }, { subject: -456, description: 'negative integer' }, { subject: Math.PI, description: 'positive float' }, { subject: -Math.E, description: 'negative float' }, { subject: 0.1, description: 'non-binary float' }, // 10 * 0.1 !== 1 { subject: Number.POSITIVE_INFINITY, description: 'positive infinity' }, { subject: Number.NEGATIVE_INFINITY, description: 'negative infinity' }, { subject: Number.MAX_SAFE_INTEGER, description: 'max safe integer' }, { subject: Number.MIN_SAFE_INTEGER, description: 'min safe integer' }, { subject: Number.MAX_VALUE, description: 'max number' }, { subject: Number.MIN_VALUE, description: 'min number' }, { subject: Number.EPSILON, description: 'epsilon' }, { subject: Number.NaN, description: 'NaN' }, { subject: false, description: 'false' }, { subject: true, description: 'true' }, { subject: Symbol('isolated symbol as stuff'), description: 'symbol' }, { subject: 0n, description: 'zero bigint (0n)' }, { subject: 1n, description: 'one bigint (1n)' }, { subject: -1n, description: 'minus one bigint (-1n)' }, { subject: 123456789012345678901234567890n, description: 'large positive bigint' }, { subject: -123456789012345678901234567890n, description: 'large negative bigint' }, { subject: BigInt(Number.MAX_SAFE_INTEGER), description: 'bigint equivalent of max safe integer' }, { subject: BigInt(Number.MIN_SAFE_INTEGER), description: 'bigint equivalent of min safe integer' } ] return base.map(s => ({ ...s, primitive: true, mutable: false })) } export const primitiveStuff = buildPrimitiveStuff() export const primitiveAndNullStuff = [ { subject: null, description: 'null', primitive: false, mutable: false }, ...primitiveStuff ] export function buildMutableStuffGenerators() { const base = [ { generate: () => new Error('This is an error case'), description: 'Error' }, { generate: () => new Date(2025, 0, 11, 14, 11, 48, 857), description: 'Date' }, { generate: () => /foo/, description: 'RegExp' }, { generate: () => function () { return 'an anonymous function' }, description: 'anonymous function' }, { generate: () => function namedFunction() { return 'a named function' }, description: 'named function' }, { generate: () => () => 'an arrow function', description: 'arrow function' }, { generate: () => { const arrowFunction = () => 'an arrow function in a const' return arrowFunction }, description: 'arrow function in a const' }, { generate: () => async function () { return 'an anonymous async function' }, description: 'anonymous async function' }, { generate: () => async function asyncNamedFunction() { return 'an async named function' }, description: 'async named function' }, { generate: () => async () => 'an async arrow function', description: 'async arrow function' }, { generate: () => { const asyncArrowFunction = async () => 'an async arrow function in a const' return asyncArrowFunction }, description: 'async arrow function in a const' }, // eslint-disable-next-line no-new-wrappers { generate: () => new Number(42), description: 'Number' }, // eslint-disable-next-line no-new-wrappers { generate: () => new Boolean(false), description: 'Boolean' }, // eslint-disable-next-line no-new-wrappers { generate: () => new String('string wrapper object'), description: 'String' }, // NOTE: IArguments already has a frozen name `null` (at least in Node) ??!??!!? { generate: () => arguments, description: 'arguments object' }, { generate: () => ({}), description: 'empty object' }, { generate: () => ({ a: 1, b: 'b', c: {}, d: { d1: undefined, d2: 'd2', d3: { d31: 31 } }, e: [5, 'c', true], f: Symbol('f') }), description: 'complex object' }, { generate: () => [], description: 'empty array' }, { generate: () => [4, 'z', { a: 'a' }, true, ['b', 12]], description: 'simple array' } // no Symbols // MUDO add circular stuff ] const arrayWithAllInIt = { generate: () => [...primitiveAndNullStuff.map(({ subject }) => subject), ...base.map(({ generate }) => generate())], description: 'complex array', primitive: false, mutable: true } return [...base.map(sg => ({ ...sg, primitive: false, mutable: true })), arrayWithAllInIt] } export const mutableStuffGenerators = buildMutableStuffGenerators() export const stuffGenerators = [ ...primitiveAndNullStuff.map(({ subject, description, primitive, mutable }) => ({ generate: () => subject, description, primitive, mutable })), ...buildMutableStuffGenerators() ] const namedStuff = mutableStuffGenerators.reduce(function addArrayOfNamedSubjectsToAcc( acc, { generate: generateSubject, description: subjectDescription } ) { if (subjectDescription === 'arguments object') { return [ ...acc, { subject: generateSubject(), // NOTE: IArguments already has a frozen name `null` ??!??!!? description: `${subjectDescription} with an already frozen name \`null\`` } ] } return [ ...acc, ...stuffGenerators.map(function addFrozenNameToSubject({ generate: generateName, description: nameDescription }) { return { subject: setAndFreeze(generateSubject(), 'name', generateName()), description: `${subjectDescription} with ${nameDescription} name`, fail: ((subjectDescription === 'Error' || subjectDescription.includes('function')) && nameDescription === 'symbol') || ((subjectDescription === 'Error' || subjectDescription.includes('function')) && nameDescription === 'complex array') || (subjectDescription === 'Error' && nameDescription === 'RegExp') ? { subject: subjectDescription, name: nameDescription } : undefined } }) ] }, []) function generateMultiLineAnonymousFunction() { return function () { // NOTE: string in place to make the _source_ multi-line // trim: spaces at start let x = ' This is a multi-line function' x += 'The intention of this test' x += 'is to verify' // start of white line // end of white line x += 'whether we get an acceptable' x += 'is to shortened version of this' x += 'as a concise representation' x += 'this function should have no name ' // trim return x } } const stuff = [ ...stuffGenerators.map(({ generate, description }) => ({ subject: generate(), description })), ...namedStuff, { subject: generateMultiLineAnonymousFunction(), description: 'multi-line anonymous function' }, { subject: setAndFreeze( generateMultiLineAnonymousFunction(), 'name', ` This is a multi-line name The intention of this test is to verify whether we get an acceptable is to shortened version of this as a concise representation this function should have a name ` // trim ), description: 'multi-line anonymous function with frozen name' } ] const triage = stuff.reduce( (acc, s) => { if (s.fail) { if (s.fail.name === 'symbol') { acc.symbolName.push(s) } else if (s.fail.name === 'complex array') { acc.complexArrayName.push(s) } else if (s.fail.name === 'RegExp') { acc.regExpName.push(s) } else { acc.failRest.push(s) } } else { acc.working.push(s) } return acc }, { working: [], symbolName: [], complexArrayName: [], regExpName: [], failRest: [] } ) describe('node util.inspect', function () { describe('working as expected', function () { console.info(`working: ${triage.working.length}`) triage.working.forEach(({ subject, description }) => { it(`works for a ${description}`, function () { const result = inspect(subject) strictEqual(typeof result, 'string') notStrictEqual(result, '') }) }) }) describe('failing with a symbol name', function () { console.info(`symbolName: ${triage.symbolName.length}`) triage.symbolName.forEach(({ subject, description }) => { it(`fails for a ${description}`, function () { const result = inspect(subject) strictEqual(typeof result, 'string') notStrictEqual(result, '') }) }) }) describe('failing with a complex array name', function () { console.info(`complexArrayName: ${triage.complexArrayName.length}`) triage.complexArrayName.forEach(({ subject, description }) => { it(`fails for a ${description}`, function () { const result = inspect(subject) strictEqual(typeof result, 'string') notStrictEqual(result, '') }) }) }) describe('failing with a RegExp name', function () { console.info(`regExpName: ${triage.regExpName.length}`) triage.regExpName.forEach(({ subject, description }) => { it(`fails for a ${description}`, function () { const result = inspect(subject) strictEqual(typeof result, 'string') notStrictEqual(result, '') }) }) }) describe('other failing', function () { console.info(`failRest: ${triage.failRest.length}`) triage.failRest.forEach(({ subject, description }) => { it(`fails for a ${description}`, function () { const result = inspect(subject) strictEqual(typeof result, 'string') notStrictEqual(result, '') }) }) }) }) ``` ### How often does it reproduce? Is there a required condition? Reproducible with the above code. ### What is the expected behavior? Why is that the expected behavior? `util.inspect`, as I understand it, is supposed to work and return a string in all conditions, whatever we throw at it. ### What do you see instead? ### `symbolName` `symbolName` represents 9 failing cases, where the object argument to `util.inspect` is an `Error` or a function, with a `symbol` as a `name` ```bash TypeError: Cannot convert a Symbol value to a string at getFunctionBase (node:internal/util/inspect:1208:24) at formatRaw (node:internal/util/inspect:962:14) at formatValue (node:internal/util/inspect:844:10) at inspect (node:internal/util/inspect:368:10) at Context.<anonymous> (file:///Users/XXXXXX/util.inspect.test.js:277:24) at process.processImmediate (node:internal/timers:491:21) ``` ### `complexArrayName` `complexArrayName` represents 9 failing cases, where the object argument to `util.inspect` is an `Error` or a function, with an array that contains a `symbol` as a `name` (note that using an object with a property that has a `symbol` value works as expected) ```bash TypeError: Cannot convert a Symbol value to a string at Array.join (<anonymous>) at Array.toString (<anonymous>) at String (<anonymous>) at formatError (node:internal/util/inspect:1372:35) at formatRaw (node:internal/util/inspect:989:14) at formatValue (node:internal/util/inspect:844:10) at inspect (node:internal/util/inspect:368:10) at Context.<anonymous> (file:///Users/XXXXXX/util.inspect.test.js:287:24) at process.processImmediate (node:internal/timers:491:21) ``` ### `regExpName ` `regExpName ` represents 1 failing case, where the object argument to `util.inspect` is an `Error` with a `RegExp` as a `name` ```bash TypeError: First argument to String.prototype.includes must not be a regular expression at String.includes (<anonymous>) at removeDuplicateErrorKeys (node:internal/util/inspect:1312:27) at formatError (node:internal/util/inspect:1375:3) at formatRaw (node:internal/util/inspect:989:14) at formatValue (node:internal/util/inspect:844:10) at inspect (node:internal/util/inspect:368:10) at Context.<anonymous> (file:///Users/XXXXXX/util.inspect.test.js:297:24) at process.processImmediate (node:internal/timers:491:21) ``` ### Additional information _No response_
util
low
Critical
2,782,563,167
flutter
Play/Pause Events in video player
### Use case Please add support to get play/pause events as the addlistener method is not working appropriately. ### Proposal Please add support to get play/pause events as the addlistener method is not working appropriately.
waiting for customer response,in triage
low
Major
2,782,584,795
godot
Uninitializing engine singletons makes the engine try to call free callbacks to GDExtensions that are already uninitialized
### Tested versions Reproducible in: Godot v4.4.dev (5b52b4b5c) ### System information Godot v4.4.dev (5b52b4b5c) - macOS Sequoia (15.2.0) - Multi-window, 1 monitor - OpenGL 3 (Compatibility) - Apple M3 Max - Apple M3 Max (16 threads) ### Issue description The editor (and the games, surely) crash when exiting when having some GDExtensions that have callbacks. The issue stems from this code in `Object::~Object()` (core/object/object.cpp) when it tries to run callbacks to GDExtensions when they have already been uninitialized. https://github.com/godotengine/godot/blob/5b52b4b5c4f7c1232a6a814f65fce4c48f0f424b/core/object/object.cpp#L2207-L2214 I experienced it about the `Time` singleton being deleted. That memdelete comes from #87635. ### Steps to reproduce 1. Create a new project 2. Install DebugDraw3D (https://godotengine.org/asset-library/asset/1766) 3. Quit the project. ### Minimal reproduction project (MRP) [gh#101465.zip](https://github.com/user-attachments/files/18390291/gh.101465.zip)
bug,needs testing,topic:gdextension,crash
low
Critical
2,782,585,813
transformers
Expected `tensors` and `new_tensors` to have the same type but found <class ‘tuple’> and <class ‘torch.Tensor’>
### System Info I added the code to read the first item of tuple, which did not work, but the issue existed even before then. similar issue has been found by others too: https://discuss.huggingface.co/t/add-metrics-to-object-detection-example/31213/12 This is being run in a Kaggle environment. `from nltk.translate.bleu_score import corpus_bleu from transformers import EvalPrediction def compute_metrics(eval_pred: EvalPrediction): predictions, label_ids = eval_pred.predictions, eval_pred.label_ids # Ensure predictions are a tensor (handle tuple case) if isinstance(predictions, tuple): predictions = predictions[0] # Ensure label_ids are a tensor (handle tuple case) if isinstance(label_ids, tuple): label_ids = label_ids[0] # Decode predictions and labels decoded_preds = [tokenizer.decode(pred, skip_special_tokens=True) for pred in predictions] decoded_labels = [[tokenizer.decode(label, skip_special_tokens=True)] for label in label_ids] # Calculate BLEU score bleu_score = corpus_bleu(decoded_labels, decoded_preds) return {"bleu": bleu_score} from trl import SFTTrainer from transformers import TrainingArguments from unsloth import is_bfloat16_supported trainer = SFTTrainer( model = model, tokenizer = tokenizer, train_dataset = train_dataset, eval_dataset= val_dataset, dataset_text_field = "text", max_seq_length = max_seq_length, dataset_num_proc = 2, packing = False, # Can make training 5x faster for short sequences. args = TrainingArguments( per_device_train_batch_size = 2, gradient_accumulation_steps = 4, warmup_steps = 1, # num_train_epochs = 1, # Set this for 1 full training run. max_steps = 1, learning_rate = 2e-4, fp16 = not is_bfloat16_supported(), bf16 = is_bfloat16_supported(), logging_steps = 1, optim = "adamw_8bit", weight_decay = 0.01, lr_scheduler_type = "linear", seed = 3407, output_dir = "outputs", report_to = "none", # Use this for WandB etc evaluation_strategy="epoch", # Enable evaluation during training ), compute_metrics=compute_metrics, ) ` **Full error:** AssertionError Traceback (most recent call last) in <cell line: 1>() ----> 1 trainer_stats = trainer.train() /usr/local/lib/python3.10/dist-packages/unsloth/tokenizer_utils.py in train(self, resume_from_checkpoint, trial, ignore_keys_for_eval, **kwargs) /usr/local/lib/python3.10/dist-packages/unsloth/models/llama.py in _fast_inner_training_loop(self, batch_size, args, resume_from_checkpoint, trial, ignore_keys_for_eval) /usr/local/lib/python3.10/dist-packages/transformers/trainer.py in _maybe_log_save_evaluate(self, tr_loss, grad_norm, model, trial, epoch, ignore_keys_for_eval, start_time) 3047 metrics = None 3048 if self.control.should_evaluate: → 3049 metrics = self._evaluate(trial, ignore_keys_for_eval) 3050 is_new_best_metric = self._determine_best_metric(metrics=metrics, trial=trial) 3051 /usr/local/lib/python3.10/dist-packages/transformers/trainer.py in _evaluate(self, trial, ignore_keys_for_eval, skip_scheduler) 3001 3002 def _evaluate(self, trial, ignore_keys_for_eval, skip_scheduler=False): → 3003 metrics = self.evaluate(ignore_keys=ignore_keys_for_eval) 3004 self._report_to_hp_search(trial, self.state.global_step, metrics) 3005 /usr/local/lib/python3.10/dist-packages/transformers/trainer.py in evaluate(self, eval_dataset, ignore_keys, metric_key_prefix) 4048 4049 eval_loop = self.prediction_loop if self.args.use_legacy_prediction_loop else self.evaluation_loop → 4050 output = eval_loop( 4051 eval_dataloader, 4052 description=“Evaluation”, /usr/local/lib/python3.10/dist-packages/transformers/trainer.py in evaluation_loop(self, dataloader, description, prediction_loss_only, ignore_keys, metric_key_prefix) 4269 logits = self.gather_function((logits)) 4270 if not self.args.batch_eval_metrics or description == “Prediction”: → 4271 all_preds.add(logits) 4272 if labels is not None: 4273 labels = self.gather_function((labels)) /usr/local/lib/python3.10/dist-packages/transformers/trainer_pt_utils.py in add(self, tensors) 320 self.tensors = tensors if self.do_nested_concat else [tensors] 321 elif self.do_nested_concat: → 322 self.tensors = nested_concat(self.tensors, tensors, padding_index=self.padding_index) 323 else: 324 self.tensors.append(tensors) /usr/local/lib/python3.10/dist-packages/transformers/trainer_pt_utils.py in nested_concat(tensors, new_tensors, padding_index) 129 if not (isinstance(tensors, torch.Tensor) and isinstance(new_tensors, torch.Tensor)): 130 assert ( → 131 type(tensors) is type(new_tensors) 132 ), f"Expected tensors and new_tensors to have the same type but found {type(tensors)} and {type(new_tensors)}." 133 if isinstance(tensors, (list, tuple)): AssertionError: Expected tensors and new_tensors to have the same type but found <class ‘tuple’> and <class ‘torch.Tensor’>. ### Who can help? @muellerzr @SunMarc ### Information - [ ] The official example scripts - [ ] 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 from nltk.translate.bleu_score import corpus_bleu from transformers import EvalPrediction def compute_metrics(eval_pred: EvalPrediction): predictions, label_ids = eval_pred.predictions, eval_pred.label_ids # Ensure predictions are a tensor (handle tuple case) if isinstance(predictions, tuple): predictions = predictions[0] # Ensure label_ids are a tensor (handle tuple case) if isinstance(label_ids, tuple): label_ids = label_ids[0] # Decode predictions and labels decoded_preds = [tokenizer.decode(pred, skip_special_tokens=True) for pred in predictions] decoded_labels = [[tokenizer.decode(label, skip_special_tokens=True)] for label in label_ids] # Calculate BLEU score bleu_score = corpus_bleu(decoded_labels, decoded_preds) return {"bleu": bleu_score} from trl import SFTTrainer from transformers import TrainingArguments from unsloth import is_bfloat16_supported trainer = SFTTrainer( model = model, tokenizer = tokenizer, train_dataset = train_dataset, eval_dataset= val_dataset, dataset_text_field = "text", max_seq_length = max_seq_length, dataset_num_proc = 2, packing = False, # Can make training 5x faster for short sequences. args = TrainingArguments( per_device_train_batch_size = 2, gradient_accumulation_steps = 4, warmup_steps = 1, # num_train_epochs = 1, # Set this for 1 full training run. max_steps = 1, learning_rate = 2e-4, fp16 = not is_bfloat16_supported(), bf16 = is_bfloat16_supported(), logging_steps = 1, optim = "adamw_8bit", weight_decay = 0.01, lr_scheduler_type = "linear", seed = 3407, output_dir = "outputs", report_to = "none", # Use this for WandB etc evaluation_strategy="epoch", # Enable evaluation during training ), compute_metrics=compute_metrics, ) ### Expected behavior Full error: AssertionError Traceback (most recent call last) in <cell line: 1>() ----> 1 trainer_stats = trainer.train() /usr/local/lib/python3.10/dist-packages/unsloth/tokenizer_utils.py in train(self, resume_from_checkpoint, trial, ignore_keys_for_eval, **kwargs) /usr/local/lib/python3.10/dist-packages/unsloth/models/llama.py in _fast_inner_training_loop(self, batch_size, args, resume_from_checkpoint, trial, ignore_keys_for_eval) /usr/local/lib/python3.10/dist-packages/transformers/trainer.py in _maybe_log_save_evaluate(self, tr_loss, grad_norm, model, trial, epoch, ignore_keys_for_eval, start_time) 3047 metrics = None 3048 if self.control.should_evaluate: → 3049 metrics = self._evaluate(trial, ignore_keys_for_eval) 3050 is_new_best_metric = self._determine_best_metric(metrics=metrics, trial=trial) 3051 /usr/local/lib/python3.10/dist-packages/transformers/trainer.py in _evaluate(self, trial, ignore_keys_for_eval, skip_scheduler) 3001 3002 def _evaluate(self, trial, ignore_keys_for_eval, skip_scheduler=False): → 3003 metrics = self.evaluate(ignore_keys=ignore_keys_for_eval) 3004 self._report_to_hp_search(trial, self.state.global_step, metrics) 3005 /usr/local/lib/python3.10/dist-packages/transformers/trainer.py in evaluate(self, eval_dataset, ignore_keys, metric_key_prefix) 4048 4049 eval_loop = self.prediction_loop if self.args.use_legacy_prediction_loop else self.evaluation_loop → 4050 output = eval_loop( 4051 eval_dataloader, 4052 description=“Evaluation”, /usr/local/lib/python3.10/dist-packages/transformers/trainer.py in evaluation_loop(self, dataloader, description, prediction_loss_only, ignore_keys, metric_key_prefix) 4269 logits = self.gather_function((logits)) 4270 if not self.args.batch_eval_metrics or description == “Prediction”: → 4271 all_preds.add(logits) 4272 if labels is not None: 4273 labels = self.gather_function((labels)) /usr/local/lib/python3.10/dist-packages/transformers/trainer_pt_utils.py in add(self, tensors) 320 self.tensors = tensors if self.do_nested_concat else [tensors] 321 elif self.do_nested_concat: → 322 self.tensors = nested_concat(self.tensors, tensors, padding_index=self.padding_index) 323 else: 324 self.tensors.append(tensors) /usr/local/lib/python3.10/dist-packages/transformers/trainer_pt_utils.py in nested_concat(tensors, new_tensors, padding_index) 129 if not (isinstance(tensors, torch.Tensor) and isinstance(new_tensors, torch.Tensor)): 130 assert ( → 131 type(tensors) is type(new_tensors) 132 ), f"Expected tensors and new_tensors to have the same type but found {type(tensors)} and {type(new_tensors)}." 133 if isinstance(tensors, (list, tuple)): AssertionError: Expected tensors and new_tensors to have the same type but found <class ‘tuple’> and <class ‘torch.Tensor’>.
bug
low
Critical
2,782,593,487
transformers
tokenizer.decode() and tokenizer.convert_ids_to_tokens() return different results
### System Info ``` In [2]: tokenizers.__version__, transformers.__version__ Out[2]: ('0.21.0', '4.47.0') ``` ### Who can help? _No response_ ### Information - [ ] The official example scripts - [ ] 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 ``` from transformers import AutoTokenizer token_id=124 in_tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen2.5-7B-Instruct") print([in_tokenizer.convert_ids_to_tokens([token_id])[0], in_tokenizer.decode(token_id)]) token_id=124 in_tokenizer = AutoTokenizer.from_pretrained("meta-llama/Llama-3.1-8B-Instruct") print([in_tokenizer.convert_ids_to_tokens(token_id), in_tokenizer.decode(token_id)]) ``` ### Expected behavior ``` # Output ['À', '�'] ['À', '�'] # Expected Output ['À', 'À'] ['À', 'À'] ```
bug
low
Major
2,782,600,524
TypeScript
tsconfig.json "lib": "dom" should include "dom.iterable"(?)
### 🔎 Search Terms lib, dom, dom.iterable ### 🕗 Version & Regression Information * An issue as of TypeScript 5.7.2 ### ⏯ Playground Link _No response_ ### 💻 Code ```ts // Does TypeScript have the types for DOM iteration? for (const x of document.querySelectorAll('div')) {} ``` ### 🙁 Actual behavior * No error if `"lib"` is omitted from `tsconfig.json`. * Error if `"lib"` is `["es2024", "DOM"]` * No error if `"lib"` is `["es2024", "DOM", "DOM.iterable"]` ### 🙂 Expected behavior Given how broadly supported DOM.iterable is, it should be part of DOM by now(?) Interestingly, es2024.full looks like this but can’t be used as a value of `"lib"`: ```ts /// <reference lib="es2024" /> /// <reference lib="dom" /> /// <reference lib="webworker.importscripts" /> /// <reference lib="scripthost" /> /// <reference lib="dom.iterable" /> /// <reference lib="dom.asynciterable" /> ``` ### Additional information about the issue _No response_
Needs Investigation
low
Critical
2,782,602,057
rust
Incorrect help suggestion when attempting "arc" as Arc<str>
### Code ```Rust fn main() { use std::sync::Arc; let _a = "arc" as Arc<str>; } ``` ### Current output ```Shell error[E0605]: non-primitive cast: `&'static str` as `Arc<str>` --> main.rs:4:14 | 4 | let _a = "arc" as Arc<str>; | ^^^^^^^^^^^^^^^^^ help: consider using the `From` trait instead: `Arc<str>::from("arc")` | = note: an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0605`. ``` ### Desired output ```Shell error[E0605]: non-primitive cast: `&'static str` as `Arc<str>` --> main.rs:4:14 | 4 | let _a = "arc" as Arc<str>; | ^^^^^^^^^^^^^^^^^ help: consider using the `From` trait instead: `Arc::<str>::from("arc")` | = note: an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0605`. ``` ### Rationale and extra context The compiler suggests: help: consider using the `From` trait instead: `Arc<str>::from("arc")` when it should be: help: consider using the `From` trait instead: `Arc::<str>::from("arc")` There's a :: missing to complete the turbofish. ### Other cases ```Rust ``` ### Rust Version ```Shell rustc 1.84.0 (9fc6b4312 2025-01-07) binary: rustc commit-hash: 9fc6b43126469e3858e2fe86cafb4f0fd5068869 commit-date: 2025-01-07 host: x86_64-unknown-linux-gnu release: 1.84.0 LLVM version: 19.1.5 ``` ### Anything else? _No response_ <!-- TRIAGEBOT_START --> <!-- TRIAGEBOT_ASSIGN_START --> <!-- TRIAGEBOT_ASSIGN_DATA_START$${"user":"Harshit933"}$$TRIAGEBOT_ASSIGN_DATA_END --> <!-- TRIAGEBOT_ASSIGN_END --> <!-- TRIAGEBOT_END -->
A-diagnostics,T-compiler,A-suggestion-diagnostics,D-papercut,D-invalid-suggestion
low
Critical
2,782,618,482
neovim
`LanguageTree:contains()` does not respect gaps in included regions
### Problem `LanguageTree:contains(range)` returns `true` if `range` fits between start of first and end of last regions included in `LanguageTree`. This can lead to unexpected results if the regions are far apart with regions from other language trees in between. The particular issue of determining the "correct" (most local) language tree is currently solved in built-in commenting [by taking "the deepest" tree that contains reference range](https://github.com/neovim/neovim/blob/3fdc4302415972eb5d98ba832372236be3d22572/runtime/lua/vim/_comment.lua#L30-L48) as the most local. This doesn't always work as described in "Steps to reproduce". I believe #18678 was meant to fix this by additionally iterating through language tree's regions to determine the result. Not sure why it was not merged, but its implementation seems to be outdated at this point. ### Steps to reproduce Basically, [this part of code](https://github.com/neovim/neovim/blob/3fdc4302415972eb5d98ba832372236be3d22572/runtime/lua/vim/treesitter/languagetree.lua#L1073-L1096). Here is a more practical example from @ribru17 (minimized from [this comment](https://github.com/neovim/neovim/pull/31950#issuecomment-2585790850)) that currently affects built-in commenting: 1. Install and enabled tree-sitter parsers for ['markdown'](https://github.com/tree-sitter-grammars/tree-sitter-markdown) and ['html'](https://github.com/tree-sitter/tree-sitter-html). For example, through `:TSInstall` from [nvim-treesitter/nvim-treesitter](https://github.com/nvim-treesitter/nvim-treesitter). 2. Define the following function: ```lua _G.get_langtree_info = function() local pos = vim.api.nvim_win_get_cursor(0) local ref_range = { pos[1] - 1, pos[2], pos[1] - 1, pos[2] } local res = {} local function traverse(lang_tree) table.insert(res, { contains = lang_tree:contains(ref_range), lang = lang_tree:lang(), included_regions = lang_tree:included_regions(), }) for _, child_lang_tree in pairs(lang_tree:children()) do traverse(child_lang_tree) end end traverse(vim.treesitter.get_parser(0)) return res end ``` 3. Open the following markdown file and put cursor inside code block (third line): ````markdown <!-- html --> ```lua local a = 1 ``` <!-- html --> ```` 4. Execute `:=get_langtree_info()`. It returns the following output: ```lua { { contains = true, included_regions = { {} }, lang = "markdown" }, { contains = true, included_regions = { { { 0, 0, 0, 1, 0, 14 }, { 4, 0, 37, 5, 0, 51 } } }, lang = "html" }, { contains = true, included_regions = { { { 2, 0, 21, 3, 0, 33 } } }, lang = "lua" } } ``` All language trees report that "cursor range" is contained inside them, although only one of them includes a region whose range contains cursor range. Side note: this particular case does not currently work with built-in commenting because both 'html' and 'lua' language trees are sibling trees. This results in a hard to reproduce issue: sometimes 'lua' will be traversed first and sometimes 'html' (due to no order guarantees in `pairs`). ### Expected behavior `LanguageTree:contains()` respects its included regions when computing the result. Basically add an extra `for` loop for included regions (either [here](https://github.com/neovim/neovim/blob/3fdc4302415972eb5d98ba832372236be3d22572/runtime/lua/vim/treesitter/languagetree.lua#L1074-L1081) or [here](https://github.com/neovim/neovim/blob/3fdc4302415972eb5d98ba832372236be3d22572/runtime/lua/vim/treesitter/languagetree.lua#L1089-L1093)). This can also be solved directly in `vim._comment`, but I think it is more reasonable to update `LanguageTree:contains()`. ### Nvim version (nvim -v) NVIM v0.11.0-dev-1498+g6719276040 ### Vim (not Nvim) behaves the same? No ### Operating system/version EndeavourOS Linux x86_64, 6.12.9-arch1-1 ### Terminal name/version Ghostty 1.0.1-arch ### $TERM environment variable xterm-ghostty ### Installation appimage
bug,lua,treesitter
low
Minor
2,782,618,910
react-native
Setting Fallback Fonts in FontFamily Styling is Not Supported
### Description There is an issue already for this bug #25798, but for some reason it has been closed even though it's not fixed yet. This issue should not be closed even if there is inactivity. It is a bug obviously. This is a critical bug especially if there are multi-languages in the app, let's say an app with both Hebrew and Latin texts. For the Hebrew text you use "HebrewFont" and for Latin text you use "LatinFont", so you should be able to set the fontFamily to "HebrewFont, LatinFont" ### Steps to reproduce This line of code works fine: `<Text style={{ fontFamily: "sans-serif" }}>Hello</Text>` This line of code works fine too: `<Text style={{ fontFamily: "Roboto" }}>Hello</Text>` **But this doesn't work:** `<Text style={{ fontFamily: "Roboto, sans-serif" }}>Hello</Text>` ### React Native Version 0.76.2 ### Affected Platforms Runtime - Android, Runtime - iOS ### Output of `npx react-native info` ```text Any React Native Project! ``` ### Stacktrace or Logs ```text There are no logs related to this issue ``` ### Reproducer Any React Native Project!
Needs: Author Feedback,Needs: Repro,Needs: Version Info,Never gets stale
low
Critical
2,782,627,856
PowerToys
PowerToys Peek doesn't update selected file when navigating with arrows
### Microsoft PowerToys version 0.87.0 ### Installation method PowerToys auto-update ### Running as admin None ### Area(s) with issue? Peek ### Steps to reproduce - Select a file in Windows Explorer - Use ctrl+space to activate Peek - Use down arrow to preview a later file - Press esc (or click the x) to close Peek ### ✔️ Expected Behavior When using the up/down arrow keys to search through files within Peek, once you close Peek the last file you previewed would be selected in Windows Explorer. ### ❌ Actual Behavior When using the up/down arrow keys to search through files within Peek, once you close Peek the file you initially previewed is still selected. ### Other Software _No response_
Issue-Bug,Needs-Triage
low
Minor
2,782,640,675
langchain
TypeError: 'float' object is not iterable in embed_query method in LlamaCppEmbeddings in version: 0.3.14 work just fine on 0.3.13
### 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_community.embeddings import LlamaCppEmbeddings my_embedder = "./nomic-embed-text-v1.5.f16.gguf" llm_emb=LlamaCppEmbeddings( model_path=my_embedder, n_gpu_layers=10, n_batch=300, ) dim = len(llm_emb.embed_query("hello world")) ### Error Message and Stack Trace (if applicable) result = func() ^^^^^^ File "/home/pk/Mashroom_rag/langchain/env/lib/python3.12/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 579, in code_to_exec exec(code, module.__dict__) File "/home/pk/Mashroom_rag/langchain/ui.py", line 75, in <module> page() File "/home/pk/Mashroom_rag/langchain/ui.py", line 54, in page st.session_state["assistant"] = ChatPDF() ^^^^^^^^^ File "/home/pk/Mashroom_rag/langchain/loed.py", line 215, in __init__ dim = len(llm_emb.embed_query("hello world")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/pk/Mashroom_rag/langchain/env/lib/python3.12/site-packages/langchain_community/embeddings/llamacpp.py", line 145, in embed_query return list(map(float, embedding[0])) ^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: 'float' object is not iterable ### Description My code works perfectly fine on version 0.3.13 but doesn't on the latest 0.3.14 I expect it's from this commit [#41b6a86 ](https://github.com/langchain-ai/langchain/commit/41b6a86bbe030291cf8ee284ed0cd70dd493152b) ### System Info aiohappyeyeballs==2.4.4 aiohttp==3.11.11 aiosignal==1.3.2 altair==5.5.0 annotated-types==0.7.0 anyio==4.8.0 asttokens==3.0.0 attrs==24.3.0 backcall==0.2.0 beautifulsoup4==4.12.3 bleach==6.2.0 blinker==1.9.0 cachetools==5.5.0 certifi==2024.12.14 charset-normalizer==3.4.1 click==8.1.8 dataclasses-json==0.6.7 decorator==5.1.1 defusedxml==0.7.1 diskcache==5.6.3 docopt==0.6.2 executing==2.1.0 faiss-gpu-cu12==1.9.0.post1 fastjsonschema==2.21.1 frozenlist==1.5.0 gitdb==4.0.12 GitPython==3.1.44 greenlet==3.1.1 h11==0.14.0 httpcore==1.0.7 httpx==0.28.1 httpx-sse==0.4.0 idna==3.10 ipython==8.12.3 jedi==0.19.2 Jinja2==3.1.5 jsonpatch==1.33 jsonpointer==3.0.0 jsonschema==4.23.0 jsonschema-specifications==2024.10.1 jupyter_client==8.6.3 jupyter_core==5.7.2 jupyterlab_pygments==0.3.0 langchain==0.3.14 langchain-community==0.3.14 langchain-core==0.3.29 langchain-text-splitters==0.3.5 langgraph==0.2.62 langgraph-checkpoint==2.0.9 langgraph-sdk==0.1.51 langsmith==0.2.10 llama_cpp_python==0.3.5 markdown-it-py==3.0.0 MarkupSafe==3.0.2 marshmallow==3.25.1 matplotlib-inline==0.1.7 mdurl==0.1.2 mistune==3.1.0 msgpack==1.1.0 multidict==6.1.0 mypy-extensions==1.0.0 narwhals==1.21.1 nbclient==0.10.2 nbconvert==7.16.5 nbformat==5.10.4 numpy==1.26.4 nvidia-cublas-cu12==12.6.4.1 nvidia-cuda-runtime-cu12==12.6.77 orjson==3.10.14 packaging==24.2 pandas==2.2.3 pandocfilters==1.5.1 parso==0.8.4 pexpect==4.9.0 pickleshare==0.7.5 pillow==11.1.0 platformdirs==4.3.6 prompt_toolkit==3.0.48 propcache==0.2.1 protobuf==5.29.3 ptyprocess==0.7.0 pure_eval==0.2.3 pyarrow==18.1.0 pydantic==2.10.5 pydantic-settings==2.7.1 pydantic_core==2.27.2 pydeck==0.9.1 Pygments==2.19.1 pypdf==5.1.0 python-dateutil==2.9.0.post0 python-dotenv==1.0.1 pytz==2024.2 PyYAML==6.0.2 pyzmq==26.2.0 referencing==0.35.1 requests==2.32.3 requests-toolbelt==1.0.0 rich==13.9.4 rpds-py==0.22.3 six==1.17.0 smmap==5.0.2 sniffio==1.3.1 soupsieve==2.6 SQLAlchemy==2.0.37 stack-data==0.6.3 streamlit==1.41.1 tenacity==9.0.0 tinycss2==1.4.0 toml==0.10.2 tornado==6.4.2 traitlets==5.14.3 typing-inspect==0.9.0 typing_extensions==4.12.2 tzdata==2024.2 urllib3==2.3.0 watchdog==6.0.0 wcwidth==0.2.13 webencodings==0.5.1 yarg==0.1.9 yarl==1.18.3
🤖:bug
low
Critical
2,782,642,558
godot
Auto Exposure settings show up incorrectly in inspector
### Tested versions - Reproducible in v4.3 and v4.4.dev.custom_build [d79ff848f] ### System information Godot v4.4.dev (d79ff848f) - Windows 10 (build 19045) - Multi-window, 1 monitor - Vulkan (Forward+) - dedicated AMD Radeon RX 6950 XT (Advanced Micro Devices, Inc.; 32.0.12033.1030) - AMD Ryzen 7 9700X 8-Core Processor (16 threads) ### Issue description If you check the box to see auto exposure settings in CameraAttributesPhysical or CameraAttributesPractical the auto-exposure settings appear incorrectly, two auto exposure sections get created in the editor. ![Image](https://github.com/user-attachments/assets/826199fb-d844-4754-96c2-71cc0109583c) ### Steps to reproduce Add an environment or Camera3D node to a scene, add a CameraAttributesPhysical or CameraAttributesPractical to that node, and check the box to enable auto-exposure settings. ### Minimal reproduction project (MRP) Not Applicable
bug,topic:editor
low
Minor
2,782,666,297
flutter
[tool_crash] RPCError
## Command ```sh flutter run -d emulator ``` ## Steps to Reproduce 1. Template Counter App 2. Run the flutter command using Terminal `flutter run -d emulator` && and I run the emulator using the terminal as well `flutter emulator --launch Prometheus` 3. I am using Windows and Powershell and When I install a package and run the app this crash occurs, this has happed 3 to 4 times. ## Logs RPCError ```console #0 VmService._call (package:vm_service/src/vm_service.dart:1769:7) #1 VmService.getVM (package:vm_service/src/vm_service.dart:1245:25) #2 FlutterDevice.initLogReader (package:flutter_tools/src/resident_runner.dart:428:55) #3 HotRunner.attach (package:flutter_tools/src/run_hot.dart:266:21) <asynchronous suspension> #4 RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:867:27) <asynchronous suspension> #5 FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1408:27) <asynchronous suspension> #6 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19) <asynchronous suspension> #7 CommandRunner.runCommand (package:args/command_runner.dart:212:13) <asynchronous suspension> #8 FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:420:9) <asynchronous suspension> #9 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19) <asynchronous suspension> #10 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:364:5) <asynchronous suspension> #11 run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:130:9) <asynchronous suspension> #12 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19) <asynchronous suspension> #13 main (package:flutter_tools/executable.dart:93:3) <asynchronous suspension> ``` ```console [✓] Flutter (Channel stable, 3.24.4, on Microsoft Windows [Version 10.0.26100.2605], locale en-PK) • Flutter version 3.24.4 on channel stable at C:\.bin\flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 603104015d (3 months ago), 2024-10-24 08:01:25 -0700 • Engine revision db49896cf2 • Dart version 3.5.4 • DevTools version 2.37.3 [✓] Windows Version (Installed version of Windows is version 10 or higher) [✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0) • Android SDK at C:\Users\Prometheus\AppData\Local\Android\sdk • Platform android-Baklava, build-tools 35.0.0 • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java • Java version OpenJDK Runtime Environment (build 21.0.3+-12282718-b509.11) • All Android licenses accepted. [✓] Chrome - develop for the web • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe [!] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.12.3) • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community • Visual Studio Community 2022 version 17.12.35527.113 • Windows 10 SDK version 10.0.22000.0 ✗ Visual Studio is missing necessary components. Please re-run the Visual Studio installer for the "Desktop development with C++" workload, and include these components: MSVC v142 - VS 2019 C++ x64/x86 build tools - If there are multiple build tool versions available, install the latest C++ CMake tools for Windows Windows 10 SDK [✓] Android Studio (version 2024.2) • Android Studio at C:\Program Files\Android\Android Studio •[39
waiting for customer response,in triage
low
Critical
2,782,673,100
rust
Tracking Issue for `stdarch_s390x_feature_detection`
Feature gate: `#![feature(stdarch_s390x_feature_detection)]` This is a tracking issue for SystemZ target feature detection. <!-- Include a short description of the feature. --> ### Public API <!-- For most library features, it'd be useful to include a summarized version of the public API. (E.g. just the public function signatures without their doc comments or implementation.) --> ```rust // std::arch macro_rules! is_s390x_feature_detected { .. } ``` ### Steps / History <!-- For larger features, more steps might be involved. If the feature is changed later, please add those PRs here as well. --> - [ ] Implementation: https://github.com/rust-lang/stdarch/pull/1699 - [ ] Final comment period (FCP)[^1] - [ ] Stabilization PR <!-- Once the feature has gone through a few release cycles and there are no unresolved questions left, the feature might be ready for stabilization. If this feature didn't go through the RFC process, a final comment period (FCP) is always needed before stabilization. This works as follows: A library API team member can kick off the stabilization process, at which point the rfcbot will ask all the team members to verify they agree with stabilization. Once enough members agree and there are no concerns, the final comment period begins: this issue will be marked as such and will be listed in the next This Week in Rust newsletter. If no blocking concerns are raised in that period of 10 days, a stabilization PR can be opened by anyone. --> ### Unresolved Questions <!-- Include any open questions that need to be answered before the feature can be stabilised. If multiple (unrelated) big questions come up, it can be a good idea to open a separate issue for each, to make it easier to keep track of the discussions. It's useful to link any relevant discussions and conclusions (whether on GitHub, Zulip, or the internals forum) here. --> - None yet. [^1]: https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html @rustbot label O-SystemZ
T-libs-api,C-tracking-issue,O-SystemZ
low
Minor
2,782,706,589
godot
[Bug] BBCode url does not recognize nested square brackets
### Tested versions - Reproducible in: v4.3.stable.mono.official [77dcf97d8], v4.3.stable.official [77dcf97d8] ### System information Godot v4.3.stable.mono - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3060 (NVIDIA; 32.0.15.6094) - AMD Ryzen 5 3600 6-Core Processor (12 Threads) ### Issue description If the url metadata in a `RichTextLabel`'s BBCode contains nested sets of square brackets, it will close the tag at the first ']', rather than the one that matches the opening square bracket. E.g. `[url={"a":["b","c"]}]Test[/url]` will instead produce: ![Image](https://github.com/user-attachments/assets/cd555e86-3f18-41aa-8a56-933ca84c6bce) ### Steps to reproduce 1/ Create a `Dictionary` with an array anywhere inside it 2. Use `JSON.stringify()` to turn it into string form 3. Use the string as the metadata for a `[url]` tag in a `RichTextLabel` 4. Observe the tag closing off at the array's `]`, and not the tag's own `]` ### Minimal reproduction project (MRP) [reproducible-tag-error.zip](https://github.com/user-attachments/files/18391295/reproducible-tag-error.zip)
enhancement,topic:gui
low
Critical
2,782,736,939
deno
`deno task` should separate parallel task output
Something we never got around to in the initial implementation.
feat,task runner
low
Major
2,782,742,015
go
proposal: cmp: add `CompareBy` function
### Proposal Details An addition to the `cmp` package to support a common use case in ordered comparison. ```go func CompareBy[K cmp.Ordered, V any](key func(V) K) func(V, V) int { return func(a, b V) int { return cmp.Compare(key(a), key(b)) } } ``` The majority of custom comparison functions apply the same transformation to each element. Analogous to [Python's key functions](https://docs.python.org/3/library/functions.html#sorted), and would integrate well with `Reverse` proposed in #65632.
Proposal,LibraryProposal
low
Major
2,782,749,220
vscode
Request: Add ${unixtime} Placeholder for markdown.copyFiles.destination Option
<!-- ⚠️⚠️ 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 would like to request the addition of a `${unixtime}` placeholder for the `markdown.copyFiles.destination` option. My Use Case: On Japanese Windows systems, screenshots are saved with file names like `スクリーンショット 2025-01-12 071050.png`. However, using Japanese file names may cause unexpected issues in some environments. To avoid this, I would like to rename such files to more universally compatible names, such as those based on Unix timestamps. Currently, there seems to be no built-in placeholder in `markdown.copyFiles.destination` that allows dynamically generating unique file names. A `${unixtime}` placeholder would make it easier to rename files in a predictable and standardized way, ensuring compatibility across different platforms. Thank you for considering this feature request!
feature-request,markdown,verification-found,good first issue,verification-needed
low
Minor
2,782,800,080
react-native
"Your project does not explicitly specify the CocoaPods master specs repo." warning is shown on `pod install`
### Description The following warning is shown on `pod install`: ``` [!] Your project does not explicitly specify the CocoaPods master specs repo. Since CDN is now used as the default, you may safely remove it from your repos directory via `pod repo remove master`. To suppress this warning please add `warn_for_unused_master_specs_repo => false` to your Podfile. ``` ### Steps to reproduce 1. `npx @react-native-community/cli@latest init MasterSpecsRepoWarningApp` 2. "Do you want to install CocoaPods now?" - answer N 3. `cd MasterSpecsRepoWarningApp` 4. `bundle` 5. `cd ios` 6. `bundle exec pod install` 7. Observe the warning Alternatively, use https://github.com/noway/master-specs-repo-warning-reproducer-react-native repo. ### React Native Version 0.76.6 ### Affected Platforms Build - MacOS ### Output of `npx react-native info` ```text info Fetching system and libraries information... (node:80180) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead. (Use `node --trace-deprecation ...` to show where the warning was created) System: OS: macOS 15.3 CPU: (8) arm64 Apple M1 Pro Memory: 711.66 MB / 32.00 GB Shell: version: "5.9" path: /bin/zsh Binaries: Node: version: 22.12.0 path: ~/.nvm/versions/node/v22.12.0/bin/node Yarn: version: 1.22.22 path: ~/.nvm/versions/node/v22.12.0/bin/yarn npm: version: 10.9.0 path: ~/.nvm/versions/node/v22.12.0/bin/npm Watchman: Not Found Managers: CocoaPods: version: 1.16.2 path: /Users/ilia/.rbenv/shims/pod SDKs: iOS SDK: Platforms: - DriverKit 24.2 - iOS 18.2 - macOS 15.2 - tvOS 18.2 - visionOS 2.2 - watchOS 11.2 Android SDK: Not Found IDEs: Android Studio: 2023.2 AI-232.10300.40.2321.11567975 Xcode: version: 16.2/16C5032a path: /usr/bin/xcodebuild Languages: Java: version: 17.0.13 path: /usr/bin/javac Ruby: version: 3.4.1 path: /Users/ilia/.rbenv/shims/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.6 wanted: 0.76.6 react-native-macos: Not Found npmGlobalPackages: "*react-native*": Not Found Android: hermesEnabled: true newArchEnabled: true iOS: hermesEnabled: true newArchEnabled: true ``` ### Stacktrace or Logs ```text $ bundle exec pod install link_native_modules! {ios_packages: [], ios_project_root_path: "/Users/ilia/compiling/masterspecsrepowarningissue/MasterSpecsRepoWarningApp/ios", react_native_path: "../node_modules/react-native"} Framework build type is static library [Codegen] Adding script_phases to ReactCodegen. [Codegen] Generating ./build/generated/ios/ReactCodegen.podspec.json [Codegen] Analyzing /Users/ilia/compiling/masterspecsrepowarningissue/MasterSpecsRepoWarningApp/package.json [Codegen] Searching for codegen-enabled libraries in the app. [Codegen] The "codegenConfig" field is not defined in package.json. Assuming there is nothing to generate at the app level. [Codegen] Searching for codegen-enabled libraries in the project dependencies. [Codegen] Found react-native [Codegen] >>>>> Searching for codegen-enabled libraries in react-native.config.js [Codegen] Processing FBReactNativeSpec [Codegen] Searching for podspec in the project dependencies. [Codegen] Processing rncore [Codegen] Searching for podspec in the project dependencies. [Codegen] Generating Native Code for FBReactNativeSpec - ios [Codegen] Generated artifacts: /Users/ilia/compiling/masterspecsrepowarningissue/MasterSpecsRepoWarningApp/ios/build/generated/ios [Codegen - rncore] Skipping iOS code generation for rncore as it has been generated already. [Codegen] Creating component provider. [Codegen] Generated provider in: /Users/ilia/compiling/masterspecsrepowarningissue/MasterSpecsRepoWarningApp/node_modules/react-native/React/Fabric [Codegen] Done. Analyzing dependencies Fetching podspec for `DoubleConversion` from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec` Fetching podspec for `RCT-Folly` from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec` Fetching podspec for `boost` from `../node_modules/react-native/third-party-podspecs/boost.podspec` Fetching podspec for `fmt` from `../node_modules/react-native/third-party-podspecs/fmt.podspec` Fetching podspec for `glog` from `../node_modules/react-native/third-party-podspecs/glog.podspec` Fetching podspec for `hermes-engine` from `../node_modules/react-native/sdks/hermes-engine/hermes-engine.podspec` [Hermes] Using release tarball from URL: https://repo1.maven.org/maven2/com/facebook/react/react-native-artifacts/0.76.6/react-native-artifacts-0.76.6-hermes-ios-debug.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 23.3M 100 23.3M 0 0 55.3M 0 --:--:-- --:--:-- --:--:-- 55.3M % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 16.3M 100 16.3M 0 0 52.5M 0 --:--:-- --:--:-- --:--:-- 52.6M Downloading dependencies Installing DoubleConversion (1.1.6) Installing FBLazyVector (0.76.6) Installing RCT-Folly (2024.01.01.00) Installing RCTDeprecation (0.76.6) Installing RCTRequired (0.76.6) Installing RCTTypeSafety (0.76.6) Installing React (0.76.6) Installing React-Core (0.76.6) Installing React-CoreModules (0.76.6) Installing React-Fabric (0.76.6) Installing React-FabricComponents (0.76.6) Installing React-FabricImage (0.76.6) Installing React-ImageManager (0.76.6) Installing React-Mapbuffer (0.76.6) Installing React-NativeModulesApple (0.76.6) Installing React-RCTActionSheet (0.76.6) Installing React-RCTAnimation (0.76.6) Installing React-RCTAppDelegate (0.76.6) Installing React-RCTBlob (0.76.6) Installing React-RCTFabric (0.76.6) Installing React-RCTImage (0.76.6) Installing React-RCTLinking (0.76.6) Installing React-RCTNetwork (0.76.6) Installing React-RCTSettings (0.76.6) Installing React-RCTText (0.76.6) Installing React-RCTVibration (0.76.6) Installing React-RuntimeApple (0.76.6) Installing React-RuntimeCore (0.76.6) Installing React-RuntimeHermes (0.76.6) Installing React-callinvoker (0.76.6) Installing React-cxxreact (0.76.6) Installing React-debug (0.76.6) Installing React-defaultsnativemodule (0.76.6) Installing React-domnativemodule (0.76.6) Installing React-featureflags (0.76.6) Installing React-featureflagsnativemodule (0.76.6) Installing React-graphics (0.76.6) Installing React-hermes (0.76.6) Installing React-idlecallbacksnativemodule (0.76.6) Installing React-jserrorhandler (0.76.6) Installing React-jsi (0.76.6) Installing React-jsiexecutor (0.76.6) Installing React-jsinspector (0.76.6) Installing React-jsitracing (0.76.6) Installing React-logger (0.76.6) Installing React-microtasksnativemodule (0.76.6) Installing React-nativeconfig (0.76.6) Installing React-perflogger (0.76.6) Installing React-performancetimeline (0.76.6) Installing React-rendererconsistency (0.76.6) Installing React-rendererdebug (0.76.6) Installing React-rncore (0.76.6) Installing React-runtimeexecutor (0.76.6) Installing React-runtimescheduler (0.76.6) Installing React-timing (0.76.6) Installing React-utils (0.76.6) Installing ReactCodegen (0.76.6) Installing ReactCommon (0.76.6) Installing SocketRocket (0.7.1) Installing Yoga (0.0.0) Installing boost (1.84.0) Installing fmt (9.1.0) Installing glog (0.3.5) Installing hermes-engine (0.76.6) Generating Pods project Setting USE_HERMES build settings Setting REACT_NATIVE_PATH build settings Setting SWIFT_ACTIVE_COMPILATION_CONDITIONS build settings [Ccache]: Removing Ccache from CC, LD, CXX & LDPLUSPLUS build settings [SPM] Cleaning old SPM dependencies from Pods project [SPM] Adding SPM dependencies to Pods project [Privacy Manifest Aggregation] Appending aggregated reasons to existing PrivacyInfo.xcprivacy file. [Privacy Manifest Aggregation] Reading .xcprivacy files to aggregate all used Required Reason APIs. Setting CLANG_CXX_LANGUAGE_STANDARD to c++20 on /Users/ilia/compiling/masterspecsrepowarningissue/MasterSpecsRepoWarningApp/ios/MasterSpecsRepoWarningApp.xcodeproj Pod install took 8 [s] to run Integrating client project [!] Please close any current Xcode sessions and use `MasterSpecsRepoWarningApp.xcworkspace` for this project from now on. Pod installation complete! There are 65 dependencies from the Podfile and 64 total pods installed. [!] [Codegen] warn: using experimental new codegen integration [!] hermes-engine has added 1 script phase. Please inspect before executing a build. See `https://guides.cocoapods.org/syntax/podspec.html#script_phases` for more information. [!] Your project does not explicitly specify the CocoaPods master specs repo. Since CDN is now used as the default, you may safely remove it from your repos directory via `pod repo remove master`. To suppress this warning please add `warn_for_unused_master_specs_repo => false` to your Podfile. ``` ### Reproducer https://github.com/noway/master-specs-repo-warning-reproducer-react-native ### Screenshots and Videos <img width="758" alt="Screenshot 2025-01-12 at 7 51 09 PM" src="https://github.com/user-attachments/assets/442781a2-f35c-4c0f-94b7-5c990458c6a1" />
Resolution: PR Submitted
low
Critical
2,782,807,117
pytorch
Implement the `mode` property for transformed distributions
### 🚀 The feature, motivation and pitch Currently, the `TransformedDistribution` class of `torch.distributions.transformed_distribution` doesn't have a `mode` property. Calling `mode` on such an instance will raise a `NotImplementedError` that falls back to the `Distributions` base class. Though I understand the `mode` of a transformed distribution should not necessarily equal to just applying the transforms onto the base distribution's `mode` value, as seen in the discussion [here](https://math.stackexchange.com/questions/2526473/modes-under-transformation). Is there a feasible way to get the actual mode value of a transformed distribution? cc @fritzo @neerajprad @alicanb @nikitaved
module: distributions,triaged
low
Critical
2,782,813,966
godot
Playing long animations with AnimationNode causes delta time granularity problems
### Tested versions - Reproducible in https://github.com/godotengine/godot/pull/101409 Trying to narrow down the range. ### System information Windows 11. 4090 series Nvidia ### Issue description When recording a Spring Bone modifier animation we noticed that after a minute or two the animation starts to slow down. https://youtu.be/REpHI32P14k ### Steps to reproduce 1. play a long animation 2. Doesn't seem to be related to the SpringBoneSimulator3D systems. 3. See a slow down ### Minimal reproduction project (MRP) https://github.com/V-Sekai-fire/godot-vrm-motion-checker/tree/spring-bone We're trying to narrow down the MRP.
bug,topic:animation,performance
low
Major
2,782,820,405
opencv
build error:v_int64x4 in intrin_lasx.hpp without operator <
### System Information OpenCV version: 5.0.0 Operating System / Platform: loongarch64 Compiler & compiler version: GCC 8.3.0 ### Detailed description I tried to compile OpenCV on loongarch64 but received an error message. ![OH7D~7ZWGYJ1M1DIAS~ZMUK](https://github.com/user-attachments/assets/8947639f-7370-4f28-8047-2709088055df) Upon checking the intrin_lasx.hpp, it was found that there was no implementation of operator>and operator < for v_int64x4 ### Steps to reproduce cmake \ -D CMAKE_INSTALL_PREFIX=${install_dir} \ -D WITH_GTK=OFF \ -D CMAKE_BUILD_TYPE=RELEASE \ -D BUILD_SHARED_LIBS=ON \ -D BUILD_JAVA=OFF \ -D BUILD_PYTHON=OFF \ -D BUILD_TESTS=OFF \ -D BUILD_opencv_world=ON \ -D WITH_IPP=OFF ### 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 - [ ] I updated to the latest OpenCV version and the issue is still there - [ ] There is reproducer code and related data files (videos, images, onnx, etc)
bug,platform: loongson
low
Critical
2,782,823,994
godot
`@export_group`'s display incorrectly in debugger attached, remote inspector panel
### Tested versions - Reproducable in Godot v4.4-dev7 ### System information Godot v4.4.dev7.mono - Windows 11 (build 22631) - Multi-window, 1 monitor - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3080 (NVIDIA; 32.0.15.6094) - 12th Gen Intel(R) Core(TM) i9-12900K (24 threads) ### Issue description When I am debugging and looking at a "remote scene"'s inspector properties, when I have `@export_group` attributes on the properties, the `@export_group` shows up as a null property instead of as a grouping of properties. For example, here are the properties I have configured in a player script: ```gdscript class_name Player extends CharacterBody3D @export var nickname: String: set(value): nickname = value $PlayerBadge.set_player_name(value) @export var health: float: set(value): health = value $PlayerBadge.set_player_health(value) @export_group("Look") @export var mouse_sensitivity: float = 0.003 @export var min_look_angle: float = -90.0 @export var max_look_angle: float = 90.0 @export_group("Movement") @export var crouch_speed: float = 2.5 @export var walk_speed: float = 4.5 @export var sprint_speed: float = 7.0 @export var jump_force: float = 10.5 @export var acceleration = 7.0 @export var gravity_scale = 3.2 var gravity = ProjectSettings.get_setting("physics/3d/default_gravity") var jumping = false var current_speed = walk_speed @onready var tools: Node3D = $Tools @onready var tool_spawner: ToolSpawner = $ToolSpawner @onready var camera_pivot = $CameraPivot @onready var camera = %Camera3D ``` and here is what the remote inspector panel shows: ![Image](https://github.com/user-attachments/assets/e5b33ebe-ff01-4d73-b075-37066efc43a7) ### Steps to reproduce 1. Add a `@export_group` attribute to some properties 2. Start debugging with godot 3. Go to the "Remote" scene view 4. Find the node with the script with the `@export_group` properties 5. Notice that the `@export_group` display as a null property with the label displaying the group number and the group name ### Minimal reproduction project (MRP) If you need a MRP project I can make one, but it should happen in any project with `@export_group` attributes
bug,topic:gdscript,topic:editor
low
Critical
2,782,837,659
PowerToys
File Explorer column view? (À la Mac)
### Description of the new feature / enhancement Is there any plans to create a cloumn view option for file explorer? As a fairly recent Windows conver, cloumn view is a tool I feel is really missing from windows file explorer. ### Scenario when this would be used? File and document organisation with coloumn view is steam lined and the time spent on those organisation sessions become far shorter. Also created a quicker and simpler workflow for manipulation of source files. ### Supporting information i dont have any hard facts to say there is a large group of people crying out for this an an option for windows, but there are certainly instances of the request around other github projects and on reddit threads of windows modders.
Needs-Triage
low
Minor
2,782,848,434
godot
Exported Dictionaries that are modified in the Inspector and also changed at runtime are not reset to their initial value in scenes that are stored in a variable and reloaded
### Tested versions v4.3.stable.official [77dcf97d8] ### System information Godot v4.3.stable - Windows 10.0.22631 - GLES3 (Compatibility) - AMD Radeon(TM) Vega 8 Graphics (Advanced Micro Devices, Inc.; 27.20.15030.5001) - AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx (8 Threads) ### Issue description If you create level scenes and keep them in memory by creating an autoload and storing the level.tscn in a variable like so (with either preload or load - this is something that I've found dramatically increases the efficiency of loading new level scenes) ```gdscript var level:PackedScene = preload("res://level.tscn") ``` And if you make e.g. a player scene that has stats that you might want to modify on each level in an exported Dictionary and have a level where you customize the starting value for a stat in that level by editing the Dictionary's value in the Godot Editor, Then if that value gets changed during gameplay and the level scene is reloaded (because the player dies) then any modifications to the value in the Dictionary will NOT go back to their original value when the level restarts, they will keep any modifications that were made while the level was running. ### Steps to reproduce Create a level scene that can be restarted Create an autoload that stores the level scene in a variable (PackedScene) Create a player scene with an exported Dictionary with stats Add the player scene to the level scene Manually set a stat in the exported dictionary of stats for the player node within the level scene Make some mechanism that can change the player's stats while the level scene is running Run the level scene, make a stat in the exported dictionary change, then reload the level scene Notes: 1) If you have exported stats that are NOT in a Dictionary, then they won't have this bug, it only happens with Dictionaries. 2) It ONLY happens if you set a value in the exported Dictionary manually on the player node within the level scene, it will not happen if the Dictionary just has default values. 3) It ONLY happens if the level scene is stored in a variable. If you do not create an autoload or something to store the level PackedScene in a variable (to greatly improve the efficiency of loading a level scene) then the bug won't occur. ### Minimal reproduction project (MRP) This minimal reproduction project has a Level scene and a Player scene, where the player has some stats stored in various ways. The "str" stat is stored in the exported "stats" Dictionary. In this Level scene, the Player node was added and in the inspector the exported "stats[str]" was manually set to 8. This is where the bug occurs. The "int" stat is stored in a non-exported Dictionary and does not act buggy. The "agi" stat is stored in an exported Integer and does not act buggy. If you start the game, the player (Godot icon) will drop down the middle of the screen to give a visual cue if you restart the level. Press the up arrow to increase the "str" stat. Press the left arrow to increase the "int" stat. Press the right arrow to increase the "agi" stat. Press the down arrow to restart the level. If you increase the "str" stat then when you restart the level any changes in "str" that occurred while the level was running (because you pressed up) will not reset properly. The other stats will reset to their initial values when the level restarts. [persistent_dictionary.zip](https://github.com/user-attachments/files/18392007/persistent_dictionary.zip)
topic:core,needs testing
low
Critical
2,782,865,163
node
Make Buffer.prototype methods callable with Uint8Array instances
### What is the problem this feature will solve? From the docs: > Node.js APIs accept plain `Uint8Array`s wherever `Buffer`s are supported as well. One notable place where plain Uint8Arrays are not _always_ accepted is the methods on the Buffer subclass. Take the method `buf.readIntLE(offset, byteLength)`: ```js Buffer.prototype.readIntLE.call(Uint8Array.of(1, 0, 0, 0, 0), 0, 3); // 1 Buffer.prototype.readIntLE.call(Uint8Array.of(1, 0, 0, 0, 0), 0, 4) // Uncaught TypeError: this.readInt32LE is not a function // at Uint8Array.readIntLE (node:internal/buffer:349:17) ``` Depending on the `byteLength` given, the method will respond correctly or throw a `TypeError` if it happens to be written using a code path that uses an internal method found only on the Buffer prototype. As a library author, I would also like to easily accept Uint8Arrays wherever Buffers are accepted and not spend time converting the input to a Buffer instance to get useful byte utilities to work on both possible inputs. ### What is the feature you are proposing to solve the problem? I propose to make the few code paths that rely on internal methods invoke those functions in a way that doesn't require them to be defined on the currently bound `this` value's prototype. For example: ```js return this.readInt32LE(offset); ``` becomes ```js return FunctionPrototypeCall(readInt32LE, this, offset); ``` And add coverage for existing and future methods to maintain this contract. ### What alternatives have you considered? A couple but less desirable alternatives: - Convert input by invoking `Buffer.from(ArrayBuffer, byteOffset, byteLength)` - Reimplement the methods in library to work with either input
feature request
low
Critical
2,782,868,443
godot
Can not get correct size of RichTextLabel immediately after changing wrap mode in code
### Tested versions Test with Godot4.3 stable and Godot 4.4dev7, both come with this problem. ### System information Godot v4.4.dev7 - Windows 11 (build 22631) - Multi-window, 1 monitor - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 4070 (NVIDIA; 32.0.15.6094) - 12th Gen Intel(R) Core(TM) i7-12700 (20 threads) ### Issue description I'm trying to make a custom tooltip. I want to change the wrap mode in code. But after I do this, I can not get the correct size of `RichTextLabel` immediately. ### Steps to reproduce Test with the upload minimal project. There are there buttons in the scene. By hovering on 'button2' first time, it will print there sizes of the `RichTextLabel` , but they are all not right. I have to hover on for the second time to get the correct size. ### Minimal reproduction project (MRP) [richtextlabel_test.zip](https://github.com/user-attachments/files/18392120/richtextlabel_test.zip)
discussion,documentation,topic:gui
low
Major
2,782,885,151
langchain
[Attribute Error] : Cannot Load Google API
### 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). ```python ### Example Code google_api_client = GoogleApiClient(credentials_path=Path("D:\Project_Multimedika\automation_youtube\client_secret.json")) def load_docs(url): try: url = str(url) # loader = YoutubeLoader.from_youtube_url( # youtube_url=url, # add_video_info=False, # language=["id"], # translation = "id" # ) # documents = loader.load() # Use a Channel youtube_loader_channel = GoogleApiYoutubeLoader( google_api_client=google_api_client, channel_name="Dokter Post", captions_language="id", ) # Use Youtube Ids youtube_loader_ids = GoogleApiYoutubeLoader( google_api_client=google_api_client, video_ids=[url], add_video_info=True ) # returns a list of Documents documents = youtube_loader_channel.load() print("documents : ", documents) if not documents: # Equivalent to checking if documents is an empty list return APIResponse(success=False, message="Tidak bisa menangkap subtitle", data={"summary": "tidak ada summary"}) return documents except Exception as e: return APIResponse(success=False, message=f"error : {e}", data={"summary": "terdapat error"}) ``` ### Error Message and Stack Trace (if applicable) ![Screenshot 2025-01-13 093016](https://github.com/user-attachments/assets/0723d005-4408-4ccc-b49b-a93e2c71de69) ### Description I have updated langchain-community, but it is still error. The error is similar with [[](https://github.com/langchain-ai/langchain/issues/27432)](https://github.com/langchain-ai/langchain/issues/27432) ### System Info langchain-community == 0.3.14 fastapi == 0.115.6 openai == 1.59.3 uvicorn == 0.34.0 youtube-transcript-api == 0.6.3 pytube == 15.0.0 python-dotenv == 1.0.1 langchain-openai == 0.2.14 langchain-text-splitters == 0.3.4 oauthlib==3.2.2 google-api-core==2.24.0 google-api-python-client==2.158.0 google-auth==2.37.0 google-auth-httplib2==0.2.0 google-auth-oauthlib==1.2.1 googleapis-common-protos==1.66.0
🤖:bug
low
Critical
2,782,899,393
vscode
VS Code tunneling isn't detecting `Ctrl+Backspace` on Android
I'm using VS Code's tunneling functionality via https://vscode.dev on my Pixel Tablet with a connected keyboard and mouse. However, anytime I type <kbd>Ctrl</kbd>+<kbd>Backspace</kbd>, it doesn't seem to delete anything (or sometimes one character instead of the last word). I'm in Google's Android Beta Program, so it's possible that might be affecting things. However, other websites aren't affected by the same issue, so I'm suspecting it has something to do with VS Code. Edit: After further investigation, I'm also seeing that the <kbd>Backspace</kbd> key itself doesn't work sometimes. I'm not sure if this is due to latency issues connecting to my VS Code instance, but having it not be immediate is quite inconvenient. Edit 2: Strangely, keys like alphanumerics don't lag. As far as I can tell, this issue is isolated to the <kbd>Backspace</kbd> key. Version: 1.96.2 Commit: fabdb6a30b49f79a7aba0f2ad9df9b399473380f User Agent: Mozilla/5.0 (Android 15; Mobile; rv:134.0) Gecko/134.0 Firefox/134.0 Embedder: vscode.dev
android
low
Minor
2,782,916,815
langchain
chromadb install fail in python3.10.11
### 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 just in pip install ### Error Message and Stack Trace (if applicable) C:\Users\Administrator>pip install chromadb -i https://pypi.tuna.tsinghua.edu.cn/simple Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple Collecting chromadb Downloading https://pypi.tuna.tsinghua.edu.cn/packages/bb/1c/2b77093f4191ad2d1ab70b9215cb6bc9f43350aa3e9e54a44304c8379335/chromadb-0.6.2-py3-none-any.whl (606 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 606.2/606.2 kB 1.9 MB/s eta 0:00:00 Collecting opentelemetry-api>=1.2.0 Downloading https://pypi.tuna.tsinghua.edu.cn/packages/43/53/5249ea860d417a26a3a6f1bdedfc0748c4f081a3adaec3d398bc0f7c6a71/opentelemetry_api-1.29.0-py3-none-any.whl (64 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 64.3/64.3 kB 858.2 kB/s eta 0:00:00 Collecting PyYAML>=6.0.0 Downloading https://pypi.tuna.tsinghua.edu.cn/packages/b5/84/0fa4b06f6d6c958d207620fc60005e241ecedceee58931bb20138e1e5776/PyYAML-6.0.2-cp310-cp310-win_amd64.whl (161 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 161.8/161.8 kB 9.5 MB/s eta 0:00:00 Collecting fastapi>=0.95.2 Downloading https://pypi.tuna.tsinghua.edu.cn/packages/52/b3/7e4df40e585df024fac2f80d1a2d579c854ac37109675db2b0cc22c0bb9e/fastapi-0.115.6-py3-none-any.whl (94 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 94.8/94.8 kB 1.8 MB/s eta 0:00:00 Collecting overrides>=7.3.1 Downloading https://pypi.tuna.tsinghua.edu.cn/packages/2c/ab/fc8290c6a4c722e5514d80f62b2dc4c4df1a68a41d1364e625c35990fcf3/overrides-7.7.0-py3-none-any.whl (17 kB) Collecting importlib-resources Downloading https://pypi.tuna.tsinghua.edu.cn/packages/a4/ed/1f1afb2e9e7f38a545d628f864d562a5ae64fe6f7a10e28ffb9b185b4e89/importlib_resources-6.5.2-py3-none-any.whl (37 kB) Collecting httpx>=0.27.0 Downloading https://pypi.tuna.tsinghua.edu.cn/packages/2a/39/e50c7c3a983047577ee07d2a9e53faf5a69493943ec3f6a384bdc792deb2/httpx-0.28.1-py3-none-any.whl (73 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 73.5/73.5 kB 1.0 MB/s eta 0:00:00 Collecting orjson>=3.9.12 Downloading https://pypi.tuna.tsinghua.edu.cn/packages/50/ba/6ba2bf69ac0526d143aebe78bc39e6e5fbb51d5336fbc5efb9aab6687cd9/orjson-3.10.14-cp310-cp310-win_amd64.whl (133 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.5/133.5 kB 874.3 kB/s eta 0:00:00 Collecting kubernetes>=28.1.0 Downloading https://pypi.tuna.tsinghua.edu.cn/packages/fb/a8/17f5e28cecdbd6d48127c22abdb794740803491f422a11905c4569d8e139/kubernetes-31.0.0-py2.py3-none-any.whl (1.9 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.9/1.9 MB 1.8 MB/s eta 0:00:00 Collecting tenacity>=8.2.3 Downloading https://pypi.tuna.tsinghua.edu.cn/packages/b6/cb/b86984bed139586d01532a587464b5805f12e397594f19f931c4c2fbfa61/tenacity-9.0.0-py3-none-any.whl (28 kB) Collecting uvicorn[standard]>=0.18.3 Downloading https://pypi.tuna.tsinghua.edu.cn/packages/61/14/33a3a1352cfa71812a3a21e8c9bfb83f60b0011f5e36f2b1399d51928209/uvicorn-0.34.0-py3-none-any.whl (62 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.3/62.3 kB 3.3 MB/s eta 0:00:00 Collecting opentelemetry-instrumentation-fastapi>=0.41b0 Downloading https://pypi.tuna.tsinghua.edu.cn/packages/cb/d6/37784bb30b213e2dd6838b9f96c2940907022c1b75ef1ff18a99afe42433/opentelemetry_instrumentation_fastapi-0.50b0-py3-none-any.whl (12 kB) Collecting pydantic>=1.9 Downloading https://pypi.tuna.tsinghua.edu.cn/packages/58/26/82663c79010b28eddf29dcdd0ea723439535fa917fce5905885c0e9ba562/pydantic-2.10.5-py3-none-any.whl (431 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 431.4/431.4 kB 2.4 MB/s eta 0:00:00 Collecting tqdm>=4.65.0 Downloading https://pypi.tuna.tsinghua.edu.cn/packages/d0/30/dc54f88dd4a2b5dc8a0279bdd7270e735851848b762aeb1c1184ed1f6b14/tqdm-4.67.1-py3-none-any.whl (78 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.5/78.5 kB 4.6 MB/s eta 0:00:00 Collecting bcrypt>=4.0.1 Downloading https://pypi.tuna.tsinghua.edu.cn/packages/76/b9/d51d34e6cd6d887adddb28a8680a1d34235cc45b9d6e238ce39b98199ca0/bcrypt-4.2.1-cp39-abi3-win_amd64.whl (153 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 153.1/153.1 kB 3.0 MB/s eta 0:00:00 Collecting build>=1.0.3 Downloading https://pypi.tuna.tsinghua.edu.cn/packages/84/c2/80633736cd183ee4a62107413def345f7e6e3c01563dbca1417363cf957e/build-1.2.2.post1-py3-none-any.whl (22 kB) Collecting mmh3>=4.0.1 Downloading https://pypi.tuna.tsinghua.edu.cn/packages/74/8e/4bb5ade332a87de633cda21dae09d6002d69601f2b93e9f40302ab2d9acf/mmh3-5.0.1-cp310-cp310-win_amd64.whl (39 kB) Collecting opentelemetry-exporter-otlp-proto-grpc>=1.2.0 Downloading https://pypi.tuna.tsinghua.edu.cn/packages/f2/de/4b4127a25d1594851d99032f3a9acb09cb512d11edec713410fb906607f4/opentelemetry_exporter_otlp_proto_grpc-1.29.0-py3-none-any.whl (18 kB) Collecting rich>=10.11.0 Downloading https://pypi.tuna.tsinghua.edu.cn/packages/19/71/39c7c0d87f8d4e6c020a393182060eaefeeae6c01dab6a84ec346f2567df/rich-13.9.4-py3-none-any.whl (242 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 242.4/242.4 kB 1.5 MB/s eta 0:00:00 Collecting tokenizers>=0.13.2 Downloading https://pypi.tuna.tsinghua.edu.cn/packages/44/69/d21eb253fa91622da25585d362a874fa4710be600f0ea9446d8d0217cec1/tokenizers-0.21.0-cp39-abi3-win_amd64.whl (2.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.4/2.4 MB 2.1 MB/s eta 0:00:00 Collecting grpcio>=1.58.0 Downloading https://pypi.tuna.tsinghua.edu.cn/packages/ef/ba/bf1a6d9f5c17d2da849793d72039776c56c98c889c9527f6721b6ee57e6e/grpcio-1.69.0-cp310-cp310-win_amd64.whl (4.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.4/4.4 MB 3.7 MB/s eta 0:00:00 Collecting typer>=0.9.0 Downloading https://pypi.tuna.tsinghua.edu.cn/packages/d0/cc/0a838ba5ca64dc832aa43f727bd586309846b0ffb2ce52422543e6075e8a/typer-0.15.1-py3-none-any.whl (44 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 44.9/44.9 kB ? eta 0:00:00 Collecting posthog>=2.4.0 Downloading https://pypi.tuna.tsinghua.edu.cn/packages/76/bd/2d550ac79443cdbb6a5a4193c37820f04df0499e1ecbe8e41c5462cf0c2d/posthog-3.7.5-py2.py3-none-any.whl (54 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 54.9/54.9 kB 150.3 kB/s eta 0:00:00 Collecting chroma-hnswlib==0.7.6 Downloading https://pypi.tuna.tsinghua.edu.cn/packages/d6/63/ee3e8b7a8f931918755faacf783093b61f32f59042769d9db615999c3de0/chroma_hnswlib-0.7.6-cp310-cp310-win_amd64.whl (150 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 151.0/151.0 kB 9.4 MB/s eta 0:00:00 Collecting pypika>=0.48.9 Downloading https://pypi.tuna.tsinghua.edu.cn/packages/c7/2c/94ed7b91db81d61d7096ac8f2d325ec562fc75e35f3baea8749c85b28784/PyPika-0.48.9.tar.gz (67 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 67.3/67.3 kB 523.1 kB/s eta 0:00:00 Installing build dependencies ... error error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [12 lines of output] Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple Collecting setuptools>=40.8.0 Downloading https://pypi.tuna.tsinghua.edu.cn/packages/69/8a/b9dc7678803429e4a3bc9ba462fa3dd9066824d3c607490235c6a796be5a/setuptools-75.8.0-py3-none-any.whl (1.2 MB) ---------------------------------------- 1.2/1.2 MB 4.6 MB/s eta 0:00:00 Collecting wheel Downloading https://pypi.tuna.tsinghua.edu.cn/packages/0b/2c/87f3254fd8ffd29e4c02732eee68a83a1d3c346ae39bc6822dcbcb697f2b/wheel-0.45.1-py3-none-any.whl (72 kB) ---------------------------------------- 72.5/72.5 kB 4.2 MB/s eta 0:00:00 Installing collected packages: wheel, setuptools ERROR: Cannot set --home and --prefix together [notice] A new release of pip is available: 23.0.1 -> 24.3.1 [notice] To update, run: python.exe -m pip install --upgrade pip [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. ### Description just in pip install, i try 3.11 and 3.10 python version,but all version is wrong ### System Info win10
investigate
low
Critical
2,782,921,677
transformers
Will Qwen2VL support sequence classification head in the future?
### Feature request Will Qwen2VL support sequence classification head in the future?
Feature request
low
Minor
2,782,929,953
kubernetes
Cannot connect Backend Service from FrontEnd Service
### What happened? I am developing a simple project called "TodoApp," which consists of a TodoApi project built with .NET and a WebApp project using ReactJS. However, I am unable to call the API from the WebApp in a browser. Interestingly, it works when I connect to the FrontEnd pod and use the `curl http://todoapp-api-service` command, which responds with 'hello world' from the server. ### What did you expect to happen? I want to call the API from the WebApp in a browser. ### How can we reproduce it (as minimally and precisely as possible)? I setup my project: 1. Dockerfile TodoApi Dockerfile: ``` # Use the official .NET SDK image to build the app FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build # Set the working directory inside the container WORKDIR /app # Copy the csproj file and restore the dependencies COPY ToDoApi.csproj ./ RUN dotnet restore # Copy the rest of the application files COPY . ./ # Build the application RUN dotnet publish -c Release -o out # Use the official .NET runtime image for the runtime environment FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS base # Set the working directory for the runtime container WORKDIR /app # Expose port 80 for the app to listen to EXPOSE 80 # Copy the published files from the build image COPY --from=build /app/out . # Define the entry point to run the app ENTRYPOINT ["dotnet", "ToDoApi.dll"] ``` WebApi Dockerfile: ``` # Step 1: Use an official Node.js image as a base image FROM node:16 AS build # Step 2: Set the working directory inside the container WORKDIR /app # Step 3: Copy the package.json and package-lock.json (or yarn.lock) COPY package*.json ./ # Step 4: Install the dependencies RUN npm install # Step 5: Copy the rest of the app's source code into the container COPY . . # Step 6: Build the React app RUN npm run build # Step 7: Use an official Nginx image to serve the build files FROM nginx:alpine # Step 8: Copy the build output from the first stage into the Nginx container COPY --from=build /app/build /usr/share/nginx/html # Step 9: Expose the port that Nginx will run on EXPOSE 80 # Step 10: Start Nginx server CMD ["nginx", "-g", "daemon off;"] ``` 2. Deployment file yaml ``` apiVersion: apps/v1 kind: Deployment metadata: name: todoapp-api-deployment labels: app: todoapp-api-label spec: replicas: 1 selector: matchLabels: app: todoapp-api-label template: metadata: labels: app: todoapp-api-label spec: containers: - name: todoapp-api-container image: mrstevebang/todoapp-api:1.0.8 ports: - containerPort: 80 env: - name: ASPNETCORE_ENVIRONMENT value: "Development" # Set the environment to Development --- apiVersion: v1 kind: Service metadata: name: todoapp-api-service spec: selector: app: todoapp-api-label ports: - protocol: TCP port: 80 targetPort: 80 --- apiVersion: apps/v1 kind: Deployment metadata: name: todoapp-webapp-deployment labels: app: todoapp-webapp-label spec: replicas: 1 selector: matchLabels: app: todoapp-webapp-label template: metadata: labels: app: todoapp-webapp-label spec: containers: - name: todoapp-webapp-container image: mrstevebang/todoapp-webapp:1.0.13 ports: - containerPort: 80 --- apiVersion: v1 kind: Service metadata: name: todoapp-webapp-service spec: selector: app: todoapp-webapp-label type: LoadBalancer ports: - protocol: TCP port: 80 targetPort: 80 nodePort: 30090 ``` 3. My code for connect api ``` import axios from 'axios'; const API_BASE_URL ='http://todoapp-api-service'; export const getTodos = () => axios.get(`${API_BASE_URL}/api/todos`); export const createTodo = (todo) => axios.post(`${API_BASE_URL}/api/todos`, todo); export const markCompleted = (id) => axios.post(`${API_BASE_URL}/api/todos/${id}/completed`); export const deleteTodo = (id) => axios.delete(`${API_BASE_URL}/api/todos/${id}`); ``` ### Anything else we need to know? _No response_ ### Kubernetes version <details> ```console $ kubectl version Client Version: v1.32.0 Kustomize Version: v5.5.0 Server Version: v1.30.6 ``` </details> ### Cloud provider <details> Minikube </details> ### OS version <details> ```console # On Linux: $ cat /etc/os-release # paste output here $ uname -a # paste output here # On Windows: C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture # paste output here ``` </details> ### Install tools <details> </details> ### Container runtime (CRI) and version (if applicable) <details> </details> ### Related plugins (CNI, CSI, ...) and versions (if applicable) <details> </details>
kind/bug,needs-sig,needs-triage
low
Minor
2,782,956,228
react-native
castValue error
### Description ios/Pods/Headers/Public/React-Fabric/react/renderer/core/RawValue.h:100:12: error: no matching function for call to 'castValue' # ### Steps to reproduce On XCode 16.2, the rn version is 0.72 Debug can run on a real machine. Release will report an error ### React Native Version 0.72 ### Affected Platforms Other (please specify) ### Output of `npx react-native info` ```text 1.4 GHz 四核Intel Core i5 xcode 16.2 ``` ### Stacktrace or Logs ```text Volumes/MobileDisk/dahan/project/jim-oa-harmony/PlatformProject/ios/Pods/Headers/Public/React-Fabric/react/renderer/core/RawValue.h:100:12: error: no matching function for call to 'castValue' 100 | return castValue(dynamic_, (T *)nullptr); | ^~~~~~~~~ In file included from /Volumes/MobileDisk/dahan/project/jim-oa-harmony/PlatformProject/ios/build/generated/ios/react/renderer/components/safeareacontext/ShadowNodes.cpp:11: In file included from /Volumes/MobileDisk/dahan/project/jim-oa-harmony/PlatformProject/ios/Pods/Headers/Private/React-Codegen/react/renderer/components/safeareacontext/ShadowNodes.h:14: /Volumes/MobileDisk/dahan/project/jim-oa-harmony/PlatformProject/ios/Pods/Headers/Private/React-Codegen/react/renderer/components/safeareacontext/Props.h:42:57: note: in instantiation of function template specialization 'facebook::react::RawValue::operator unordered_map<std::unordered_map<std::string, facebook::react::RawValue>>' requested here 42 | auto map = (std::unordered_map<std::string, RawValue>)value; | ^ In file included from /Volumes/MobileDisk/dahan/project/jim-oa-harmony/PlatformProject/ios/build/generated/ios/react/renderer/components/safeareacontext/ShadowNodes.cpp:11: In file included from /Volumes/MobileDisk/dahan/project/jim-oa-harmony/PlatformProject/ios/Pods/Headers/Private/React-Codegen/react/renderer/components/safeareacontext/ShadowNodes.h:14: In file included from /Volumes/MobileDisk/dahan/project/jim-oa-harmony/PlatformProject/ios/Pods/Headers/Private/React-Codegen/react/renderer/components/safeareacontext/Props.h:12: In file included from /Volumes/MobileDisk/dahan/project/jim-oa-harmony/PlatformProject/ios/Pods/Headers/Public/React-Fabric/react/renderer/components/view/ViewProps.h:10: In file included from /Volumes/MobileDisk/dahan/project/jim-oa-harmony/PlatformProject/ios/Pods/Headers/Public/React-Fabric/react/renderer/components/view/AccessibilityProps.h:11: In file included from /Volumes/MobileDisk/dahan/project/jim-oa-harmony/PlatformProject/ios/Pods/Headers/Public/React-Fabric/react/renderer/core/Props.h:14: In file included from /Volumes/MobileDisk/dahan/project/jim-oa-harmony/PlatformProject/ios/Pods/Headers/Public/React-Fabric/react/renderer/core/RawProps.h:21: /Volumes/MobileDisk/dahan/project/jim-oa-harmony/PlatformProject/ios/Pods/Headers/Public/React-Fabric/react/renderer/core/RawValue.h:209:19: note: candidate function not viable: no known conversion from 'std::unordered_map<std::string, facebook::react::RawValue> *' to 'RawValue *' for 2nd argument 209 | static RawValue castValue( | ^ 210 | const folly::dynamic &dynamic, 211 | RawValue *type) noexcept { | ~~~~~~~~~~~~~~ /Volumes/MobileDisk/dahan/project/jim-oa-harmony/PlatformProject/ios/Pods/Headers/Public/React-Fabric/react/renderer/core/RawValue.h:215:15: note: candidate function not viable: no known conversion from 'std::unordered_map<std::string, facebook::react::RawValue> *' to 'bool *' for 2nd argument 215 | static bool castValue(const folly::dynamic &dynamic, bool *type) { | ^ ~~~~~~~~~~ /Volumes/MobileDisk/dahan/project/jim-oa-harmony/PlatformProject/ios/Pods/Headers/Public/React-Fabric/react/renderer/core/RawValue.h:219:14: note: candidate function not viable: no known conversion from 'std::unordered_map<std::string, facebook::react::RawValue> *' to 'int *' for 2nd argument 219 | static int castValue(const folly::dynamic &dynamic, int *type) { | ^ ~~~~~~~~~ /Volumes/MobileDisk/dahan/project/jim-oa-harmony/PlatformProject/ios/Pods/Headers/Public/React-Fabric/react/renderer/core/RawValue.h:223:18: note: candidate function not viable: no known conversion from 'std::unordered_map<std::string, facebook::react::RawValue> *' to 'int64_t *' (aka 'long long *') for 2nd argument 223 | static int64_t castValue(const folly::dynamic &dynamic, int64_t *type) { | ^ ~~~~~~~~~~~~~ /Volumes/MobileDisk/dahan/project/jim-oa-harmony/PlatformProject/ios/Pods/Headers/Public/React-Fabric/react/renderer/core/RawValue.h:227:16: note: candidate function not viable: no known conversion from 'std::unordered_map<std::string, facebook::react::RawValue> *' to 'float *' for 2nd argument 227 | static float castValue(const folly::dynamic &dynamic, float *type) { | ^ ~~~~~~~~~~~ /Volumes/MobileDisk/dahan/project/jim-oa-harmony/PlatformProject/ios/Pods/Headers/Public/React-Fabric/react/renderer/core/RawValue.h:231:17: note: candidate function not viable: no known conversion from 'std::unordered_map<std::string, facebook::react::RawValue> *' to 'double *' for 2nd argument 231 | static double castValue(const folly::dynamic &dynamic, double *type) { | ^ ~~~~~~~~~~~~ /Volumes/MobileDisk/dahan/project/jim-oa-harmony/PlatformProject/ios/Pods/Headers/Public/React-Fabric/react/renderer/core/RawValue.h:235:22: note: candidate function not viable: no known conversion from 'std::unordered_map<std::string, facebook::react::RawValue> *' to 'std::string *' (aka 'basic_string<char> *') for 2nd argument 235 | static std::string castValue( | ^ 236 | const folly::dynamic &dynamic, 237 | std::string *type) { | ~~~~~~~~~~~~~~~~~ /Volumes/MobileDisk/dahan/project/jim-oa-harmony/PlatformProject/ios/Pods/Headers/Public/React-Fabric/react/renderer/core/RawValue.h:242:25: note: candidate template ignored: could not match 'vector' against 'unordered_map' 242 | static std::vector<T> castValue( | ^ /Volumes/MobileDisk/dahan/project/jim-oa-harmony/PlatformProject/ios/Pods/Headers/Public/React-Fabric/react/renderer/core/RawValue.h:255:38: note: candidate template ignored: could not match 'vector' against 'unordered_map' 255 | static std::vector<std::vector<T>> castValue( | ^ /Volumes/MobileDisk/dahan/project/jim-oa-harmony/PlatformProject/ios/Pods/Headers/Public/React-Fabric/react/renderer/core/RawValue.h:268:38: note: candidate template ignored: could not match 'F14FastMap' against 'unordered_map' ``` ### Reproducer none ### Screenshots and Videos none
Needs: Repro,Needs: Attention,Type: Unsupported Version,Needs: Version Info
low
Critical
2,782,958,338
rust
ICE: cannot convert ... to a region vid
I tried some of the problematic GAT code from [Sabrina Jewson's GAT alternative article.](https://sabrinajewson.org/blog/the-better-alternative-to-lifetime-gats) It [does not ICE in version 1.69,](https://rust.godbolt.org/z/r9rsTT64G) so something changed in 1.70. This might be a dupe of [this crash in another issue,](https://github.com/rust-lang/rust/issues/88382#issuecomment-925921949) but that's just a guess. The code compiles with `-Znext-solver`. ### Code ```rust pub trait GivesItem<'a> { type Item; } pub trait LendingIterator { type Item: ?Sized + for<'this> GivesItem<'this>; fn next(&mut self) -> Option<<Self::Item as GivesItem<'_>>::Item>; } pub fn map<I, F>(iter: I, mapper: F) -> Map<I, F> where I: LendingIterator, F: for<'a> Mapper<'a, <I::Item as GivesItem<'a>>::Item>, { Map { iter, mapper } } pub struct Map<I, F> { iter: I, mapper: F, } impl<I, F> LendingIterator for Map<I, F> where I: LendingIterator, F: for<'a> Mapper<'a, <I::Item as GivesItem<'a>>::Item>, { type Item = dyn for<'this> GivesItem< 'this, Item = <F as Mapper<'this, <I::Item as GivesItem<'this>>::Item>>::Output, >; fn next(&mut self) -> Option<<Self::Item as GivesItem<'_>>::Item> { None } } pub trait Mapper<'a, I>: FnMut(I) -> <Self as Mapper<'a, I>>::Output { type Output; } impl<'a, I, F, O> Mapper<'a, I> for F where F: FnMut(I) -> O { type Output = O; } fn foo<I>(iter: I) where I: LendingIterator<Item: for<'a> GivesItem<'a, Item = &'a mut [i32; 2]>> { fn mapper(input: &mut [i32; 2]) -> &mut i32 { &mut input[0] } let mapped = map(iter, mapper); while let Some(_) = mapped.next() {} } ``` ### Meta Ran it on the playground - Build using the Stable version: 1.84.0 - Build using the Beta version: 1.85.0-beta.2 (2025-01-11 fe9b9751fa54a5871b87) - Build using the Nightly version: 1.86.0-nightly (2025-01-11 eb54a50837ad4bcc9842) ### Error output ```rust error: internal compiler error: compiler/rustc_borrowck/src/universal_regions.rs:899:36: cannot convert `!10_0.Named(DefId(0:40 ~ playground[5c8e]::{impl#1}::Item::'this), "'this")` to a region vid thread 'rustc' panicked at compiler/rustc_borrowck/src/universal_regions.rs:899:36: Box<dyn Any> stack backtrace: 0: 0x7abae938682a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::ha4a311b32f6b4ad8 1: 0x7abae9a277e2 - core::fmt::write::h1866771663f62b81 2: 0x7abaea881d51 - std::io::Write::write_fmt::hb549e7444823135e 3: 0x7abae9386682 - std::sys::backtrace::BacktraceLock::print::hddd3a9918ce29aa7 4: 0x7abae9388b5a - std::panicking::default_hook::{{closure}}::h791f75256b902d7d 5: 0x7abae93889c0 - std::panicking::default_hook::h82cc572fcb0d8cd7 6: 0x7abae8414f55 - std[1b49f43dde054edc]::panicking::update_hook::<alloc[f0e0d4128a1437e6]::boxed::Box<rustc_driver_impl[c421ed190efad9be]::install_ice_hook::{closure#0}>>::{closure#0} 7: 0x7abae9389238 - std::panicking::rust_panic_with_hook::he21644cc2707f2c4 8: 0x7abae844fa01 - std[1b49f43dde054edc]::panicking::begin_panic::<rustc_errors[fd0d1ab268a7514d]::ExplicitBug>::{closure#0} 9: 0x7abae84429c6 - std[1b49f43dde054edc]::sys::backtrace::__rust_end_short_backtrace::<std[1b49f43dde054edc]::panicking::begin_panic<rustc_errors[fd0d1ab268a7514d]::ExplicitBug>::{closure#0}, !> 10: 0x7abae843df99 - std[1b49f43dde054edc]::panicking::begin_panic::<rustc_errors[fd0d1ab268a7514d]::ExplicitBug> 11: 0x7abae8459971 - <rustc_errors[fd0d1ab268a7514d]::diagnostic::BugAbort as rustc_errors[fd0d1ab268a7514d]::diagnostic::EmissionGuarantee>::emit_producing_guarantee 12: 0x7abae8ac8913 - rustc_middle[60437f3b60b3af56]::util::bug::opt_span_bug_fmt::<rustc_span[200b27ea0e9a3b9b]::span_encoding::Span>::{closure#0} 13: 0x7abae8aafe8a - rustc_middle[60437f3b60b3af56]::ty::context::tls::with_opt::<rustc_middle[60437f3b60b3af56]::util::bug::opt_span_bug_fmt<rustc_span[200b27ea0e9a3b9b]::span_encoding::Span>::{closure#0}, !>::{closure#0} 14: 0x7abae8aafd1b - rustc_middle[60437f3b60b3af56]::ty::context::tls::with_context_opt::<rustc_middle[60437f3b60b3af56]::ty::context::tls::with_opt<rustc_middle[60437f3b60b3af56]::util::bug::opt_span_bug_fmt<rustc_span[200b27ea0e9a3b9b]::span_encoding::Span>::{closure#0}, !>::{closure#0}, !> 15: 0x7abae6fe4110 - rustc_middle[60437f3b60b3af56]::util::bug::bug_fmt 16: 0x7abae9dac886 - rustc_type_ir[816d56baed15c9f4]::relate::structurally_relate_tys::<rustc_middle[60437f3b60b3af56]::ty::context::TyCtxt, rustc_borrowck[2e9373e39b239443]::type_check::relate_tys::NllTypeRelating>::{closure#0} 17: 0x7abae9da795b - <rustc_borrowck[2e9373e39b239443]::type_check::relate_tys::NllTypeRelating as rustc_type_ir[816d56baed15c9f4]::relate::TypeRelation<rustc_middle[60437f3b60b3af56]::ty::context::TyCtxt>>::relate_with_variance::<rustc_middle[60437f3b60b3af56]::ty::generic_args::GenericArg> 18: 0x7abae9da9631 - rustc_type_ir[816d56baed15c9f4]::relate::structurally_relate_tys::<rustc_middle[60437f3b60b3af56]::ty::context::TyCtxt, rustc_borrowck[2e9373e39b239443]::type_check::relate_tys::NllTypeRelating>::{closure#0} 19: 0x7abae9d7eb21 - <rustc_borrowck[2e9373e39b239443]::type_check::TypeChecker>::typeck_mir 20: 0x7abaea9cc9fa - rustc_borrowck[2e9373e39b239443]::type_check::type_check 21: 0x7abae9ad469d - rustc_borrowck[2e9373e39b239443]::nll::compute_regions 22: 0x7abaea9f9706 - rustc_borrowck[2e9373e39b239443]::do_mir_borrowck 23: 0x7abaea9df36f - rustc_query_impl[d10191050d412fc]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[d10191050d412fc]::query_impl::mir_borrowck::dynamic_query::{closure#2}::{closure#0}, rustc_middle[60437f3b60b3af56]::query::erase::Erased<[u8; 8usize]>> 24: 0x7abae9e231ce - rustc_query_system[c1574a252f7419c]::query::plumbing::try_execute_query::<rustc_query_impl[d10191050d412fc]::DynamicConfig<rustc_data_structures[369e27e2d68c214b]::vec_cache::VecCache<rustc_span[200b27ea0e9a3b9b]::def_id::LocalDefId, rustc_middle[60437f3b60b3af56]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[c1574a252f7419c]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[d10191050d412fc]::plumbing::QueryCtxt, false> 25: 0x7abae9e22cd7 - rustc_query_impl[d10191050d412fc]::query_impl::mir_borrowck::get_query_non_incr::__rust_end_short_backtrace 26: 0x7abaea3e5578 - rustc_interface[aa3cb6198a62650b]::passes::run_required_analyses 27: 0x7abaea5cf21e - rustc_interface[aa3cb6198a62650b]::passes::analysis 28: 0x7abaea5cf1ef - rustc_query_impl[d10191050d412fc]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[d10191050d412fc]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle[60437f3b60b3af56]::query::erase::Erased<[u8; 1usize]>> 29: 0x7abaea8f44ae - rustc_query_system[c1574a252f7419c]::query::plumbing::try_execute_query::<rustc_query_impl[d10191050d412fc]::DynamicConfig<rustc_query_system[c1574a252f7419c]::query::caches::SingleCache<rustc_middle[60437f3b60b3af56]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[d10191050d412fc]::plumbing::QueryCtxt, false> 30: 0x7abaea8f418e - rustc_query_impl[d10191050d412fc]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace 31: 0x7abaea865158 - rustc_interface[aa3cb6198a62650b]::interface::run_compiler::<core[9e3ec3a99e20741e]::result::Result<(), rustc_span[200b27ea0e9a3b9b]::ErrorGuaranteed>, rustc_driver_impl[c421ed190efad9be]::run_compiler::{closure#0}>::{closure#1} 32: 0x7abaea8a01e0 - std[1b49f43dde054edc]::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface[aa3cb6198a62650b]::util::run_in_thread_with_globals<rustc_interface[aa3cb6198a62650b]::util::run_in_thread_pool_with_globals<rustc_interface[aa3cb6198a62650b]::interface::run_compiler<core[9e3ec3a99e20741e]::result::Result<(), rustc_span[200b27ea0e9a3b9b]::ErrorGuaranteed>, rustc_driver_impl[c421ed190efad9be]::run_compiler::{closure#0}>::{closure#1}, core[9e3ec3a99e20741e]::result::Result<(), rustc_span[200b27ea0e9a3b9b]::ErrorGuaranteed>>::{closure#0}, core[9e3ec3a99e20741e]::result::Result<(), rustc_span[200b27ea0e9a3b9b]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[9e3ec3a99e20741e]::result::Result<(), rustc_span[200b27ea0e9a3b9b]::ErrorGuaranteed>> 33: 0x7abaea89fefd - <<std[1b49f43dde054edc]::thread::Builder>::spawn_unchecked_<rustc_interface[aa3cb6198a62650b]::util::run_in_thread_with_globals<rustc_interface[aa3cb6198a62650b]::util::run_in_thread_pool_with_globals<rustc_interface[aa3cb6198a62650b]::interface::run_compiler<core[9e3ec3a99e20741e]::result::Result<(), rustc_span[200b27ea0e9a3b9b]::ErrorGuaranteed>, rustc_driver_impl[c421ed190efad9be]::run_compiler::{closure#0}>::{closure#1}, core[9e3ec3a99e20741e]::result::Result<(), rustc_span[200b27ea0e9a3b9b]::ErrorGuaranteed>>::{closure#0}, core[9e3ec3a99e20741e]::result::Result<(), rustc_span[200b27ea0e9a3b9b]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[9e3ec3a99e20741e]::result::Result<(), rustc_span[200b27ea0e9a3b9b]::ErrorGuaranteed>>::{closure#1} as core[9e3ec3a99e20741e]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} 34: 0x7abaea89f6b9 - std::sys::pal::unix::thread::Thread::new::thread_start::h14f1eb868ff90fc9 35: 0x7abaec0bda94 - <unknown> 36: 0x7abaec14aa34 - clone 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: rustc 1.84.0 (9fc6b4312 2025-01-07) running on x86_64-unknown-linux-gnu note: compiler flags: --crate-type lib -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 note: some of the compiler flags provided by cargo are hidden query stack during panic: #0 [mir_borrowck] borrow-checking `foo` #1 [analysis] running analysis passes on this crate end of query stack error: could not compile `playground` (lib) Caused by: process didn't exit successfully: `/playground/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name playground --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=815899036a7e8e06 -C extra-filename=-815899036a7e8e06 --out-dir /playground/target/debug/deps -L dependency=/playground/target/debug/deps --extern addr2line=/playground/target/debug/deps/libaddr2line-7a75fc6bf8f8c8f6.rmeta --extern adler2=/playground/target/debug/deps/libadler2-c3347246a87636a4.rmeta --extern ahash=/playground/target/debug/deps/libahash-8346a0b74fb64722.rmeta --extern aho_corasick=/playground/target/debug/deps/libaho_corasick-0d6d1a4d77d0a15c.rmeta --extern aligned_vec=/playground/target/debug/deps/libaligned_vec-bfacaf94742d582e.rmeta --extern allocator_api2=/playground/target/debug/deps/liballocator_api2-1735bdd2e5f91a08.rmeta --extern ansi_term=/playground/target/debug/deps/libansi_term-381f90eadcfd9fb0.rmeta --extern anstream=/playground/target/debug/deps/libanstream-0625efa01474ff60.rmeta --extern anstyle=/playground/target/debug/deps/libanstyle-303c22a765a3f758.rmeta --extern anstyle_parse=/playground/target/debug/deps/libanstyle_parse-8377bb08b4959729.rmeta --extern anstyle_query=/playground/target/debug/deps/libanstyle_query-6db4cd5fc8df7df6.rmeta --extern anyhow=/playground/target/debug/deps/libanyhow-e4a0d88561116a16.rmeta --extern approx=/playground/target/debug/deps/libapprox-bf020e30fb3aa551.rmeta --extern arc_swap=/playground/target/debug/deps/libarc_swap-f8775286eff75f7e.rmeta --extern arg_enum_proc_macro=/playground/target/debug/deps/libarg_enum_proc_macro-6ba3efe8ad545b6c.so --extern arrayvec=/playground/target/debug/deps/libarrayvec-c0d9ba5c092d1c1d.rmeta --extern async_trait=/playground/target/debug/deps/libasync_trait-7e54ecd5234f5ee9.so --extern atomic=/playground/target/debug/deps/libatomic-4cfd8c20e6f25f1e.rmeta --extern atomic_waker=/playground/target/debug/deps/libatomic_waker-d05b8803315b4559.rmeta --extern autocfg=/playground/target/debug/deps/libautocfg-ceb345f6aa4e7410.rmeta --extern av1_grain=/playground/target/debug/deps/libav1_grain-b1c9e5770d8715fc.rmeta --extern avif_serialize=/playground/target/debug/deps/libavif_serialize-62e703a39cbc964d.rmeta --extern backtrace=/playground/target/debug/deps/libbacktrace-f96f433a67d99732.rmeta --extern base64=/playground/target/debug/deps/libbase64-00dc847b6de045e5.rmeta --extern bit_set=/playground/target/debug/deps/libbit_set-8d348fc0287a8160.rmeta --extern bit_vec=/playground/target/debug/deps/libbit_vec-39c1b591f1684370.rmeta --extern bit_field=/playground/target/debug/deps/libbit_field-8f932a60b85447a6.rmeta --extern bitflags_1_3_2=/playground/target/debug/deps/libbitflags-6573f58c3bd6cce2.rmeta --extern bitflags=/playground/target/debug/deps/libbitflags-b738529f46ad5284.rmeta --extern bitstream_io=/playground/target/debug/deps/libbitstream_io-71f9e585844f598e.rmeta --extern block_buffer=/playground/target/debug/deps/libblock_buffer-86469bfac26340b9.rmeta --extern built=/playground/target/debug/deps/libbuilt-9e5cb26e8d30370b.rmeta --extern bumpalo=/playground/target/debug/deps/libbumpalo-a496aaf3ce7d49fb.rmeta --extern bytemuck=/playground/target/debug/deps/libbytemuck-e93f2b6d769b5bbe.rmeta --extern bytemuck_derive=/playground/target/debug/deps/libbytemuck_derive-95a574a363565154.so --extern byteorder=/playground/target/debug/deps/libbyteorder-c686ab5e82ea6b7b.rmeta --extern byteorder_lite=/playground/target/debug/deps/libbyteorder_lite-fd3366f9240dffed.rmeta --extern bytes_0_4_12=/playground/target/debug/deps/libbytes-dd1855990d8288da.rmeta --extern bytes=/playground/target/debug/deps/libbytes-75ace98606be689e.rmeta --extern cc=/playground/target/debug/deps/libcc-3b02fd8dc4b6ecbf.rmeta --extern cfg_if=/playground/target/debug/deps/libcfg_if-ea541ea24d492880.rmeta --extern chrono=/playground/target/debug/deps/libchrono-2f02da15d44bee76.rmeta --extern clap=/playground/target/debug/deps/libclap-227cbcfdb09bbdbf.rmeta --extern clap_builder=/playground/target/debug/deps/libclap_builder-5cf5074d6d452eab.rmeta --extern clap_derive=/playground/target/debug/deps/libclap_derive-ea0108d48244694f.so --extern clap_lex=/playground/target/debug/deps/libclap_lex-75d944fe9bd8c632.rmeta --extern color_quant=/playground/target/debug/deps/libcolor_quant-cfdfef00e8b28016.rmeta --extern colorchoice=/playground/target/debug/deps/libcolorchoice-1d9d6f67acae7298.rmeta --extern const_default=/playground/target/debug/deps/libconst_default-279b75b51af384f3.rmeta --extern cookie=/playground/target/debug/deps/libcookie-698130cdaaef1634.rmeta --extern cookie_store=/playground/target/debug/deps/libcookie_store-9f45ba15c2698e7d.rmeta --extern cpufeatures=/playground/target/debug/deps/libcpufeatures-0ae1eda34bf41331.rmeta --extern crc32fast=/playground/target/debug/deps/libcrc32fast-789dcc5e5740655c.rmeta --extern crossbeam=/playground/target/debug/deps/libcrossbeam-095ad2561da24964.rmeta --extern crossbeam_channel=/playground/target/debug/deps/libcrossbeam_channel-d66aef5d0c61fad4.rmeta --extern crossbeam_deque=/playground/target/debug/deps/libcrossbeam_deque-dd12b3eee9d357f1.rmeta --extern crossbeam_epoch=/playground/target/debug/deps/libcrossbeam_epoch-7db828752c191fea.rmeta --extern crossbeam_queue=/playground/target/debug/deps/libcrossbeam_queue-1aec0ed28d92779c.rmeta --extern crossbeam_utils=/playground/target/debug/deps/libcrossbeam_utils-752cdde8f235356b.rmeta --extern crypto_common=/playground/target/debug/deps/libcrypto_common-cab7d850513ecd38.rmeta --extern cssparser=/playground/target/debug/deps/libcssparser-d009e6684cc6b7a1.rmeta --extern cssparser_macros=/playground/target/debug/deps/libcssparser_macros-f3ad9ad47c0f1f90.so --extern csv=/playground/target/debug/deps/libcsv-7e5b5c3cc8dbcc1a.rmeta --extern csv_core=/playground/target/debug/deps/libcsv_core-f5204cd7b27ed909.rmeta --extern data_encoding=/playground/target/debug/deps/libdata_encoding-0eb1b1fda9f8887b.rmeta --extern deranged=/playground/target/debug/deps/libderanged-156643baf9d3a829.rmeta --extern derivative=/playground/target/debug/deps/libderivative-605acb65e8d04483.so --extern derive_more=/playground/target/debug/deps/libderive_more-a0b23369589574f9.so --extern destructure_traitobject=/playground/target/debug/deps/libdestructure_traitobject-2403161e580d58f1.rmeta --extern digest=/playground/target/debug/deps/libdigest-08a04a5e640284e5.rmeta --extern displaydoc=/playground/target/debug/deps/libdisplaydoc-8e7e6d22ebe0ccb4.so --extern document_features=/playground/target/debug/deps/libdocument_features-ef390159dd378e68.so --extern dtoa=/playground/target/debug/deps/libdtoa-72983364481df9c7.rmeta --extern dtoa_short=/playground/target/debug/deps/libdtoa_short-4f4bc09e2bd6d222.rmeta --extern ego_tree=/playground/target/debug/deps/libego_tree-9eb41b20ee290ee4.rmeta --extern either=/playground/target/debug/deps/libeither-48f6048546c6edab.rmeta --extern encoding_rs=/playground/target/debug/deps/libencoding_rs-e1ab72c2a80d511a.rmeta --extern env_filter=/playground/target/debug/deps/libenv_filter-a79d28acb965114e.rmeta --extern env_logger=/playground/target/debug/deps/libenv_logger-991038ffb3f48949.rmeta --extern equivalent=/playground/target/debug/deps/libequivalent-daf26a906a61fbb4.rmeta --extern errno=/playground/target/debug/deps/liberrno-a487474646a9a681.rmeta --extern exr=/playground/target/debug/deps/libexr-d1bc613ec6edd35c.rmeta --extern fallible_iterator_0_2_0=/playground/target/debug/deps/libfallible_iterator-c9070e6653304fa5.rmeta --extern fallible_iterator=/playground/target/debug/deps/libfallible_iterator-fd57f5dd6aaefe6a.rmeta --extern fallible_streaming_iterator=/playground/target/debug/deps/libfallible_streaming_iterator-dd2b1e59c6363dab.rmeta --extern faster_hex=/playground/target/debug/deps/libfaster_hex-94022abb6cb3c020.rmeta --extern fastrand=/playground/target/debug/deps/libfastrand-2281c2dd170aa13b.rmeta --extern fdeflate=/playground/target/debug/deps/libfdeflate-dca8af2be0c47fdb.rmeta --extern filetime=/playground/target/debug/deps/libfiletime-1a17d7c49c9f5d2b.rmeta --extern fixedbitset=/playground/target/debug/deps/libfixedbitset-025ac56917f3288f.rmeta --extern flate2=/playground/target/debug/deps/libflate2-f480ce94f8c706e9.rmeta --extern fnv=/playground/target/debug/deps/libfnv-a69d39cb75c2f062.rmeta --extern foldhash=/playground/target/debug/deps/libfoldhash-0b67b4359c6034dc.rmeta --extern foreign_types=/playground/target/debug/deps/libforeign_types-1db516229e964052.rmeta --extern foreign_types_shared=/playground/target/debug/deps/libforeign_types_shared-f2f1e7c1438e3897.rmeta --extern form_urlencoded=/playground/target/debug/deps/libform_urlencoded-b89e2fc89c171150.rmeta --extern futf=/playground/target/debug/deps/libfutf-b2cc38da9ab0a567.rmeta --extern futures_0_1_31=/playground/target/debug/deps/libfutures-8b642b84fd736413.rmeta --extern futures=/playground/target/debug/deps/libfutures-e55202ff17bdac91.rmeta --extern futures_channel=/playground/target/debug/deps/libfutures_channel-3743a738ba217bd0.rmeta --extern futures_core=/playground/target/debug/deps/libfutures_core-e7718d1b0843d026.rmeta --extern futures_executor=/playground/target/debug/deps/libfutures_executor-c2885e15b6c75420.rmeta --extern futures_io=/playground/target/debug/deps/libfutures_io-cf290f3a1855a047.rmeta --extern futures_macro=/playground/target/debug/deps/libfutures_macro-022e190a1e15b298.so --extern futures_sink=/playground/target/debug/deps/libfutures_sink-23c40e1134a9bc00.rmeta --extern futures_task=/playground/target/debug/deps/libfutures_task-855bfa831d28fbc2.rmeta --extern futures_util=/playground/target/debug/deps/libfutures_util-7caa020267bfe69f.rmeta --extern fxhash=/playground/target/debug/deps/libfxhash-90b94328e78ea8a5.rmeta --extern generic_array_0_14_7=/playground/target/debug/deps/libgeneric_array-cb9127ac7f11d5d9.rmeta --extern generic_array=/playground/target/debug/deps/libgeneric_array-e4a8ae5fd26d43b7.rmeta --extern getopts=/playground/target/debug/deps/libgetopts-85ca9c484a1b81da.rmeta --extern getrandom=/playground/target/debug/deps/libgetrandom-a914592d88d0875e.rmeta --extern gif=/playground/target/debug/deps/libgif-941bfa8b2eec15fd.rmeta --extern gimli=/playground/target/debug/deps/libgimli-01c7def536728716.rmeta --extern glob=/playground/target/debug/deps/libglob-6d17b050fd6904b9.rmeta --extern h2=/playground/target/debug/deps/libh2-212b91e5566d8204.rmeta --extern half=/playground/target/debug/deps/libhalf-0f5267c03ef80840.rmeta --extern hash32=/playground/target/debug/deps/libhash32-8dce7559c41e1078.rmeta --extern hashbrown_0_14_5=/playground/target/debug/deps/libhashbrown-e067fe04941b06cf.rmeta --extern hashbrown=/playground/target/debug/deps/libhashbrown-a2156271a819c01a.rmeta --extern hashlink=/playground/target/debug/deps/libhashlink-f856d5001d399d78.rmeta --extern heapless=/playground/target/debug/deps/libheapless-07367f33170c6d6a.rmeta --extern heck=/playground/target/debug/deps/libheck-93763c6428e249fd.rmeta --extern hmac=/playground/target/debug/deps/libhmac-ed23c1c80732c250.rmeta --extern html5ever_0_26_0=/playground/target/debug/deps/libhtml5ever-5dd5d8eecdb18fb6.rmeta --extern html5ever=/playground/target/debug/deps/libhtml5ever-7eb16bccf4b9866a.rmeta --extern http=/playground/target/debug/deps/libhttp-32e6080c55423bef.rmeta --extern http_body=/playground/target/debug/deps/libhttp_body-37d92c6da272c974.rmeta --extern http_body_util=/playground/target/debug/deps/libhttp_body_util-cda61276ba40f45d.rmeta --extern httparse=/playground/target/debug/deps/libhttparse-45a0115c4a86d999.rmeta --extern httpdate=/playground/target/debug/deps/libhttpdate-be5e83cd2aab3c56.rmeta --extern humantime=/playground/target/debug/deps/libhumantime-08c648a14d2adb52.rmeta --extern hyper=/playground/target/debug/deps/libhyper-2731f2a68a20ef95.rmeta --extern hyper_rustls=/playground/target/debug/deps/libhyper_rustls-71536d7171f82328.rmeta --extern hyper_tls=/playground/target/debug/deps/libhyper_tls-b9d7e7a9b915f5f2.rmeta --extern hyper_util=/playground/target/debug/deps/libhyper_util-3cd82aea1fdc7e89.rmeta --extern iana_time_zone=/playground/target/debug/deps/libiana_time_zone-5bdfd8007e6329ff.rmeta --extern icu_collections=/playground/target/debug/deps/libicu_collections-8bc9df44eb0a92c9.rmeta --extern icu_locid=/playground/target/debug/deps/libicu_locid-1edd4f8da94e91b4.rmeta --extern icu_locid_transform=/playground/target/debug/deps/libicu_locid_transform-d763008923f93863.rmeta --extern icu_locid_transform_data=/playground/target/debug/deps/libicu_locid_transform_data-84a212e29b4ad166.rmeta --extern icu_normalizer=/playground/target/debug/deps/libicu_normalizer-59cd5bbb7dbdc633.rmeta --extern icu_normalizer_data=/playground/target/debug/deps/libicu_normalizer_data-ea714aaf862f563e.rmeta --extern icu_properties=/playground/target/debug/deps/libicu_properties-80e832422eb5fe4c.rmeta --extern icu_properties_data=/playground/target/debug/deps/libicu_properties_data-64f9a33d75d576e2.rmeta --extern icu_provider=/playground/target/debug/deps/libicu_provider-1408ec02d7924df2.rmeta --extern icu_provider_macros=/playground/target/debug/deps/libicu_provider_macros-f90b83d9d3a7a774.so --extern idna=/playground/target/debug/deps/libidna-b8a6aab26c35636f.rmeta --extern idna_adapter=/playground/target/debug/deps/libidna_adapter-9527a2fd0ff16162.rmeta --extern image=/playground/target/debug/deps/libimage-c2509570c261cc88.rmeta --extern image_webp=/playground/target/debug/deps/libimage_webp-f57d25ee9f539b32.rmeta --extern imgref=/playground/target/debug/deps/libimgref-2f44840b33a364c5.rmeta --extern indexmap=/playground/target/debug/deps/libindexmap-1e0ccf719d10812c.rmeta --extern iovec=/playground/target/debug/deps/libiovec-adacaa5c7b804484.rmeta --extern ipnet=/playground/target/debug/deps/libipnet-000cbe9e3c9c12dc.rmeta --extern is_terminal_polyfill=/playground/target/debug/deps/libis_terminal_polyfill-15ac5fc5f2c2d72d.rmeta --extern itertools_0_12_1=/playground/target/debug/deps/libitertools-e901bb41ede90f32.rmeta --extern itertools=/playground/target/debug/deps/libitertools-ea29b2c9e1badbc8.rmeta --extern itoa=/playground/target/debug/deps/libitoa-62420701061fbdba.rmeta --extern jobserver=/playground/target/debug/deps/libjobserver-9961a6d686acbf02.rmeta --extern jpeg_decoder=/playground/target/debug/deps/libjpeg_decoder-a46e145bdc8de89a.rmeta --extern lazy_static=/playground/target/debug/deps/liblazy_static-55768cf5143cd710.rmeta --extern lebe=/playground/target/debug/deps/liblebe-0421741dba460e68.rmeta --extern libc=/playground/target/debug/deps/liblibc-9f40616c63f03f2f.rmeta --extern libm=/playground/target/debug/deps/liblibm-daad6998d40ef81b.rmeta --extern libsqlite3_sys=/playground/target/debug/deps/liblibsqlite3_sys-a82333de69f13272.rmeta --extern linux_raw_sys_0_4_14=/playground/target/debug/deps/liblinux_raw_sys-4c2f66f695f57260.rmeta --extern linux_raw_sys=/playground/target/debug/deps/liblinux_raw_sys-a5be18cd9b215594.rmeta --extern litemap=/playground/target/debug/deps/liblitemap-d47b816e5d5a19bb.rmeta --extern litrs=/playground/target/debug/deps/liblitrs-a8e1fc7990831c59.rmeta --extern lock_api=/playground/target/debug/deps/liblock_api-735b09d4664d6f45.rmeta --extern log=/playground/target/debug/deps/liblog-5b53ce873c1b6f64.rmeta --extern log_mdc=/playground/target/debug/deps/liblog_mdc-3811a2776cbb86ed.rmeta --extern log4rs=/playground/target/debug/deps/liblog4rs-cf7bb1053a37efb5.rmeta --extern loop9=/playground/target/debug/deps/libloop9-a31c96710c41454e.rmeta --extern mac=/playground/target/debug/deps/libmac-b4c98762cb97e06f.rmeta --extern markup5ever_0_11_0=/playground/target/debug/deps/libmarkup5ever-8e6398abf7c93cfe.rmeta --extern markup5ever=/playground/target/debug/deps/libmarkup5ever-5714e528d47c0c8d.rmeta --extern markup5ever_rcdom=/playground/target/debug/deps/libmarkup5ever_rcdom-81c93e40243e6181.rmeta --extern matrixmultiply=/playground/target/debug/deps/libmatrixmultiply-9f8212f7b78bab92.rmeta --extern maybe_rayon=/playground/target/debug/deps/libmaybe_rayon-eefd9f877a11863e.rmeta --extern md5=/playground/target/debug/deps/libmd5-3bbd789d2b1b2e2c.rmeta --extern memchr=/playground/target/debug/deps/libmemchr-f537fee97efa8e74.rmeta --extern memmap=/playground/target/debug/deps/libmemmap-d7f06e4a237b2712.rmeta --extern memoffset=/playground/target/debug/deps/libmemoffset-a2ba1db931177ae1.rmeta --extern mime=/playground/target/debug/deps/libmime-c110834304f7b826.rmeta --extern mime_guess=/playground/target/debug/deps/libmime_guess-094de0be8ae57e39.rmeta --extern minimal_lexical=/playground/target/debug/deps/libminimal_lexical-2c06f80f58e3efc3.rmeta --extern miniz_oxide=/playground/target/debug/deps/libminiz_oxide-38ea2563171925f2.rmeta --extern mio=/playground/target/debug/deps/libmio-ac092668b45a26b8.rmeta --extern nalgebra=/playground/target/debug/deps/libnalgebra-e649aa3ca10b0c79.rmeta --extern nalgebra_macros=/playground/target/debug/deps/libnalgebra_macros-4a2104605111f9ab.so --extern native_tls=/playground/target/debug/deps/libnative_tls-843be9d235f60180.rmeta --extern ndarray=/playground/target/debug/deps/libndarray-b4672d2ea310b548.rmeta --extern debug_unreachable=/playground/target/debug/deps/libdebug_unreachable-911ffe1f69da7ec4.rmeta --extern nom=/playground/target/debug/deps/libnom-245dae4937e492b3.rmeta --extern noop_proc_macro=/playground/target/debug/deps/libnoop_proc_macro-371c67675c6f41d3.so --extern num=/playground/target/debug/deps/libnum-415fefb8068daabc.rmeta --extern num_bigint=/playground/target/debug/deps/libnum_bigint-3cc30cceb88eddc6.rmeta --extern num_complex=/playground/target/debug/deps/libnum_complex-9f05091f0e651fed.rmeta --extern num_conv=/playground/target/debug/deps/libnum_conv-6ccb3f909e59b329.rmeta --extern num_derive=/playground/target/debug/deps/libnum_derive-995cc33c11b1d5e8.so --extern num_integer=/playground/target/debug/deps/libnum_integer-9444c988108f522f.rmeta --extern num_iter=/playground/target/debug/deps/libnum_iter-c62c8c9edff0a33a.rmeta --extern num_rational=/playground/target/debug/deps/libnum_rational-85cb5d4853f5f26e.rmeta --extern num_traits=/playground/target/debug/deps/libnum_traits-9fd172c1ab7b680a.rmeta --extern num_cpus=/playground/target/debug/deps/libnum_cpus-0bd92eadf0f7d704.rmeta --extern object=/playground/target/debug/deps/libobject-9aede75274a738b5.rmeta --extern once_cell=/playground/target/debug/deps/libonce_cell-1ac2bdb0826742e0.rmeta --extern openssl=/playground/target/debug/deps/libopenssl-6168c7173b4bb3c7.rmeta --extern openssl_macros=/playground/target/debug/deps/libopenssl_macros-7d073ca09b350bb8.so --extern openssl_probe=/playground/target/debug/deps/libopenssl_probe-4dd1a54ae1cb84ce.rmeta --extern openssl_sys=/playground/target/debug/deps/libopenssl_sys-40cc5298465b7f31.rmeta --extern ordered_float=/playground/target/debug/deps/libordered_float-579e1d2322b8d491.rmeta --extern parking_lot=/playground/target/debug/deps/libparking_lot-5ea90ce809ae7d0e.rmeta --extern parking_lot_core=/playground/target/debug/deps/libparking_lot_core-85acc6036ad0f621.rmeta --extern paste=/playground/target/debug/deps/libpaste-5527d642774aed8f.so --extern percent_encoding=/playground/target/debug/deps/libpercent_encoding-c34ccefe95d2ac62.rmeta --extern petgraph=/playground/target/debug/deps/libpetgraph-c4755cb54d50371c.rmeta --extern phf_0_10_1=/playground/target/debug/deps/libphf-1203138dd8d260f4.rmeta --extern phf=/playground/target/debug/deps/libphf-1e109acdc6258960.rmeta --extern phf_codegen_0_10_0=/playground/target/debug/deps/libphf_codegen-7fffb8efc3122f2a.rmeta --extern phf_codegen=/playground/target/debug/deps/libphf_codegen-af77e9d456163b51.rmeta --extern phf_generator_0_10_0=/playground/target/debug/deps/libphf_generator-97371f33c6347f64.rmeta --extern phf_generator=/playground/target/debug/deps/libphf_generator-3c77197935f2b9d2.rmeta --extern phf_macros=/playground/target/debug/deps/libphf_macros-14885ddff43ad17d.so --extern phf_shared_0_10_0=/playground/target/debug/deps/libphf_shared-35a453d827c22dec.rmeta --extern phf_shared=/playground/target/debug/deps/libphf_shared-7c2553e726a58f1e.rmeta --extern pin_project_lite=/playground/target/debug/deps/libpin_project_lite-51c53f6d67238987.rmeta --extern pin_utils=/playground/target/debug/deps/libpin_utils-2234b5c8a7ad50ad.rmeta --extern pkg_config=/playground/target/debug/deps/libpkg_config-488b1444e65ceeff.rmeta --extern png=/playground/target/debug/deps/libpng-78d3f90d600d2509.rmeta --extern postgres=/playground/target/debug/deps/libpostgres-43fe02d22e6add63.rmeta --extern postgres_protocol=/playground/target/debug/deps/libpostgres_protocol-8092c0d59ababf10.rmeta --extern postgres_types=/playground/target/debug/deps/libpostgres_types-623fe9d957ed626c.rmeta --extern powerfmt=/playground/target/debug/deps/libpowerfmt-ef06215272901839.rmeta --extern ppv_lite86=/playground/target/debug/deps/libppv_lite86-8d8f214b2c449177.rmeta --extern precomputed_hash=/playground/target/debug/deps/libprecomputed_hash-5341544e3e9e0d40.rmeta --extern proc_macro2=/playground/target/debug/deps/libproc_macro2-145114a55f5588d3.rmeta --extern profiling=/playground/target/debug/deps/libprofiling-06943f1bf62b016a.rmeta --extern profiling_procmacros=/playground/target/debug/deps/libprofiling_procmacros-f8535bde73dcd0ec.so --extern psl_types=/playground/target/debug/deps/libpsl_types-ec82e88a42608068.rmeta --extern publicsuffix=/playground/target/debug/deps/libpublicsuffix-7fc4a953c648ea4e.rmeta --extern qoi=/playground/target/debug/deps/libqoi-fac7966413beeedf.rmeta --extern quick_error=/playground/target/debug/deps/libquick_error-a0ea0ce0bbd0b459.rmeta --extern quote=/playground/target/debug/deps/libquote-14113ec85b585189.rmeta --extern rand=/playground/target/debug/deps/librand-2cc9ee8209ae42c1.rmeta --extern rand_chacha=/playground/target/debug/deps/librand_chacha-47979325af005212.rmeta --extern rand_core=/playground/target/debug/deps/librand_core-cb2226151368cf4c.rmeta --extern rand_distr=/playground/target/debug/deps/librand_distr-c89c236d044bc710.rmeta --extern rav1e=/playground/target/debug/deps/librav1e-fc68a3bf3dcf7c2c.rmeta --extern ravif=/playground/target/debug/deps/libravif-f5a10731fe7387e2.rmeta --extern rawpointer=/playground/target/debug/deps/librawpointer-7c8fc11c6cb1e29e.rmeta --extern rayon=/playground/target/debug/deps/librayon-0f3b56853197bf93.rmeta --extern rayon_core=/playground/target/debug/deps/librayon_core-d1280ed665d465a6.rmeta --extern regex=/playground/target/debug/deps/libregex-d3fa67f40cecec3f.rmeta --extern regex_automata=/playground/target/debug/deps/libregex_automata-b256336d2625f120.rmeta --extern regex_syntax=/playground/target/debug/deps/libregex_syntax-32722d43f4d63df2.rmeta --extern reqwest=/playground/target/debug/deps/libreqwest-6c0e841b8995f1bb.rmeta --extern rgb=/playground/target/debug/deps/librgb-256f99ec50d9e659.rmeta --extern ring=/playground/target/debug/deps/libring-a304210cc4fde1fc.rmeta --extern rusqlite=/playground/target/debug/deps/librusqlite-9731590668b59fda.rmeta --extern rustc_demangle=/playground/target/debug/deps/librustc_demangle-15c4cf98ccef44a3.rmeta --extern rustc_version=/playground/target/debug/deps/librustc_version-3e746dad374b3e8f.rmeta --extern rustix=/playground/target/debug/deps/librustix-5d0017d4bfdb4a3a.rmeta --extern rustls=/playground/target/debug/deps/librustls-2a41639bd08e4bc1.rmeta --extern rustls_pemfile=/playground/target/debug/deps/librustls_pemfile-09c4e7e4f228c2c2.rmeta --extern rustls_pki_types=/playground/target/debug/deps/librustls_pki_types-76e6058ec503df25.rmeta --extern webpki=/playground/target/debug/deps/libwebpki-2d5e06ae426f222c.rmeta --extern ryu=/playground/target/debug/deps/libryu-f77dd2a957655de2.rmeta --extern safe_arch=/playground/target/debug/deps/libsafe_arch-fb4e184cf5fc6584.rmeta --extern same_file=/playground/target/debug/deps/libsame_file-0234d9f6d8bae6d7.rmeta --extern scopeguard=/playground/target/debug/deps/libscopeguard-aca3471f5dd30d7a.rmeta --extern scraper=/playground/target/debug/deps/libscraper-684ea3c5f4ed4135.rmeta --extern select=/playground/target/debug/deps/libselect-3b26116c07d876c1.rmeta --extern selectors=/playground/target/debug/deps/libselectors-b4aa2269e162eaea.rmeta --extern semver=/playground/target/debug/deps/libsemver-d9e28a3252202339.rmeta --extern serde=/playground/target/debug/deps/libserde-b998233e9885d3e0.rmeta --extern serde_value=/playground/target/debug/deps/libserde_value-adc67c2c2ffa53a3.rmeta --extern serde_derive=/playground/target/debug/deps/libserde_derive-de42c70f10866806.so --extern serde_json=/playground/target/debug/deps/libserde_json-1814a90057407275.rmeta --extern serde_spanned=/playground/target/debug/deps/libserde_spanned-36b37b29f79247a7.rmeta --extern serde_urlencoded=/playground/target/debug/deps/libserde_urlencoded-93d8ff50243aa792.rmeta --extern serde_yaml=/playground/target/debug/deps/libserde_yaml-2b023030f430d8eb.rmeta --extern servo_arc=/playground/target/debug/deps/libservo_arc-37b1a9e2515986fb.rmeta --extern sha1_smol=/playground/target/debug/deps/libsha1_smol-e206f7a3f775f291.rmeta --extern sha2=/playground/target/debug/deps/libsha2-8da97fb4f6b931d1.rmeta --extern shlex=/playground/target/debug/deps/libshlex-8391df9a47f3e625.rmeta --extern signal_hook_registry=/playground/target/debug/deps/libsignal_hook_registry-453d709fedbecb6f.rmeta --extern simba=/playground/target/debug/deps/libsimba-dad7879da56fcd38.rmeta --extern simd_adler32=/playground/target/debug/deps/libsimd_adler32-ae0b04ade056ca1b.rmeta --extern simd_helpers=/playground/target/debug/deps/libsimd_helpers-b2c0eea46bddd97e.so --extern siphasher=/playground/target/debug/deps/libsiphasher-3cc615ddf924d7da.rmeta --extern slab=/playground/target/debug/deps/libslab-606db1f397ef8ea3.rmeta --extern smallvec=/playground/target/debug/deps/libsmallvec-02a3160c76b487c1.rmeta --extern socket2=/playground/target/debug/deps/libsocket2-3a1e01bd7f743129.rmeta --extern spin=/playground/target/debug/deps/libspin-59745337e3801c5b.rmeta --extern sptr=/playground/target/debug/deps/libsptr-28443fb829ace15e.rmeta --extern stable_deref_trait=/playground/target/debug/deps/libstable_deref_trait-2d5b270a54909fe9.rmeta --extern string_cache=/playground/target/debug/deps/libstring_cache-2090c47d40c42884.rmeta --extern string_cache_codegen=/playground/target/debug/deps/libstring_cache_codegen-c13d96e1fde8fbd3.rmeta --extern stringprep=/playground/target/debug/deps/libstringprep-410426f00cc50841.rmeta --extern strsim=/playground/target/debug/deps/libstrsim-041598618eb5f469.rmeta --extern subtle=/playground/target/debug/deps/libsubtle-67428662428713d6.rmeta --extern syn_1_0_109=/playground/target/debug/deps/libsyn-a091aa887d8895bc.rmeta --extern syn=/playground/target/debug/deps/libsyn-f7bdc90bce2d2ef4.rmeta --extern sync_wrapper=/playground/target/debug/deps/libsync_wrapper-9cbcc61f59ee0267.rmeta --extern synstructure=/playground/target/debug/deps/libsynstructure-59be46802bae7b61.rmeta --extern tar=/playground/target/debug/deps/libtar-cb718ca5696cf6a8.rmeta --extern tempfile=/playground/target/debug/deps/libtempfile-8b2a0f540bbc134b.rmeta --extern tendril=/playground/target/debug/deps/libtendril-2a7e0cb95be2992b.rmeta --extern terminal_size=/playground/target/debug/deps/libterminal_size-e0b2beccd379554f.rmeta --extern thiserror_1_0_69=/playground/target/debug/deps/libthiserror-b7226f426e88490d.rmeta --extern thiserror=/playground/target/debug/deps/libthiserror-322186c6cf7af505.rmeta --extern thiserror_impl_1_0_69=/playground/target/debug/deps/libthiserror_impl-166ddb0f92a7cb74.so --extern thiserror_impl=/playground/target/debug/deps/libthiserror_impl-658589b85f106704.so --extern thread_id=/playground/target/debug/deps/libthread_id-1a9bcb17386b1104.rmeta --extern threadpool=/playground/target/debug/deps/libthreadpool-a8000523712013a4.rmeta --extern tiff=/playground/target/debug/deps/libtiff-9b1d962a94903cda.rmeta --extern time=/playground/target/debug/deps/libtime-dc882f53fc49f2ba.rmeta --extern time_core=/playground/target/debug/deps/libtime_core-a773f4303527753c.rmeta --extern time_macros=/playground/target/debug/deps/libtime_macros-ba51b30798d43335.so --extern tinystr=/playground/target/debug/deps/libtinystr-31ca09b828b6e4c8.rmeta --extern tinyvec=/playground/target/debug/deps/libtinyvec-a79979bc05b58d96.rmeta --extern tinyvec_macros=/playground/target/debug/deps/libtinyvec_macros-bcde8c32a73efff3.rmeta --extern tokio=/playground/target/debug/deps/libtokio-1cca84d36f9e0cc9.rmeta --extern tokio_io=/playground/target/debug/deps/libtokio_io-f4dc8a0981f7f2fe.rmeta --extern tokio_macros=/playground/target/debug/deps/libtokio_macros-69778e53b7b7b79b.so --extern tokio_native_tls=/playground/target/debug/deps/libtokio_native_tls-42f9b4e11750bb4c.rmeta --extern tokio_postgres=/playground/target/debug/deps/libtokio_postgres-33b3d9254034fa23.rmeta --extern tokio_rustls=/playground/target/debug/deps/libtokio_rustls-b72cb67e2e0c2ca0.rmeta --extern tokio_stream=/playground/target/debug/deps/libtokio_stream-99ebdd45b9d416ca.rmeta --extern tokio_util=/playground/target/debug/deps/libtokio_util-1c1f33055b049723.rmeta --extern toml=/playground/target/debug/deps/libtoml-dbd3637593beb11b.rmeta --extern toml_datetime=/playground/target/debug/deps/libtoml_datetime-4d505362586ab21b.rmeta --extern toml_edit=/playground/target/debug/deps/libtoml_edit-25138db8aa1934ab.rmeta --extern tower_service=/playground/target/debug/deps/libtower_service-4cb9b762bb88f0cd.rmeta --extern tracing=/playground/target/debug/deps/libtracing-f1ffa4872fdb16cf.rmeta --extern tracing_attributes=/playground/target/debug/deps/libtracing_attributes-cfd802177e803266.so --extern tracing_core=/playground/target/debug/deps/libtracing_core-5985473ecac904f4.rmeta --extern trpl=/playground/target/debug/deps/libtrpl-e8241a0e0eb28efe.rmeta --extern try_lock=/playground/target/debug/deps/libtry_lock-9a0d955aaa174be1.rmeta --extern typemap_ors=/playground/target/debug/deps/libtypemap_ors-d9791413527c8c53.rmeta --extern typenum=/playground/target/debug/deps/libtypenum-a3bf5282d00bf9b0.rmeta --extern unicase=/playground/target/debug/deps/libunicase-1403c93b6156bb38.rmeta --extern unicode_bidi=/playground/target/debug/deps/libunicode_bidi-02ebe37278c6b821.rmeta --extern unicode_ident=/playground/target/debug/deps/libunicode_ident-1934a61c22699602.rmeta --extern unicode_normalization=/playground/target/debug/deps/libunicode_normalization-e5cc7326d493251f.rmeta --extern unicode_properties=/playground/target/debug/deps/libunicode_properties-9e6d3bd4d256ee28.rmeta --extern unicode_segmentation=/playground/target/debug/deps/libunicode_segmentation-01fbe113d7ad7d4e.rmeta --extern unicode_width_0_1_14=/playground/target/debug/deps/libunicode_width-4b368d59f44c237a.rmeta --extern unicode_width=/playground/target/debug/deps/libunicode_width-abf7e8e2b4cee0f8.rmeta --extern unicode_xid=/playground/target/debug/deps/libunicode_xid-97a4bb303880d45b.rmeta --extern unsafe_any_ors=/playground/target/debug/deps/libunsafe_any_ors-82f163b8c32a6743.rmeta --extern unsafe_libyaml=/playground/target/debug/deps/libunsafe_libyaml-b406fc70efa39e12.rmeta --extern untrusted=/playground/target/debug/deps/libuntrusted-ddbd0bc194546c67.rmeta --extern url=/playground/target/debug/deps/liburl-5b79ff17b2139426.rmeta --extern utf8=/playground/target/debug/deps/libutf8-fb2684e6a5ff71bc.rmeta --extern utf16_iter=/playground/target/debug/deps/libutf16_iter-d0d614febb004893.rmeta --extern utf8_iter=/playground/target/debug/deps/libutf8_iter-649b3d7db98605e3.rmeta --extern utf8parse=/playground/target/debug/deps/libutf8parse-906c5051b279abd5.rmeta --extern uuid=/playground/target/debug/deps/libuuid-f884e0b042f3c138.rmeta --extern v_frame=/playground/target/debug/deps/libv_frame-884e9f88a717c9da.rmeta --extern vcpkg=/playground/target/debug/deps/libvcpkg-ecc67fae2e2c8d86.rmeta --extern version_check=/playground/target/debug/deps/libversion_check-fb62305375fd3c0f.rmeta --extern walkdir=/playground/target/debug/deps/libwalkdir-339045e4621d78ff.rmeta --extern want=/playground/target/debug/deps/libwant-f07df2170250680f.rmeta --extern wasm_bindgen=/playground/target/debug/deps/libwasm_bindgen-66dd94481a049a2b.rmeta --extern wasm_bindgen_backend=/playground/target/debug/deps/libwasm_bindgen_backend-5f133822fa516050.rmeta --extern wasm_bindgen_macro=/playground/target/debug/deps/libwasm_bindgen_macro-73b1c134007f9866.so --extern wasm_bindgen_macro_support=/playground/target/debug/deps/libwasm_bindgen_macro_support-19a4be1cb676f9d2.rmeta --extern wasm_bindgen_shared=/playground/target/debug/deps/libwasm_bindgen_shared-0652caeb36706481.rmeta --extern weezl=/playground/target/debug/deps/libweezl-2ada2775cdf1390e.rmeta --extern whoami=/playground/target/debug/deps/libwhoami-41f5fd0dffc93411.rmeta --extern wide=/playground/target/debug/deps/libwide-85abf9081d2d4d9c.rmeta --extern windows_sys=/playground/target/debug/deps/libwindows_sys-251fd7a2f24106ad.rmeta --extern windows_targets=/playground/target/debug/deps/libwindows_targets-8868e97f03428e21.rmeta --extern windows_x86_64_gnu=/playground/target/debug/deps/libwindows_x86_64_gnu-6e34a0200084657f.rmeta --extern windows_x86_64_msvc=/playground/target/debug/deps/libwindows_x86_64_msvc-5214e09625e82f8a.rmeta --extern winnow=/playground/target/debug/deps/libwinnow-d5eadcc435437e58.rmeta --extern write16=/playground/target/debug/deps/libwrite16-ba1e0ea822566aac.rmeta --extern writeable=/playground/target/debug/deps/libwriteable-37fb9bcb3a9124b7.rmeta --extern xattr=/playground/target/debug/deps/libxattr-372020db9888b91d.rmeta --extern xml5ever=/playground/target/debug/deps/libxml5ever-2ea00c5f7a06bcc4.rmeta --extern yoke=/playground/target/debug/deps/libyoke-d0b478f053848384.rmeta --extern yoke_derive=/playground/target/debug/deps/libyoke_derive-08aede801eb15c5e.so --extern zerocopy=/playground/target/debug/deps/libzerocopy-600622011ab6b002.rmeta --extern zerocopy_derive=/playground/target/debug/deps/libzerocopy_derive-8ec98ffbb2700f3c.so --extern zerofrom=/playground/target/debug/deps/libzerofrom-61d2e5df11b08235.rmeta --extern zerofrom_derive=/playground/target/debug/deps/libzerofrom_derive-527ae357ea6fad2c.so --extern zeroize=/playground/target/debug/deps/libzeroize-074288834c7ad424.rmeta --extern zerovec=/playground/target/debug/deps/libzerovec-13937c1891410271.rmeta --extern zerovec_derive=/playground/target/debug/deps/libzerovec_derive-d54a3d4f962f003a.so --extern zune_core=/playground/target/debug/deps/libzune_core-b11d2b2f90ad0539.rmeta --extern zune_inflate=/playground/target/debug/deps/libzune_inflate-08ad922bc57e7d27.rmeta --extern zune_jpeg=/playground/target/debug/deps/libzune_jpeg-f1c558a578a444b8.rlib -L native=/playground/target/debug/build/libsqlite3-sys-e9555edb95074c57/out -L native=/playground/target/debug/build/ring-d30bacfa520cd697/out -L native=/playground/.cargo/registry/src/index.crates.io-6f17d22bba15001f/windows_x86_64_gnu-0.52.6/lib -L native=/playground/.cargo/registry/src/index.crates.io-6f17d22bba15001f/windows_x86_64_msvc-0.52.6/lib` (exit status: 101) ```
I-ICE,A-borrow-checker,T-compiler,C-bug,E-needs-mcve
low
Critical
2,782,972,298
ollama
Cancelling model loading for one requests cancels it for others
### What is the issue? When a request is canceled while a model is loading, all other requests are also cancelled ### OS _No response_ ### GPU _No response_ ### CPU _No response_ ### Ollama version _No response_
bug
low
Minor
2,783,000,351
PowerToys
"Restore original windows size" only works when the Shift key is holded
### Microsoft PowerToys version 0.87.1 ### Installation method GitHub ### Running as admin Yes ### Area(s) with issue? FancyZones ### Steps to reproduce When the "Hold Shift key to activate zones" is disabled 1. Enable "Restore the original size of windows when unsnapping" (other options don't seem to affect to reproduce) 2. drag any window to zone 3. drag that window to other blank area ### PowerToys setting <details> ![Image](https://github.com/user-attachments/assets/8e387596-b9ec-4081-b0b4-7163be7707a4) ![Image](https://github.com/user-attachments/assets/c9eca47c-daf7-4663-89a2-da441a642d2c) ![Image](https://github.com/user-attachments/assets/5f406a1c-11fd-4b06-9dae-dc72cb2f5f5c) </details> ### Demonstration image <details> ![Image](https://github.com/user-attachments/assets/657d62ab-bfe9-450e-b8fc-d5a9a8d25c07) ![Image](https://github.com/user-attachments/assets/00026781-9557-4702-945f-4d726de9dfd2) ![Image](https://github.com/user-attachments/assets/c57acc0a-1947-424f-9dd2-86b87bcb074f) ![Image](https://github.com/user-attachments/assets/19936568-18fa-4587-a128-543b1dbd0069) </details> ### ✔️ Expected Behavior The window have to restore previous size of itself ### ❌ Actual Behavior The window's size is same as I draged to zone But when I draged the window with holding shift key, the size restored ### Other Software Windows 11 Pro 24H2 version x64
Issue-Bug,Needs-Triage
low
Minor
2,783,008,863
neovim
Use `vim.ui.select` for `:tselect` & friends
### Problem When selecting a ctag which has multiple matches, those matches are printed sequentially on the console, prompting the user to select one by entering its number. ### Expected behavior The `vim.ui.select` API is used for selecting from the multiple ctags matches, when present. Like #25814, it would mean that user selections would follow a consistent interface.
enhancement,ui
low
Minor
2,783,054,584
PowerToys
Proposal for Changes to the Japanese Translation of PowerToys FancyZones Custom Edit Settings
### Microsoft PowerToys version 0.87.1 ### Utility with translation issue FancyZones Editor ### 🌐 Language affected Japanese ### ❌ Actual phrase(s) 1. In English: "Space around zones" In Japanese: 「ゾーン周りのスペース」 2. In English: "Highlight distance" In Japanese: 「距離を強調表示」 ![Image](https://github.com/user-attachments/assets/5f4e4e8b-92c1-4631-aa2c-67307ea01af3) ![Image](https://github.com/user-attachments/assets/2a696937-7902-48e2-977c-2bffa2c86413) ### ✔️ Expected phrase(s) 1. "Space around zones" -> "ゾーン周りの余白" 2. "Highlight distance" -> "隣接するゾーンの検知距離" ### ℹ Why is the current translation wrong 1. In Japanese, the word "スペース" (space) can imply multiple meanings beyond just "余白" (margin or padding). 2. If "Highlight distance" were to be translated literally, "強調する距離" (distance to highlight) would be appropriate. However, this phrase makes it very unclear what the setting actually changes. If disregarding a direct translation from English, here are some alternative suggestions: - The one I find most suitable is "隣接するゾーンの検知距離" (detection distance for adjacent zones). - If the concern is that increasing the value might cause smaller zones to be skipped, "近くのゾーンの検知距離" (detection distance for nearby zones) could work. - Changing the subject to the snapping range of zones, "スナップ範囲の拡張距離" (expansion distance of the snapping range) is another option. - Considering that this feature is used to merge zones, albeit somewhat awkward in Japanese, "ゾーンの結合距離" (merging distance of zones) might also be an option.
Issue-Bug,Area-Localization,Needs-Triage,Issue-Translation
low
Minor
2,783,078,906
pytorch
Support loading and executing a ExportedProgram from torch.export in C++ environment
### 🚀 The feature, motivation and pitch Hi all, we are currently working on an online ML platform in the company which require us to 1. similar to torchscript, export a pytorch model graph and variable into an IR which can be executed in c++ environment 2. Update the model parameters when executing inference. I did some doc and code search and [torch.export](https://pytorch.org/docs/stable/export.html) seems to be the closest way to achieve this, but there are some gaps, not sure if I missed anything 1. torch.export can only export forward pass and cannot export forward + backward + optimizer step all into the same graph . The backward graph is executed eagerly after loaded back in python environment (checked the latest pytorch 2.5 doc [here](https://pytorch.org/docs/stable/export.html)). 2. In order to run the graph in C++, We can only compile the graph into aot_inductor and put that into .so file, there is not C++ API to load the exported graph and programically call this graph 3. There is no way to call this compute graph while passing variable update to the compute graph Do we have any plans to extend torch export to support such functionalities? ### Alternatives _No response_ ### Additional context same issue posted here https://discuss.pytorch.org/t/support-loading-and-executing-a-exportedprogram-from-torch-export-with-forward-backward-optimizer-step-in-c-environment/213024 cc @chauhang @penguinwu @avikchaudhuri @gmagogsfm @zhxchen17 @tugsbayasgalan @angelayi @suo @ydwu4
oncall: pt2,oncall: export
low
Major
2,783,110,199
flutter
Missing step in engine setup documentation
### Steps to reproduce Follow the doc to [setup the engine](https://github.com/flutter/flutter/blob/master/engine/src/flutter/docs/contributing/Setting-up-the-Engine-development-environment.md) ### Expected results - A clean local installation with no diff to master ### Actual results - After the setup is complete, I'm getting a big diff with master including files which seem to have been deleted as part of the monorepo change. In [this readme](https://github.com/flutter/flutter/tree/master/engine), there's an additional step about copying the .gclient to root and then running gclient sync. That fixed my issue So I think the engine setup doc needs to add a step mentioning copying this gclient file ### Code sample Not applicable
engine,team-engine,d: docs/,monorepo
low
Minor
2,783,182,987
PowerToys
Activiation shortcut editor does not allow disabling shortcuts
### Microsoft PowerToys version 0.87.1 ### Installation method WinGet ### Running as admin Yes ### Area(s) with issue? General ### Steps to reproduce 1. Attempt to edit an Activation Shortcut (which has a default value) 2. Clear it (using the `esc` key seems to be the only viable means) 3. The `Save` button is disabled, the `Reset` button restores the default shortcut Note: a sibling of this is that the some actions which do not have shortcuts (e.g. Advanced Paste's Paste as Markdown/JSON directly) require using the `Reset` button to remove a custom shortcut rather than being able to clear & save them. I am marking this general rather than any individual toy since this seems to be a common UI element. Admittedly this doesn't always make sense (i.e. Color Picker isn't very helpful without a shortcut), but in my case I would only like to use Advance Paste while keeping Win+Alt+Shift+V for use by another toy. ### ✔️ Expected Behavior Clearing the shortcut using an obvious key sequence (esc, delete, and/or backspace are common, here esc is the only one that works) and pressing the `save` button. ### ❌ Actual Behavior The save button is disabled when there is no shortcut specified ### Other Software _No response_
Issue-Bug,Needs-Triage
low
Minor
2,783,193,244
PowerToys
Activation shortcut collisions have no handling
### Description of the new feature / enhancement PowerToys settings do not give any indication of activation shortcut collisions when editing shortcuts, enabling a toy (with default or user-set shortcuts), starting PowerToys, or otherwise (as far as I can tell). In this scenario I was using Win+Alt+Shift+V in another toy and saw unexpected behavior once I enabled Advanced Paste (I didn't plan to use the paste paste as plane text action so I did not note its shortcut) but I confirmed there is no warning within a single toy. ### Scenario when this would be used? Depending on how this is done I would expect some warning of colliding shortcuts either when setting the shortcut or obtrusively on other actions which enable shortcuts (e.g. enabling a toy). ### Supporting information _No response_
Needs-Triage
low
Minor
2,783,246,531
pytorch
torch.stack for sequences
### 🚀 The feature, motivation and pitch I'm trying to let my tensors to have a static dimension count for type checking, like: ```python import torch import typing Tensor2d = typing.NewType("Tensor2d", torch.Tensor) def matmul(x: Tensor2d, y: Tensor2d) -> Tensor2d: return Tensor2d(x.matmul(y)) # So that we won't pass any other tensors with wrong dims in accident. ``` However, I found that it is impossible to use functions like `torch.stack` on a `list[Tensor2d]`: ```python import torch import typing Tensor2d = typing.NewType("Tensor2d", torch.Tensor) my_list: list[Tensor2d] = [] torch.stack(my_list) # Pylance for example, says: # Argument of type "list[Tensor2d]" cannot be assigned to parameter "tensors" of type "Tuple[Tensor, ...] | List[Tensor]" in function "stack" # Type "list[Tensor2d]" is not assignable to type "Tuple[Tensor, ...] | List[Tensor]" # "list[Tensor2d]" is not assignable to "Tuple[Tensor, ...]" # "list[Tensor2d]" is not assignable to "List[Tensor]" # Type parameter "_T@list" is invariant, but "Tensor2d" is not the same as "Tensor" # Consider switching from "list" to "Sequence" which is covariant ``` So I wonder if it is possible to switch the signature from ```python def stack(tensors: Union[Tuple[Tensor, ...], List[Tensor]], dim: _int = 0, *, out: Optional[Tensor] = None) -> Tensor: ``` to ```python def stack(tensors: Sequence[Tensor], dim: _int = 0, *, out: Optional[Tensor] = None) -> Tensor: ``` ? And then since `Sequence` is covariant, we could pass a `list[Tensor2d]` into it. I guess there are some optimization measures that can only be applied on `tuple` and `list`, but is it possible to check the type at runtime? And if it's something other than a `list` or `tuple`, we could also automatically convert it. And same for some other functions like `cat`. Thanks in advance. ### Alternatives _No response_ ### Additional context _No response_ cc @ezyang @malfet @xuzhao9 @gramster @albanD
module: typing,triaged,enhancement,module: python frontend
low
Major
2,783,283,765
flutter
Make `_CupertinoSheetRouteTransitionMixin` public to match other route transition mixins
### Use case Users might want to write custom routes for different reasons, for example when using [`package:heroine`](https://pub.dev/packages/heroine). For existing routes, it is easy to create a custom `PageRoute` that uses the same transitions as the built-in variant, by using the appropriate mixin, e.g. `CupertinoRouteTransitionMixin`. For the new cupertino sheet from #157568, which is an amazing contribution, this is not possible at the moment. I wonder if it is an oversight, or if there is a reason preventing custom routes from implementing this transition. ### Proposal Make `_CupertinoSheetRouteTransitionMixin` public so it can be mixed into custom route classes. We will probably need to insert the `_CupertinoSheetScope` into the tree from there as well, for everything to work.
c: new feature,framework,f: cupertino,f: routes,c: proposal,P3,team-design,triaged-design
low
Minor
2,783,291,020
pytorch
Thread-safe approach on temporarily changing the `set_default_type`
### 🚀 The feature, motivation and pitch There are cases in our code in which we rely on torch to infer the type of the data. There are code sections in which we would like to use higher precision for floating points and it would be nice to only set the default types in these code blocks. ### Alternatives We are currently using a version that is not thread-safe. I don't think (?) there's a good way to do it given it's global nature, but maybe I'm missing the right API for it. ### Additional context _No response_ cc @albanD
triaged,enhancement,module: python frontend
low
Major
2,783,306,847
neovim
Replace or remove unibilium (LGPLv3 dependency)
# Problem Unibilium is licensed as LGPLv3, which complicates use of Neovim in (some) corporate environments. # Solutions 1. Replace with more permissively licensed library, e.g. * [libtickit](https://github.com/leonerd/libtickit) (MIT) * [libvaxis](https://github.com/rockorager/libvaxis) (MIT, Zig) (which would also replace `termkey`). 2. Reimplement (the subset we actually need) based on * [lua-tui](https://github.com/daurnimator/lua-tui/blob/master/tui/terminfo.lua) (MIT, Lua) * [terminfo](https://github.com/docelic/terminfo) (MIT, Crystal) * [rust-terminfo](https://github.com/meh/rust-terminfo) (WTFPL, Rust) 3. Replace terminfo parsing (which is fraught anyway) by terminal feature detection via control sequences (as `libvaxis` does). --- ### Originally discussed in https://github.com/neovim/neovim/discussions/31966 <div type='discussions-op-text'> <sup>Originally posted by **setjmp** April 23, 2019</sup> unibilium is licensed as LGPL 3, and such a license prevents certain types of deployment of neovim at large corporations which take license compliance very seriously. I came to write this feature request not out of whim, but as a response to a hurdle that I and others are facing. I have not done a thorough review of all the third party dependencies, but AFAIK this is the only LGPL 3 blocker. Replacing unibilium will increase adoption of neovim tremendously. </div>
project-management,dependencies,license
low
Minor
2,783,322,243
pytorch
[inductor][cpu] fused attention Inductor tests fails with an error " name 'getitem' is not defined "
### 🐛 Describe the bug I have regrenrated all the patterens with the flag PYTORCH_GEN_PATTERNS=1 by setting config flag "fallback_random" is set to true. By default this falg is false. After setting this flag to True. I ran existing fused attention tests but the test failed with the following error. **CMD to run the test:** 1. run once with the flag regenerte patterns PYTORCH_GEN_PATTERNS=1 python -m pytest test_fused_attention.py -k test_sdpa_rewriter_1_cpu 2. run again python -m pytest test_fused_attention.py -k test_sdpa_rewriter_1_cpu **Error:** NameError: name 'getitem' is not defined The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/usr/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/usr/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() ### Versions Collecting environment information... PyTorch version: 2.5.0a0+gite84e33f Is debug build: False CUDA used to build PyTorch: None ROCM used to build PyTorch: N/A OS: Ubuntu 22.04.3 LTS (x86_64) GCC version: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 Clang version: 14.0.0-1ubuntu1.1 CMake version: version 3.22.1 Libc version: glibc-2.35 Python version: 3.10.12 (main, Nov 6 2024, 20:22:13) [GCC 11.4.0] (64-bit runtime) Python platform: Linux-5.15.0-127-generic-x86_64-with-glibc2.35 Is CUDA available: False CUDA runtime version: No CUDA CUDA_MODULE_LOADING set to: N/A GPU models and configuration: No CUDA Nvidia driver version: No CUDA cuDNN version: No CUDA 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: 43 bits physical, 48 bits virtual Byte Order: Little Endian CPU(s): 12 On-line CPU(s) list: 0-11 Vendor ID: GenuineIntel Model name: Intel(R) Xeon(R) Gold 5220R CPU @ 2.20GHz CPU family: 6 Model: 85 Thread(s) per core: 1 Core(s) per socket: 6 Socket(s): 2 Stepping: 0 BogoMIPS: 4389.68 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon nopl xtopology tsc_reliable nonstop_tsc cpuid tsc_known_freq pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 invpcid avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xsaves arat pku ospke md_clear flush_l1d arch_capabilities Virtualization: VT-x Hypervisor vendor: VMware Virtualization type: full L1d cache: 384 KiB (12 instances) L1i cache: 384 KiB (12 instances) L2 cache: 12 MiB (12 instances) L3 cache: 71.5 MiB (2 instances) NUMA node(s): 1 NUMA node0 CPU(s): 0-11 Vulnerability Gather data sampling: Unknown: Dependent on hypervisor status Vulnerability Itlb multihit: KVM: Mitigation: VMX disabled Vulnerability L1tf: Mitigation; PTE Inversion; VMX flush not necessary, SMT disabled Vulnerability Mds: Mitigation; Clear CPU buffers; SMT Host state unknown Vulnerability Meltdown: Mitigation; PTI Vulnerability Mmio stale data: Mitigation; Clear CPU buffers; SMT Host state unknown Vulnerability Reg file data sampling: Not affected Vulnerability Retbleed: Mitigation; IBRS 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; IBRS; IBPB conditional; STIBP disabled; RSB filling; PBRSB-eIBRS Not affected; BHI SW loop, KVM SW loop Vulnerability Srbds: Not affected Vulnerability Tsx async abort: Not affected Versions of relevant libraries: [pip3] flake8==7.0.0 [pip3] intel_extension_for_pytorch==2.5.10+git1104b12 [pip3] numpy==1.26.4 [pip3] torch==2.5.0a0+gite84e33f [pip3] torchaudio==2.1.0+6ea1133 [pip3] torchvision==0.16.0+fbb4cc5 [conda] Could not collect cc @soulitzer @chauhang @penguinwu
oncall: pt2,oncall: cpu inductor
low
Critical
2,783,338,097
flutter
[Flutter Web] yield switch construct aborts the application in debug mode
### Steps to reproduce 1. Install flutter version 3.27.1 2. Create an empty project 3. Add the code from the example 4. Run in debug mode ### Expected results The app works ### Actual results The application hangs on loading and does not show anything ### Code sample The example also has a working variant (commented function “test”). <details open><summary>Code sample</summary> ```dart import 'package:flutter/material.dart'; abstract interface class HttpException implements Exception { const HttpException(); } class HttpMessageError implements HttpException { HttpMessageError({ required this.statusCode, }); final int? statusCode; } sealed class NameException implements Exception {} class NameAlreadyExistsException implements NameException { const NameAlreadyExistsException(this.parent); final Object parent; } class SaveException implements Exception { const SaveException(this.parent); final Object parent; } void main() { runApp(const MyApp()); } class MyApp extends StatelessWidget { const MyApp({super.key}); @override Widget build(BuildContext context) { return MaterialApp( title: 'Flutter Demo', theme: ThemeData( colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple), useMaterial3: true, ), home: const MyHomePage(title: 'Flutter Demo Home Page'), ); } } class MyHomePage extends StatefulWidget { const MyHomePage({super.key, required this.title}); final String title; @override State<MyHomePage> createState() => _MyHomePageState(); } class _MyHomePageState extends State<MyHomePage> { // Not working Stream<Exception> test() async* { try { throw HttpMessageError(statusCode: 500); } catch (e) { yield switch (e) { HttpMessageError(statusCode: final statusCode) when statusCode == 400 => NameAlreadyExistsException(e), HttpMessageError(statusCode: final statusCode) when statusCode == 409 => NameAlreadyExistsException(e), final e => SaveException(e), }; } } // Working // Stream<Exception> test() async* { // try { // throw HttpMessageError(statusCode: 500); // } catch (e) { // if (e case HttpMessageError(statusCode: final statusCode) // when statusCode == 400) { // yield NameAlreadyExistsException(e); // } else if (e case HttpMessageError(statusCode: final statusCode) // when statusCode == 409) { // yield NameAlreadyExistsException(e); // } else { // yield SaveException(e); // } // } // } @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( backgroundColor: Theme.of(context).colorScheme.inversePrimary, title: Text(widget.title), ), body: Center( child: Column( mainAxisAlignment: MainAxisAlignment.center, children: <Widget>[ StreamBuilder( stream: test(), builder: (context, snapshot) { if (snapshot.hasData) { return Text(snapshot.data?.toString() ?? ''); } return const CircularProgressIndicator(); }, ), ], ), ), ); } } ``` </details> ### Screenshots or Video <details open> <summary>Screenshots / Video demonstration</summary> <img width="565" alt="2025-01-13" src="https://github.com/user-attachments/assets/a714bbe3-b71a-4fd3-a346-21d75b8d1ff8" /> </details> ### Logs <details open><summary>Logs</summary> ```console Uncaught SyntaxError: Identifier 'statusCode' has already been declared Uncaught TypeError: Cannot read properties of undefined (reading 'main') at load__web_entrypoint_dart (web_entrypoint.dart.lib.js:14:60) at Object.execCb (require.js:1696:33) at Module.check (require.js:883:51) at Module.<anonymous> (require.js:1139:34) at require.js:134:23 at require.js:1189:21 at each (require.js:59:31) at Module.emit (require.js:1188:17) at Module.check (require.js:938:30) at Module.<anonymous> (require.js:1139:34) at require.js:134:23 at require.js:1189:21 at each (require.js:59:31) at Module.emit (require.js:1188:17) at Module.check (require.js:938:30) at Module.enable (require.js:1176:22) at Module.init (require.js:788:26) at callGetModule (require.js:1203:63) at Object.completeLoad (require.js:1590:21) at HTMLScriptElement.onScriptLoad (require.js:1717:29) ``` </details> ### Flutter Doctor output <details open><summary>Doctor output</summary> ```console [✓] Flutter (Channel stable, 3.27.1, on macOS 14.2.1 23C71 darwin-arm64, locale ru-RU) • Flutter version 3.27.1 on channel stable at /Users/itmiftah10/SDK/flutter/versions/3.27.1 • Upstream repository https://github.com/flutter/flutter.git • Framework revision 17025dd882 (4 weeks ago), 2024-12-17 03:23:09 +0900 • Engine revision cb4b5fff73 • Dart version 3.6.0 • DevTools version 2.40.2 [✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2) • Android SDK at /Users/itmiftah10/SDK/android_studio • Platform android-34, build-tools 33.0.2 • ANDROID_HOME = /Users/itmiftah10/SDK/android_studio • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 15.2) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 15C500b • CocoaPods version 1.15.2 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 2022.3) • 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 • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231) [✓] VS Code (version 1.96.2) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.102.0 [✓] Connected device (1 available) • Chrome (web) • chrome • web-javascript • Google Chrome 131.0.6778.70 [✓] Network resources • All expected network resources are available. • No issues found! ``` </details>
framework,a: debugging,platform-web,has reproducible steps,team-web,found in release: 3.27,found in release: 3.28
low
Critical
2,783,343,290
rust
Tracking issue for release notes of #135408: x86: make SSE2 required for i686 targets and use it to pass SIMD types
This issue tracks the release notes text for #135408. ### Steps - [ ] Proposed text is drafted by PR author (or team) making the noteworthy change. - [ ] Issue is nominated for release team review of clarity for wider audience. - [ ] Release team includes text in release notes/blog posts. ### Release notes text The responsible team for the underlying change should edit this section to replace the automatically generated link with a succinct description of what changed, drawing upon text proposed by the author (either in discussion or through direct editing). ````markdown # Compiler - [x86: make SSE2 required for i686 targets and use it to pass SIMD types](https://github.com/rust-lang/rust/pull/135408) ```` > [!TIP] > Use the [previous releases](https://doc.rust-lang.org/nightly/releases.html) categories to help choose which one(s) to use. > The category will be de-duplicated with all the other ones by the release team. > > *More than one section can be included if needed.* ### Release blog section If the change is notable enough for inclusion in the blog post, the responsible team should add content to this section. *Otherwise leave it empty.* ````markdown ```` cc @RalfJung, @SparrowLii -- origin issue/PR authors and assignees for starting to draft text
T-compiler,relnotes,needs-triage,O-apple,relnotes-tracking-issue
low
Minor
2,783,348,429
vscode
TreeError [DebugRepl] Tree input not set
```javascript Error: TreeError [DebugRepl] Tree input not set at gf.C in out-vscode/vs/base/browser/ui/tree/vs/base/browser/ui/tree/asyncDataTree.ts:797:10 at gf.updateChildren in out-vscode/vs/base/browser/ui/tree/vs/base/browser/ui/tree/asyncDataTree.ts:792:14 at Pee.value in out-vscode/vs/workbench/contrib/debug/browser/vs/workbench/contrib/debug/browser/repl.ts:227:16 at x.B in src/vs/base/common/event.ts:1243:13 at x.C in src/vs/base/common/event.ts:1254:9 at x.fire in src/vs/base/common/event.ts:1278:9 at eve.setVisible in out-vscode/vs/workbench/browser/parts/views/vs/workbench/browser/parts/views/viewPane.ts:418:37 at <anonymous> in out-vscode/vs/workbench/browser/parts/views/vs/workbench/browser/parts/views/viewPaneContainer.ts:693:24 at Array.map (<anonymous>) at qh.setVisible in out-vscode/vs/workbench/browser/parts/views/vs/workbench/browser/parts/views/viewPaneContainer.ts:693:5 ``` [Go to Errors Site](https://errors.code.visualstudio.com/card?ch=b7b6f26c6214e93095ab090b27cb069a85adc276&bH=b336ee82-b130-a9fc-4d1b-2f66172c95fe)
error-telemetry
low
Critical
2,783,353,366
opencv
Window resizing no longer works after 4.8.0
### System Information OpenCV version: 4.11.0 (but also 4.10.0 is affected) Operating system: Debian bullseye with Xfce Compiler: gcc 10.2.1 ### Detailed description Window resizing broke after 4.8.0, i.e., the image within the window is no longer resized correctly. Using the sample code below, 4.8.0 still works fine: ![48](https://github.com/user-attachments/assets/37fb4809-0603-4d01-b6cb-0e2787ef465c) The issue appears in later versions, e.g., 4.10.0 and 4.11.0: ![411](https://github.com/user-attachments/assets/46b5e3ea-de00-4f3a-ac1f-e022c30fa5d4) As can be seen, there are gray borders around the image. The image does not touch the inner window borders as it did in previous versions (which is what is expected). The documentation says > [..] the image is scaled to fit the window [..] Thus, it seems that versions after 4.8.0 broke window resizing. ### Steps to reproduce Sample code to reproduce: ``` #include <iostream> #include <opencv2/highgui.hpp> int main() { const auto size = 20; const auto zoom = 10; cv::namedWindow("Test window", cv::WINDOW_GUI_EXPANDED); const cv::Mat image(size, size, CV_8UC1, cv::Scalar(128)); cv::imshow("Test window", image); cv::resizeWindow("Test window", zoom * size, zoom * size); cv::waitKey(0); return 0; } ``` ### 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: highgui-gui
low
Minor
2,783,357,536
vscode
Cannot read properties of undefined (reading 'hasDynamicHeight')
```javascript TypeError: Cannot read properties of undefined (reading 'hasDynamicHeight') at ifi.Cb in src/vs/base/browser/ui/list/listView.ts:1596:13 at ifi.Bb in src/vs/base/browser/ui/list/listView.ts:1527:23 at ifi.W in src/vs/base/browser/ui/list/listView.ts:699:9 at ifi.splice in src/vs/base/browser/ui/list/listView.ts:587:16 at <anonymous> in src/vs/base/browser/ui/list/splice.ts:17:35 at Array.forEach (<anonymous>) at gNi.splice in src/vs/base/browser/ui/list/splice.ts:17:20 at <anonymous> in src/vs/base/browser/ui/list/listWidget.ts:1584:57 at fn in src/vs/base/common/event.ts:1717:13 at r4i.splice in src/vs/base/browser/ui/list/listWidget.ts:1584:22 ``` [Go to Errors Site](https://errors.code.visualstudio.com/card?ch=b7b6f26c6214e93095ab090b27cb069a85adc276&bH=c8fe8ec0-2fe0-7fe8-c9ff-d1e65b65bf65)
error-telemetry
low
Critical
2,783,360,043
vscode
[140] potential listener LEAK detected, having 175 listeners already. MOST frequent listener (1):
```javascript Error at Fui.create in src/vs/base/common/event.ts:933:15 at A9e.q [as onModelAdded] in src/vs/base/common/event.ts:1140:34 at uu.u in out-vscode/vs/workbench/browser/vs/workbench/browser/labels.ts:160:36 at new uu in out-vscode/vs/workbench/browser/vs/workbench/browser/labels.ts:137:8 at eft.o in src/vs/platform/instantiation/common/instantiationService.ts:162:18 at eft.createInstance in src/vs/platform/instantiation/common/instantiationService.ts:128:18 at new wFe in out-vscode/vs/workbench/contrib/chat/browser/chatContentParts/vs/workbench/contrib/chat/browser/chatContentParts/chatAttachmentsContentPart.ts:52:70 at eft.o in src/vs/platform/instantiation/common/instantiationService.ts:162:18 at eft.createInstance in src/vs/platform/instantiation/common/instantiationService.ts:128:18 at Xce.mb in out-vscode/vs/workbench/contrib/chat/browser/vs/workbench/contrib/chat/browser/chatListRenderer.ts:910:36 ``` [Go to Errors Site](https://errors.code.visualstudio.com/card?ch=b7b6f26c6214e93095ab090b27cb069a85adc276&bH=240a1322-9916-31f3-b334-38d3edcc0b26)
error-telemetry
low
Critical
2,783,360,390
puppeteer
Update spdx-satisfies to 6.0.0
spdx-satisfies 6.0.0 is had breaking changes resulting in validate-licenses.ts to fail. Needs to be unignored from dependabot to allow rolling automatically again.
bug,confirmed,P2
low
Minor
2,783,363,622
vscode
Illegal value for lineNumber
```javascript Error: Illegal value for lineNumber at Vw.getLineMaxColumn in src/vs/editor/common/model/textModel.ts:860:10 at Wie.I in src/vs/editor/browser/controller/editContext/native/nativeEditContext.ts:355:42 at Wie.F in src/vs/editor/browser/controller/editContext/native/nativeEditContext.ts:292:33 at Wie.prepareRender in src/vs/editor/browser/controller/editContext/native/nativeEditContext.ts:199:8 at Object.prepareRender in src/vs/editor/browser/view.ts:596:15 at <anonymous> in src/vs/editor/browser/view.ts:529:36 at func in src/vs/editor/browser/view.ts:759:10 at safeInvokeNoArg in src/vs/editor/browser/view.ts:529:4 at RDe.render in src/vs/editor/browser/view.ts:666:9 at <anonymous> in out-vscode/vs/editor/browser/widget/codeEditor/vs/editor/browser/widget/codeEditor/codeEditorWidget.ts:1618:26 ``` [Go to Errors Site](https://errors.code.visualstudio.com/card?ch=9b0b13d9bfe21c3dfd227bfaa8ed5693e309a2e0&bH=142b3db0-6c8b-a0fd-502d-c6043310f406)
error-telemetry
low
Critical
2,783,364,651
vscode
Illegal value for lineNumber
```javascript Error: Illegal value for lineNumber at Vw.getLineMaxColumn in src/vs/editor/common/model/textModel.ts:860:10 at va.getBottomForLineNumber in out-vscode/vs/editor/browser/widget/codeEditor/vs/editor/browser/widget/codeEditor/codeEditorWidget.ts:593:40 at <anonymous> in src/vs/editor/browser/widget/diffEditor/utils/editorGutter.ts:124:38 at fn in src/vs/base/common/observableInternal/base.ts:321:3 at $ee in src/vs/editor/browser/widget/diffEditor/utils/editorGutter.ts:93:5 at $ie._runFn in src/vs/editor/browser/widget/diffEditor/utils/editorGutter.ts:54:81 at $ie.k in src/vs/base/common/observableInternal/autorun.ts:226:11 at $ie.endUpdate in src/vs/base/common/observableInternal/autorun.ts:273:11 at M5.finish in src/vs/base/common/observableInternal/base.ts:389:13 at Wi in src/vs/base/common/observableInternal/base.ts:323:6 ``` [Go to Errors Site](https://errors.code.visualstudio.com/card?ch=9b0b13d9bfe21c3dfd227bfaa8ed5693e309a2e0&bH=2826e582-9254-beac-c140-f94e1624de05)
error-telemetry
low
Critical
2,783,368,219
vscode
this.c.delete is not a function
```javascript TypeError: this.c.delete is not a function at rRe.add in out/vs/workbench/workbench.desktop.main.js:410:7294 at NU.addToHistory in out-vscode/vs/base/browser/ui/inputbox/vs/base/browser/ui/inputbox/inputBox.ts:713:17 at <anonymous> in out-vscode/vs/workbench/contrib/preferences/browser/vs/workbench/contrib/preferences/browser/keybindingsEditor.ts:580:31 at task in src/vs/base/common/async.ts:390:13 ``` [Go to Errors Site](https://errors.code.visualstudio.com/card?ch=2569d71b0491afddb23e173ee6cc2eb284f1b0b9&bH=92a2b909-0006-9bc2-5de5-660ff379e4f4)
error-telemetry
low
Critical
2,783,368,803
vscode
Cannot read properties of null (reading 'isDisposed')
```javascript TypeError: Cannot read properties of null (reading 'isDisposed') at QFe.update in src/vs/workbench/contrib/chat/common/codeBlockModelCollection.ts:155:17 ``` [Go to Errors Site](https://errors.code.visualstudio.com/card?ch=2569d71b0491afddb23e173ee6cc2eb284f1b0b9&bH=030af23d-7be3-0c49-d3eb-05d22678ac02)
error-telemetry
low
Critical
2,783,369,228
vscode
Soft Assertion Failed
```javascript Error: Soft Assertion Failed at mgt in src/vs/base/common/assert.ts:43:21 at $kd in src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.ts:527:3 at <anonymous> in src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.ts:178:15 at Array.map (<anonymous>) at o in src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.ts:175:8 at updateUnchangedRegions in src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.ts:312:5 at fn in src/vs/base/common/observableInternal/base.ts:321:3 at $ee in src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.ts:310:4 ``` [Go to Errors Site](https://errors.code.visualstudio.com/card?ch=2569d71b0491afddb23e173ee6cc2eb284f1b0b9&bH=eebc9ef6-1b9d-1418-c163-5cfaa2903e8f)
error-telemetry
low
Critical
2,783,372,483
svelte
Reference examples for `@svelte/legacy` migration
Would be nice to have reference implementation examples for newcomers or people unfamiliar with the helper event modifiers that were deprecated in Svelte 5. In the migration guide we have an example of how to migrate `preventDefault`. https://svelte.dev/docs/svelte/v5-migration-guide#Migration-script-Event-modifiers But some helpers are a bit more involved, like `once`, `passive`, `self`. It would be easier to migrate if we have similar examples for others.
documentation
low
Minor
2,783,389,321
vscode
Cannot read properties of undefined (reading 'visible')
```javascript TypeError: Cannot read properties of undefined (reading 'visible') at oee.value in src/vs/workbench/contrib/chat/browser/chatViewPane.ts:87:38 at x.B in src/vs/base/common/event.ts:1243:13 at x.C in src/vs/base/common/event.ts:1254:9 at x.fire in src/vs/base/common/event.ts:1278:9 at pOe.updateAgent in src/vs/workbench/contrib/chat/common/chatAgents.ts:383:27 at d5t.$updateAgent in src/vs/workbench/api/browser/mainThreadChatAgents2.ts:221:26 ``` [Go to Errors Site](https://errors.code.visualstudio.com/card?ch=fabdb6a30b49f79a7aba0f2ad9df9b399473380f&bH=b430854c-6e3f-a818-9118-b89e4e4ec401)
error-telemetry
low
Critical
2,783,399,098
vscode
Unable to resolve text model content for resource vscode-notebook-cell:/d%<REDACTED: user-file-path>#W0sZmlsZQ%3D%3D
```javascript Error: Unable to resolve text model content for resource vscode-notebook-cell:/d%<REDACTED: user-file-path>#W0sZmlsZQ%3D%3D at S9e.u in src/vs/workbench/services/textmodelResolver/common/textModelResolverService.ts:193:9 at async S9e.r in src/vs/workbench/services/textmodelResolver/common/textModelResolverService.ts:78:4 at async wft.acquire in src/vs/base/common/lifecycle.ts:683:19 at async k9e.createModelReference in src/vs/workbench/services/textmodelResolver/common/textModelResolverService.ts:238:10 at async LNe.H in out-vscode/vs/editor/contrib/wordHighlighter/browser/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.ts:734:26 ``` [Go to Errors Site](https://errors.code.visualstudio.com/card?ch=fabdb6a30b49f79a7aba0f2ad9df9b399473380f&bH=7a01bfc7-e598-e31e-7eeb-012650b4ed2f)
error-telemetry
low
Critical
2,783,404,131
godot
Autocompletion and type/method signature checking does not work after the second degree inside of an `is` block
### Tested versions v4.4.dev7.official [46c8f8c] master [5b52b4b5c4f7c1232a6a814f65fce4c48f0f424b] ### System information Godot v4.4.dev7 - 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 When using `object is [class name]`, autocompletion does not work after the second degree property/method access, and neither does type/method signature checking. Example: ```gdscript var node3d := Node3D.new() # Gives argument error. (Correct) node3d.position.direction_to() node3d.quaternion.angle_to() # Gives no error. (Correct) var x := node3d.basis.inverse().x var y := node3d.transform.origin.y var node: Node = Node3D.new() if node is Node3D: # No error. (Incorrect) node.position.direction_to() node.quaternion.angle_to() # Gives inferred as Variant error. (Incorrect) var x2 := node.basis.inverse().x var y2 := node.transform.origin.y ``` ### Steps to reproduce Inside an `is` block (use any subclass), access a property/method that returns a math/collection/Object type Variant from that subclass, then access a property/method of that returned type. No autocompletion will appear for the third degree, and no type/argument checking will work for the second degree. When assigned to an variable, it will be inferred as Variant instead of what the property/method returns. ### Minimal reproduction project (MRP) [autocompletion-is-issue.zip](https://github.com/user-attachments/files/18394608/autocompletion-is-issue.zip) (same code as above)
bug,topic:gdscript
low
Critical
2,783,462,129
excalidraw
Partial group selection & other ungrouped selection leads to crash
Holding shift: - select 2+ individual elements - select a group - select parts of the group This leads to a crash. ![Image](https://github.com/user-attachments/assets/5df6019d-9fbc-42eb-959d-01f8b8ff70ac) Platform: MacOS + Chrome (131.0.6778.205)
bug
low
Critical
2,783,531,424
ui
[bug]: Dropdown menu doesn't scroll on overflow
### Describe the bug When you open a long dropdown menu, it has a behavior of overflow hidden with no ability to scroll to see the hidden items. tested on https://ui.shadcn.com/docs/components/dropdown-menu (my account gets cut off) ![image](https://github.com/user-attachments/assets/eab825cf-24d4-48b6-b5f5-c4b74d6b5e75) ### Affected component/components Dropdown Menu ### How to reproduce 1. open the dropdown menu in the provided link ( or just a really long one ) 2. notice it overflow with no ability to scroll ### Codesandbox/StackBlitz link https://ui.shadcn.com/docs/components/dropdown-menu ### Logs _No response_ ### System Info ```bash MacOS sonoma chrome 131 ``` ### Before submitting - [X] I've made research efforts and searched the documentation - [X] I've searched for existing issues
bug
low
Critical
2,783,560,181
PowerToys
Fancyzone logic
### Description of the new feature / enhancement I suggest logic improvements to the window behavior of fancyzones: 1. an exception list for applications: a fixed starting location for specific applications/ an exception list that makes application always create on the current monitor. ### Scenario when this would be used? Make specific windows always create in a specific zone. ### Supporting information _No response_
Needs-Triage
low
Minor
2,783,568,044
vscode
Problems tab encoding problem
Type: <b>Bug</b> In the Problems tab, a problem can be double-clicked to open the file at the problem's line of code. However, this does not work if the filename contains characters such as ä, ö, ü. The filename shows a diamond with a question mark for these characters (in the group header), which looks like the list is not using the proper encoding, hence it cannot open the file (message File not found). VS Code version: Code 1.96.2 (fabdb6a30b49f79a7aba0f2ad9df9b399473380f, 2024-12-19T10:22:47.216Z) OS version: Windows_NT x64 10.0.22631 Modes: <details><summary>Extensions (20)</summary> Extension|Author (truncated)|Version ---|---|--- mdoc|bxa|1.4.0 autoit|Dam|1.0.12 xml|Dot|2.5.1 rainbow-csv|mec|3.14.0 debugpy|ms-|2024.14.0 python|ms-|2024.22.2 vscode-pylance|ms-|2024.12.1 remote-wsl|ms-|0.88.5 powershell|ms-|2024.4.0 java|red|1.38.0 vscode-xml|red|0.27.2 pdf|tom|1.2.2 intellicode-api-usage-examples|Vis|0.2.9 vscodeintellicode|Vis|1.3.2 vscode-gradle|vsc|3.16.4 vscode-java-debug|vsc|0.58.1 vscode-java-dependency|vsc|0.24.1 vscode-java-pack|vsc|0.29.0 vscode-java-test|vsc|0.43.0 vscode-maven|vsc|0.44.0 </details><details> <summary>A/B Experiments</summary> ``` vsliv368cf:30146710 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscod805:30301674 binariesv615:30325510 vsaa593:30376534 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 dwnewjupyter:31046869 2f103344:31071589 nativerepl1:31139838 pythonrstrctxt:31112756 nativeloc1:31192215 cf971741:31144450 iacca1:31171482 notype1cf:31157160 5fd0e150:31155592 dwcopilot:31170013 stablechunks:31184530 390bf810:31215807 6074i472:31201624 ``` </details> <!-- generated by issue reporter -->
info-needed
low
Critical
2,783,577,485
langchain
Hybrid search in pinecone retriever haven't a _aget_relevant_documents function defined, which is mandatory in async setup (upon 'ainvoke' calls on retrievers)
### 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 ```python from langchain_community.retrievers import PineconeHybridSearchRetriever retriever = PineconeHybridSearchRetriever(...) await retriever.ainvoke(query) ``` ### Error Message and Stack Trace (if applicable) not applicable ### Description **"_aget_relevant_documents"** function is missing from the hybrid search for pinecone retriever (class name: **'PineconeHybridSearchRetriever'** in 'langchain_community.retrievers'). **This method is mandatory in an async setup** because as seen it the parent class **BaseRetriever**, a call to _ainvoke_ actually calls the retriever __aget_relevant_documents_ method. Fix is simple though : simply add a "_aget_relevant_documents" method to PineconeHybridSearchRetriever class with the same code that the one into _get_relevant_documents, or even better adapt the code to use the "await" keyword to free the system while processing retrieval. ### System Info System Information ------------------ > OS: Windows > OS Version: 10.0.19045 > Python Version: 3.12.1 (tags/v3.12.1:2305ca5, Dec 7 2023, 22:03:25) [MSC v.1937 64 bit (AMD64)] > VS code Package Information ------------------- > langchain_core: 0.3.15 > langchain: 0.3.3 > langchain_community: 0.3.2 > langsmith: 0.1.136 > langchain_anthropic: 0.2.4 > langchain_chroma: 0.1.4 > langchain_cli: 0.0.35 > langchain_experimental: 0.3.2 > langchain_groq: 0.2.0 > langchain_ollama: 0.2.0 > langchain_openai: 0.2.2 > langchain_pinecone: 0.2.0 > langchain_qdrant: 0.2.0 > langchain_text_splitters: 0.3.0 > langgraph: 0.2.38 > langserve: 0.3.0
Ɑ: vector store,🤖:bug,investigate
low
Critical
2,783,582,709
pytorch
Tensorboard SummaryWriter.add_hparams doesn't log hparam metrics dictionary
### 🐛 Describe the bug When trying to add_params, I cannot get the tensorboard to display the metrics. ```python from torch.utils.tensorboard import SummaryWriter import numpy as np with SummaryWriter(r'.\runs\test_01') as writer: for i in range(4, 7): for j in range(3, 6): batch_size, lr = 2**i, 10**(-j) writer.add_hparams( { 'batch_size': batch_size, 'learning_rate': lr }, { 'accuracy': float(np.random.random()) }, run_name=f'{batch_size}_e-{j}' ) ``` The output doesn't have the accuracy metrics. ![image](https://github.com/user-attachments/assets/8bc91a43-c9a2-4936-b1e1-38d474c891eb) ### Versions ``` PyTorch version: 2.4.1+cu124 Is debug build: False CUDA used to build PyTorch: 12.4 ROCM used to build PyTorch: N/A OS: Microsoft Windows 11 Enterprise (10.0.22631 64-bit) GCC version: Could not collect Clang version: Could not collect CMake version: Could not collect Libc version: N/A Python version: 3.12.3 | packaged by conda-forge | (main, Apr 15 2024, 18:20:11) [MSC v.1938 64 bit (AMD64)] (64-bit runtime) Python platform: Windows-11-10.0.22631-SP0 Is CUDA available: True CUDA runtime version: 12.4.99 CUDA_MODULE_LOADING set to: LAZY GPU models and configuration: GPU 0: NVIDIA RTX 2000 Ada Generation Laptop GPU Nvidia driver version: 556.12 cuDNN version: Could not collect HIP runtime version: N/A MIOpen runtime version: N/A Is XNNPACK available: True CPU: Name: 13th Gen Intel(R) Core(TM) i7-13700H Manufacturer: GenuineIntel Family: 198 Architecture: 9 ProcessorType: 3 DeviceID: CPU0 CurrentClockSpeed: 2400 MaxClockSpeed: 2400 L2CacheSize: 11776 L2CacheSpeed: None Revision: None Versions of relevant libraries: [pip3] numpy==2.1.2 [pip3] torch==2.4.1+cu124 [pip3] torchaudio==2.4.1+cu124 [pip3] torchmetrics==1.6.1 [pip3] torchvision==0.19.1+cu124 [conda] numpy 2.1.2 pypi_0 pypi [conda] torch 2.4.1+cu124 pypi_0 pypi [conda] torchaudio 2.4.1+cu124 pypi_0 pypi [conda] torchmetrics 1.6.1 pypi_0 pypi [conda] torchvision 0.19.1+cu124 pypi_0 pypi ```
triaged,module: tensorboard
low
Critical
2,783,582,987
godot
macOS: Editor briefly hangs upon regaining focus when "Update When Changed" is enabled
### Tested versions - Reproducible in: v4.4.dev7 [46c8f8c5c], 4.3.stable ### System information Godot v4.4.dev7 - macOS Sequoia (15.2.0) - Multi-window, 3 monitors - Metal (Forward+) - integrated Apple M1 Pro (Apple7) - Apple M1 Pro (10 threads) ### Issue description The editor hangs momentarily upon regaining focus when the update spinner mode is set to “Update When Changed.” During this time (approximately one second), it does not accept any input, which disrupts workflows involving frequent focus switching between tools such as IDEs or VCSs. This issue does not occur when using the “Update Continuously” mode. However, that mode appears to be deprecated. ### Steps to reproduce - Set the update spinner mode to "Update When Changed." - Switch focus between the editor and another application (e.g., an IDE or VCS). - Notice the brief hang when the editor regains focus. Expected behavior: The editor should regain focus and accept input immediately, without any delay. ### Minimal reproduction project (MRP) N/A
bug,topic:editor,needs testing,performance
low
Major
2,783,598,037
ollama
Model pulling behind proxy index out of range
### What is the issue? Hi, I'm getting the following error when trying to go through corpo proxy when downloading models with ollama pull: ```plaintext panic: runtime error: index out of range [0] with length 0 goroutine 7 [running]: github.com/ollama/ollama/server.(*blobDownload).Prepare(0xc0001cf1f0, {0x55efb74bd430, 0xc00042a4b0}, 0xc0000e1a70, 0xc000431480) github.com/ollama/ollama/server/download.go:175 +0x539 github.com/ollama/ollama/server.downloadBlob({0x55efb74bd430, 0xc00042a4b0}, {{{0x55efb708726e, 0x5}, {0x55efb709b519, 0x12}, {0x55efb708fd4b, 0x7}, {0xc000016560, 0x8}, ...}, ...}) github.com/ollama/ollama/server/download.go:489 +0x4da github.com/ollama/ollama/server.PullModel({0x55efb74bd430, 0xc00042a4b0}, {0xc000016560, 0xb}, 0xc000431480, 0xc0002824f0) github.com/ollama/ollama/server/images.go:889 +0x771 github.com/ollama/ollama/server.(*Server).PullHandler.func1() github.com/ollama/ollama/server/routes.go:595 +0x197 created by github.com/ollama/ollama/server.(*Server).PullHandler in goroutine 29 github.com/ollama/ollama/server/routes.go:582 +0x691 ``` With GODEBUG=http2debug=2 set: time=2025-01-13T10:29:35.304Z level=INFO source=h2_bundle.go:10279 msg="http2: Transport failed to get client conn for registry.ollama.ai:443: http2: no cached connection was available" It occurs both when running from docker container or from downloaded released binary on Ubuntu. When running inside container, the HTTPS_PROXY is set, the container is updated with certificates. wget or curl inside this container to some registry urls, e.g. https://registry.ollama.ai/v2/library/tinnyllama/blobs/sha256:2af3b81862c6be03c769683af18efdadb2c33f60ff32ab6f83e42c043d6c7816, works fine. ## Full log ```plaintext docker logs ollama 2025/01/13 10:29:05 routes.go:1259: INFO server config env="map[CUDA_VISIBLE_DEVICES: GPU_DEVICE_ORDINAL: HIP_VISIBLE_DEVICES: HSA_OVERRIDE_GFX_VERSION: HTTPS_PROXY:proxyx.cn.:8080 HTTP_PROXY: NO_PROXY: OLLAMA_DEBUG:false OLLAMA_FLASH_ATTENTION:false OLLAMA_GPU_OVERHEAD:0 OLLAMA_HOST:http://0.0.0.0:11434 OLLAMA_INTEL_GPU:false OLLAMA_KEEP_ALIVE:5m0s OLLAMA_KV_CACHE_TYPE: OLLAMA_LLM_LIBRARY: OLLAMA_LOAD_TIMEOUT:5m0s OLLAMA_MAX_LOADED_MODELS:0 OLLAMA_MAX_QUEUE:512 OLLAMA_MODELS:/root/.ollama/models OLLAMA_MULTIUSER_CACHE:false OLLAMA_NOHISTORY:false OLLAMA_NOPRUNE:false OLLAMA_NUM_PARALLEL:0 OLLAMA_ORIGINS:[http://localhost https://localhost http://localhost:* https://localhost:* http://127.0.0.1 https://127.0.0.1 http://127.0.0.1:* https://127.0.0.1:* http://0.0.0.0 https://0.0.0.0 http://0.0.0.0:* https://0.0.0.0:* app://* file://* tauri://* vscode-webview://*] OLLAMA_SCHED_SPREAD:false ROCR_VISIBLE_DEVICES: http_proxy: https_proxy: no_proxy:]" time=2025-01-13T10:29:05.927Z level=INFO source=images.go:757 msg="total blobs: 0" time=2025-01-13T10:29:05.927Z level=INFO source=images.go:764 msg="total unused blobs removed: 0" [GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached. [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production. - using env: export GIN_MODE=release - using code: gin.SetMode(gin.ReleaseMode) [GIN-debug] POST /api/pull --> github.com/ollama/ollama/server.(*Server).PullHandler-fm (5 handlers) [GIN-debug] POST /api/generate --> github.com/ollama/ollama/server.(*Server).GenerateHandler-fm (5 handlers) [GIN-debug] POST /api/chat --> github.com/ollama/ollama/server.(*Server).ChatHandler-fm (5 handlers) [GIN-debug] POST /api/embed --> github.com/ollama/ollama/server.(*Server).EmbedHandler-fm (5 handlers) [GIN-debug] POST /api/embeddings --> github.com/ollama/ollama/server.(*Server).EmbeddingsHandler-fm (5 handlers) [GIN-debug] POST /api/create --> github.com/ollama/ollama/server.(*Server).CreateHandler-fm (5 handlers) [GIN-debug] POST /api/push --> github.com/ollama/ollama/server.(*Server).PushHandler-fm (5 handlers) [GIN-debug] POST /api/copy --> github.com/ollama/ollama/server.(*Server).CopyHandler-fm (5 handlers) [GIN-debug] DELETE /api/delete --> github.com/ollama/ollama/server.(*Server).DeleteHandler-fm (5 handlers) [GIN-debug] POST /api/show --> github.com/ollama/ollama/server.(*Server).ShowHandler-fm (5 handlers) [GIN-debug] POST /api/blobs/:digest --> github.com/ollama/ollama/server.(*Server).CreateBlobHandler-fm (5 handlers) [GIN-debug] HEAD /api/blobs/:digest --> github.com/ollama/ollama/server.(*Server).HeadBlobHandler-fm (5 handlers) [GIN-debug] GET /api/ps --> github.com/ollama/ollama/server.(*Server).PsHandler-fm (5 handlers) [GIN-debug] POST /v1/chat/completions --> github.com/ollama/ollama/server.(*Server).ChatHandler-fm (6 handlers) [GIN-debug] POST /v1/completions --> github.com/ollama/ollama/server.(*Server).GenerateHandler-fm (6 handlers) [GIN-debug] POST /v1/embeddings --> github.com/ollama/ollama/server.(*Server).EmbedHandler-fm (6 handlers) [GIN-debug] GET /v1/models --> github.com/ollama/ollama/server.(*Server).ListHandler-fm (6 handlers) [GIN-debug] GET /v1/models/:model --> github.com/ollama/ollama/server.(*Server).ShowHandler-fm (6 handlers) [GIN-debug] GET / --> github.com/ollama/ollama/server.(*Server).GenerateRoutes.func1 (5 handlers) [GIN-debug] GET /api/tags --> github.com/ollama/ollama/server.(*Server).ListHandler-fm (5 handlers) [GIN-debug] GET /api/version --> github.com/ollama/ollama/server.(*Server).GenerateRoutes.func2 (5 handlers) [GIN-debug] HEAD / --> github.com/ollama/ollama/server.(*Server).GenerateRoutes.func1 (5 handlers) [GIN-debug] HEAD /api/tags --> github.com/ollama/ollama/server.(*Server).ListHandler-fm (5 handlers) [GIN-debug] HEAD /api/version --> github.com/ollama/ollama/server.(*Server).GenerateRoutes.func2 (5 handlers) time=2025-01-13T10:29:05.928Z level=INFO source=routes.go:1310 msg="Listening on [::]:11434 (version 0.5.4-0-g2ddc32d-dirty)" time=2025-01-13T10:29:05.929Z level=INFO source=routes.go:1339 msg="Dynamic LLM libraries" runners="[cpu_avx cpu_avx2 cuda_v11_avx cuda_v12_avx cpu]" time=2025-01-13T10:29:05.929Z level=INFO source=gpu.go:226 msg="looking for compatible GPUs" time=2025-01-13T10:29:05.934Z level=INFO source=gpu.go:392 msg="no compatible GPUs were discovered" time=2025-01-13T10:29:05.934Z level=INFO source=types.go:131 msg="inference compute" id=0 library=cpu variant=avx compute="" driver=0.0 name="" total="7.8 GiB" available="6.0 GiB" [GIN] 2025/01/13 - 10:29:35 | 200 | 245.408µs | 127.0.0.1 | HEAD "/" time=2025-01-13T10:29:35.304Z level=INFO source=h2_bundle.go:10279 msg="http2: Transport failed to get client conn for registry.ollama.ai:443: http2: no cached connection was available" time=2025-01-13T10:29:35.895Z level=INFO source=h2_bundle.go:10279 msg="http2: Transport failed to get client conn for registry.ollama.ai:443: http2: no cached connection was available" time=2025-01-13T10:29:36.156Z level=INFO source=h2_bundle.go:10279 msg="http2: Transport failed to get client conn for registry.ollama.ai:443: http2: no cached connection was available" time=2025-01-13T10:29:36.466Z level=INFO source=h2_bundle.go:10279 msg="http2: Transport failed to get client conn for registry.ollama.ai:443: http2: no cached connection was available" panic: runtime error: index out of range [0] with length 0 goroutine 7 [running]: github.com/ollama/ollama/server.(*blobDownload).Prepare(0xc0001cf1f0, {0x55efb74bd430, 0xc00042a4b0}, 0xc0000e1a70, 0xc000431480) github.com/ollama/ollama/server/download.go:175 +0x539 github.com/ollama/ollama/server.downloadBlob({0x55efb74bd430, 0xc00042a4b0}, {{{0x55efb708726e, 0x5}, {0x55efb709b519, 0x12}, {0x55efb708fd4b, 0x7}, {0xc000016560, 0x8}, ...}, ...}) github.com/ollama/ollama/server/download.go:489 +0x4da github.com/ollama/ollama/server.PullModel({0x55efb74bd430, 0xc00042a4b0}, {0xc000016560, 0xb}, 0xc000431480, 0xc0002824f0) github.com/ollama/ollama/server/images.go:889 +0x771 github.com/ollama/ollama/server.(*Server).PullHandler.func1() github.com/ollama/ollama/server/routes.go:595 +0x197 created by github.com/ollama/ollama/server.(*Server).PullHandler in goroutine 29 github.com/ollama/ollama/server/routes.go:582 +0x691 ``` ### OS Linux, Docker ### GPU Intel ### CPU Intel ### Ollama version 0.5.4-0-g2ddc32d-dirty
bug
low
Critical
2,783,609,881
vscode
A Copilot response containing one or more code blocks, each code block is followed by a nameless toolbar: A11y_Visual Studio Code Client_Copilot chat_Devtools
[[Check out Accessibility Insights!](https://accessibilityinsights.io/)]- Identify accessibility bugs before check-in and make bug fixing faster and easier. ## GitHubTags: #A11yeDAD; #A11yTCS; #A11ySev3; #DesktopApp; #Win32; #Visual Studio Code Client; #BM-VisualStudioCodeClient-Win32-Jan2024; #WCAG4.1.2; #Devtools; ## Environment and OS details: Visual Studio Code insider version 1.96.2 Microsoft Windows 11 Enterprise (24H2) OS Build 26100.2605 ## Repro Steps: 1.Open Visual studio code insider 2.Link a GitHub Account 3. Sign Up for Free Copilot Use 4. Sign Up for Free Copilot Use and in copilot chat copilot response containing one or more code blocks. 5. TAB till tool bar of each code block and inspect it. 6. Observe that a copilot response containing one or more code blocks, each code block is followed by a nameless toolbar. ## Actual: A copilot response containing one or more code blocks, each code block is followed by a nameless toolbar. ## Expected: Name should provide for each toolbar container that includes the name of the associated code block. ## User Impact: Screen reader user will face difficulty, they cannot differentiate between the toolbars. ## Attachment: ![Image](https://github.com/user-attachments/assets/8bba2d5f-e517-4ac9-8d5f-ffd15f1dac0e)
bug,accessibility
low
Critical
2,783,626,141
PowerToys
Stacked Zones for Fancy Zones
### Description of the new feature / enhancement 1. the ability to group zones in a distinct collection. 2. For the inactive zones, in the collection, the ability to stack them. That is, only the window title is displayed from the bottom to the top, tilted upright. 3. The active window / zone, is shown in the remaining/free space of the collection frame. You can see how this works in included mp4, where Obsidian is used as an example of the stacked zones/windows/notes. https://github.com/user-attachments/assets/d376bfb7-98d2-4d5f-b9da-ed9e760327bf ### Scenario when this would be used? When I search for information on a subject, I first collect the information bits in different windows / zones, for later re-use. This something you typically do when building a training or you need to research a new subject when e.g. coding. When writing up / summarizing the info, my displays are cluttered with windows and the info is hard to find back. Firstly, it will already help if I could group the infosearch windows in a distinct group(s)/collection(s). Next, seeing the windows / zones titles stacked, will help me a lot to find a specific bit of information faster., view it while keeping the other information bits grouped. Note: I've tried using a dedicated desktop for the info windows/zones but this is a struggle because I need to switch too much to other desktops (despite using virtuawin). ### Supporting information _No response_
Needs-Triage
low
Minor
2,783,627,096
angular
Remove `assertNoComplexSizes` from `NgOptimizedImage`
### Which @angular/* package(s) are relevant/related to the feature request? common ### Description Currently you can't use pixel values in `sizes` in `NgOptimizedImage`. Code like that: `sizes="(max-width: 540px) 100vw, (max-width: 960px) 50vw, 370px"` will cause NG02952 exception in dev mode, because of `assertNoComplexSizes` function in `NgOptimizedImage` directive code. Yet, in production it will produce proper `srcset` and will render just fine. I've read `NgOptimizedImage` source, and I can't find any logic there that can explain why that assertion is necessary. I have sizes like that (responsive for mobile/tablet, fixed for desktop) in my production code for regular `img` elements. That limitation of `sizes` stops me from easily switching to `NgOptimizedImage`. ### Proposed solution Remove `assertNoComplexSizes` assertion from `NgOptimizedImage` source. ### Alternatives considered Add option to disable `assertNoComplexSizes` assertion conditionally somehow in dev mode.
area: common,common: image directive
low
Minor
2,783,634,594
excalidraw
initial text container resize not undoable
If container resizes due to text edit, it's not undoable if you exit without adding text. 1. create small rectangle 2. double-click which resizes it 3. exit without typing 4. undo doesn't restore the dimension change ![Image](https://github.com/user-attachments/assets/4d5acaef-f269-4e39-be53-abafdb62d95b)
bug,history
low
Minor
2,783,671,797
vscode
Failed to connect to the remote extension host server. (Error: CodeError(AsyncPipeFailed(Os { code: 2, kind: NotFound, message: "No such file or directory" }))
<!-- ⚠️⚠️ 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/No <!-- 🪓 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: November 2024 (version 1.96) - OS Version: local Darwin Kernel Version 24.0.0, remote centos 5.4.119-19-0009.3 Steps to Reproduce: I meet the problem like https://github.com/microsoft/vscode/issues/224384 very frequently. remove remote's `~/.vscode-server/cli/servers` works. but it seriously affects my ability to use the Remote - SSH's log here: [debug_vscode.log](https://github.com/user-attachments/files/18395960/debug_vscode.log)
triage-needed,stale
low
Critical
2,783,730,693
rust
suggest broken template code
### Code ```Rust pub type AM<T> = Arc<Mutex<T>>; pub trait ArcMutexTrait<T> { fn n(t: T) -> AM<T> { Arc::new(Mutex::new(t)) } fn get(&self) -> T { self.clone().lock().unwrap() } } impl<T> ArcMutexTrait<T> for AM<T> {} ``` ### Current output ```Shell error[E0599]: no method named `lock` found for reference `&Self` in the current scope --> src/common.rs:8:39 | 8 | fn get(&self) -> T { self.clone().lock().unwrap() } | ^^^^ method not found in `&Self` | = help: items from traits can only be used if the type parameter is bounded by the trait help: the following trait defines an item `lock`, perhaps you need to add a supertrait for it: | 6 | pub trait ArcMutexTrait: lock_api::mutex::RawMutex<T> { | +++++++++++++++++++++++++++ ``` ### Desired output ```Shell something compilable. ``` ### Rationale and extra context _No response_ ### Other cases ```Rust ``` ### Rust Version ```Shell rustc 1.84.0 (9fc6b4312 2025-01-07) binary: rustc commit-hash: 9fc6b43126469e3858e2fe86cafb4f0fd5068869 commit-date: 2025-01-07 host: aarch64-apple-darwin release: 1.84.0 LLVM version: 19.1.5 ``` ### Anything else? _No response_
A-diagnostics,T-compiler
low
Critical
2,783,750,471
electron
Inconsistent Behavior of desktopCapturer.getSources in Electron 32 on macOS 12+
### 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 32.2.6 ### What operating system(s) are you using? macOS ### Operating System Version Mac OS 14 ### What arch are you using? x64 ### Last Known Working Electron version 27.0.0 ### Expected Behavior Expected Behavior The desktopCapturer.getSources method should return a list of screen sources (e.g., available screens and windows) consistently on the first call. The Electron app should remain active and not close unexpectedly. The code should work identically across all supported platforms (macOS, Linux, and Windows) and macOS versions (10.15 and above). ### Actual Behavior Actual Behavior On macOS 12 and later: The first or second call to desktopCapturer.getSources does not return any sources. The Electron app closes unexpectedly during these initial calls. After 2–3 attempts, the method starts working as intended, returning the sources and keeping the app active. On macOS 10.15, Linux, and Windows: The desktopCapturer.getSources method works correctly without any issues, even on the first call. ### Testcase Gist URL _No response_ ### Additional Information **Issue Summary:** After upgrading from Electron 27 to Electron 32, the `desktopCapturer.getSources` method behaves inconsistently on macOS versions 12 and later. The issue does not occur on Linux or Windows, and the same code worked correctly on all macOS versions when using Electron 27. **Problem Details:** 1. **Initial Behavior:** - On the first or second call to `desktopCapturer.getSources`, no sources are returned, and the Electron app unexpectedly closes. - Adding a log statement before the call results in the logs being printed, but no response is returned, and the app closes. 2. **Subsequent Behavior:** - After 2–3 attempts, the method starts working as expected: - The sources are printed. - The app remains active and does not close. 3. **Observations:** - This issue only occurs on macOS versions 12 and above. - On macOS 10.15, Linux, and Windows, the code works without any issues. - The issue is specific to the `desktopCapturer.getSources` method when upgraded to Electron 32. **Code Example:** ```javascript (async () => { try { const sources = await desktopCapturer.getSources({ types: ["screen"] }); logger.info("Printing sources"); logger.info(sources); if (sources.length > 0) { event.sender.send( "desktopSourceId", sources, JSON.stringify(screenSettings) ); } } catch (error) { logger.info("Error fetching desktop sources:", error); } })(); ``` **Expected Behavior:** - The `desktopCapturer.getSources` method should consistently fetch sources and return them on the first call. - The Electron app should not close unexpectedly during this process. **Actual Behavior:** - On macOS 12 and later, the app closes unexpectedly on the first or second call, and no sources are returned. - After 2–3 attempts, the method works correctly, and the app does not close. ---
platform/macOS,bug :beetle:,component/desktopcapturer,32-x-y
low
Critical
2,783,757,616
transformers
AttributeError: 'MERTConfig' object has no attribute 'conv_pos_batch_norm'
### System Info ``` - `transformers` version: 4.48.0 - Platform: Linux-6.8.0-49-generic-x86_64-with-glibc2.35 - Python version: 3.12.5 - Huggingface_hub version: 0.27.1 - Safetensors version: 0.5.2 - Accelerate version: not installed - Accelerate config: not found - PyTorch version (GPU?): 2.5.1+cu124 (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?: no - Using GPU in script?: yes (but makes no difference on cpu) - GPU type: NVIDIA GeForce RTX 3090 ``` ### Who can help? Hello everyone, since updating from `4.47.1` to version `4.48.0` we are unable to load `MERT-v1-330M` on the latest revision. This works perfectly fine on the previous version. I haven't seen any mention of a breaking change regarding this, have we missed something or is this a legitimate bug? ``` config.model = tr.AutoModel.from_pretrained(config.model_id, trust_remote_code=True).to(device) .venv/lib/python3.12/site-packages/transformers/models/auto/auto_factory.py:559: in from_pretrained return model_class.from_pretrained( .venv/lib/python3.12/site-packages/transformers/modeling_utils.py:4090: in from_pretrained model = cls(config, *model_args, **model_kwargs) ../../.cache/huggingface/modules/transformers_modules/m-a-p/MERT-v1-330M/0e06c986db0527c0fd1b47181c40f006805e3de0/modeling_MERT.py:92: in __init__ self.encoder = HubertEncoderStableLayerNorm(config) .venv/lib/python3.12/site-packages/transformers/models/hubert/modeling_hubert.py:1023: in __init__ self.pos_conv_embed = HubertPositionalConvEmbedding(config) .venv/lib/python3.12/site-packages/transformers/models/hubert/modeling_hubert.py:275: in __init__ if config.conv_pos_batch_norm: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = MERTConfig { "_attn_implementation_autoset": true, "_name_or_path": "m-a-p/MERT-v1-330M", "activation_dropout": ... "torch_dtype": "float32", "transformers_version": "4.48.0", "use_weighted_layer_sum": false, "vocab_size": 32 } , key = 'conv_pos_batch_norm' def __getattribute__(self, key): if key != "attribute_map" and key in super().__getattribute__("attribute_map"): key = super().__getattribute__("attribute_map")[key] > return super().__getattribute__(key) E AttributeError: 'MERTConfig' object has no attribute 'conv_pos_batch_norm' .venv/lib/python3.12/site-packages/transformers/configuration_utils.py:211: AttributeError ``` ### Information - [ ] The official example scripts - [x] 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 1. Import transformers (version 4.48.0) and load mert ``` import transformers as tr m = tr.AutoModel.from_pretrained("m-a-p/MERT-v1-330M", trust_remote_code=True).to("cuda") ``` ### Expected behavior I should be able to load the model
bug
low
Critical
2,783,759,398
PowerToys
Something went wrong.
### Microsoft PowerToys version 0.87.0.0 ### Installation method Microsoft Store ### Running as admin No ### Area(s) with issue? PowerToys Run ### Steps to reproduce I just started my pc and this window was open, telling me to file a bug in this github repo. ### ✔️ Expected Behavior expected not to see this splash screen and the software to start properly. ### ❌ Actual Behavior C:\Users\MYNAME\AppData\Local\Microsoft\PowerToys\PowerToys Run\Logs\0.87.0.0\2025-01-13.txt Version: 0.87.0.0 OS Version: Microsoft Windows NT 10.0.22631.0 IntPtr Length: 8 x64: True Date: 2025-01-13 12:52:06 Exception: System.DllNotFoundException: Unable to load DLL 'wpfgfx_cor3.dll' or one of its dependencies: Error performing inpage operation. (0x800703E7) at MS.Win32.PresentationCore.UnsafeNativeMethods.MILFactory2.CreateFactory(IntPtr& ppIFactory, UInt32 SDKVersion) at System.Windows.Media.FactoryMaker..ctor() at System.Windows.Media.Imaging.BitmapDecoder.SetupDecoderFromUriOrStream(Uri uri, Stream stream, BitmapCacheOption cacheOption, Guid& clsId, Boolean& isOriginalWritable, Stream& uriStream, UnmanagedMemoryStream& unmanagedMemoryStream, SafeFileHandle& safeFilehandle) at System.Windows.Media.Imaging.BitmapDecoder.CreateFromUriOrStream(Uri baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy, Boolean insertInDecoderCache) at System.Windows.Media.Imaging.BitmapImage.FinalizeCreation() at Wox.Infrastructure.Image.ImageLoader.Initialize() at PowerLauncher.App.<>c__DisplayClass20_0.<OnStartup>b__0() at Wox.Infrastructure.Stopwatch.Normal(String message, Action action) at PowerLauncher.App.OnStartup(Object sender, StartupEventArgs e) at System.Windows.Application.<.ctor>b__1_0(Object unused) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) ### Other Software _No response_
Issue-Bug,Needs-Triage
low
Critical
2,783,769,167
next.js
serverExternalPackages config is only in dev mode and not used in build
### Link to the code that reproduces this issue https://github.com/wmira/nextexternalbug ### To Reproduce serverExternalPackages only getting used in dev mode. When on build, it totally ignores it and webpack throws an error. 1. Clone this repo [https://github.com/wmira/nextexternalbug](https://github.com/wmira/nextexternalbug) 2. cd server 3. 2. Notice that next.config.ts serverExternalPackages is configured 4. npm install 5. npm run dev 6. go to http://localhost:3000 in your browser. Works fine. 7. [optional] remove serverExternalPackages and do step 5 - 6. It will now throw error 8. npm run build <-- error, if you did step 7, make sure to restore original next config Is there an option to fully opt out of server-side code bundling? npm run build error below. ./node_modules/@duckdb/node-bindings-linux-x64/duckdb.node Module parse failed: Unexpected character '' (1:0) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders (Source code omitted for this binary file) Import trace for requested module: ./node_modules/@duckdb/node-bindings-linux-x64/duckdb.node ./node_modules/@duckdb/ ./node_modules/@duckdb/ sync ^\.\/node\-bindings\-.*\-.*\/duckdb\.node$ ./node_modules/@duckdb/node-bindings/duckdb.js ./node_modules/@duckdb/node-api/lib/index.js ./src/app/page.tsx ### Current vs. Expected behavior npm run dev and npm run build should work the same way. ### Provide environment information ```bash OS: WSL ``` ### Which area(s) are affected? (Select all that apply) Developer Experience, Webpack, Turbopack ### Which stage(s) are affected? (Select all that apply) next build (local) ### Additional context _No response_
Webpack,Turbopack
low
Critical
2,783,786,468
flutter
Fix known leak in web engine when running integration tests and remove this "correction", https://github.com/flutter/flutter/issues/121640.
In file packages/flutter_test/lib/src/widget_tester.dart https://github.com/flutter/flutter/blob/17025dd88227cd9532c33fa78f5250d548d87e9a/packages/flutter_test/lib/src/widget_tester.dart#L1075
framework,f: integration_test,team-web
low
Minor
2,783,810,200
pytorch
torch.distributed. pipelining source code page is not accessible.
### 📚 The doc issue https://github.com/pytorch/pytorch/blob/main/docs/source/distributed.pipelining.rst?plain=1#L424C1-L491C21 https://pytorch.org/docs/stable/distributed.pipelining.html#torch.distributed.pipelining.pipeline When accessing the source code page, a 404 error appears. thanks <img width="1458" alt="Image" src="https://github.com/user-attachments/assets/11cbfc02-878e-4967-9bc0-1eb90eab15b9" /> ### Suggest a potential alternative/fix _No response_ cc @H-Huang @awgu @kwen2501 @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o @svekars @brycebortree @sekyondaMeta @AlannaBurke
module: docs,triaged
low
Critical
2,783,866,681
flutter
The new FadeForwardsPageTransitionsBuilder breaks when called from ModalRoute
### Steps to reproduce 1. Call Navigator.push in the dialog / bottomsheet. 2. Go back ### Expected results Normal return to the dialog from which the screen was opened, as with other PageBuilders ### Actual results It is as if the return animation is not executed. The widgets on the screen appear invisible and shifted to the left. ### Code sample <details open><summary>Code sample</summary> ```dart import 'package:flutter/material.dart'; void main() { runApp(const MainApp()); } class MainApp extends StatelessWidget { const MainApp({super.key}); @override Widget build(BuildContext context) { return MaterialApp( theme: ThemeData( pageTransitionsTheme: PageTransitionsTheme( builders: { for (var platform in TargetPlatform.values) platform: FadeForwardsPageTransitionsBuilder(), // platform: ZoomPageTransitionsBuilder(), }, ), ), home: const HomeScreen(), ); } } class HomeScreen extends StatelessWidget { const HomeScreen({super.key}); @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar(), body: Center( child: ElevatedButton( onPressed: () { showDialog( context: context, builder: (context) { return Dialog( child: Center( child: ElevatedButton( onPressed: () { Navigator.push( context, MaterialPageRoute( builder: (context) => const HomeScreen(), ), ); }, child: Text('тык 2'), ), ), ); }, ); }, child: const Text('тык'), ), ), ); } } ``` </details> ### Screenshots or Video <details open> <summary>Screenshots / Video demonstration</summary> https://github.com/user-attachments/assets/832d69ac-261e-4680-b79c-82b3e5e7d56f ![Image](https://github.com/user-attachments/assets/12b4eedd-cea4-43ef-8018-bdf25fa33d5b) </details> ### Logs _No response_ ### Flutter Doctor output <details open><summary>Doctor output</summary> ```console Doctor summary (to see all details, run flutter doctor -v): [√] Flutter (Channel master, 3.28.0-2.0.pre.38664, on Microsoft Windows [Version 10.0.26120.2705], locale en-US) [√] Windows Version (Windows 11 or higher, 24H2, 2009) [√] Android toolchain - develop for Android devices (Android SDK version 35.0.0) [√] Chrome - develop for the web [√] Visual Studio - develop Windows apps (Visual Studio Build Tools 2022 17.11.4) [√] Android Studio (version 2024.1) [√] VS Code (version 1.96.2) [√] Connected device (3 available) [√] Network resources • No issues found! ``` </details>
framework,f: material design,has reproducible steps,P2,team-design,triaged-design,found in release: 3.28
low
Minor