summaryrefslogtreecommitdiff
path: root/.github/ISSUE_TEMPLATE/ice.yaml
blob: 7bec05cc575a875239d1ba10cc269c7827e68ada (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
name: Internal Compiler Error (for use by automated tooling)
description: For now, you'll want to use the other ICE template, as GitHub forms have strict limits on the size of fields so backtraces cannot be pasted directly.
labels: ["C-bug", "I-ICE", "T-compiler"]
title: "[ICE]: "
body:
  - type: markdown
    attributes:
      value: |
        Thank you for finding an Internal Compiler Error! 🧊

        If possible, try to provide a minimal verifiable example.

        You can read "[Rust Bug Minimization Patterns](http://blog.pnkfx.org/blog/2019/11/18/rust-bug-minimization-patterns/)" for how to create smaller examples.

  - type: textarea
    id: code
    attributes:
      label: Code
      description: Please provide code or a link to a repository that can reproduce the problem
      placeholder: code
      render: Rust
    validations:
      required: false

  - type: checkboxes
    attributes:
      label: Affected release channels
      description: 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
      options:
        - label: Previous Stable
          required: false
        - label: Current Stable
          required: false
        - label: Current Beta
          required: false
        - label: Current Nightly
          required: false

  - type: textarea
    id: version
    attributes:
      label: Rust Version
      description: Please provide the `rustc` version, `rustc --version --verbose`
      placeholder: |
        $ rustc --version --verbose
        rustc 1.XX.Y (SHORTHASH DATE)
        binary: rustc
        commit-hash: LONGHASHVALUE
        commit-date: DATE
        host: PLATFORMTRIPLE
        release: 1.XX.Y
        LLVM version: XX.YY.ZZ
      render: Shell
    validations:
      required: true

  - type: textarea
    id: output
    attributes:
      label: Current error output
      description: Please provide the `rustc` output you see
      placeholder: output
      render: Shell
    validations:
      required: false

  - type: textarea
    id: backtrace
    attributes:
      label: Backtrace
      description: Include a backtrace in the code block by setting `RUST_BACKTRACE=full` in your environment, e.g. `RUST_BACKTRACE=full cargo build`
      render: Shell
    validations:
      required: true

  - type: textarea
    id: extra
    attributes:
      label: Anything else?
      description: If you have more details you want to give us to reproduce this issue, please add it here
    validations:
      required: false