[INFO] fetching crate pg-pool-safe-query 0.1.0... [INFO] checking pg-pool-safe-query-0.1.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate pg-pool-safe-query 0.1.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate pg-pool-safe-query 0.1.0 [INFO] finished tweaking crates.io crate pg-pool-safe-query 0.1.0 [INFO] tweaked toml for crates.io crate pg-pool-safe-query 0.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pg-pool-safe-query 0.1.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 105 packages to latest compatible versions [INFO] [stderr] Adding pg_query v0.7.0 (available: v6.1.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bindgen v0.60.1 [INFO] [stderr] Downloaded pg_query v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 60b249c8c24c528f22c7b315ca5e1c5db73462b078531cf71b7cdfbbc1b8dc35 [INFO] running `Command { std: "docker" "start" "-a" "60b249c8c24c528f22c7b315ca5e1c5db73462b078531cf71b7cdfbbc1b8dc35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "60b249c8c24c528f22c7b315ca5e1c5db73462b078531cf71b7cdfbbc1b8dc35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60b249c8c24c528f22c7b315ca5e1c5db73462b078531cf71b7cdfbbc1b8dc35", kill_on_drop: false }` [INFO] [stdout] 60b249c8c24c528f22c7b315ca5e1c5db73462b078531cf71b7cdfbbc1b8dc35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e871f660a30f6df8b1ce468a3be06ec7ca07b76f0b26841b2d3f7c00b29fe20 [INFO] running `Command { std: "docker" "start" "-a" "2e871f660a30f6df8b1ce468a3be06ec7ca07b76f0b26841b2d3f7c00b29fe20", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling bindgen v0.60.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling prost-build v0.10.4 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling prost-derive v0.10.1 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling prost v0.10.4 [INFO] [stderr] Compiling prost-types v0.10.1 [INFO] [stderr] Compiling pg_query v0.7.0 [INFO] [stderr] error: failed to run custom build command for `pg_query v0.7.0` [INFO] [stderr] note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/pg_query-c5631271c5a64c61/build-script-build` (exit status: 1) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:rerun-if-changed=./libpg_query/Makefile [INFO] [stderr] cargo:rustc-link-search=native=/opt/rustwide/target/debug/build/pg_query-d995355daa9d7933/out [INFO] [stderr] cargo:rustc-link-lib=static=pg_query [INFO] [stderr] make: Entering directory '/opt/rustwide/target/debug/build/pg_query-d995355daa9d7933/out' [INFO] [stderr] compiling src/pg_query.c [INFO] [stderr] compiling src/pg_query_deparse.c [INFO] [stderr] compiling src/pg_query_fingerprint.c [INFO] [stderr] compiling src/pg_query_json_plpgsql.c [INFO] [stderr] compiling src/pg_query_normalize.c [INFO] [stderr] compiling src/pg_query_outfuncs_json.c [INFO] [stderr] compiling src/pg_query_outfuncs_protobuf.c [INFO] [stderr] compiling src/pg_query_parse.c [INFO] [stderr] compiling src/pg_query_parse_plpgsql.c [INFO] [stderr] compiling src/pg_query_readfuncs_protobuf.c [INFO] [stderr] Warning: protoc-gen-c not found, skipping protocol buffer regeneration [INFO] [stderr] compiling src/pg_query_scan.c [INFO] [stderr] compiling src/pg_query_split.c [INFO] [stderr] compiling src/postgres/src_backend_catalog_namespace.c [INFO] [stderr] compiling src/postgres/src_backend_catalog_pg_proc.c [INFO] [stderr] compiling src/postgres/src_backend_commands_define.c [INFO] [stderr] compiling src/postgres/src_backend_libpq_pqcomm.c [INFO] [stderr] compiling src/postgres/src_backend_nodes_bitmapset.c [INFO] [stderr] compiling src/postgres/src_backend_nodes_copyfuncs.c [INFO] [stderr] compiling src/postgres/src_backend_nodes_equalfuncs.c [INFO] [stderr] compiling src/postgres/src_backend_nodes_extensible.c [INFO] [stderr] compiling src/postgres/src_backend_nodes_list.c [INFO] [stderr] compiling src/postgres/src_backend_nodes_makefuncs.c [INFO] [stderr] compiling src/postgres/src_backend_nodes_nodeFuncs.c [INFO] [stderr] compiling src/postgres/src_backend_nodes_value.c [INFO] [stderr] compiling src/postgres/src_backend_parser_gram.c [INFO] [stderr] compiling src/postgres/src_backend_parser_parse_expr.c [INFO] [stderr] compiling src/postgres/src_backend_parser_parser.c [INFO] [stderr] compiling src/postgres/src_backend_parser_scan.c [INFO] [stderr] compiling src/postgres/src_backend_parser_scansup.c [INFO] [stderr] compiling src/postgres/src_backend_postmaster_postmaster.c [INFO] [stderr] compiling src/postgres/src_backend_storage_ipc_ipc.c [INFO] [stderr] compiling src/postgres/src_backend_storage_lmgr_s_lock.c [INFO] [stderr] compiling src/postgres/src_backend_tcop_postgres.c [INFO] [stderr] compiling src/postgres/src_backend_utils_adt_datum.c [INFO] [stderr] compiling src/postgres/src_backend_utils_adt_expandeddatum.c [INFO] [stderr] compiling src/postgres/src_backend_utils_adt_format_type.c [INFO] [stderr] compiling src/postgres/src_backend_utils_adt_ruleutils.c [INFO] [stderr] compiling src/postgres/src_backend_utils_error_assert.c [INFO] [stderr] compiling src/postgres/src_backend_utils_error_elog.c [INFO] [stderr] compiling src/postgres/src_backend_utils_fmgr_fmgr.c [INFO] [stderr] compiling src/postgres/src_backend_utils_hash_dynahash.c [INFO] [stderr] compiling src/postgres/src_backend_utils_init_globals.c [INFO] [stderr] compiling src/postgres/src_backend_utils_mb_mbutils.c [INFO] [stderr] compiling src/postgres/src_backend_utils_misc_guc.c [INFO] [stderr] compiling src/postgres/src_backend_utils_mmgr_aset.c [INFO] [stderr] compiling src/postgres/src_backend_utils_mmgr_mcxt.c [INFO] [stderr] compiling src/postgres/src_common_encnames.c [INFO] [stderr] compiling src/postgres/src_common_hashfn.c [INFO] [stderr] compiling src/postgres/src_common_keywords.c [INFO] [stderr] compiling src/postgres/src_common_kwlookup.c [INFO] [stderr] compiling src/postgres/src_common_psprintf.c [INFO] [stderr] compiling src/postgres/src_common_string.c [INFO] [stderr] compiling src/postgres/src_common_stringinfo.c [INFO] [stderr] compiling src/postgres/src_common_wchar.c [INFO] [stderr] compiling src/postgres/src_pl_plpgsql_src_pl_comp.c [INFO] [stderr] compiling src/postgres/src_pl_plpgsql_src_pl_funcs.c [INFO] [stderr] compiling src/postgres/src_pl_plpgsql_src_pl_gram.c [INFO] [stderr] compiling src/postgres/src_pl_plpgsql_src_pl_handler.c [INFO] [stderr] compiling src/postgres/src_pl_plpgsql_src_pl_scanner.c [INFO] [stderr] compiling src/postgres/src_port_erand48.c [INFO] [stderr] compiling src/postgres/src_port_pg_bitutils.c [INFO] [stderr] compiling src/postgres/src_port_pgsleep.c [INFO] [stderr] compiling src/postgres/src_port_pgstrcasecmp.c [INFO] [stderr] compiling src/postgres/src_port_qsort.c [INFO] [stderr] compiling src/postgres/src_port_random.c [INFO] [stderr] compiling src/postgres/src_port_snprintf.c [INFO] [stderr] make: Leaving directory '/opt/rustwide/target/debug/build/pg_query-d995355daa9d7933/out' [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] src/postgres/src_port_snprintf.c:374:1: error: conflicting types for 'strchrnul'; have 'const char *(const char *, int)' [INFO] [stderr] 374 | strchrnul(const char *s, int c) [INFO] [stderr] | ^~~~~~~~~ [INFO] [stderr] In file included from ./src/postgres/include/c.h:61, [INFO] [stderr] from src/postgres/src_port_snprintf.c:62: [INFO] [stderr] /usr/include/string.h:286:14: note: previous declaration of 'strchrnul' with type 'char *(const char *, int)' [INFO] [stderr] 286 | extern char *strchrnul (const char *__s, int __c) [INFO] [stderr] | ^~~~~~~~~ [INFO] [stderr] make: *** [Makefile:159: src/postgres/src_port_snprintf.o] Error 1 [INFO] [stderr] Error: "libpg_query compilation failed" [INFO] running `Command { std: "docker" "inspect" "2e871f660a30f6df8b1ce468a3be06ec7ca07b76f0b26841b2d3f7c00b29fe20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e871f660a30f6df8b1ce468a3be06ec7ca07b76f0b26841b2d3f7c00b29fe20", kill_on_drop: false }` [INFO] [stdout] 2e871f660a30f6df8b1ce468a3be06ec7ca07b76f0b26841b2d3f7c00b29fe20