[INFO] cloning repository https://github.com/hystericfleece/rust-cpp-abi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hystericfleece/rust-cpp-abi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhystericfleece%2Frust-cpp-abi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhystericfleece%2Frust-cpp-abi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 950cfe4e7c32e9e89c930503e0dc1be5afb2e645 [INFO] testing hystericfleece/rust-cpp-abi against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhystericfleece%2Frust-cpp-abi" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hystericfleece/rust-cpp-abi [INFO] finished tweaking git repo https://github.com/hystericfleece/rust-cpp-abi [INFO] tweaked toml for git repo https://github.com/hystericfleece/rust-cpp-abi written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hystericfleece/rust-cpp-abi on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hystericfleece/rust-cpp-abi 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.85 [INFO] [stderr] Downloaded prettyplease v0.2.20 [INFO] [stderr] Downloaded bindgen v0.69.4 [INFO] [stderr] Downloaded regex v1.10.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9591593dc54b91ed02d8d8d55e248656b1370c5bd372be9befa8a6f04def6034 [INFO] running `Command { std: "docker" "start" "-a" "9591593dc54b91ed02d8d8d55e248656b1370c5bd372be9befa8a6f04def6034", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9591593dc54b91ed02d8d8d55e248656b1370c5bd372be9befa8a6f04def6034", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9591593dc54b91ed02d8d8d55e248656b1370c5bd372be9befa8a6f04def6034", kill_on_drop: false }` [INFO] [stdout] 9591593dc54b91ed02d8d8d55e248656b1370c5bd372be9befa8a6f04def6034 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de5fb33af8e17d5f79f9c486c5076553fc4bc1c7578d20c28c3d0cb1f70b9b03 [INFO] running `Command { std: "docker" "start" "-a" "de5fb33af8e17d5f79f9c486c5076553fc4bc1c7578d20c28c3d0cb1f70b9b03", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling prettyplease v0.2.20 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling bindgen v0.69.4 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling rust-cpp-abi v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: rust-cpp-abi@0.1.0: src/wrapped.cpp:1:29: error: expected initializer before 'Wrapped' [INFO] [stderr] warning: rust-cpp-abi@0.1.0: 1 | class __declspec(dllexport) Wrapped [INFO] [stderr] warning: rust-cpp-abi@0.1.0: | ^~~~~~~ [INFO] [stderr] error: failed to run custom build command for `rust-cpp-abi v0.1.0 (/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/rust-cpp-abi-1608af5f1643a630/build-script-build` (exit status: 1) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:rerun-if-changed=src/wrapped.cpp [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=CXX_x86_64-unknown-linux-gnu [INFO] [stderr] CXX_x86_64-unknown-linux-gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=CXX_x86_64_unknown_linux_gnu [INFO] [stderr] CXX_x86_64_unknown_linux_gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=HOST_CXX [INFO] [stderr] HOST_CXX = None [INFO] [stderr] cargo:rerun-if-env-changed=CXX [INFO] [stderr] CXX = None [INFO] [stderr] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT [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=CXXFLAGS_x86_64-unknown-linux-gnu [INFO] [stderr] CXXFLAGS_x86_64-unknown-linux-gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_gnu [INFO] [stderr] CXXFLAGS_x86_64_unknown_linux_gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=HOST_CXXFLAGS [INFO] [stderr] HOST_CXXFLAGS = None [INFO] [stderr] cargo:rerun-if-env-changed=CXXFLAGS [INFO] [stderr] CXXFLAGS = None [INFO] [stderr] cargo:warning=src/wrapped.cpp:1:29: error: expected initializer before 'Wrapped' [INFO] [stderr] cargo:warning= 1 | class __declspec(dllexport) Wrapped [INFO] [stderr] cargo:warning= | ^~~~~~~ [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error occurred: Command "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-4" "-fno-omit-frame-pointer" "-m64" "-Wall" "-Wextra" "-o" "/opt/rustwide/target/debug/build/rust-cpp-abi-8f41622881034846/out/2e40c9e35e9506f4-wrapped.o" "-c" "src/wrapped.cpp" with args c++ did not execute successfully (status code exit status: 1). [INFO] [stderr] [INFO] [stderr] [INFO] running `Command { std: "docker" "inspect" "de5fb33af8e17d5f79f9c486c5076553fc4bc1c7578d20c28c3d0cb1f70b9b03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de5fb33af8e17d5f79f9c486c5076553fc4bc1c7578d20c28c3d0cb1f70b9b03", kill_on_drop: false }` [INFO] [stdout] de5fb33af8e17d5f79f9c486c5076553fc4bc1c7578d20c28c3d0cb1f70b9b03