[INFO] fetching crate openzwave-sys 0.1.1... [INFO] testing openzwave-sys-0.1.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate openzwave-sys 0.1.1 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate openzwave-sys 0.1.1 [INFO] finished tweaking crates.io crate openzwave-sys 0.1.1 [INFO] tweaked toml for crates.io crate openzwave-sys 0.1.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate openzwave-sys 0.1.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 2 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 156ac83513a5447d311f0d94a73e197b8f5420f142c28380152f466c8bf82bcd [INFO] running `Command { std: "docker" "start" "-a" "156ac83513a5447d311f0d94a73e197b8f5420f142c28380152f466c8bf82bcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "156ac83513a5447d311f0d94a73e197b8f5420f142c28380152f466c8bf82bcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "156ac83513a5447d311f0d94a73e197b8f5420f142c28380152f466c8bf82bcd", kill_on_drop: false }` [INFO] [stdout] 156ac83513a5447d311f0d94a73e197b8f5420f142c28380152f466c8bf82bcd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c27dd2f6277895005c14338c1e5a503e5e9d7475b97db269784e6184fd9d70e [INFO] running `Command { std: "docker" "start" "-a" "2c27dd2f6277895005c14338c1e5a503e5e9d7475b97db269784e6184fd9d70e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling openzwave-sys v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated type alias `gcc::Config`: gcc::Config has been renamed to gcc::Build [INFO] [stdout] --> build.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | let mut c = gcc::Config::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `gcc::Build::new`: crate has been renamed to `cc`, the `gcc` name is not maintained [INFO] [stdout] --> build.rs:60:30 [INFO] [stdout] | [INFO] [stdout] 60 | let mut c = gcc::Config::new(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: failed to run custom build command for `openzwave-sys v0.1.1 (/opt/rustwide/workdir)` [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/openzwave-sys-36739aeb655190f7/build-script-build` (exit status: 101) [INFO] [stderr] --- stdout [INFO] [stderr] CPPFLAGS= make -C /opt/rustwide/workdir/open-zwave/cpp/build/ - -j16 --jobserver-auth=3,4 [INFO] [stderr] make[1]: Entering directory '/opt/rustwide/workdir/open-zwave/cpp/build' [INFO] [stderr] Building OpenZWave Version 1.4.-1 [INFO] [stderr] Building tinystr.o [INFO] [stderr] Building tinyxml.o [INFO] [stderr] Building tinyxmlerror.o [INFO] [stderr] Building tinyxmlparser.o [INFO] [stderr] Building hid.o [INFO] [stderr] Building aes_modes.o [INFO] [stderr] Building aestab.o [INFO] [stderr] Building Alarm.o [INFO] [stderr] Building aeskey.o [INFO] [stderr] Building aescrypt.o [INFO] [stderr] Building ApplicationStatus.o [INFO] [stderr] Building Association.o [INFO] [stderr] Building AssociationCommandConfiguration.o [INFO] [stderr] Building Basic.o [INFO] [stderr] Building BasicWindowCovering.o [INFO] [stderr] Building Battery.o [INFO] [stderr] Building CRC16Encap.o [INFO] [stderr] Building CentralScene.o [INFO] [stderr] Building ClimateControlSchedule.o [INFO] [stderr] Building Clock.o [INFO] [stderr] Building Color.o [INFO] [stderr] Building CommandClass.o [INFO] [stderr] Building CommandClasses.o [INFO] [stderr] Building Configuration.o [INFO] [stderr] Building ControllerReplication.o [INFO] [stderr] Building DeviceResetLocally.o [INFO] [stderr] Building DoorLock.o [INFO] [stderr] Building DoorLockLogging.o [INFO] [stderr] Building EnergyProduction.o [INFO] [stderr] Building Hail.o [INFO] [stderr] Building Indicator.o [INFO] [stderr] Building Language.o [INFO] [stderr] Building Lock.o [INFO] [stderr] Building ManufacturerSpecific.o [INFO] [stderr] Building Meter.o [INFO] [stderr] Building MeterPulse.o [INFO] [stderr] Building MultiCmd.o [INFO] [stderr] Building MultiInstance.o [INFO] [stderr] make[1]: Leaving directory '/opt/rustwide/workdir/open-zwave/cpp/build' [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] make[1]: warning: -j16 forced in submake: resetting jobserver mode. [INFO] [stderr] In file included from /usr/include/stdio.h:980, [INFO] [stderr] from /usr/include/c++/13/cstdio:42, [INFO] [stderr] from /usr/include/c++/13/ext/string_conversions.h:45, [INFO] [stderr] from /usr/include/c++/13/bits/basic_string.h:4109, [INFO] [stderr] from /usr/include/c++/13/string:54, [INFO] [stderr] from /opt/rustwide/workdir/open-zwave/cpp/src/command_classes/CommandClasses.h:31, [INFO] [stderr] from /opt/rustwide/workdir/open-zwave/cpp/src/command_classes/DoorLockLogging.cpp:28: [INFO] [stderr] In function 'int snprintf(char*, size_t, const char*, ...)', [INFO] [stderr] inlined from 'virtual bool OpenZWave::DoorLockLogging::HandleMsg(const uint8*, uint32, uint32)' at /opt/rustwide/workdir/open-zwave/cpp/src/command_classes/DoorLockLogging.cpp:312:14: [INFO] [stderr] /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: error: '__builtin___snprintf_chk' argument 6 overlaps destination object 'usercode' [-Werror=restrict] [INFO] [stderr] 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] 55 | __glibc_objsize (__s), __fmt, [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] 56 | __va_arg_pack ()); [INFO] [stderr] | ~~~~~~~~~~~~~~~~~ [INFO] [stderr] /opt/rustwide/workdir/open-zwave/cpp/src/command_classes/DoorLockLogging.cpp: In member function 'virtual bool OpenZWave::DoorLockLogging::HandleMsg(const uint8*, uint32, uint32)': [INFO] [stderr] /opt/rustwide/workdir/open-zwave/cpp/src/command_classes/DoorLockLogging.cpp:307:30: note: destination object referenced by 'restrict'-qualified argument 1 was declared here [INFO] [stderr] 307 | char usercode[254]; [INFO] [stderr] | ^~~~~~~~ [INFO] [stderr] cc1plus: all warnings being treated as errors [INFO] [stderr] make[1]: *** [/opt/rustwide/workdir/open-zwave/cpp/build/support.mk:112: /opt/rustwide/target/debug/build/openzwave-sys-df87cfad5d75e45b/out/open-zwave/.lib/DoorLockLogging.o] Error 1 [INFO] [stderr] make[1]: *** Waiting for unfinished jobs.... [INFO] [stderr] make: *** [Makefile:20: all] Error 2 [INFO] [stderr] [INFO] [stderr] thread 'main' (52) panicked at build.rs:48:9: [INFO] [stderr] Could not build the open-zwave library. [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x651e887cc6a2 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x651e887cc6a2 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x651e887cc6a2 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x651e887cc6a2 - ::fmt::h52160e9da139e442 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x651e887dc06f - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] 5: 0x651e887dc06f - core::fmt::write::hf09a056a304e021a [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stderr] 6: 0x651e8879bcd1 - std::io::default_write_fmt::h7567c5950fb0173c [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stderr] 7: 0x651e8879bcd1 - std::io::Write::write_fmt::h361c7127187cda65 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stderr] 8: 0x651e887a6e02 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 9: 0x651e887aa12f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stderr] 10: 0x651e887a9f89 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:328:9 [INFO] [stderr] 11: 0x651e887aa7b5 - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:834:13 [INFO] [stderr] 12: 0x651e887a9e3c - std::panicking::begin_panic::{{closure}}::h90f509d0ce56dcf8 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:771:9 [INFO] [stderr] 13: 0x651e887a6f49 - std::sys::backtrace::__rust_end_short_backtrace::h979a48b505515cda [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stderr] 14: 0x651e887a9e02 - std::panicking::begin_panic::h9756318d0a5bc692 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:770:5 [INFO] [stderr] 15: 0x651e887674a3 - build_script_build::make::ha0c5f1a7bc09ee63 [INFO] [stderr] 16: 0x651e88766f04 - build_script_build::main::hb21e12511a315e8d [INFO] [stderr] 17: 0x651e88767873 - core::ops::function::FnOnce::call_once::hf7c85caa863887f8 [INFO] [stderr] 18: 0x651e887675f6 - std::sys::backtrace::__rust_begin_short_backtrace::h7954297cf247a594 [INFO] [stderr] 19: 0x651e88767589 - std::rt::lang_start::{{closure}}::h58e024e28bbe997e [INFO] [stderr] 20: 0x651e8879d600 - core::ops::function::impls:: for &F>::call_once::h92f7271baace0227 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:287:21 [INFO] [stderr] 21: 0x651e8879d600 - std::panicking::catch_unwind::do_call::hab80bc7615f9a56f [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stderr] 22: 0x651e8879d600 - std::panicking::catch_unwind::h44920ff533ed11dd [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stderr] 23: 0x651e8879d600 - std::panic::catch_unwind::hbc4760794652046f [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stderr] 24: 0x651e8879d600 - std::rt::lang_start_internal::{{closure}}::h017b9ee7d9dfccf2 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/rt.rs:175:24 [INFO] [stderr] 25: 0x651e8879d600 - std::panicking::catch_unwind::do_call::h5c448dae61c3a22b [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stderr] 26: 0x651e8879d600 - std::panicking::catch_unwind::ha3a2750d16137715 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stderr] 27: 0x651e8879d600 - std::panic::catch_unwind::ha56344eb931bca1a [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stderr] 28: 0x651e8879d600 - std::rt::lang_start_internal::h4e6c18fadc4e7470 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/rt.rs:171:5 [INFO] [stderr] 29: 0x651e88767571 - std::rt::lang_start::h42a3ec959977cfda [INFO] [stderr] 30: 0x651e88767c85 - main [INFO] [stderr] 31: 0x79bc03f2f1ca - [INFO] [stderr] 32: 0x79bc03f2f28b - __libc_start_main [INFO] [stderr] 33: 0x651e88766c05 - _start [INFO] [stderr] 34: 0x0 - [INFO] running `Command { std: "docker" "inspect" "2c27dd2f6277895005c14338c1e5a503e5e9d7475b97db269784e6184fd9d70e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c27dd2f6277895005c14338c1e5a503e5e9d7475b97db269784e6184fd9d70e", kill_on_drop: false }` [INFO] [stdout] 2c27dd2f6277895005c14338c1e5a503e5e9d7475b97db269784e6184fd9d70e