[INFO] fetching crate libosdp 0.1.9... [INFO] testing libosdp-0.1.9 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate libosdp 0.1.9 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate libosdp 0.1.9 [INFO] finished tweaking crates.io crate libosdp 0.1.9 [INFO] tweaked toml for crates.io crate libosdp 0.1.9 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate libosdp 0.1.9 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate libosdp 0.1.9 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c094296d8d49bae5e5e706aa8b220fb9011c83e44ee65ce12e52fc4e8f0d657 [INFO] running `Command { std: "docker" "start" "-a" "5c094296d8d49bae5e5e706aa8b220fb9011c83e44ee65ce12e52fc4e8f0d657", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c094296d8d49bae5e5e706aa8b220fb9011c83e44ee65ce12e52fc4e8f0d657", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c094296d8d49bae5e5e706aa8b220fb9011c83e44ee65ce12e52fc4e8f0d657", kill_on_drop: false }` [INFO] [stdout] 5c094296d8d49bae5e5e706aa8b220fb9011c83e44ee65ce12e52fc4e8f0d657 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56a4f843fd74960f8d48fd06c6431311b0d0b5d77a0d60947e811d75fd6e9a38 [INFO] running `Command { std: "docker" "start" "-a" "56a4f843fd74960f8d48fd06c6431311b0d0b5d77a0d60947e811d75fd6e9a38", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling prettyplease v0.2.16 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling bindgen v0.69.4 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling build-target v0.4.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling libosdp-sys v3.0.3 [INFO] [stderr] warning: libosdp-sys@3.0.3: Compiler version doesn't include clang or GCC: "cc" "--version" [INFO] [stderr] warning: libosdp-sys@3.0.3: vendor/src/osdp_common.c: In function 'osdp_get_source_info': [INFO] [stderr] warning: libosdp-sys@3.0.3: vendor/src/osdp_common.c:221:13: error: 'strnlen' specified bound 8 exceeds source size 1 [-Werror=stringop-overread] [INFO] [stderr] warning: libosdp-sys@3.0.3: 221 | if (strnlen(GIT_TAG, 8) > 0) { [INFO] [stderr] warning: libosdp-sys@3.0.3: | ^~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: libosdp-sys@3.0.3: vendor/src/osdp_common.c:223:20: error: 'strnlen' specified bound 8 exceeds source size 1 [-Werror=stringop-overread] [INFO] [stderr] warning: libosdp-sys@3.0.3: 223 | } else if (strnlen(GIT_REV, 8) > 0) { [INFO] [stderr] warning: libosdp-sys@3.0.3: | ^~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: libosdp-sys@3.0.3: cc1: all warnings being treated as errors [INFO] [stderr] error: failed to run custom build command for `libosdp-sys v3.0.3` [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/libosdp-sys-e13daa3e551864bd/build-script-build` (exit status: 1) [INFO] [stderr] --- stdout [INFO] [stderr] TARGET = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] OPT_LEVEL = Some("0") [INFO] [stderr] HOST = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] cargo:rerun-if-env-changed=CC_x86_64-unknown-linux-gnu [INFO] [stderr] CC_x86_64-unknown-linux-gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=CC_x86_64_unknown_linux_gnu [INFO] [stderr] CC_x86_64_unknown_linux_gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=HOST_CC [INFO] [stderr] HOST_CC = None [INFO] [stderr] cargo:rerun-if-env-changed=CC [INFO] [stderr] CC = None [INFO] [stderr] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT [INFO] [stderr] cargo:warning=Compiler version doesn't include clang or GCC: "cc" "--version" [INFO] [stderr] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS [INFO] [stderr] CRATE_CC_NO_DEFAULTS = None [INFO] [stderr] DEBUG = Some("true") [INFO] [stderr] CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2,x87") [INFO] [stderr] cargo:rerun-if-env-changed=CFLAGS_x86_64-unknown-linux-gnu [INFO] [stderr] CFLAGS_x86_64-unknown-linux-gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=CFLAGS_x86_64_unknown_linux_gnu [INFO] [stderr] CFLAGS_x86_64_unknown_linux_gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=HOST_CFLAGS [INFO] [stderr] HOST_CFLAGS = None [INFO] [stderr] cargo:rerun-if-env-changed=CFLAGS [INFO] [stderr] CFLAGS = None [INFO] [stderr] cargo:warning=vendor/src/osdp_common.c: In function 'osdp_get_source_info': [INFO] [stderr] cargo:warning=vendor/src/osdp_common.c:221:13: error: 'strnlen' specified bound 8 exceeds source size 1 [-Werror=stringop-overread] [INFO] [stderr] cargo:warning= 221 | if (strnlen(GIT_TAG, 8) > 0) { [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~~~~~ [INFO] [stderr] cargo:warning=vendor/src/osdp_common.c:223:20: error: 'strnlen' specified bound 8 exceeds source size 1 [-Werror=stringop-overread] [INFO] [stderr] cargo:warning= 223 | } else if (strnlen(GIT_REV, 8) > 0) { [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~~~~~ [INFO] [stderr] cargo:warning=cc1: all warnings being treated as errors [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error occurred: Command "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-4" "-fno-omit-frame-pointer" "-m64" "-I" "vendor/src" "-I" "vendor/include" "-I" "vendor/utils/include" "-I" "/opt/rustwide/target/debug/build/libosdp-sys-c1eed6d24ab723f3/out" "-Wall" "-Wextra" "-Werror" "-o" "/opt/rustwide/target/debug/build/libosdp-sys-c1eed6d24ab723f3/out/713e2796ca293819-osdp_common.o" "-c" "vendor/src/osdp_common.c" with args "cc" did not execute successfully (status code exit status: 1). [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "56a4f843fd74960f8d48fd06c6431311b0d0b5d77a0d60947e811d75fd6e9a38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56a4f843fd74960f8d48fd06c6431311b0d0b5d77a0d60947e811d75fd6e9a38", kill_on_drop: false }` [INFO] [stdout] 56a4f843fd74960f8d48fd06c6431311b0d0b5d77a0d60947e811d75fd6e9a38