Skip to content

Update the functions in tensorprotoutils.h to use std::filesystem::path instead #31196

Update the functions in tensorprotoutils.h to use std::filesystem::path instead

Update the functions in tensorprotoutils.h to use std::filesystem::path instead #31196

Triggered via pull request June 27, 2024 23:28
Status Failure
Total duration 23m 46s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 19 warnings
Lint C++
reviewdog: Too many results (annotations) in diff. You may miss some annotations due to GitHub limitation for annotation created by logging command. Please check GitHub Actions log console to see all results. Limitation: - 10 warning annotations and 10 error annotations per step - 50 annotations per job (sum of annotations from all the steps) - 50 annotations per run (separate from the job annotations, these annotations aren't created by users) Source: https://github.com/orgs/community/discussions/26680#discussioncomment-3252835
Optional Lint: onnxruntime/core/framework/tensorprotoutils.h#L114
[misspell] reported by reviewdog 🐶 "contructing" is a misspelling of "contracting" Raw Output: ./onnxruntime/core/framework/tensorprotoutils.h:114:26: "contructing" is a misspelling of "contracting"
Optional Lint: onnxruntime/core/framework/tensorprotoutils.h#L128
[misspell] reported by reviewdog 🐶 "contructing" is a misspelling of "contracting" Raw Output: ./onnxruntime/core/framework/tensorprotoutils.h:128:26: "contructing" is a misspelling of "contracting"
Optional Lint: onnxruntime/core/framework/tensorprotoutils.h#L137
[misspell] reported by reviewdog 🐶 "contructing" is a misspelling of "contracting" Raw Output: ./onnxruntime/core/framework/tensorprotoutils.h:137:26: "contructing" is a misspelling of "contracting"
Python format
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/toolchain@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Python format
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Python format
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Python format
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Python format
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Python format
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Lint C++: onnxruntime/core/framework/tensorprotoutils.cc#L1012
[cpplint] reported by reviewdog 🐶 Using C-style cast. Use reinterpret_cast<Y*>(...) instead [readability/casting] [4] Raw Output: onnxruntime/core/framework/tensorprotoutils.cc:1012: Using C-style cast. Use reinterpret_cast<Y*>(...) instead [readability/casting] [4]
Lint C++: onnxruntime/core/optimizer/transpose_optimization/ort_optimizer_api_impl.cc#L297
[cpplint] reported by reviewdog 🐶 Missing username in TODO; it should look like "// TODO(my_username): Stuff." [readability/todo] [2] Raw Output: onnxruntime/core/optimizer/transpose_optimization/ort_optimizer_api_impl.cc:297: Missing username in TODO; it should look like "// TODO(my_username): Stuff." [readability/todo] [2]
Lint C++: onnxruntime/core/providers/dml/DmlExecutionProvider/src/MLOperatorAuthorImpl.h#L686
[cpplint] reported by reviewdog 🐶 Add #include <tuple> for tuple<> [build/include_what_you_use] [4] Raw Output: onnxruntime/core/providers/dml/DmlExecutionProvider/src/MLOperatorAuthorImpl.h:686: Add #include <tuple> for tuple<> [build/include_what_you_use] [4]
Lint C++: onnxruntime/core/providers/dml/DmlExecutionProvider/src/MLOperatorAuthorImpl.h#L686
[cpplint] reported by reviewdog 🐶 Add #include <memory> for unique_ptr<> [build/include_what_you_use] [4] Raw Output: onnxruntime/core/providers/dml/DmlExecutionProvider/src/MLOperatorAuthorImpl.h:686: Add #include <memory> for unique_ptr<> [build/include_what_you_use] [4]
Lint C++: onnxruntime/core/providers/dml/DmlExecutionProvider/src/Utility.h#L9
[cpplint] reported by reviewdog 🐶 Line ends in whitespace. Consider deleting these extra spaces. [whitespace/end_of_line] [4] Raw Output: onnxruntime/core/providers/dml/DmlExecutionProvider/src/Utility.h:9: Line ends in whitespace. Consider deleting these extra spaces. [whitespace/end_of_line] [4]
Lint C++: onnxruntime/core/providers/dml/DmlExecutionProvider/src/Utility.h#L26
[cpplint] reported by reviewdog 🐶 Tab found; better to use spaces [whitespace/tab] [1] Raw Output: onnxruntime/core/providers/dml/DmlExecutionProvider/src/Utility.h:26: Tab found; better to use spaces [whitespace/tab] [1]
Lint C++: onnxruntime/core/providers/dml/DmlExecutionProvider/src/Utility.h#L134
[cpplint] reported by reviewdog 🐶 Namespace should be terminated with "// namespace StringUtil" [readability/namespace] [5] Raw Output: onnxruntime/core/providers/dml/DmlExecutionProvider/src/Utility.h:134: Namespace should be terminated with "// namespace StringUtil" [readability/namespace] [5]
Lint C++: onnxruntime/core/providers/shared_library/provider_interfaces.h#L213
[cpplint] reported by reviewdog 🐶 Lines should be <= 120 characters long [whitespace/line_length] [2] Raw Output: onnxruntime/core/providers/shared_library/provider_interfaces.h:213: Lines should be <= 120 characters long [whitespace/line_length] [2]
Lint C++: onnxruntime/core/providers/shared_library/provider_interfaces.h#L810
[cpplint] reported by reviewdog 🐶 Lines should be <= 120 characters long [whitespace/line_length] [2] Raw Output: onnxruntime/core/providers/shared_library/provider_interfaces.h:810: Lines should be <= 120 characters long [whitespace/line_length] [2]
Lint C++: onnxruntime/core/providers/shared_library/provider_wrappedtypes.h#L843
[cpplint] reported by reviewdog 🐶 Lines should be <= 120 characters long [whitespace/line_length] [2] Raw Output: onnxruntime/core/providers/shared_library/provider_wrappedtypes.h:843: Lines should be <= 120 characters long [whitespace/line_length] [2]