Scheduled run with warning: "Cannot read property 'id' of undefined"
See original GitHub issueNot sure how long this link lasts: https://github.com/portier/portier-broker/commit/4dbe08dfe176b2f10755f22e6a2ba25e11bd9258/checks?check_suite_id=417536094
Previous runs all succeeded, so maybe the cargo-audit output changed? I’m looking at the JSON, and think this no longer holds true: https://github.com/actions-rs/audit-check/blob/18b7af78f9d051ed94ff7a04b7aa97d357bfe005/src/interfaces.ts#L5
(Or maybe even Vulnerability
itself has changed, I don’t know.)
The warning object in the output looks like:
{
"kind": {
"unmaintained": {
"advisory": {
"id": "RUSTSEC-2019-0031",
"package": "spin",
"date": "2019-11-21",
"aliases": [],
"references": [],
"collection": "crates",
"categories": [],
"keywords": [],
"cvss": null,
"informational": "unmaintained",
"obsolete": false,
"url": "https://github.com/mvdnes/spin-rs/commit/7516c80",
"title": "spin is no longer actively maintained",
"description": "The author of the `spin` crate does not have time or interest to maintain it.\n\nConsider the following alternatives (both of which support `no_std`):\n\n- [`conquer-once`](https://github.com/oliver-giersch/conquer-once)\n- [`lock_api`](https://crates.io/crates/lock_api) (a subproject of `parking_lot`)\n",
"patched_versions": [],
"unaffected_versions": []
},
"versions": {
"patched": [],
"unaffected": [
"> 0.5.2"
]
}
}
},
"package": {
"name": "spin",
"version": "0.5.2",
"source": "registry+https://github.com/rust-lang/crates.io-index",
"checksum": "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d",
"replace": null
}
}
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Cannot read property 'id' of undefined"? - Stack Overflow
Undefined is thrown when the interpreter doesn't understand or can't find the object you were anticipating being there.
Read more >ERROR Cannot read property 'id' of undefined #190 - GitHub
Hi. I retrieve this error: ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'id' of undefined when i add the module ...
Read more >How to Avoid the Infamous "Cannot read properties of ... - Bitovi
That error message is telling you the function is returning undefined implicitly, but its return type does not include undefined in it. Awesome!...
Read more >Uncaught TypeError: Cannot read property of undefined
If you get undefined error, you need to make sure that which ever variables throws undefined error, is assigned a value to it....
Read more >[Solved]-Discord.js TypeError: Cannot read property 'id' of null ...
Coding example for the question Discord.js TypeError: Cannot read property 'id' of null-discord.js.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Alright, it is finally released as a new
v1
action, thank you for a bug report!@stephank, please, do not forget to switch back from
@master
to@v1
version 😃Follow up: I managed to write a fix in 86207092bb0e2cae0ca905448175b6a391ab512c, it is merged into
master
branch already, but was not published yet, as I’m planning to do a bit more testing. If you want to, you can join the testing too by switchingactions-rs/audit-check@v1
toactions-rs/audit-check@master
in your workflow file temporary.