Skip to content

[fail] In progress commit will compile as lib #182

[fail] In progress commit will compile as lib

[fail] In progress commit will compile as lib #182

Triggered via push January 11, 2024 19:29
Status Failure
Total duration 6m 52s
Artifacts

backend.yml

on: push
Matrix: checks
Fit to window
Zoom out
Zoom in

Annotations

48 errors and 93 warnings
Linux (x86_64-unknown-linux-gnu): src/lib.rs#L22
unused import: `core::sync::atomic::AtomicBool`
Linux (x86_64-unknown-linux-gnu): src/lib.rs#L24
unused import: `std::ffi::CString`
Linux (x86_64-unknown-linux-gnu): src/lib.rs#L25
unused import: `std::ops::Drop`
Linux (x86_64-unknown-linux-gnu): src/lib.rs#L71
attribute should be applied to an `extern` block with non-Rust ABI
Linux (x86_64-unknown-linux-gnu): src/error.rs#L185
field `code` is never read
Linux (x86_64-unknown-linux-gnu): src/io.rs#L357
unsafe function's docs miss `# Safety` section
Linux (x86_64-unknown-linux-gnu): src/io.rs#L368
unsafe function's docs miss `# Safety` section
Linux (x86_64-unknown-linux-gnu): src/io.rs#L380
unsafe function's docs miss `# Safety` section
Linux (x86_64-unknown-linux-gnu): src/io.rs#L387
unsafe function's docs miss `# Safety` section
Linux (x86_64-unknown-linux-gnu): src/io.rs#L394
unsafe function's docs miss `# Safety` section
Linux (x86_64-unknown-linux-gnu)
The process '/home/runner/.cargo/bin/cargo' failed with exit code 1
Linux (x86_64-unknown-linux-gnu): examples/extract_thumbnail.rs#L8
failed to resolve: could not find `defaults` in `libraw_r`
Linux (x86_64-unknown-linux-gnu)
could not compile `libraw_r` (example "extract_thumbnail") due to previous error; 1 warning emitted
Linux (x86_64-unknown-linux-gnu)
linking with `cc` failed: exit status: 1
Linux (x86_64-unknown-linux-gnu)
could not compile `libraw_r` (example "dcraw_half") due to previous error; 2 warnings emitted
Linux (x86_64-unknown-linux-gnu)
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
macOS (x86_64-apple-darwin): src/lib.rs#L22
unused import: `core::sync::atomic::AtomicBool`
macOS (x86_64-apple-darwin): src/lib.rs#L24
unused import: `std::ffi::CString`
macOS (x86_64-apple-darwin): src/lib.rs#L25
unused import: `std::ops::Drop`
macOS (x86_64-apple-darwin): src/lib.rs#L71
attribute should be applied to an `extern` block with non-Rust ABI
macOS (x86_64-apple-darwin): src/error.rs#L185
field `code` is never read
macOS (x86_64-apple-darwin): src/io.rs#L357
unsafe function's docs miss `# Safety` section
macOS (x86_64-apple-darwin): src/io.rs#L368
unsafe function's docs miss `# Safety` section
macOS (x86_64-apple-darwin): src/io.rs#L380
unsafe function's docs miss `# Safety` section
macOS (x86_64-apple-darwin): src/io.rs#L387
unsafe function's docs miss `# Safety` section
macOS (x86_64-apple-darwin): src/io.rs#L394
unsafe function's docs miss `# Safety` section
macOS (x86_64-apple-darwin)
The process '/Users/runner/.cargo/bin/cargo' failed with exit code 1
macOS (x86_64-apple-darwin): examples/extract_thumbnail.rs#L8
failed to resolve: could not find `defaults` in `libraw_r`
macOS (x86_64-apple-darwin)
could not compile `libraw_r` (example "extract_thumbnail") due to previous error; 1 warning emitted
macOS (x86_64-apple-darwin)
linking with `cc` failed: exit status: 1
macOS (x86_64-apple-darwin)
could not compile `libraw_r` (example "dcraw_half") due to previous error; 2 warnings emitted
macOS (x86_64-apple-darwin)
The process '/Users/runner/.cargo/bin/cargo' failed with exit code 101
Windows MSVC (x86_64-pc-windows-msvc): examples/extract_thumbnail.rs#L8
failed to resolve: could not find `defaults` in `libraw_r`
Windows MSVC (x86_64-pc-windows-msvc)
linking with `link.exe` failed: exit code: 1120
Windows MSVC (x86_64-pc-windows-msvc)
could not compile `libraw_r` (example "extract_thumbnail") due to previous error; 1 warning emitted
Windows MSVC (x86_64-pc-windows-msvc)
could not compile `libraw_r` (example "dcraw_half") due to previous error; 2 warnings emitted
Windows MSVC (x86_64-pc-windows-msvc)
The process 'C:\Users\runneradmin\.cargo\bin\cargo.exe' failed with exit code 101
Windows MSVC (x86_64-pc-windows-msvc): src/lib.rs#L16
unused import: `alloc::sync::Arc`
Windows MSVC (x86_64-pc-windows-msvc): src/lib.rs#L22
unused import: `core::sync::atomic::AtomicBool`
Windows MSVC (x86_64-pc-windows-msvc): src/lib.rs#L24
unused import: `std::ffi::CString`
Windows MSVC (x86_64-pc-windows-msvc): src/lib.rs#L25
unused import: `std::ops::Drop`
Windows MSVC (x86_64-pc-windows-msvc): src/lib.rs#L71
attribute should be applied to an `extern` block with non-Rust ABI
Windows MSVC (x86_64-pc-windows-msvc): src/error.rs#L185
field `code` is never read
Windows MSVC (x86_64-pc-windows-msvc): src/io.rs#L357
unsafe function's docs miss `# Safety` section
Windows MSVC (x86_64-pc-windows-msvc): src/io.rs#L368
unsafe function's docs miss `# Safety` section
Windows MSVC (x86_64-pc-windows-msvc): src/io.rs#L380
unsafe function's docs miss `# Safety` section
Windows MSVC (x86_64-pc-windows-msvc): src/io.rs#L387
unsafe function's docs miss `# Safety` section
Windows MSVC (x86_64-pc-windows-msvc)
The process 'C:\Users\runneradmin\.cargo\bin\cargo.exe' failed with exit code 1
Linux (x86_64-unknown-linux-gnu)
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/
Linux (x86_64-unknown-linux-gnu)
libraw_r@1.0.0-rc.1: io/io.cpp: In member function ‘virtual int LibrawIO::scanf_one(const char*, void*)’:
Linux (x86_64-unknown-linux-gnu)
libraw_r@1.0.0-rc.1: 17 | virtual int scanf_one(const char *fmt, void *val) {
Linux (x86_64-unknown-linux-gnu)
libraw_r@1.0.0-rc.1: io/io.cpp:17:48: warning: unused parameter ‘val’ [-Wunused-parameter]
Linux (x86_64-unknown-linux-gnu)
libraw_r@1.0.0-rc.1: | ~~~~~~^~~
Linux (x86_64-unknown-linux-gnu): src/lib.rs#L22
unused import: `core::sync::atomic::AtomicBool`
Linux (x86_64-unknown-linux-gnu): src/lib.rs#L24
unused import: `std::ffi::CString`
Linux (x86_64-unknown-linux-gnu): src/lib.rs#L25
unused import: `std::ops::Drop`
Linux (x86_64-unknown-linux-gnu): src/lib.rs#L71
attribute should be applied to an `extern` block with non-Rust ABI
Linux (x86_64-unknown-linux-gnu): src/error.rs#L185
field `code` is never read
Linux (x86_64-unknown-linux-gnu): src/lib.rs#L74
`extern` block uses type `Box<dyn LibrawBufferedDatastream>`, which is not FFI-safe
Linux (x86_64-unknown-linux-gnu)
libraw_r@1.0.0-rc.1: io/io.cpp: In member function ‘virtual int LibrawIO::scanf_one(const char*, void*)’:
Linux (x86_64-unknown-linux-gnu)
libraw_r@1.0.0-rc.1: 17 | virtual int scanf_one(const char *fmt, void *val) {
Linux (x86_64-unknown-linux-gnu)
libraw_r@1.0.0-rc.1: io/io.cpp:17:48: warning: unused parameter ‘val’ [-Wunused-parameter]
Linux (x86_64-unknown-linux-gnu)
libraw_r@1.0.0-rc.1: | ~~~~~~^~~
Linux (x86_64-unknown-linux-gnu)
libraw_r@1.0.0-rc.1: io/io.cpp: In member function ‘virtual int LibrawIO::scanf_one(const char*, void*)’:
Linux (x86_64-unknown-linux-gnu)
libraw_r@1.0.0-rc.1: 17 | virtual int scanf_one(const char *fmt, void *val) {
Linux (x86_64-unknown-linux-gnu)
libraw_r@1.0.0-rc.1: io/io.cpp:17:48: warning: unused parameter ‘val’ [-Wunused-parameter]
Linux (x86_64-unknown-linux-gnu)
libraw_r@1.0.0-rc.1: | ~~~~~~^~~
Linux (x86_64-unknown-linux-gnu)
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/
Linux (x86_64-unknown-linux-gnu)
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/
Linux (x86_64-unknown-linux-gnu)
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/
Linux (x86_64-unknown-linux-gnu)
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/
Linux (x86_64-unknown-linux-gnu)
libraw_r@1.0.0-rc.1: io/io.cpp: In member function ‘virtual int LibrawIO::scanf_one(const char*, void*)’:
Linux (x86_64-unknown-linux-gnu)
libraw_r@1.0.0-rc.1: 17 | virtual int scanf_one(const char *fmt, void *val) {
Linux (x86_64-unknown-linux-gnu)
libraw_r@1.0.0-rc.1: io/io.cpp:17:48: warning: unused parameter ‘val’ [-Wunused-parameter]
Linux (x86_64-unknown-linux-gnu)
libraw_r@1.0.0-rc.1: | ~~~~~~^~~
Linux (x86_64-unknown-linux-gnu): src/lib.rs#L16
unused import: `alloc::sync::Arc`
Linux (x86_64-unknown-linux-gnu): src/lib.rs#L22
unused import: `core::sync::atomic::AtomicBool`
Linux (x86_64-unknown-linux-gnu): src/lib.rs#L24
unused import: `std::ffi::CString`
Linux (x86_64-unknown-linux-gnu): src/lib.rs#L25
unused import: `std::ops::Drop`
Linux (x86_64-unknown-linux-gnu): src/lib.rs#L71
attribute should be applied to an `extern` block with non-Rust ABI
Linux (x86_64-unknown-linux-gnu): src/error.rs#L185
field `code` is never read
macOS (x86_64-apple-darwin)
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/
macOS (x86_64-apple-darwin)
libraw-sys@1.0.0-rc.1: /Users/runner/work/libraw-rs/libraw-rs/libraw-sys/vendor/src/metadata/canon.cpp:831:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
macOS (x86_64-apple-darwin)
libraw-sys@1.0.0-rc.1: ^
macOS (x86_64-apple-darwin)
libraw-sys@1.0.0-rc.1: __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
macOS (x86_64-apple-darwin)
libraw-sys@1.0.0-rc.1: /Applications/Xcode_14.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
macOS (x86_64-apple-darwin)
libraw-sys@1.0.0-rc.1: ^
macOS (x86_64-apple-darwin)
libraw-sys@1.0.0-rc.1: /Users/runner/work/libraw-rs/libraw-rs/libraw-sys/vendor/src/metadata/ciff.cpp:261:9: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
macOS (x86_64-apple-darwin)
libraw-sys@1.0.0-rc.1: ^
macOS (x86_64-apple-darwin)
libraw-sys@1.0.0-rc.1: __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
macOS (x86_64-apple-darwin)
libraw-sys@1.0.0-rc.1: /Applications/Xcode_14.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
macOS (x86_64-apple-darwin)
libraw-sys@1.0.0-rc.1: ^
macOS (x86_64-apple-darwin)
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/
macOS (x86_64-apple-darwin)
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/
macOS (x86_64-apple-darwin)
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/
macOS (x86_64-apple-darwin)
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/
macOS (x86_64-apple-darwin)
libraw-sys@1.0.0-rc.1: /Users/runner/work/libraw-rs/libraw-rs/libraw-sys/vendor/src/metadata/ciff.cpp:261:9: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
macOS (x86_64-apple-darwin)
libraw-sys@1.0.0-rc.1: ^
macOS (x86_64-apple-darwin)
libraw-sys@1.0.0-rc.1: __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
macOS (x86_64-apple-darwin)
libraw-sys@1.0.0-rc.1: /Applications/Xcode_14.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
macOS (x86_64-apple-darwin)
libraw-sys@1.0.0-rc.1: ^
macOS (x86_64-apple-darwin)
libraw-sys@1.0.0-rc.1: sprintf(imgdata.shootinginfo.BodySerial, "%0x-%05d", len >> 16,
macOS (x86_64-apple-darwin)
libraw-sys@1.0.0-rc.1: /Applications/Xcode_14.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
macOS (x86_64-apple-darwin)
libraw-sys@1.0.0-rc.1: ^
macOS (x86_64-apple-darwin)
libraw-sys@1.0.0-rc.1: #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
macOS (x86_64-apple-darwin)
libraw-sys@1.0.0-rc.1: /Users/runner/work/libraw-rs/libraw-rs/libraw-sys/vendor/src/metadata/canon.cpp:831:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
macOS (x86_64-apple-darwin)
libraw-sys@1.0.0-rc.1: /Users/runner/work/libraw-rs/libraw-rs/libraw-sys/vendor/src/metadata/ciff.cpp:261:9: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
macOS (x86_64-apple-darwin)
libraw-sys@1.0.0-rc.1: ^
macOS (x86_64-apple-darwin)
libraw-sys@1.0.0-rc.1: __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
macOS (x86_64-apple-darwin)
libraw-sys@1.0.0-rc.1: /Applications/Xcode_14.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
macOS (x86_64-apple-darwin)
libraw-sys@1.0.0-rc.1: ^
macOS (x86_64-apple-darwin)
libraw-sys@1.0.0-rc.1: sprintf(imgdata.shootinginfo.BodySerial, "%0x-%05d", len >> 16,
macOS (x86_64-apple-darwin)
libraw-sys@1.0.0-rc.1: /Applications/Xcode_14.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
macOS (x86_64-apple-darwin)
libraw-sys@1.0.0-rc.1: ^
macOS (x86_64-apple-darwin)
libraw-sys@1.0.0-rc.1: #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
Windows MSVC (x86_64-pc-windows-msvc)
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/
Windows MSVC (x86_64-pc-windows-msvc)
libraw_r@1.0.0-rc.1: cl : Command line warning D9002 : ignoring unknown option '-static'
Windows MSVC (x86_64-pc-windows-msvc): src/lib.rs#L16
unused import: `alloc::sync::Arc`
Windows MSVC (x86_64-pc-windows-msvc): src/lib.rs#L22
unused import: `core::sync::atomic::AtomicBool`
Windows MSVC (x86_64-pc-windows-msvc): src/lib.rs#L24
unused import: `std::ffi::CString`
Windows MSVC (x86_64-pc-windows-msvc): src/lib.rs#L25
unused import: `std::ops::Drop`
Windows MSVC (x86_64-pc-windows-msvc): src/lib.rs#L71
attribute should be applied to an `extern` block with non-Rust ABI
Windows MSVC (x86_64-pc-windows-msvc): src/error.rs#L185
field `code` is never read
Windows MSVC (x86_64-pc-windows-msvc): src/lib.rs#L74
`extern` block uses type `Box<dyn LibrawBufferedDatastream>`, which is not FFI-safe
Windows MSVC (x86_64-pc-windows-msvc)
`libraw_r` (lib) generated 7 warnings (run `cargo fix --lib -p libraw_r` to apply 4 suggestions)
Windows MSVC (x86_64-pc-windows-msvc)
libraw_r@1.0.0-rc.1: cl : Command line warning D9002 : ignoring unknown option '-static'
Windows MSVC (x86_64-pc-windows-msvc): src/lib.rs#L16
unused import: `alloc::sync::Arc`
Windows MSVC (x86_64-pc-windows-msvc): src/lib.rs#L22
unused import: `core::sync::atomic::AtomicBool`
Windows MSVC (x86_64-pc-windows-msvc): src/lib.rs#L24
unused import: `std::ffi::CString`
Windows MSVC (x86_64-pc-windows-msvc): src/lib.rs#L25
unused import: `std::ops::Drop`
Windows MSVC (x86_64-pc-windows-msvc): src/lib.rs#L71
attribute should be applied to an `extern` block with non-Rust ABI
Windows MSVC (x86_64-pc-windows-msvc): src/error.rs#L185
field `code` is never read
Windows MSVC (x86_64-pc-windows-msvc): src/lib.rs#L74
`extern` block uses type `Box<dyn LibrawBufferedDatastream>`, which is not FFI-safe
Windows MSVC (x86_64-pc-windows-msvc)
`libraw_r` (lib) generated 7 warnings (run `cargo fix --lib -p libraw_r` to apply 4 suggestions)
Windows MSVC (x86_64-pc-windows-msvc): examples/dcraw_half.rs#L2
unused import: `std::path::Path`
Windows MSVC (x86_64-pc-windows-msvc)
libraw_r@1.0.0-rc.1: cl : Command line warning D9002 : ignoring unknown option '-static'
Windows MSVC (x86_64-pc-windows-msvc)
libraw_r@1.0.0-rc.1: cl : Command line warning D9002 : ignoring unknown option '-static'
Windows MSVC (x86_64-pc-windows-msvc)
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/
Windows MSVC (x86_64-pc-windows-msvc)
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/
Windows MSVC (x86_64-pc-windows-msvc)
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/
Windows MSVC (x86_64-pc-windows-msvc)
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/