CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
424 lines
11 KiB
JSON
424 lines
11 KiB
JSON
clang: warning: diagnostic formatting in SARIF mode is currently unstable [-Wsarif-format-unstable]
|
|
|
|
{
|
|
"$schema": "https://docs.oasis-open.org/sarif/sarif/v2.1.0/cos02/schemas/sarif-schema-2.1.0.json",
|
|
"runs": [
|
|
{
|
|
"artifacts": [
|
|
{
|
|
"length": -1,
|
|
"location": {
|
|
"index": 0,
|
|
"uri": "file:///[...]/sarif-diagnostics.cpp"
|
|
},
|
|
"mimeType": "text/plain",
|
|
"roles": [
|
|
"resultFile"
|
|
]
|
|
}
|
|
],
|
|
"columnKind": "unicodeCodePoints",
|
|
"results": [
|
|
{
|
|
"level": "error",
|
|
"locations": [
|
|
{
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"index": 0,
|
|
"uri": "file:///[...]/sarif-diagnostics.cpp"
|
|
},
|
|
"region": {
|
|
"endColumn": 1,
|
|
"startColumn": 1,
|
|
"startLine": 12
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"message": {
|
|
"text": "'main' must return 'int'"
|
|
},
|
|
"ruleId": "err_main_returns_nonint",
|
|
"ruleIndex": 0
|
|
},
|
|
{
|
|
"level": "error",
|
|
"locations": [
|
|
{
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"index": 0,
|
|
"uri": "file:///[...]/sarif-diagnostics.cpp"
|
|
},
|
|
"region": {
|
|
"endColumn": 16,
|
|
"endLine": 13,
|
|
"startColumn": 11,
|
|
"startLine": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"index": 0,
|
|
"uri": "file:///[...]/sarif-diagnostics.cpp"
|
|
},
|
|
"region": {
|
|
"endColumn": 11,
|
|
"startColumn": 11,
|
|
"startLine": 13
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"message": {
|
|
"text": "use of undeclared identifier 'hello'"
|
|
},
|
|
"ruleId": "err_undeclared_var_use",
|
|
"ruleIndex": 1
|
|
},
|
|
{
|
|
"level": "error",
|
|
"locations": [
|
|
{
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"index": 0,
|
|
"uri": "file:///[...]/sarif-diagnostics.cpp"
|
|
},
|
|
"region": {
|
|
"endColumn": 17,
|
|
"startColumn": 17,
|
|
"startLine": 15
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"message": {
|
|
"text": "invalid digit 'a' in decimal constant"
|
|
},
|
|
"ruleId": "err_invalid_digit",
|
|
"ruleIndex": 2
|
|
},
|
|
{
|
|
"level": "warning",
|
|
"locations": [
|
|
{
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"index": 0,
|
|
"uri": "file:///[...]/sarif-diagnostics.cpp"
|
|
},
|
|
"region": {
|
|
"endColumn": 5,
|
|
"startColumn": 5,
|
|
"startLine": 19
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"message": {
|
|
"text": "misleading indentation; statement is not part of the previous 'if'"
|
|
},
|
|
"ruleId": "warn_misleading_indentation",
|
|
"ruleIndex": 3
|
|
},
|
|
{
|
|
"level": "note",
|
|
"locations": [
|
|
{
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"index": 0,
|
|
"uri": "file:///[...]/sarif-diagnostics.cpp"
|
|
},
|
|
"region": {
|
|
"endColumn": 3,
|
|
"startColumn": 3,
|
|
"startLine": 17
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"message": {
|
|
"text": "previous statement is here"
|
|
},
|
|
"ruleId": "note_previous_statement",
|
|
"ruleIndex": 4
|
|
},
|
|
{
|
|
"level": "warning",
|
|
"locations": [
|
|
{
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"index": 0,
|
|
"uri": "file:///[...]/sarif-diagnostics.cpp"
|
|
},
|
|
"region": {
|
|
"endColumn": 13,
|
|
"endLine": 18,
|
|
"startColumn": 10,
|
|
"startLine": 18
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"index": 0,
|
|
"uri": "file:///[...]/sarif-diagnostics.cpp"
|
|
},
|
|
"region": {
|
|
"endColumn": 10,
|
|
"startColumn": 10,
|
|
"startLine": 18
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"message": {
|
|
"text": "unused variable 'Yes'"
|
|
},
|
|
"ruleId": "warn_unused_variable",
|
|
"ruleIndex": 5
|
|
},
|
|
{
|
|
"level": "error",
|
|
"locations": [
|
|
{
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"index": 0,
|
|
"uri": "file:///[...]/sarif-diagnostics.cpp"
|
|
},
|
|
"region": {
|
|
"endColumn": 14,
|
|
"endLine": 21,
|
|
"startColumn": 12,
|
|
"startLine": 21
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"index": 0,
|
|
"uri": "file:///[...]/sarif-diagnostics.cpp"
|
|
},
|
|
"region": {
|
|
"endColumn": 12,
|
|
"startColumn": 12,
|
|
"startLine": 21
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"message": {
|
|
"text": "use of undeclared identifier 'hi'"
|
|
},
|
|
"ruleId": "err_undeclared_var_use",
|
|
"ruleIndex": 6
|
|
},
|
|
{
|
|
"level": "error",
|
|
"locations": [
|
|
{
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"index": 0,
|
|
"uri": "file:///[...]/sarif-diagnostics.cpp"
|
|
},
|
|
"region": {
|
|
"endColumn": 1,
|
|
"startColumn": 1,
|
|
"startLine": 23
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"message": {
|
|
"text": "extraneous closing brace ('}')"
|
|
},
|
|
"ruleId": "err_extraneous_closing_brace",
|
|
"ruleIndex": 7
|
|
},
|
|
{
|
|
"level": "error",
|
|
"locations": [
|
|
{
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"index": 0,
|
|
"uri": "file:///[...]/sarif-diagnostics.cpp"
|
|
},
|
|
"region": {
|
|
"endColumn": 6,
|
|
"endLine": 27,
|
|
"startColumn": 5,
|
|
"startLine": 27
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"index": 0,
|
|
"uri": "file:///[...]/sarif-diagnostics.cpp"
|
|
},
|
|
"region": {
|
|
"endColumn": 10,
|
|
"endLine": 27,
|
|
"startColumn": 9,
|
|
"startLine": 27
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"index": 0,
|
|
"uri": "file:///[...]/sarif-diagnostics.cpp"
|
|
},
|
|
"region": {
|
|
"endColumn": 7,
|
|
"startColumn": 7,
|
|
"startLine": 27
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"message": {
|
|
"text": "invalid operands to binary expression ('t1' and 't1')"
|
|
},
|
|
"ruleId": "err_typecheck_invalid_operands",
|
|
"ruleIndex": 8
|
|
}
|
|
],
|
|
"tool": {
|
|
"driver": {
|
|
"fullName": "",
|
|
"informationUri": "https://clang.llvm.org/docs/UsersManual.html",
|
|
"language": "en-US",
|
|
"name": "clang",
|
|
"rules": [
|
|
{
|
|
"defaultConfiguration": {
|
|
"enabled": true,
|
|
"level": "error",
|
|
"rank": 50
|
|
},
|
|
"fullDescription": {
|
|
"text": ""
|
|
},
|
|
"id": "err_main_returns_nonint",
|
|
"name": ""
|
|
},
|
|
{
|
|
"defaultConfiguration": {
|
|
"enabled": true,
|
|
"level": "error",
|
|
"rank": 50
|
|
},
|
|
"fullDescription": {
|
|
"text": ""
|
|
},
|
|
"id": "err_undeclared_var_use",
|
|
"name": ""
|
|
},
|
|
{
|
|
"defaultConfiguration": {
|
|
"enabled": true,
|
|
"level": "error",
|
|
"rank": 50
|
|
},
|
|
"fullDescription": {
|
|
"text": ""
|
|
},
|
|
"id": "err_invalid_digit",
|
|
"name": ""
|
|
},
|
|
{
|
|
"defaultConfiguration": {
|
|
"enabled": true,
|
|
"level": "warning",
|
|
"rank": -1
|
|
},
|
|
"fullDescription": {
|
|
"text": ""
|
|
},
|
|
"id": "warn_misleading_indentation",
|
|
"name": ""
|
|
},
|
|
{
|
|
"defaultConfiguration": {
|
|
"enabled": true,
|
|
"level": "note",
|
|
"rank": -1
|
|
},
|
|
"fullDescription": {
|
|
"text": ""
|
|
},
|
|
"id": "note_previous_statement",
|
|
"name": ""
|
|
},
|
|
{
|
|
"defaultConfiguration": {
|
|
"enabled": true,
|
|
"level": "warning",
|
|
"rank": -1
|
|
},
|
|
"fullDescription": {
|
|
"text": ""
|
|
},
|
|
"id": "warn_unused_variable",
|
|
"name": ""
|
|
},
|
|
{
|
|
"defaultConfiguration": {
|
|
"enabled": true,
|
|
"level": "error",
|
|
"rank": 50
|
|
},
|
|
"fullDescription": {
|
|
"text": ""
|
|
},
|
|
"id": "err_undeclared_var_use",
|
|
"name": ""
|
|
},
|
|
{
|
|
"defaultConfiguration": {
|
|
"enabled": true,
|
|
"level": "error",
|
|
"rank": 50
|
|
},
|
|
"fullDescription": {
|
|
"text": ""
|
|
},
|
|
"id": "err_extraneous_closing_brace",
|
|
"name": ""
|
|
},
|
|
{
|
|
"defaultConfiguration": {
|
|
"enabled": true,
|
|
"level": "error",
|
|
"rank": 50
|
|
},
|
|
"fullDescription": {
|
|
"text": ""
|
|
},
|
|
"id": "err_typecheck_invalid_operands",
|
|
"name": ""
|
|
}
|
|
],
|
|
"version": "[clang version]"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"version": "[SARIF version]"
|
|
}
|
|
|
|
2 warnings and 6 errors generated. |