sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: rust
Issue: librustc_driver.so not reproducible
Labels: A-reproducibility,requires-custom-config

[rustc-driver.zip](https://github.com/rust-lang/rust/files/11597314/rustc-driver.zip)

Hello,

The _librustc_driver-***.so_ is not reproducible between different builds when using _vendor_ sources on rust tarball (Without _Vendor_ sources it's reproducible).
The attached script '_issue-reproducible.sh_' will reproduce the issue (See attachment _rustc-driver.zip_ and I've used rust 1.69.0 sources). Since the only difference between the builds is '_build-path_', by adding a '_--remap-path-prefix_' command in _src/bootstrap/builder.rs_ file fixed the issue. The '_issue-fixed.sh_' script will generate the reproducible binaries.

Since this issue happens only with _vendor_ sources between different build paths in same host, it is clear that some crate is depending on local build path and generating a different assembly code.
I've analyzed the _librustc_driver-***.so_ files and found the _.rustc_ section is differed. But, I couldn't figure out which crate is causing this issue. The _*.rlib & *.rmeta_ files generated during stage0/1 also showing a lot of differences and couldn't figure out which crate causing this issue.

It might be a bug in rust. What could be the reason that causing this issue when using vendor sources? Let me know is there anyway I can figure it out.
There was some similar issue here: https://github.com/rust-lang/rust/issues/98185

EDIT(AlbertLarsan68): Fixed the link
Repository: vscode
Issue: Unexpected text color on hover in quick-pick
Labels: bug,polish,quick-pick

# Description

Hovering over a quick-pick element leads to low-contrast color of the text - white : 

<img width="619" alt="image" src="https://github.com/microsoft/vscode/assets/16353531/50d642bd-0abc-4cb2-94f5-b36fead14cb9">

# Repro

1. Open a jupyter notebook
2. Click on 'Select Kernel' on top-right of editor
3. Click on 'Install Python Extension' 
4. Hover over that text -- see how the 'Install Python Extension' is now white on hover

# Version 

```
Version: 1.79.0-insider
Commit: 784e72bc4486b7ea5ad3447c506e31d949848592
Date: 2023-05-30T05:23:26.066Z
Electron: 22.5.4
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: 10.8.168.25-electron.0
OS: Darwin arm64 22.4.0
```
Repository: flutter
Issue: TextField keyboardType missing UIKeyboardTypeASCIICapable for iOS
Labels: a: text input,c: new feature,platform-ios,framework,engine,c: proposal,P3,team-ios,triaged-ios

### Is there an existing issue for this?

- [X] I have searched the [existing issues](https://github.com/flutter/flutter/issues)
- [X] I have read the [guide to filing a bug](https://flutter.dev/docs/resources/bug-reports)

### Use case

iOS has UIKeyboardTypeASCIICapable, but Flutter missing this type.

typedef NS_ENUM(NSInteger, UIKeyboardType) {
    UIKeyboardTypeDefault,                // Default type for the current input method.
    UIKeyboardTypeASCIICapable,           // Displays a keyboard which can enter ASCII characters
    UIKeyboardTypeNumbersAndPunctuation,  // Numbers and assorted punctuation.
    UIKeyboardTypeURL,                    // A type optimized for URL entry (shows . / .com prominently).
    UIKeyboardTypeNumberPad,              // A number pad with locale-appropriate digits (0-9, ۰-۹, ०-९, etc.). Suitable for PIN entry.
    UIKeyboardTypePhonePad,               // A phone pad (1-9, *, 0, #, with letters under the numbers).
    UIKeyboardTypeNamePhonePad,           // A type optimized for entering a person's name or phone number.
    UIKeyboardTypeEmailAddress,           // A type optimized for multiple email address entry (shows space @ . prominently).
    UIKeyboardTypeDecimalPad API_AVAILABLE(ios(4.1)),   // A number pad with a decimal point.
    UIKeyboardTypeTwitter API_AVAILABLE(ios(5.0)),      // A type optimized for twitter text entry (easy access to @ #)
    UIKeyboardTypeWebSearch API_AVAILABLE(ios(7.0)),    // A default keyboard type with URL-oriented addition (shows space . prominently).
    UIKeyboardTypeASCIICapableNumberPad API_AVAILABLE(ios(10.0)), // A number pad (0-9) that will always be ASCII digits.

    UIKeyboardTypeAlphabet = UIKeyboardTypeASCIICapable, // Deprecated

};

### Proposal

maybe Flutter can add this type

class TextInputType {
static const TextInputType asciiCapble = TextInputType._(11);
}
Repository: next.js
Issue: [NEXT-1318] Unable to use context.waitUntil in Route Handler?
Labels: linear: next

### What is the improvement or update you wish to see?

When using pages router, we can use context on api routers:
```ts
import { NextResponse } from 'next/server';
import type { NextFetchEvent, NextRequest } from 'next/server';
 
export const config = {
  runtime: 'edge',
};
 
const wait = (ms: number) => new Promise((resolve) => setTimeout(resolve, ms));
 
async function getAlbum() {
  const res = await fetch('https://jsonplaceholder.typicode.com/albums/1');
  await wait(10000);
  return res.json();
}
 
export default function MyEdgeFunction(
  request: NextRequest,
  context: NextFetchEvent,
) {
  context.waitUntil(getAlbum().then((json) => console.log({ json })));
 
  return NextResponse.json({
    name: `Hello, from ${request.url} I'm an Edge Function!`,
  });
}
```
while using app router, we got this from [doc](https://nextjs.org/docs/app/api-reference/file-conventions/route#context-optional):

> Currently, the only value of context is params, which is an object containing the [dynamic route parameters](https://nextjs.org/docs/app/building-your-application/routing/dynamic-routes) for the current route.

so I am wondering how to use NextFetchEvent with route handler?

### Is there any context that might help us understand?

I am trying to keep the function running after a response has been sent, as the vercel [doc](https://vercel.com/docs/concepts/functions/edge-functions/edge-functions-api#waituntil) navigated, we can use `waitUntil()`, but it seems not approachable in App Router and Route Handler, can I get any thoughts? thanks

### Does the docs page already exist? Please link to it.

https://nextjs.org/docs/app/api-reference/file-conventions/route#context-optional

<sub>[NEXT-1318](https://linear.app/vercel/issue/NEXT-1318/unable-to-use-contextwaituntil-in-route-handler)</sub>
Repository: go
Issue: x/image/font: the term 'dot' in the comments is confusing
Labels: Documentation,help wanted,NeedsInvestigation

In the comments of the [x/image/font](https://pkg.go.dev/golang.org/x/image/font) package, the term 'dot' is used as the origin position of rendering. I thought the 'dot' indicated the position of the glyph of the period `.` (e.g. the center of the period glyph would be (0, 0)), but actually this was not with most fonts. Apparently, the dot indicates the origin position in this figure: https://developer.apple.com/library/archive/documentation/TextFonts/Conceptual/CocoaTextArchitecture/Art/glyphterms_2x.png Is the 'dot' a usual term for typography? If not, I hope the comments would be updated to clarify the things.

/CC @nigeltao
Repository: godot
Issue: Touch input not being received by any Popups
Labels: bug,platform:linuxbsd,topic:input

### Godot version

tested on:
4.0
4.1
4.2
4.3
master as of october 2024

### System information

Steam Deck (Arch Linux)
Windows 10
Windows 11

### Issue description

Popups and Windows do not receive proper touch input, however it sometimes is possible to cause an UI element to be stuck in the pressed state.

### Steps to reproduce

1. Launch Godot
2. Open the create new project dialog
3. Notice that you cant tap on anything, not even window decorations

### Minimal reproduction project

N/A (see steps to reproduce)
Repository: PowerToys
Issue: Save/load key reassignment settings to a file
Labels: Needs-Triage

### Description of the new feature / enhancement

I would like to be able to save the parameters of reassigned keys / combinations to a file.

### Scenario when this would be used?

 To be able to quickly load the configuration when using it on another machine or on a freshly installed windows. 

### Supporting information

_No response_
Repository: flutter
Issue: google maps crashes with NullPointerException
Labels: c: crash,platform-android,p: maps,package,a: production,P3,needs repro info,team-android,triaged-android

### Is there an existing issue for this?

- [X] I have searched the [existing issues](https://github.com/flutter/flutter/issues)
- [X] I have read the [guide to filing a bug](https://flutter.dev/docs/resources/bug-reports)

### Steps to reproduce

We are getting this crash report in firebase crashlytics. 
We are not able to reproduce it as it seems to be happening at random.

### Expected results

map not crashing

### Actual results

crashing

### Code sample

No code sample

### Screenshots or Video

<details>
<summary>Screenshots / Video demonstration</summary>

<img width="391" alt="Screenshot 2023-05-30 at 1 14 22 PM" src="https://github.com/flutter/flutter/assets/100851392/f6cd8d78-c80f-4678-a7bd-0995c9579137">
<img width="399" alt="Screenshot 2023-05-30 at 1 14 30 PM" src="https://github.com/flutter/flutter/assets/100851392/14cee19b-6558-43b4-9a6e-8920d6858bd6">


</details>


### Logs

<details><summary>Logs</summary>

```console

Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.graphics.Bitmap.isMutable()' on a null object reference
       at android.graphics.Canvas.<init>(Canvas.java:116)
       at com.google.maps.api.android.lib6.impl.a.a(:com.google.android.gms.policy_maps_core_dynamite@231112107@231112103065.517507265.517507265:1)
       at com.google.maps.api.android.lib6.phoenix.be.run(:com.google.android.gms.policy_maps_core_dynamite@231112107@231112103065.517507265.517507265:2)
       at android.os.Handler.handleCallback(Handler.java:942)
       at android.os.Handler.dispatchMessage(Handler.java:99)
       at android.os.Looper.loopOnce(Looper.java:211)
       at android.os.Looper.loop(Looper.java:300)
       at android.app.ActivityThread.main(ActivityThread.java:8289)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:559)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:954)
```

</details>

### Flutter Doctor output

<details><summary>Doctor output</summary>

```console
Flutter (Channel stable, 3.10.2, on macOS 13.1 22C65 darwin-arm64, locale en-GR)
    • Flutter version 3.10.2 on channel stable at /Users/nikostsesmelis/Tools/flutter/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 9cd3d0d9ff (6 days ago), 2023-05-23 20:57:28 -0700
    • Engine revision 90fa3ae28f
    • Dart version 3.0.2
    • DevTools version 2.23.1

```

</details>
Repository: stable-diffusion-webui
Issue: [Feature request]: Interrupt img2img interrogation (or hide Interrogate buttons)
Labels: enhancement

2 things:
A> it should have a interrupt button when click.....
B> and should NOT over write original prompt....
X> better yet, to add a button "send to txt2img"
https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/10882
------------------------
![image](https://github.com/AUTOMATIC1111/stable-diffusion-webui/assets/1768531/56ce133d-f810-4710-ad7a-c41ad5cfa93d)

if there a away to stop interrupt IF I ALMOST ALWAYS accidentally hit the SLOW ASS CLIP button.....
and it remove all my prompts.....F it, Deepbooru is a lot fast i dont care, but CLIP is just the worst.
-------------------
how about this solution:
make a smart HIDE/SHOW [[checkbox/whatever]] under (GENERATE BUTTON) 
to show and hide two CLIP and Deepbooru buttons !!!
 that would be amazing........
-------------------
Repository: kubernetes
Issue: Kubectl diff fails when there are immutable fields
Labels: kind/bug,sig/api-machinery,triage/accepted

### What happened?

I am trying to run a `kubectl diff --server-side --force-conflicts` against our cluster, but it fails with the following message:

```
The Job "test-job" is invalid: spec.template: Invalid value: core.PodTemplateSpec{...}: field is immutable
```

We use flux with the `force: true` option when applying this change to the cluster, so we don't have a problem with deployments and immutability, but it is a problem when trying to do a diff against the cluster.

### What did you expect to happen?

I would expect `kubectl diff` to have a `--force` flag just like the `apply` command to ignore immutable fields during diff operations. I see that there is `--force-conflicts`, but it doesn't fix this issue

### How can we reproduce it (as minimally and precisely as possible)?

Create a simple Job and apply it to the cluster:

```yaml
---
apiVersion: batch/v1
kind: Job
metadata:
  name: test-job
  namespace: default
spec:
  template:
    spec:
      restartPolicy: Never
      containers:
        - name: create-dbs
          image: alpine
          command:
            - echo
            - hello there
```

Update any field in the template spec, for example change the `hello there` message.

```
$ kubectl diff --server-side --force-conflicts -f job.yaml

The Job "test-job" is invalid: spec.template: Invalid value: core.PodTemplateSpec{...}: field is immutable
```

The `...` is the redacted pod spec, it's not relevant here.

### Anything else we need to know?

_No response_

### Kubernetes version

<details>

```console
$ kubectl version
Client Version: version.Info{Major:"1", Minor:"27", GitVersion:"v1.27.2", GitCommit:"7f6f68fdabc4df88cfea2dcf9a19b2b830f1e647", GitTreeState:"archive", BuildDate:"2023-05-28T13:03:55Z", GoVersion:"go1.20.4", Compiler:"gc", Platform:"linux/amd64"}
Kustomize Version: v5.0.1
Server Version: version.Info{Major:"1", Minor:"27", GitVersion:"v1.27.2", GitCommit:"7f6f68fdabc4df88cfea2dcf9a19b2b830f1e647", GitTreeState:"clean", BuildDate:"2023-05-25T23:29:16Z", GoVersion:"go1.20.4", Compiler:"gc", Platform:"linux/amd64"}
```

</details>


### Cloud provider

<details>
local kind cluster
</details>


### OS version

<details>

```console
# On Linux:
$ cat /etc/os-release
NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://bugs.archlinux.org/"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo
$ uname -a
Linux niccolum 6.3.4-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 24 May 2023 17:44:00 +0000 x86_64 GNU/Linux
```

</details>


### Install tools

<details>

</details>


### Container runtime (CRI) and version (if applicable)

<details>

</details>


### Related plugins (CNI, CSI, ...) and versions (if applicable)

<details>

</details>
Repository: godot
Issue: Node window broken on mobile
Labels: bug,platform:android,topic:editor

### Godot version

Mobile Editor  3.6.beta.2 android

### System information

I am on a samsung a04s android 11

### Issue description

When you have a node on the mobile Version specifically 3.6.beta.2 and you try to long press on it for more options it does not show the entire thing it goes off screen  and is not visable or reachable i am on a phone not tablet so it might be due to the size of the window not properly set for my type of device from what i see its only on 3.6 on 4.0 its changed  and visable

![Screenshot_20230530-140303_Godot Editor 3](https://github.com/godotengine/godot/assets/134847050/afc94f03-86a5-4b01-89ac-c8bc7d6748f3)


### Steps to reproduce

Not much to be said here i made myself clear 

### Minimal reproduction project

Hope you fix it
Repository: godot
Issue: [3.6] get_viewport().get_camera() doesn't work in editor
Labels: discussion,topic:editor

### Godot version

3.6 (custom build)

### System information

Fedora, RX 590

### Issue description

I am trying to use immediate geometry and force the geometry to draw in a billboard mode.

I am not able to do `get_viewport().get_camera()` in editor, so i can't preview the billboard mode in editor

### Steps to reproduce

`print(get_viewport().get_camera())` on a tool script.

### Minimal reproduction project

N/A
Repository: go
Issue: crypto/tls: avoid linkability across sessions by not reusing session tickets
Labels: NeedsInvestigation

<!--
Please answer these questions before submitting your issue. Thanks!
-->

### What version of Go are you using (`go version`)?

<pre>
$ go version
go version go1.20.3 darwin/arm64
</pre>

### What operating system and processor architecture are you using (`go env`)?

<details><summary><code>go env</code> Output</summary><br><pre>
$ go env
GO111MODULE=""
GOARCH="arm64"
GOBIN=""
GOCACHE="/Users/marten/Library/Caches/go-build"
GOENV="/Users/marten/Library/Application Support/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="arm64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/marten/src/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/marten/src/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/Users/marten/bin/go1.20ex"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/Users/marten/bin/go1.20ex/pkg/tool/darwin_arm64"
GOVCS=""
GOVERSION="go1.20.3"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/dev/null"
GOWORK=""
CGO_CFLAGS="-O2 -g"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-O2 -g"
CGO_FFLAGS="-O2 -g"
CGO_LDFLAGS="-O2 -g"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/q0/b5ynf00142l7bl9sp8y098zr0000gn/T/go-build2554136632=/tmp/go-build -gno-record-gcc-switches -fno-common"
</pre></details>

### Does this issue reproduce with the latest release?

Yes


### What did you do?

I resumed multiple TLS session to the same server (without saving the session ticket issued on the first resumed connection).


### What did you expect to see?

I expected the ticket to not be reused. [RFC 8446 Appendix C.4](https://www.rfc-editor.org/rfc/rfc8446#appendix-C.4) says:
> Clients SHOULD NOT reuse a ticket for multiple connections.  Reuse of a ticket allows passive observers to correlate different connections.

While it's just a SHOULD NOT and not a MUST NOT, is there any good reason to deviate from the advice given in the RFC?

### What did you see instead?

Session tickets are only removed when the handshake fails or when either the server certificate or the session ticket has expired.
Repository: node
Issue: Update previous versions to v8 to 11.3.244.4 (or apply one line fix)
Labels: v8 engine

### Version

v18.16.0

### Platform

Linux uxul 5.19.0-38-generic #39~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Mar 17 21:16:15 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

### Subsystem

v8

### What steps will reproduce the bug?

I cannot reproduce without a 3rd party dependency because this requires creating a string with external data. I'm using `@contrast/distringuish` to do that. It's a small C++ add-on that associates persistent data with an externalized string.

```js
const d = require('@contrast/distringuish');

const obj = {thing: 'some string'};

const thing2 = d.externalize('some string');
Object.defineProperty(obj, 'thing', {value: thing2});

console.log(d.isExternal(obj.thing)); // false, should be true
```


### How often does it reproduce? Is there a required condition?

It always reproduces. The required condition is that the two strings are equal from a JavaScript standpoint.

### What is the expected behavior? Why is that the expected behavior?

```console
true
```

The string should be externalized because the non-externalized string in the object should have been replaced by the externalized string.

### What do you see instead?

```console
false
```

### Additional information

This is really a v8 bug and was fixed in v20.0.0 by [deps: update V8 to 11.3.244.4](https://github.com/nodejs/node/commit/f226350fcbebd4449fb0034fdaffa147e4de28ea).

This is a request to backport either the new version of v8 or to apply a one-line fix. The one line fix would be to replace

```cpp
      (!desc->has_value() ||
       (current->has_value() && current->value()->SameValue(*desc->value()))) &&
```

with

```cpp
    !desc->has_value() &&
```

at line 1496 in `deps/v8/src/objects/js-objects.cc`
Repository: ant-design
Issue: Warning modal width 'max-content' / 'fit-content' adds unwanted space, used to work OK on ant v4
Labels: 🐛 Bug,Inactive

### Reproduction link

[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/antd-reproduction-template-forked-mnnnl2?file=/index.js)

### Steps to reproduce

Create a warning Modal
Add width: 'fit-content' or 'max-content' 

### What is expected?

Modal width should fit the content width

### What is actually happening?

Modal width has extra unwanted space on the right side in v5

| Environment | Info |
| --- | --- |
| antd | 5.5.1 |
| React | React 17.0.2 |
| System | macOS 12.5.1 |
| Browser | Chrome 113.0.5672.126 |

---
Width works ok on ant v4:
https://codesandbox.io/s/antd-reproduction-template-forked-rkucir?file=/index.js
Width doesn't work on on ant v5:
https://codesandbox.io/s/antd-reproduction-template-forked-mnnnl2?file=/index.js

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: rust
Issue: Bogus suggestion on I::Item vs &I::Item mismatch
Labels: A-diagnostics,T-compiler,A-suggestion-diagnostics,D-invalid-suggestion,S-has-mcve

### Code

```Rust
fn foo<I: Iterator>(mut iter: I, value: &I::Item) where I::Item: Eq + Debug {
    assert_eq!(iter.next(), Some(value));
}
```


### Current output

```Shell
error[E0308]: mismatched types
 --> src/lib.rs:4:5
  |
4 |     assert_eq!(iter.next(), Some(value));
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Option<<I as Iterator>::Item>`, found `Option<&<I as Iterator>::Item>`
  |
  = note: expected enum `Option<<I as Iterator>::Item>`
             found enum `Option<&<I as Iterator>::Item>`
  = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider constraining the associated type `<I as Iterator>::Item` to `&<I as Iterator>::Item`
  |
3 | fn foo<I: Iterator<Item = &<I as Iterator>::Item>>(mut iter: I, value: &I::Item) where I::Item: Eq + Debug {
  |                   +++++++++++++++++++++++++++++++

For more information about this error, try `rustc --explain E0308`.
```


### Desired output

```Shell
error: cannot compare Option<I::Item> to Option<&I::Item>
 --> src/lib.rs:4:5
  |
4 |     assert_eq!(iter.next(), Some(value));

help: consider using `.as_ref()` to convert `Option<I::Item>` to `Option<&I::Item>`:
  |
4 |     assert_eq!(iter.next().as_ref(), Some(value));
  |                           +++++++++
```


### Rationale and extra context

`Item = &Item` obviously wouldn't work, the compiler should not suggest that. The proper fix here is to convert the first `Option<I::Item>` to an `Option<&I::Item>` by calling `.as_ref()` on it.

### Other cases

_No response_

### Anything else?

This is reduced from a real example where I was trying to check that the iterator emits the expected series of items:

```rust
fn assert_collect<I: IntoIterator>(iter: I, expected_items: &[I::Item]) where I::Item: Eq + Debug {
    let mut iter = iter.into_iter();
    for item in expected_items {
        assert_eq!(iter.next(), Some(item));
    }
    assert_eq!(iter.next(), None);
}
```