Skip to content

Always build C library using "cc" crate #80

Always build C library using "cc" crate

Always build C library using "cc" crate #80

Triggered via push January 7, 2024 05:42
Status Success
Total duration 5m 19s
Artifacts

main.yml

on: push
Check file formatting and style
2m 8s
Check file formatting and style
Matrix: ci
Fit to window
Zoom out
Zoom in

Annotations

93 warnings
Check file formatting and style
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions/cache@v2, 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 file formatting and style: build.rs#L8
unused imports: `Command`, `Stdio`
Check file formatting and style
`pg_query` (build script) generated 1 warning
Check file formatting and style
[email protected]: /home/runner/work/pg_query.rs/pg_query.rs/target/debug/build/pg_query-9014b669fac0580b/out/./src/postgres/include/lib/simplehash.h: In function ‘listsort_cache_entry_hash’:
Check file formatting and style
[email protected]: 382 | SH_ENTRY_HASH(SH_TYPE * tb, SH_ELEMENT_TYPE * entry)
Check file formatting and style
[email protected]: /home/runner/work/pg_query.rs/pg_query.rs/target/debug/build/pg_query-9014b669fac0580b/out/./src/postgres/include/lib/simplehash.h:411:19: warning: unused parameter ‘type’ [-Wunused-parameter]
Check file formatting and style
[email protected]: In file included from /home/runner/work/pg_query.rs/pg_query.rs/target/debug/build/pg_query-9014b669fac0580b/out/src/pg_query_fingerprint.c:261:
Check file formatting and style
[email protected]: /home/runner/work/pg_query.rs/pg_query.rs/target/debug/build/pg_query-9014b669fac0580b/out/./src/include/pg_query_fingerprint_defs.c:246:39: warning: unused parameter ‘ctx’ [-Wunused-parameter]
Check file formatting and style
[email protected]: | ~~~~~~~~~~~~~~~~~~~~^~~
Check file formatting and style
[email protected]: 246 | _fingerprintAlias(FingerprintContext *ctx, const Alias *node, const void *parent, const char *field_name, unsigned int depth)
Check file formatting and style
[email protected]: /home/runner/work/pg_query.rs/pg_query.rs/target/debug/build/pg_query-9014b669fac0580b/out/./src/include/pg_query_fingerprint_defs.c:246:75: warning: unused parameter ‘parent’ [-Wunused-parameter]
Check file formatting and style
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 file formatting and style
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 file formatting and style
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 file formatting and style
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/
ci (stable, ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@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/
ci (stable, ubuntu-latest): build.rs#L8
unused imports: `Command`, `Stdio`
ci (stable, ubuntu-latest)
`pg_query` (build script) generated 1 warning
ci (stable, ubuntu-latest)
[email protected]: In file included from /home/runner/work/pg_query.rs/pg_query.rs/target/debug/build/pg_query-35d45cfbec83d975/out/src/pg_query_fingerprint.c:63:
ci (stable, ubuntu-latest)
[email protected]: /home/runner/work/pg_query.rs/pg_query.rs/target/debug/build/pg_query-35d45cfbec83d975/out/./src/postgres/include/lib/simplehash.h:382:25: warning: unused parameter ‘tb’ [-Wunused-parameter]
ci (stable, ubuntu-latest)
[email protected]: /home/runner/work/pg_query.rs/pg_query.rs/target/debug/build/pg_query-35d45cfbec83d975/out/./src/postgres/include/lib/simplehash.h: In function ‘listsort_cache_free’:
ci (stable, ubuntu-latest)
[email protected]: 411 | SH_FREE(SH_TYPE * type, void *pointer)
ci (stable, ubuntu-latest)
[email protected]: /home/runner/work/pg_query.rs/pg_query.rs/target/debug/build/pg_query-35d45cfbec83d975/out/./src/include/pg_query_fingerprint_defs.c: In function ‘_fingerprintAlias’:
ci (stable, ubuntu-latest)
[email protected]: 246 | _fingerprintAlias(FingerprintContext *ctx, const Alias *node, const void *parent, const char *field_name, unsigned int depth)
ci (stable, ubuntu-latest)
[email protected]: /home/runner/work/pg_query.rs/pg_query.rs/target/debug/build/pg_query-35d45cfbec83d975/out/./src/include/pg_query_fingerprint_defs.c:246:57: warning: unused parameter ‘node’ [-Wunused-parameter]
ci (stable, ubuntu-latest)
[email protected]: | ~~~~~~~~~~~~~^~~~
ci (stable, ubuntu-latest)
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/
ci (stable, ubuntu-latest)
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/
ci (stable, ubuntu-latest)
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/
ci (stable, ubuntu-latest)
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/
ci (stable, ubuntu-latest): build.rs#L8
unused imports: `Command`, `Stdio`
ci (stable, ubuntu-latest)
`pg_query` (build script) generated 1 warning
ci (stable, ubuntu-latest)
[email protected]: /home/runner/work/pg_query.rs/pg_query.rs/target/debug/build/pg_query-35d45cfbec83d975/out/./src/postgres/include/lib/simplehash.h: In function ‘listsort_cache_entry_hash’:
ci (stable, ubuntu-latest)
[email protected]: 382 | SH_ENTRY_HASH(SH_TYPE * tb, SH_ELEMENT_TYPE * entry)
ci (stable, ubuntu-latest)
[email protected]: /home/runner/work/pg_query.rs/pg_query.rs/target/debug/build/pg_query-35d45cfbec83d975/out/./src/postgres/include/lib/simplehash.h:411:19: warning: unused parameter ‘type’ [-Wunused-parameter]
ci (stable, ubuntu-latest)
[email protected]: In file included from /home/runner/work/pg_query.rs/pg_query.rs/target/debug/build/pg_query-35d45cfbec83d975/out/src/pg_query_fingerprint.c:261:
ci (stable, ubuntu-latest)
[email protected]: /home/runner/work/pg_query.rs/pg_query.rs/target/debug/build/pg_query-35d45cfbec83d975/out/./src/include/pg_query_fingerprint_defs.c:246:39: warning: unused parameter ‘ctx’ [-Wunused-parameter]
ci (stable, ubuntu-latest)
[email protected]: | ~~~~~~~~~~~~~~~~~~~~^~~
ci (stable, ubuntu-latest)
[email protected]: 246 | _fingerprintAlias(FingerprintContext *ctx, const Alias *node, const void *parent, const char *field_name, unsigned int depth)
ci (stable, ubuntu-latest)
[email protected]: /home/runner/work/pg_query.rs/pg_query.rs/target/debug/build/pg_query-35d45cfbec83d975/out/./src/include/pg_query_fingerprint_defs.c:246:75: warning: unused parameter ‘parent’ [-Wunused-parameter]
ci (nightly, ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@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/
ci (nightly, ubuntu-latest): build.rs#L8
unused imports: `Command`, `Stdio`
ci (nightly, ubuntu-latest)
`pg_query` (build script) generated 1 warning
ci (nightly, ubuntu-latest)
[email protected]: In file included from /home/runner/work/pg_query.rs/pg_query.rs/target/debug/build/pg_query-d432e3946821228c/out/src/pg_query_fingerprint.c:63:
ci (nightly, ubuntu-latest)
[email protected]: /home/runner/work/pg_query.rs/pg_query.rs/target/debug/build/pg_query-d432e3946821228c/out/./src/postgres/include/lib/simplehash.h:382:25: warning: unused parameter ‘tb’ [-Wunused-parameter]
ci (nightly, ubuntu-latest)
[email protected]: /home/runner/work/pg_query.rs/pg_query.rs/target/debug/build/pg_query-d432e3946821228c/out/./src/postgres/include/lib/simplehash.h: In function ‘listsort_cache_free’:
ci (nightly, ubuntu-latest)
[email protected]: 411 | SH_FREE(SH_TYPE * type, void *pointer)
ci (nightly, ubuntu-latest)
[email protected]: /home/runner/work/pg_query.rs/pg_query.rs/target/debug/build/pg_query-d432e3946821228c/out/./src/include/pg_query_fingerprint_defs.c: In function ‘_fingerprintAlias’:
ci (nightly, ubuntu-latest)
[email protected]: 246 | _fingerprintAlias(FingerprintContext *ctx, const Alias *node, const void *parent, const char *field_name, unsigned int depth)
ci (nightly, ubuntu-latest)
[email protected]: /home/runner/work/pg_query.rs/pg_query.rs/target/debug/build/pg_query-d432e3946821228c/out/./src/include/pg_query_fingerprint_defs.c:246:57: warning: unused parameter ‘node’ [-Wunused-parameter]
ci (nightly, ubuntu-latest)
[email protected]: | ~~~~~~~~~~~~~^~~~
ci (nightly, ubuntu-latest): build.rs#L8
unused imports: `Command`, `Stdio`
ci (nightly, ubuntu-latest)
`pg_query` (build script) generated 1 warning
ci (nightly, ubuntu-latest)
[email protected]: /home/runner/work/pg_query.rs/pg_query.rs/target/debug/build/pg_query-d432e3946821228c/out/./src/postgres/include/lib/simplehash.h: In function ‘listsort_cache_entry_hash’:
ci (nightly, ubuntu-latest)
[email protected]: 382 | SH_ENTRY_HASH(SH_TYPE * tb, SH_ELEMENT_TYPE * entry)
ci (nightly, ubuntu-latest)
[email protected]: /home/runner/work/pg_query.rs/pg_query.rs/target/debug/build/pg_query-d432e3946821228c/out/./src/postgres/include/lib/simplehash.h:411:19: warning: unused parameter ‘type’ [-Wunused-parameter]
ci (nightly, ubuntu-latest)
[email protected]: In file included from /home/runner/work/pg_query.rs/pg_query.rs/target/debug/build/pg_query-d432e3946821228c/out/src/pg_query_fingerprint.c:261:
ci (nightly, ubuntu-latest)
[email protected]: /home/runner/work/pg_query.rs/pg_query.rs/target/debug/build/pg_query-d432e3946821228c/out/./src/include/pg_query_fingerprint_defs.c:246:39: warning: unused parameter ‘ctx’ [-Wunused-parameter]
ci (nightly, ubuntu-latest)
[email protected]: | ~~~~~~~~~~~~~~~~~~~~^~~
ci (nightly, ubuntu-latest)
[email protected]: 246 | _fingerprintAlias(FingerprintContext *ctx, const Alias *node, const void *parent, const char *field_name, unsigned int depth)
ci (nightly, ubuntu-latest)
[email protected]: /home/runner/work/pg_query.rs/pg_query.rs/target/debug/build/pg_query-d432e3946821228c/out/./src/include/pg_query_fingerprint_defs.c:246:75: warning: unused parameter ‘parent’ [-Wunused-parameter]
ci (nightly, ubuntu-latest)
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/
ci (nightly, ubuntu-latest)
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/
ci (nightly, ubuntu-latest)
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/
ci (nightly, ubuntu-latest)
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/
ci (nightly, windows-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@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/
ci (nightly, windows-latest): build.rs#L8
unused imports: `Command`, `Stdio`
ci (nightly, windows-latest)
`pg_query` (build script) generated 1 warning
ci (nightly, windows-latest)
`pg_query` (lib) generated 1 warning (run `cargo fix --lib -p pg_query` to apply 1 suggestion)
ci (nightly, windows-latest): build.rs#L8
unused imports: `Command`, `Stdio`
ci (nightly, windows-latest)
`pg_query` (build script) generated 1 warning
ci (nightly, windows-latest): src/lib.rs#L52
unused import: `node_structs::*`
ci (nightly, windows-latest)
`pg_query` (lib) generated 1 warning (run `cargo fix --lib -p pg_query` to apply 1 suggestion)
ci (nightly, windows-latest): tests/parse_plpgsql_tests.rs#L3
unused import: `support::*`
ci (nightly, windows-latest)
`pg_query` (test "parse_plpgsql_tests") generated 1 warning (run `cargo fix --test "parse_plpgsql_tests"` to apply 1 suggestion)
ci (nightly, windows-latest)
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/
ci (nightly, windows-latest)
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/
ci (nightly, windows-latest)
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/
ci (nightly, windows-latest)
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/
ci (stable, windows-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@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/
ci (stable, windows-latest): build.rs#L8
unused imports: `Command`, `Stdio`
ci (stable, windows-latest)
`pg_query` (build script) generated 1 warning
ci (stable, windows-latest): src/lib.rs#L52
unused import: `node_structs::*`
ci (stable, windows-latest)
`pg_query` (lib) generated 1 warning (run `cargo fix --lib -p pg_query` to apply 1 suggestion)
ci (stable, windows-latest): tests/parse_plpgsql_tests.rs#L3
unused import: `support::*`
ci (stable, windows-latest)
`pg_query` (test "parse_plpgsql_tests") generated 1 warning (run `cargo fix --test "parse_plpgsql_tests"` to apply 1 suggestion)
ci (stable, windows-latest): build.rs#L8
unused imports: `Command`, `Stdio`
ci (stable, windows-latest)
`pg_query` (build script) generated 1 warning
ci (stable, windows-latest)
`pg_query` (lib) generated 1 warning (run `cargo fix --lib -p pg_query` to apply 1 suggestion)
ci (stable, windows-latest)
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/
ci (stable, windows-latest)
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/
ci (stable, windows-latest)
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/
ci (stable, windows-latest)
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/