Skip to content

Clippy fixes.

Clippy fixes. #969

Re-run triggered July 24, 2024 19:43
Status Failure
Total duration 4m 44s
Artifacts

rust-ci.yml

on: push
Matrix: Check
Matrix: Test Suite
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 157 warnings
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 (ubuntu-latest, stable)
The job was canceled because "ubuntu-latest_nightly" failed.
Test Suite (ubuntu-latest, stable)
The operation was canceled.
Test Suite (macOS-latest, nightly)
The job was canceled because "ubuntu-latest_nightly" failed.
Test Suite (macOS-latest, nightly)
The operation was canceled.
Rustfmt
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Rustfmt
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Rustfmt
`/home/runner/work/tch-rs/tch-rs/.cargo/config` is deprecated in favor of `config.toml`
Clippy
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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
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
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
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
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
`/home/runner/work/tch-rs/tch-rs/.cargo/config` is deprecated in favor of `config.toml`
Clippy
`/home/runner/work/tch-rs/tch-rs/.cargo/config` is deprecated in favor of `config.toml`
Check (macOS-latest, stable)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Check (macOS-latest, stable)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Check (macOS-latest, stable)
`/Users/runner/work/tch-rs/tch-rs/.cargo/config` is deprecated in favor of `config.toml`
Check (macOS-latest, stable)
torch-sys@0.17.0: clang: warning: -Wl,-rpath=/Users/runner/work/tch-rs/tch-rs/target/debug/build/torch-sys-200f4a7daf42475f/out/libtorch/libtorch/lib: 'linker' input unused [-Wunused-command-line-argument]
Check (macOS-latest, stable)
torch-sys@0.17.0: clang: warning: -Wl,-rpath=/Users/runner/work/tch-rs/tch-rs/target/debug/build/torch-sys-200f4a7daf42475f/out/libtorch/libtorch/lib: 'linker' input unused [-Wunused-command-line-argument]
Check (macOS-latest, stable)
torch-sys@0.17.0: return at::autocast::is_enabled();
Check (macOS-latest, stable)
torch-sys@0.17.0: /Users/runner/work/tch-rs/tch-rs/target/debug/build/torch-sys-200f4a7daf42475f/out/libtorch/libtorch/include/ATen/autocast_mode.h:26:1: note: 'is_enabled' has been explicitly marked deprecated here
Check (macOS-latest, stable)
torch-sys@0.17.0: ^
Check (macOS-latest, stable)
torch-sys@0.17.0: #define C10_DEPRECATED_MESSAGE(message) [[deprecated(message)]]
Check (macOS-latest, stable)
torch-sys@0.17.0: libtch/torch_api.cpp:200:37: 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)
torch-sys@0.17.0: ^
Check (macOS-latest, stable)
torch-sys@0.17.0: C10_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 (macOS-latest, nightly)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Check (macOS-latest, nightly)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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/
Check (macOS-latest, nightly)
`/Users/runner/work/tch-rs/tch-rs/.cargo/config` is deprecated in favor of `config.toml`
Check (macOS-latest, nightly)
torch-sys@0.17.0: clang: warning: -Wl,-rpath=/Users/runner/work/tch-rs/tch-rs/target/debug/build/torch-sys-1eeb6ac0a5349a3d/out/libtorch/libtorch/lib: 'linker' input unused [-Wunused-command-line-argument]
Check (macOS-latest, nightly)
torch-sys@0.17.0: clang: warning: -Wl,-rpath=/Users/runner/work/tch-rs/tch-rs/target/debug/build/torch-sys-1eeb6ac0a5349a3d/out/libtorch/libtorch/lib: 'linker' input unused [-Wunused-command-line-argument]
Check (macOS-latest, nightly)
torch-sys@0.17.0: return at::autocast::is_enabled();
Check (macOS-latest, nightly)
torch-sys@0.17.0: /Users/runner/work/tch-rs/tch-rs/target/debug/build/torch-sys-1eeb6ac0a5349a3d/out/libtorch/libtorch/include/ATen/autocast_mode.h:26:1: note: 'is_enabled' has been explicitly marked deprecated here
Check (macOS-latest, nightly)
torch-sys@0.17.0: ^
Check (macOS-latest, nightly)
torch-sys@0.17.0: #define C10_DEPRECATED_MESSAGE(message) [[deprecated(message)]]
Check (macOS-latest, nightly)
torch-sys@0.17.0: libtch/torch_api.cpp:200:37: 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)
torch-sys@0.17.0: ^
Check (macOS-latest, nightly)
torch-sys@0.17.0: C10_DEPRECATED_MESSAGE(
Test Suite (macOS-latest, stable)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test Suite (macOS-latest, stable)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Test Suite (macOS-latest, stable)
`/Users/runner/work/tch-rs/tch-rs/.cargo/config` is deprecated in favor of `config.toml`
Test Suite (macOS-latest, stable)
torch-sys@0.17.0: clang: warning: -Wl,-rpath=/Users/runner/work/tch-rs/tch-rs/target/debug/build/torch-sys-7fab327df9b2656e/out/libtorch/libtorch/lib: 'linker' input unused [-Wunused-command-line-argument]
Test Suite (macOS-latest, stable)
torch-sys@0.17.0: clang: warning: -Wl,-rpath=/Users/runner/work/tch-rs/tch-rs/target/debug/build/torch-sys-7fab327df9b2656e/out/libtorch/libtorch/lib: 'linker' input unused [-Wunused-command-line-argument]
Test Suite (macOS-latest, stable)
torch-sys@0.17.0: return at::autocast::is_enabled();
Test Suite (macOS-latest, stable)
torch-sys@0.17.0: /Users/runner/work/tch-rs/tch-rs/target/debug/build/torch-sys-7fab327df9b2656e/out/libtorch/libtorch/include/ATen/autocast_mode.h:26:1: note: 'is_enabled' has been explicitly marked deprecated here
Test Suite (macOS-latest, stable)
torch-sys@0.17.0: ^
Test Suite (macOS-latest, stable)
torch-sys@0.17.0: #define C10_DEPRECATED_MESSAGE(message) [[deprecated(message)]]
Test Suite (macOS-latest, stable)
torch-sys@0.17.0: libtch/torch_api.cpp:200:37: warning: 'is_enabled' is deprecated: at::autocast::is_enabled() is deprecated. Please use at::autocast::is_autocast_enabled(at::kCUDA) instead. [-Wdeprecated-declarations]
Test Suite (macOS-latest, stable)
torch-sys@0.17.0: ^
Test Suite (macOS-latest, stable)
torch-sys@0.17.0: C10_DEPRECATED_MESSAGE(
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 (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/
Check (ubuntu-latest, stable)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Check (ubuntu-latest, stable)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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)
`/home/runner/work/tch-rs/tch-rs/.cargo/config` is deprecated in favor of `config.toml`
Check (ubuntu-latest, stable)
torch-sys@0.17.0: In file included from libtch/torch_api.cpp:15:
Check (ubuntu-latest, stable)
torch-sys@0.17.0: 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)
torch-sys@0.17.0: | ^~~~~~~~~~
Check (ubuntu-latest, stable)
torch-sys@0.17.0: 19 | x \
Check (ubuntu-latest, stable)
torch-sys@0.17.0: In file included from libtch/torch_api.cpp:9:
Check (ubuntu-latest, stable)
torch-sys@0.17.0: 28 | TORCH_API inline bool is_enabled() {
Check (ubuntu-latest, stable)
torch-sys@0.17.0: In file included from libtch/torch_api.cpp:15:
Check (ubuntu-latest, stable)
torch-sys@0.17.0: 193 | return at::autocast::is_enabled();
Check (ubuntu-latest, stable)
torch-sys@0.17.0: libtch/torch_api.h:19:5: note: in definition of macro ‘PROTECT’
Test Suite (ubuntu-latest, nightly)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test Suite (ubuntu-latest, nightly)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Test Suite (ubuntu-latest, nightly)
`/home/runner/work/tch-rs/tch-rs/.cargo/config` is deprecated in favor of `config.toml`
Test Suite (ubuntu-latest, nightly)
torch-sys@0.17.0: In file included from libtch/torch_api.cpp:15:
Test Suite (ubuntu-latest, nightly)
torch-sys@0.17.0: 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)
torch-sys@0.17.0: | ^~~~~~~~~~
Test Suite (ubuntu-latest, nightly)
torch-sys@0.17.0: 19 | x \
Test Suite (ubuntu-latest, nightly)
torch-sys@0.17.0: In file included from libtch/torch_api.cpp:9:
Test Suite (ubuntu-latest, nightly)
torch-sys@0.17.0: 28 | TORCH_API inline bool is_enabled() {
Test Suite (ubuntu-latest, nightly)
torch-sys@0.17.0: In file included from libtch/torch_api.cpp:15:
Test Suite (ubuntu-latest, nightly)
torch-sys@0.17.0: 193 | return at::autocast::is_enabled();
Test Suite (ubuntu-latest, nightly)
torch-sys@0.17.0: 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 (ubuntu-latest, nightly)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Check (ubuntu-latest, nightly)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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/
Check (ubuntu-latest, nightly)
`/home/runner/work/tch-rs/tch-rs/.cargo/config` is deprecated in favor of `config.toml`
Check (ubuntu-latest, nightly)
torch-sys@0.17.0: In file included from libtch/torch_api.cpp:15:
Check (ubuntu-latest, nightly)
torch-sys@0.17.0: 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)
torch-sys@0.17.0: | ^~~~~~~~~~
Check (ubuntu-latest, nightly)
torch-sys@0.17.0: 19 | x \
Check (ubuntu-latest, nightly)
torch-sys@0.17.0: In file included from libtch/torch_api.cpp:9:
Check (ubuntu-latest, nightly)
torch-sys@0.17.0: 28 | TORCH_API inline bool is_enabled() {
Check (ubuntu-latest, nightly)
torch-sys@0.17.0: In file included from libtch/torch_api.cpp:15:
Check (ubuntu-latest, nightly)
torch-sys@0.17.0: 193 | return at::autocast::is_enabled();
Check (ubuntu-latest, nightly)
torch-sys@0.17.0: libtch/torch_api.h:19:5: note: in definition of macro ‘PROTECT’
Test Suite (ubuntu-latest, stable)
`/home/runner/work/tch-rs/tch-rs/.cargo/config` is deprecated in favor of `config.toml`
Test Suite (ubuntu-latest, stable)
torch-sys@0.17.0: In file included from libtch/torch_api.cpp:15:
Test Suite (ubuntu-latest, stable)
torch-sys@0.17.0: 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)
torch-sys@0.17.0: | ^~~~~~~~~~
Test Suite (ubuntu-latest, stable)
torch-sys@0.17.0: 19 | x \
Test Suite (ubuntu-latest, stable)
torch-sys@0.17.0: In file included from libtch/torch_api.cpp:9:
Test Suite (ubuntu-latest, stable)
torch-sys@0.17.0: 28 | TORCH_API inline bool is_enabled() {
Test Suite (ubuntu-latest, stable)
torch-sys@0.17.0: In file included from libtch/torch_api.cpp:15:
Test Suite (ubuntu-latest, stable)
torch-sys@0.17.0: 193 | return at::autocast::is_enabled();
Test Suite (ubuntu-latest, stable)
torch-sys@0.17.0: libtch/torch_api.h:19:5: note: in definition of macro ‘PROTECT’
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/
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 (macOS-latest, nightly)
`/Users/runner/work/tch-rs/tch-rs/.cargo/config` is deprecated in favor of `config.toml`
Test Suite (macOS-latest, nightly)
torch-sys@0.17.0: clang: warning: -Wl,-rpath=/Users/runner/work/tch-rs/tch-rs/target/debug/build/torch-sys-35df8f99fe14d2fb/out/libtorch/libtorch/lib: 'linker' input unused [-Wunused-command-line-argument]
Test Suite (macOS-latest, nightly)
torch-sys@0.17.0: clang: warning: -Wl,-rpath=/Users/runner/work/tch-rs/tch-rs/target/debug/build/torch-sys-35df8f99fe14d2fb/out/libtorch/libtorch/lib: 'linker' input unused [-Wunused-command-line-argument]
Test Suite (macOS-latest, nightly)
torch-sys@0.17.0: return at::autocast::is_enabled();
Test Suite (macOS-latest, nightly)
torch-sys@0.17.0: /Users/runner/work/tch-rs/tch-rs/target/debug/build/torch-sys-35df8f99fe14d2fb/out/libtorch/libtorch/include/ATen/autocast_mode.h:26:1: note: 'is_enabled' has been explicitly marked deprecated here
Test Suite (macOS-latest, nightly)
torch-sys@0.17.0: ^
Test Suite (macOS-latest, nightly)
torch-sys@0.17.0: #define C10_DEPRECATED_MESSAGE(message) [[deprecated(message)]]
Test Suite (macOS-latest, nightly)
torch-sys@0.17.0: libtch/torch_api.cpp:200:37: warning: 'is_enabled' is deprecated: at::autocast::is_enabled() is deprecated. Please use at::autocast::is_autocast_enabled(at::kCUDA) instead. [-Wdeprecated-declarations]
Test Suite (macOS-latest, nightly)
torch-sys@0.17.0: ^
Test Suite (macOS-latest, nightly)
torch-sys@0.17.0: C10_DEPRECATED_MESSAGE(
Check (windows-2019, nightly)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Check (windows-2019, nightly)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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)
`D:\a\tch-rs\tch-rs\.cargo\config` is deprecated in favor of `config.toml`
Check (windows-2019, nightly)
torch-sys@0.17.0: cl : Command line warning D9002 : ignoring unknown option '/p:DefineConstants=GLOG_USE_GLOG_EXPORT'
Check (windows-2019, nightly)
torch-sys@0.17.0: cl : Command line warning D9002 : ignoring unknown option '/p:DefineConstants=GLOG_USE_GLOG_EXPORT'
Check (windows-2019, stable)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Check (windows-2019, stable)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Check (windows-2019, stable)
`D:\a\tch-rs\tch-rs\.cargo\config` is deprecated in favor of `config.toml`
Check (windows-2019, stable)
torch-sys@0.17.0: cl : Command line warning D9002 : ignoring unknown option '/p:DefineConstants=GLOG_USE_GLOG_EXPORT'
Check (windows-2019, stable)
torch-sys@0.17.0: 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/