Clippy fixes. #1022
Annotations
13 errors and 117 warnings
Clippy:
torch-sys/build.rs#L380
the borrowed expression implements the required traits
|
Clippy:
torch-sys/build.rs#L382
the borrowed expression implements the required traits
|
Clippy
could not compile `torch-sys` (build script) due to 2 previous errors
|
Clippy
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
|
Test Suite (ubuntu-latest, nightly)
linking with `cc` failed: exit status: 1
|
Test Suite (ubuntu-latest, nightly)
could not compile `tch` (lib test) due to 1 previous error
|
Test Suite (ubuntu-latest, nightly)
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
|
Test Suite (macOS-latest, nightly)
The job was canceled because "ubuntu-latest_nightly" failed.
|
Test Suite (macOS-latest, nightly)
The operation was canceled.
|
Test Suite (ubuntu-latest, stable)
The job was canceled because "ubuntu-latest_nightly" failed.
|
Test Suite (macOS-latest, stable)
The job was canceled because "ubuntu-latest_nightly" failed.
|
Test Suite (macOS-latest, stable)
The operation was canceled.
|
Test Suite (ubuntu-latest, stable)
The operation was canceled.
|
Rustfmt
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Rustfmt
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/
|
Rustfmt
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/
|
Rustfmt
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/
|
Rustfmt
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/
|
Clippy
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Clippy
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/
|
Clippy
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/
|
Clippy
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/
|
Clippy
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/
|
Check (ubuntu-latest, nightly)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Check (ubuntu-latest, nightly)
[email protected]: In file included from libtch/torch_api.cpp:15:
|
Check (ubuntu-latest, nightly)
[email protected]: libtch/torch_api.cpp:193:26: warning: 'bool at::autocast::is_enabled()' is deprecated: at::autocast::is_enabled() is deprecated. Please use at::autocast::is_autocast_enabled(at::kCUDA) instead. [-Wdeprecated-declarations]
|
Check (ubuntu-latest, nightly)
[email protected]: | ^~~~~~~~~~
|
|
Check (ubuntu-latest, nightly)
[email protected]: In file included from libtch/torch_api.cpp:9:
|
Check (ubuntu-latest, nightly)
[email protected]: 28 | TORCH_API inline bool is_enabled() {
|
Check (ubuntu-latest, nightly)
[email protected]: In file included from libtch/torch_api.cpp:15:
|
Check (ubuntu-latest, nightly)
[email protected]: 193 | return at::autocast::is_enabled();
|
Check (ubuntu-latest, nightly)
[email protected]: libtch/torch_api.h:19:5: note: in definition of macro 'PROTECT'
|
|
Check (ubuntu-latest, nightly)
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/
|
Check (ubuntu-latest, nightly)
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/
|
Check (ubuntu-latest, nightly)
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/
|
Check (ubuntu-latest, nightly)
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/
|
Test Suite (ubuntu-latest, nightly)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test Suite (ubuntu-latest, nightly)
[email protected]: In file included from libtch/torch_api.cpp:15:
|
Test Suite (ubuntu-latest, nightly)
[email protected]: libtch/torch_api.cpp:193:26: warning: 'bool at::autocast::is_enabled()' is deprecated: at::autocast::is_enabled() is deprecated. Please use at::autocast::is_autocast_enabled(at::kCUDA) instead. [-Wdeprecated-declarations]
|
Test Suite (ubuntu-latest, nightly)
[email protected]: | ^~~~~~~~~~
|
|
Test Suite (ubuntu-latest, nightly)
[email protected]: In file included from libtch/torch_api.cpp:9:
|
Test Suite (ubuntu-latest, nightly)
[email protected]: 28 | TORCH_API inline bool is_enabled() {
|
Test Suite (ubuntu-latest, nightly)
[email protected]: In file included from libtch/torch_api.cpp:15:
|
Test Suite (ubuntu-latest, nightly)
[email protected]: 193 | return at::autocast::is_enabled();
|
Test Suite (ubuntu-latest, nightly)
[email protected]: libtch/torch_api.h:19:5: note: in definition of macro 'PROTECT'
|
|
Test Suite (ubuntu-latest, nightly)
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/
|
Test Suite (ubuntu-latest, nightly)
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/
|
Test Suite (ubuntu-latest, nightly)
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/
|
Test Suite (ubuntu-latest, nightly)
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/
|
Check (macOS-latest, nightly)
[email protected]: clang: warning: -Wl,-rpath=/Users/runner/work/tch-rs/tch-rs/target/debug/build/torch-sys-4bd9a34033051ffe/out/libtorch/libtorch/lib: 'linker' input unused [-Wunused-command-line-argument]
|
Check (macOS-latest, nightly)
[email protected]: libtch/torch_api.cpp:193:26: warning: 'is_enabled' is deprecated: at::autocast::is_enabled() is deprecated. Please use at::autocast::is_autocast_enabled(at::kCUDA) instead. [-Wdeprecated-declarations]
|
|
Check (macOS-latest, nightly)
[email protected]: C10_DEPRECATED_MESSAGE(
|
Check (macOS-latest, nightly)
[email protected]: /Users/runner/work/tch-rs/tch-rs/target/debug/build/torch-sys-4bd9a34033051ffe/out/libtorch/libtorch/include/c10/util/Deprecated.h:24:43: note: expanded from macro 'C10_DEPRECATED_MESSAGE'
|
|
Check (macOS-latest, nightly)
[email protected]: bool is_enabled = at::autocast::is_enabled();
|
Check (macOS-latest, nightly)
[email protected]: /Users/runner/work/tch-rs/tch-rs/target/debug/build/torch-sys-4bd9a34033051ffe/out/libtorch/libtorch/include/ATen/autocast_mode.h:26:1: note: 'is_enabled' has been explicitly marked deprecated here
|
|
Check (macOS-latest, nightly)
[email protected]: #define C10_DEPRECATED_MESSAGE(message) [[deprecated(message)]]
|
Check (macOS-latest, nightly)
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/
|
Check (macOS-latest, nightly)
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/
|
Check (macOS-latest, nightly)
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/
|
Check (macOS-latest, nightly)
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/
|
Test Suite (macOS-latest, nightly)
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/
|
Test Suite (macOS-latest, nightly)
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/
|
Test Suite (macOS-latest, nightly)
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/
|
Test Suite (macOS-latest, nightly)
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/
|
Test Suite (ubuntu-latest, stable)
[email protected]: In file included from libtch/torch_api.cpp:15:
|
Test Suite (ubuntu-latest, stable)
[email protected]: libtch/torch_api.cpp:193:26: warning: 'bool at::autocast::is_enabled()' is deprecated: at::autocast::is_enabled() is deprecated. Please use at::autocast::is_autocast_enabled(at::kCUDA) instead. [-Wdeprecated-declarations]
|
Test Suite (ubuntu-latest, stable)
[email protected]: | ^~~~~~~~~~
|
|
Test Suite (ubuntu-latest, stable)
[email protected]: In file included from libtch/torch_api.cpp:9:
|
Test Suite (ubuntu-latest, stable)
[email protected]: 28 | TORCH_API inline bool is_enabled() {
|
Test Suite (ubuntu-latest, stable)
[email protected]: In file included from libtch/torch_api.cpp:15:
|
Test Suite (macOS-latest, stable)
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/
|
Test Suite (ubuntu-latest, stable)
[email protected]: 193 | return at::autocast::is_enabled();
|
Test Suite (macOS-latest, stable)
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/
|
Test Suite (ubuntu-latest, stable)
[email protected]: libtch/torch_api.h:19:5: note: in definition of macro 'PROTECT'
|
Test Suite (macOS-latest, stable)
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/
|
|
Test Suite (macOS-latest, stable)
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/
|
Test Suite (ubuntu-latest, stable)
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/
|
Test Suite (ubuntu-latest, stable)
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/
|
Test Suite (ubuntu-latest, stable)
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/
|
Test Suite (ubuntu-latest, stable)
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/
|
Check (ubuntu-latest, stable)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Check (ubuntu-latest, stable)
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/
|
Check (ubuntu-latest, stable)
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/
|
Check (ubuntu-latest, stable)
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/
|
Check (ubuntu-latest, stable)
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/
|
Check (ubuntu-latest, stable)
[email protected]: In file included from libtch/torch_api.cpp:15:
|
Check (ubuntu-latest, stable)
[email protected]: libtch/torch_api.cpp:193:26: warning: 'bool at::autocast::is_enabled()' is deprecated: at::autocast::is_enabled() is deprecated. Please use at::autocast::is_autocast_enabled(at::kCUDA) instead. [-Wdeprecated-declarations]
|
Check (ubuntu-latest, stable)
[email protected]: | ^~~~~~~~~~
|
|
Check (ubuntu-latest, stable)
[email protected]: In file included from libtch/torch_api.cpp:9:
|
Check (ubuntu-latest, stable)
[email protected]: 28 | TORCH_API inline bool is_enabled() {
|
Check (ubuntu-latest, stable)
[email protected]: In file included from libtch/torch_api.cpp:15:
|
Check (ubuntu-latest, stable)
[email protected]: 193 | return at::autocast::is_enabled();
|
Check (ubuntu-latest, stable)
[email protected]: libtch/torch_api.h:19:5: note: in definition of macro 'PROTECT'
|
|
Check (macOS-latest, stable)
[email protected]: clang: warning: -Wl,-rpath=/Users/runner/work/tch-rs/tch-rs/target/debug/build/torch-sys-a2db79ff74522a74/out/libtorch/libtorch/lib: 'linker' input unused [-Wunused-command-line-argument]
|
Check (macOS-latest, stable)
[email protected]: libtch/torch_api.cpp:193:26: warning: 'is_enabled' is deprecated: at::autocast::is_enabled() is deprecated. Please use at::autocast::is_autocast_enabled(at::kCUDA) instead. [-Wdeprecated-declarations]
|
|
Check (macOS-latest, stable)
[email protected]: C10_DEPRECATED_MESSAGE(
|
Check (macOS-latest, stable)
[email protected]: /Users/runner/work/tch-rs/tch-rs/target/debug/build/torch-sys-a2db79ff74522a74/out/libtorch/libtorch/include/c10/util/Deprecated.h:24:43: note: expanded from macro 'C10_DEPRECATED_MESSAGE'
|
|
Check (macOS-latest, stable)
[email protected]: bool is_enabled = at::autocast::is_enabled();
|
Check (macOS-latest, stable)
[email protected]: /Users/runner/work/tch-rs/tch-rs/target/debug/build/torch-sys-a2db79ff74522a74/out/libtorch/libtorch/include/ATen/autocast_mode.h:26:1: note: 'is_enabled' has been explicitly marked deprecated here
|
|
Check (macOS-latest, stable)
[email protected]: #define C10_DEPRECATED_MESSAGE(message) [[deprecated(message)]]
|
Check (macOS-latest, stable)
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/
|
Check (macOS-latest, stable)
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/
|
Check (macOS-latest, stable)
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/
|
Check (macOS-latest, stable)
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/
|
Check (windows-2019, nightly)
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/
|
Check (windows-2019, nightly)
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/
|
Check (windows-2019, nightly)
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/
|
Check (windows-2019, nightly)
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/
|
Check (windows-2019, nightly)
[email protected]: cl : Command line warning D9002 : ignoring unknown option '/p:DefineConstants=GLOG_USE_GLOG_EXPORT'
|
Check (windows-2019, nightly)
[email protected]: cl : Command line warning D9002 : ignoring unknown option '/p:DefineConstants=GLOG_USE_GLOG_EXPORT'
|
Check (windows-2019, stable)
[email protected]: cl : Command line warning D9002 : ignoring unknown option '/p:DefineConstants=GLOG_USE_GLOG_EXPORT'
|
Check (windows-2019, stable)
[email protected]: cl : Command line warning D9002 : ignoring unknown option '/p:DefineConstants=GLOG_USE_GLOG_EXPORT'
|
Check (windows-2019, stable)
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/
|
Check (windows-2019, stable)
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/
|
Check (windows-2019, stable)
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/
|
Check (windows-2019, stable)
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/
|