blob: 150c72e7bad90b352b5c068620a5abf952dd261e [file] [log] [blame]
---
source: tests/licenses.rs
expression: diags
---
[
{
"fields": {
"code": "rejected",
"graphs": [
{
"Krate": {
"name": "dynamic",
"version": "0.2.1"
},
"parents": [
{
"Krate": {
"name": "simple_ecs",
"version": "0.3.2"
},
"parents": [
{
"Krate": {
"kind": "dev",
"name": "features-galore",
"version": "0.1.0"
}
}
]
}
]
}
],
"labels": [
{
"column": 12,
"line": 4,
"message": "license expression retrieved via Cargo.toml `license`",
"span": "MIT"
},
{
"column": 12,
"line": 4,
"message": "rejected: not explicitly allowed",
"span": "MIT"
}
],
"message": "failed to satisfy license requirements",
"notes": [
"MIT - MIT License:",
" - OSI approved",
" - FSF Free/Libre"
],
"severity": "error"
},
"type": "diagnostic"
},
{
"fields": {
"code": "rejected",
"graphs": [
{
"Krate": {
"name": "simple_ecs",
"version": "0.3.2"
},
"parents": [
{
"Krate": {
"kind": "dev",
"name": "features-galore",
"version": "0.1.0"
}
}
]
}
],
"labels": [
{
"column": 12,
"line": 4,
"message": "license expression retrieved via Cargo.toml `license`",
"span": "GPL-3.0"
},
{
"column": 12,
"line": 4,
"message": "rejected: explicitly denied",
"span": "GPL-3.0"
}
],
"message": "failed to satisfy license requirements",
"notes": [
"GPL-3.0 - GNU General Public License v3.0 only:",
" - **DEPRECATED**",
" - OSI approved",
" - FSF Free/Libre",
" - Copyleft"
],
"severity": "error"
},
"type": "diagnostic"
}
]