[INFO] cloning repository https://github.com/sadnessOjisan/rust-ffi-cpp-simple [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sadnessOjisan/rust-ffi-cpp-simple" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FsadnessOjisan%2Frust-ffi-cpp-simple", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FsadnessOjisan%2Frust-ffi-cpp-simple'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 140abfeaebab439bb51d4d6cd963c7f6db843f64 [INFO] testing sadnessOjisan/rust-ffi-cpp-simple against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FsadnessOjisan%2Frust-ffi-cpp-simple" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sadnessOjisan/rust-ffi-cpp-simple on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sadnessOjisan/rust-ffi-cpp-simple [INFO] finished tweaking git repo https://github.com/sadnessOjisan/rust-ffi-cpp-simple [INFO] tweaked toml for git repo https://github.com/sadnessOjisan/rust-ffi-cpp-simple written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/sadnessOjisan/rust-ffi-cpp-simple already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5ca9df0fa89555e7e666d27cee229152e5022cbc9859fe5ca74058f008e10b48 [INFO] running `Command { std: "docker" "start" "-a" "5ca9df0fa89555e7e666d27cee229152e5022cbc9859fe5ca74058f008e10b48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ca9df0fa89555e7e666d27cee229152e5022cbc9859fe5ca74058f008e10b48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ca9df0fa89555e7e666d27cee229152e5022cbc9859fe5ca74058f008e10b48", kill_on_drop: false }` [INFO] [stdout] 5ca9df0fa89555e7e666d27cee229152e5022cbc9859fe5ca74058f008e10b48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cfceef31f7489cc89a0615be4a4610be310bc7ed599290f0349a5d201675903a [INFO] running `Command { std: "docker" "start" "-a" "cfceef31f7489cc89a0615be4a4610be310bc7ed599290f0349a5d201675903a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.109 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling rust_ffi_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: Using built-in specs. [INFO] [stderr] warning: COLLECT_GCC=c++ [INFO] [stderr] warning: OFFLOAD_TARGET_NAMES=nvptx-none:hsa [INFO] [stderr] warning: OFFLOAD_TARGET_DEFAULT=1 [INFO] [stderr] warning: c++: error: unrecognized command line option '-std=c++20'; did you mean '-std=c++2a'? [INFO] [stderr] warning: Target: x86_64-linux-gnu [INFO] [stderr] warning: Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.4.0-1ubuntu1~20.04.1' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-9-Av3uEd/gcc-9-9.4.0/debian/tmp-nvptx/usr,hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu [INFO] [stderr] warning: Thread model: posix [INFO] [stderr] warning: gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.1) [INFO] [stderr] [INFO] [stderr] error: failed to run custom build command for `rust_ffi_test v0.1.0 (/opt/rustwide/workdir)` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/rust_ffi_test-a0a735bdd05eca29/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] CXX_x86_64-unknown-linux-gnu = None [INFO] [stderr] CXX_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CXX = None [INFO] [stderr] CXX = None [INFO] [stderr] CXXFLAGS_x86_64-unknown-linux-gnu = None [INFO] [stderr] CXXFLAGS_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CXXFLAGS = None [INFO] [stderr] CXXFLAGS = None [INFO] [stderr] CRATE_CC_NO_DEFAULTS = None [INFO] [stderr] DEBUG = Some("true") [INFO] [stderr] CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2") [INFO] [stderr] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-Wall" "-Wextra" "-std=c++20" "-Wall" "-Wextra" "-v" "-g" "-o" "/opt/rustwide/target/debug/build/rust_ffi_test-a7d8c7d8e9bdc106/out/./src/test.o" "-c" "./src/test.cpp" [INFO] [stderr] cargo:warning=Using built-in specs. [INFO] [stderr] cargo:warning=COLLECT_GCC=c++ [INFO] [stderr] cargo:warning=OFFLOAD_TARGET_NAMES=nvptx-none:hsa [INFO] [stderr] cargo:warning=OFFLOAD_TARGET_DEFAULT=1 [INFO] [stderr] cargo:warning=c++: error: unrecognized command line option '-std=c++20'; did you mean '-std=c++2a'? [INFO] [stderr] cargo:warning=Target: x86_64-linux-gnu [INFO] [stderr] cargo:warning=Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.4.0-1ubuntu1~20.04.1' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-9-Av3uEd/gcc-9-9.4.0/debian/tmp-nvptx/usr,hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu [INFO] [stderr] cargo:warning=Thread model: posix [INFO] [stderr] cargo:warning=gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.1) [INFO] [stderr] exit status: 1 [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error occurred: Command "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-Wall" "-Wextra" "-std=c++20" "-Wall" "-Wextra" "-v" "-g" "-o" "/opt/rustwide/target/debug/build/rust_ffi_test-a7d8c7d8e9bdc106/out/./src/test.o" "-c" "./src/test.cpp" with args "c++" did not execute successfully (status code exit status: 1). [INFO] [stderr] [INFO] [stderr] [INFO] running `Command { std: "docker" "inspect" "cfceef31f7489cc89a0615be4a4610be310bc7ed599290f0349a5d201675903a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfceef31f7489cc89a0615be4a4610be310bc7ed599290f0349a5d201675903a", kill_on_drop: false }` [INFO] [stdout] cfceef31f7489cc89a0615be4a4610be310bc7ed599290f0349a5d201675903a