[INFO] cloning repository https://github.com/sadnessOjisan/rust-ffi-cpp-cc-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-cc-simple" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FsadnessOjisan%2Frust-ffi-cpp-cc-simple", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FsadnessOjisan%2Frust-ffi-cpp-cc-simple'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4da12ea13984c9a6c159ca63b7083efd3a3937e4 [INFO] testing sadnessOjisan/rust-ffi-cpp-cc-simple against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FsadnessOjisan%2Frust-ffi-cpp-cc-simple" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sadnessOjisan/rust-ffi-cpp-cc-simple on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sadnessOjisan/rust-ffi-cpp-cc-simple [INFO] finished tweaking git repo https://github.com/sadnessOjisan/rust-ffi-cpp-cc-simple [INFO] tweaked toml for git repo https://github.com/sadnessOjisan/rust-ffi-cpp-cc-simple written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/sadnessOjisan/rust-ffi-cpp-cc-simple already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bc8bc4063b39d85ff75bdc2434a72110a54903e3d61527a66f948ed76fdb97b2 [INFO] running `Command { std: "docker" "start" "-a" "bc8bc4063b39d85ff75bdc2434a72110a54903e3d61527a66f948ed76fdb97b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc8bc4063b39d85ff75bdc2434a72110a54903e3d61527a66f948ed76fdb97b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc8bc4063b39d85ff75bdc2434a72110a54903e3d61527a66f948ed76fdb97b2", kill_on_drop: false }` [INFO] [stdout] bc8bc4063b39d85ff75bdc2434a72110a54903e3d61527a66f948ed76fdb97b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73798376799f39ebdc09961cc1b9ae030d5fabb964a975fc9700eb819c37fd23 [INFO] running `Command { std: "docker" "start" "-a" "73798376799f39ebdc09961cc1b9ae030d5fabb964a975fc9700eb819c37fd23", 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 hello-rs v0.1.0 (/opt/rustwide/workdir) [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: 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] warning: COLLECT_GCC_OPTIONS='-O0' '-ffunction-sections' '-fdata-sections' '-fPIC' '-g' '-fno-omit-frame-pointer' '-m64' '-I' 'src/cpp/include' '-Wall' '-Wextra' '-v' '-g' '-o' '/opt/rustwide/target/debug/build/hello-rs-06a8e552cc5e86a6/out/src/cpp/src/hello.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' [INFO] [stderr] warning: /usr/lib/gcc/x86_64-linux-gnu/9/cc1plus -quiet -v -I src/cpp/include -imultiarch x86_64-linux-gnu -D_GNU_SOURCE src/cpp/src/hello.cpp -quiet -dumpbase hello.cpp -m64 -mtune=generic -march=x86-64 -auxbase-strip /opt/rustwide/target/debug/build/hello-rs-06a8e552cc5e86a6/out/src/cpp/src/hello.o -g -g -O0 -Wall -Wextra -version -ffunction-sections -fdata-sections -fPIC -fno-omit-frame-pointer -fasynchronous-unwind-tables -fstack-protector-strong -Wformat-security -fstack-clash-protection -fcf-protection -o /tmp/ccE2jpxC.s [INFO] [stderr] warning: GNU C++14 (Ubuntu 9.4.0-1ubuntu1~20.04.1) version 9.4.0 (x86_64-linux-gnu) [INFO] [stderr] warning: compiled by GNU C version 9.4.0, GMP version 6.2.0, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.22.1-GMP [INFO] [stderr] warning: [INFO] [stderr] warning: GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 [INFO] [stderr] warning: ignoring duplicate directory "/usr/include/x86_64-linux-gnu/c++/9" [INFO] [stderr] warning: ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu" [INFO] [stderr] warning: ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/9/include-fixed" [INFO] [stderr] warning: ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/9/../../../../x86_64-linux-gnu/include" [INFO] [stderr] warning: #include "..." search starts here: [INFO] [stderr] warning: #include <...> search starts here: [INFO] [stderr] warning: src/cpp/include [INFO] [stderr] warning: /usr/include/c++/9 [INFO] [stderr] warning: /usr/include/x86_64-linux-gnu/c++/9 [INFO] [stderr] warning: /usr/include/c++/9/backward [INFO] [stderr] warning: /usr/lib/gcc/x86_64-linux-gnu/9/include [INFO] [stderr] warning: /usr/local/include [INFO] [stderr] warning: /usr/include/x86_64-linux-gnu [INFO] [stderr] warning: /usr/include [INFO] [stderr] warning: End of search list. [INFO] [stderr] warning: GNU C++14 (Ubuntu 9.4.0-1ubuntu1~20.04.1) version 9.4.0 (x86_64-linux-gnu) [INFO] [stderr] warning: compiled by GNU C version 9.4.0, GMP version 6.2.0, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.22.1-GMP [INFO] [stderr] warning: [INFO] [stderr] warning: GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 [INFO] [stderr] warning: Compiler executable checksum: 65fe925b83d3956b533de4aaba7dace0 [INFO] [stderr] warning: COLLECT_GCC_OPTIONS='-O0' '-ffunction-sections' '-fdata-sections' '-fPIC' '-g' '-fno-omit-frame-pointer' '-m64' '-I' 'src/cpp/include' '-Wall' '-Wextra' '-v' '-g' '-o' '/opt/rustwide/target/debug/build/hello-rs-06a8e552cc5e86a6/out/src/cpp/src/hello.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' [INFO] [stderr] warning: as -v -I src/cpp/include --64 -o /opt/rustwide/target/debug/build/hello-rs-06a8e552cc5e86a6/out/src/cpp/src/hello.o /tmp/ccE2jpxC.s [INFO] [stderr] warning: GNU assembler version 2.34 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.34 [INFO] [stderr] warning: COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/ [INFO] [stderr] warning: LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../:/lib/:/usr/lib/ [INFO] [stderr] warning: COLLECT_GCC_OPTIONS='-O0' '-ffunction-sections' '-fdata-sections' '-fPIC' '-g' '-fno-omit-frame-pointer' '-m64' '-I' 'src/cpp/include' '-Wall' '-Wextra' '-v' '-g' '-o' '/opt/rustwide/target/debug/build/hello-rs-06a8e552cc5e86a6/out/src/cpp/src/hello.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' [INFO] [stdout] warning: unused imports: `c_char`, `c_void`, `size_t` [INFO] [stdout] --> src/main.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use libc::{ c_void, c_char, size_t }; [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CStr`, `CString` [INFO] [stdout] --> src/main.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ffi::{ CStr, CString }; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/hello_rs-e854f46d8efdfc88.hello_rs.ce0ae3d9-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/hello_rs-e854f46d8efdfc88.hello_rs.ce0ae3d9-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/hello_rs-e854f46d8efdfc88.hello_rs.ce0ae3d9-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/hello_rs-e854f46d8efdfc88.hello_rs.ce0ae3d9-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/hello_rs-e854f46d8efdfc88.hello_rs.ce0ae3d9-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/hello_rs-e854f46d8efdfc88.hello_rs.ce0ae3d9-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/hello_rs-e854f46d8efdfc88.hello_rs.ce0ae3d9-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/hello_rs-e854f46d8efdfc88.223c9njw0zimd2b5.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/usr/local/lib" "-L" "/opt/rustwide/target/debug/build/hello-rs-06a8e552cc5e86a6/out" "-L" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-lstdc++" "-Wl,-Bstatic" "-Wl,--whole-archive" "-lhello" "-Wl,--no-whole-archive" "/opt/rustwide/target/debug/deps/liblibc-30b96b8ea6ce98fc.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-8d61b92a0a02f53a.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-fc45202bb435016b.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f2400674c7513725.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-605c3a7d1a5d300d.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-3d4fb4efa907e4e8.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-65207f030ab23308.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-76ca199cb0186109.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-1e3e01ed4f561dc1.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-dd8dddcba7c13fee.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-00b13d31c3420656.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-e4c8460b81557bd5.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-600d46e5f0005455.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-e4a08a2585b62d37.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-fbc21ec567cb9dc7.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-10b3fa8e49bd978f.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-64625b73694ffce7.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-fb6b78ac543a58ee.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-1d1f2d1bec6f51b8.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-acf5ff6e9595d982.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/hello_rs-e854f46d8efdfc88" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/hello_rs-e854f46d8efdfc88.hello_rs.ce0ae3d9-cgu.5.rcgu.o: in function `hello_rs::main': [INFO] [stdout] /opt/rustwide/workdir/src/main.rs:13: undefined reference to `hello' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/build/hello-rs-06a8e552cc5e86a6/out/libhello.a(hello.o): in function `__static_initialization_and_destruction_0(int, int)': [INFO] [stdout] /usr/include/c++/9/iostream:74: undefined reference to `std::ios_base::Init::Init()' [INFO] [stdout] /usr/bin/ld: /usr/include/c++/9/iostream:74: undefined reference to `std::ios_base::Init::~Init()' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = help: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [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: 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] warning: COLLECT_GCC_OPTIONS='-O0' '-ffunction-sections' '-fdata-sections' '-fPIC' '-g' '-fno-omit-frame-pointer' '-m64' '-I' 'src/cpp/include' '-Wall' '-Wextra' '-v' '-g' '-o' '/opt/rustwide/target/debug/build/hello-rs-06a8e552cc5e86a6/out/src/cpp/src/hello.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' [INFO] [stderr] warning: /usr/lib/gcc/x86_64-linux-gnu/9/cc1plus -quiet -v -I src/cpp/include -imultiarch x86_64-linux-gnu -D_GNU_SOURCE src/cpp/src/hello.cpp -quiet -dumpbase hello.cpp -m64 -mtune=generic -march=x86-64 -auxbase-strip /opt/rustwide/target/debug/build/hello-rs-06a8e552cc5e86a6/out/src/cpp/src/hello.o -g -g -O0 -Wall -Wextra -version -ffunction-sections -fdata-sections -fPIC -fno-omit-frame-pointer -fasynchronous-unwind-tables -fstack-protector-strong -Wformat-security -fstack-clash-protection -fcf-protection -o /tmp/ccE2jpxC.s [INFO] [stderr] warning: GNU C++14 (Ubuntu 9.4.0-1ubuntu1~20.04.1) version 9.4.0 (x86_64-linux-gnu) [INFO] [stderr] warning: compiled by GNU C version 9.4.0, GMP version 6.2.0, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.22.1-GMP [INFO] [stderr] warning: [INFO] [stderr] warning: GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 [INFO] [stderr] warning: ignoring duplicate directory "/usr/include/x86_64-linux-gnu/c++/9" [INFO] [stderr] warning: ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu" [INFO] [stderr] warning: ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/9/include-fixed" [INFO] [stderr] warning: ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/9/../../../../x86_64-linux-gnu/include" [INFO] [stderr] warning: #include "..." search starts here: [INFO] [stderr] warning: #include <...> search starts here: [INFO] [stderr] warning: src/cpp/include [INFO] [stderr] warning: /usr/include/c++/9 [INFO] [stderr] warning: /usr/include/x86_64-linux-gnu/c++/9 [INFO] [stderr] warning: /usr/include/c++/9/backward [INFO] [stderr] warning: /usr/lib/gcc/x86_64-linux-gnu/9/include [INFO] [stderr] warning: /usr/local/include [INFO] [stderr] warning: /usr/include/x86_64-linux-gnu [INFO] [stderr] warning: /usr/include [INFO] [stderr] warning: End of search list. [INFO] [stderr] warning: GNU C++14 (Ubuntu 9.4.0-1ubuntu1~20.04.1) version 9.4.0 (x86_64-linux-gnu) [INFO] [stderr] warning: compiled by GNU C version 9.4.0, GMP version 6.2.0, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.22.1-GMP [INFO] [stderr] warning: [INFO] [stderr] warning: GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 [INFO] [stderr] warning: Compiler executable checksum: 65fe925b83d3956b533de4aaba7dace0 [INFO] [stderr] warning: COLLECT_GCC_OPTIONS='-O0' '-ffunction-sections' '-fdata-sections' '-fPIC' '-g' '-fno-omit-frame-pointer' '-m64' '-I' 'src/cpp/include' '-Wall' '-Wextra' '-v' '-g' '-o' '/opt/rustwide/target/debug/build/hello-rs-06a8e552cc5e86a6/out/src/cpp/src/hello.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' [INFO] [stderr] warning: as -v -I src/cpp/include --64 -o /opt/rustwide/target/debug/build/hello-rs-06a8e552cc5e86a6/out/src/cpp/src/hello.o /tmp/ccE2jpxC.s [INFO] [stderr] warning: GNU assembler version 2.34 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.34 [INFO] [stderr] warning: COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/ [INFO] [stderr] warning: LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../:/lib/:/usr/lib/ [INFO] [stderr] warning: COLLECT_GCC_OPTIONS='-O0' '-ffunction-sections' '-fdata-sections' '-fPIC' '-g' '-fno-omit-frame-pointer' '-m64' '-I' 'src/cpp/include' '-Wall' '-Wextra' '-v' '-g' '-o' '/opt/rustwide/target/debug/build/hello-rs-06a8e552cc5e86a6/out/src/cpp/src/hello.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' [INFO] [stderr] [INFO] [stderr] error: could not compile `hello-rs` due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "73798376799f39ebdc09961cc1b9ae030d5fabb964a975fc9700eb819c37fd23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73798376799f39ebdc09961cc1b9ae030d5fabb964a975fc9700eb819c37fd23", kill_on_drop: false }` [INFO] [stdout] 73798376799f39ebdc09961cc1b9ae030d5fabb964a975fc9700eb819c37fd23