Skip to content

Fix clippy lints since Rust 1.83 #61

Fix clippy lints since Rust 1.83

Fix clippy lints since Rust 1.83 #61

Triggered via pull request December 12, 2024 10:49
Status Failure
Total duration 3m 33s
Artifacts

ci.yaml

on: pull_request
Matrix: Build
Matrix: Lint
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 86 warnings
Test (macos-latest, stable): tests/compile-fail/socket-thread-unsafe.rs#L13
`*mut c_void` cannot be shared between threads safely
Test (macos-latest, stable): tests/compile-fail/socket-thread-unsafe.rs#L13
`*mut c_void` cannot be shared between threads safely
Test (macos-latest, stable)
The process '/Users/runner/.cargo/bin/cargo' failed with exit code 101
Test (windows-latest, stable)
The job was canceled because "macos-latest_stable" failed.
Test (windows-latest, stable)
The operation was canceled.
Test (ubuntu-latest, stable)
The job was canceled because "macos-latest_stable" failed.
Test (ubuntu-latest, stable)
The operation was canceled.
Lint (ubuntu-latest, stable)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint (ubuntu-latest, stable)
[email protected]: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/zeromq-src-0.2.6+4.3.4/vendor/src/ip.cpp: In function 'void zmq::set_socket_priority(zmq::fd_t, int)':
Lint (ubuntu-latest, stable)
[email protected]: 233 | void zmq::set_socket_priority (fd_t s_, int priority_)
Lint (ubuntu-latest, stable)
[email protected]: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/zeromq-src-0.2.6+4.3.4/vendor/src/ip.cpp:233:45: warning: unused parameter 'priority_' [-Wunused-parameter]
Lint (ubuntu-latest, stable)
[email protected]: | ~~~~^~~~~~~~~
Lint (ubuntu-latest, stable)
[email protected]: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/zeromq-src-0.2.6+4.3.4/vendor/src/session_base.cpp:453:46: warning: unused parameter 'handshaked_' [-Wunused-parameter]
Lint (ubuntu-latest, stable)
[email protected]: | ~~~~~^~~~~~~~~~~
Lint (ubuntu-latest, stable)
[email protected]: 481 | if (_active) {
Lint (ubuntu-latest, stable)
[email protected]: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/zeromq-src-0.2.6+4.3.4/vendor/src/session_base.cpp:486:9: note: here
Lint (ubuntu-latest, stable)
[email protected]: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/zeromq-src-0.2.6+4.3.4/vendor/src/zmtp_engine.cpp:345:53: warning: unused parameter 'downgrade_sub_' [-Wunused-parameter]
Lint (macos-latest, stable)
[email protected]: /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/zeromq-src-0.2.6+4.3.4/vendor/src/ip.cpp:233:37: warning: unused parameter 's_' [-Wunused-parameter]
Lint (macos-latest, stable)
[email protected]: void zmq::set_socket_priority (fd_t s_, int priority_)
Lint (macos-latest, stable)
[email protected]: 2 warnings generated.
Lint (macos-latest, stable)
[email protected]: void zmq::session_base_t::engine_error (bool handshaked_,
Lint (macos-latest, stable)
[email protected]: 1 warning generated.
Lint (macos-latest, stable)
[email protected]: pos += sprintf (pos, "%d", ntohs (port_));
Lint (macos-latest, stable)
[email protected]: /Applications/Xcode_15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
Lint (macos-latest, stable)
[email protected]: #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
Build (ubuntu-latest, stable)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build (ubuntu-latest, stable)
[email protected]: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/zeromq-src-0.2.6+4.3.4/vendor/src/ip.cpp: In function 'void zmq::set_socket_priority(zmq::fd_t, int)':
Build (ubuntu-latest, stable)
[email protected]: 233 | void zmq::set_socket_priority (fd_t s_, int priority_)
Build (ubuntu-latest, stable)
[email protected]: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/zeromq-src-0.2.6+4.3.4/vendor/src/ip.cpp:233:45: warning: unused parameter 'priority_' [-Wunused-parameter]
Build (ubuntu-latest, stable)
[email protected]: | ~~~~^~~~~~~~~
Build (ubuntu-latest, stable)
[email protected]: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/zeromq-src-0.2.6+4.3.4/vendor/src/session_base.cpp:453:46: warning: unused parameter 'handshaked_' [-Wunused-parameter]
Build (ubuntu-latest, stable)
[email protected]: | ~~~~~^~~~~~~~~~~
Build (ubuntu-latest, stable)
[email protected]: 481 | if (_active) {
Build (ubuntu-latest, stable)
[email protected]: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/zeromq-src-0.2.6+4.3.4/vendor/src/session_base.cpp:486:9: note: here
Build (ubuntu-latest, stable)
[email protected]: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/zeromq-src-0.2.6+4.3.4/vendor/src/zmtp_engine.cpp:345:53: warning: unused parameter 'downgrade_sub_' [-Wunused-parameter]
Build (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/
Build (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/
Build (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/
Build (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/
Build (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/
Build (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/
Build (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/
Build (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/
Build (macos-latest, stable)
[email protected]: /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/zeromq-src-0.2.6+4.3.4/vendor/src/ip.cpp:233:37: warning: unused parameter 's_' [-Wunused-parameter]
Build (macos-latest, stable)
[email protected]: void zmq::set_socket_priority (fd_t s_, int priority_)
Build (macos-latest, stable)
[email protected]: 2 warnings generated.
Build (macos-latest, stable)
[email protected]: void zmq::session_base_t::engine_error (bool handshaked_,
Build (macos-latest, stable)
[email protected]: 1 warning generated.
Build (macos-latest, stable)
[email protected]: pos += sprintf (pos, "%d", ntohs (port_));
Build (macos-latest, stable)
[email protected]: /Applications/Xcode_15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
Build (macos-latest, stable)
[email protected]: #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
Test (macos-latest, stable)
[email protected]: /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/zeromq-src-0.2.6+4.3.4/vendor/src/ip.cpp:233:37: warning: unused parameter 's_' [-Wunused-parameter]
Test (macos-latest, stable)
[email protected]: void zmq::set_socket_priority (fd_t s_, int priority_)
Test (macos-latest, stable)
[email protected]: 2 warnings generated.
Test (macos-latest, stable)
[email protected]: void zmq::session_base_t::engine_error (bool handshaked_,
Test (macos-latest, stable)
[email protected]: 1 warning generated.
Test (macos-latest, stable)
[email protected]: pos += sprintf (pos, "%d", ntohs (port_));
Test (macos-latest, stable)
[email protected]: /Applications/Xcode_15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
Test (macos-latest, stable)
[email protected]: #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
Test (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 (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 (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 (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 (windows-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 (windows-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 (windows-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 (windows-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 (ubuntu-latest, stable)
[email protected]: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/zeromq-src-0.2.6+4.3.4/vendor/src/ip.cpp: In function 'void zmq::set_socket_priority(zmq::fd_t, int)':
Test (ubuntu-latest, stable)
[email protected]: 233 | void zmq::set_socket_priority (fd_t s_, int priority_)
Test (ubuntu-latest, stable)
[email protected]: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/zeromq-src-0.2.6+4.3.4/vendor/src/ip.cpp:233:45: warning: unused parameter 'priority_' [-Wunused-parameter]
Test (ubuntu-latest, stable)
[email protected]: | ~~~~^~~~~~~~~
Test (ubuntu-latest, stable)
[email protected]: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/zeromq-src-0.2.6+4.3.4/vendor/src/session_base.cpp:453:46: warning: unused parameter 'handshaked_' [-Wunused-parameter]
Test (ubuntu-latest, stable)
[email protected]: | ~~~~~^~~~~~~~~~~
Test (ubuntu-latest, stable)
[email protected]: 481 | if (_active) {
Test (ubuntu-latest, stable)
[email protected]: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/zeromq-src-0.2.6+4.3.4/vendor/src/session_base.cpp:486:9: note: here
Test (ubuntu-latest, stable)
[email protected]: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/zeromq-src-0.2.6+4.3.4/vendor/src/zmtp_engine.cpp:345:53: warning: unused parameter 'downgrade_sub_' [-Wunused-parameter]
Test (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 (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 (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 (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/
Build (windows-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/
Build (windows-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/
Build (windows-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/
Build (windows-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/