[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.59.0 for beta-1.60-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-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sadnessOjisan/rust-ffi-cpp-cc-simple on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.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-8/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.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f63e8bbe429766ade8753a4a01b18dd00f1e5465c8bbc6fb66b0143428fe3dd [INFO] running `Command { std: "docker" "start" "-a" "1f63e8bbe429766ade8753a4a01b18dd00f1e5465c8bbc6fb66b0143428fe3dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f63e8bbe429766ade8753a4a01b18dd00f1e5465c8bbc6fb66b0143428fe3dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f63e8bbe429766ade8753a4a01b18dd00f1e5465c8bbc6fb66b0143428fe3dd", kill_on_drop: false }` [INFO] [stdout] 1f63e8bbe429766ade8753a4a01b18dd00f1e5465c8bbc6fb66b0143428fe3dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea0480b5ef20619fcdfd4ee0239e87470c37ba15fcda1ca99270fc4d45d1e035 [INFO] running `Command { std: "docker" "start" "-a" "ea0480b5ef20619fcdfd4ee0239e87470c37ba15fcda1ca99270fc4d45d1e035", 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.3.0-17ubuntu1~20.04' --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-HskZEa/gcc-9-9.3.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.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04) [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-6d45febf762415eb/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-6d45febf762415eb/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/cckc51ID.s [INFO] [stderr] warning: GNU C++14 (Ubuntu 9.3.0-17ubuntu1~20.04) version 9.3.0 (x86_64-linux-gnu) [INFO] [stderr] warning: compiled by GNU C version 9.3.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.3.0-17ubuntu1~20.04) version 9.3.0 (x86_64-linux-gnu) [INFO] [stderr] warning: compiled by GNU C version 9.3.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: 466f818abe2f30ba03783f22bd12d815 [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-6d45febf762415eb/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-6d45febf762415eb/out/src/cpp/src/hello.o /tmp/cckc51ID.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-6d45febf762415eb/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-5e93317c4b3d737b.hello_rs.e143d647-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/hello_rs-5e93317c4b3d737b.hello_rs.e143d647-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/hello_rs-5e93317c4b3d737b.hello_rs.e143d647-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/hello_rs-5e93317c4b3d737b.hello_rs.e143d647-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/hello_rs-5e93317c4b3d737b.hello_rs.e143d647-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/hello_rs-5e93317c4b3d737b.hello_rs.e143d647-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/hello_rs-5e93317c4b3d737b.hello_rs.e143d647-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/hello_rs-5e93317c4b3d737b.1rcqvy78s5d2zbyx.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/usr/local/lib" "-L" "/opt/rustwide/target/debug/build/hello-rs-6d45febf762415eb/out" "-L" "/opt/rustwide/rustup-home/toolchains/1.59.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-e669d8c29913758f.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-a46a068050a12a4b.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-1df56095db9453cb.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-9062de483386e50b.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-b988ab269ff13602.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-1bc822d886d4f7bd.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-963eca8df4c224a6.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-d805b480c9102e58.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-06dfdbc22b935051.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-d7523a4d118e6572.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-5d7898c7fac3a07d.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-8c2bdbab4845bf3d.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-d578639df0547b30.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-58bbb7b1efa3a5e2.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-4c9b082d197c16f8.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-70f9ed6d8e7a5ce6.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-8c0a241d0360fa53.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-bad7ed93fdd31371.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-98b4d121af2b7335.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-1d9f7e5920635d15.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/hello_rs-5e93317c4b3d737b" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/hello_rs-5e93317c4b3d737b.hello_rs.e143d647-cgu.6.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-6d45febf762415eb/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] [stderr] The following warnings were emitted during compilation: [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [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.3.0-17ubuntu1~20.04' --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-HskZEa/gcc-9-9.3.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.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04) [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-6d45febf762415eb/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-6d45febf762415eb/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/cckc51ID.s [INFO] [stderr] warning: GNU C++14 (Ubuntu 9.3.0-17ubuntu1~20.04) version 9.3.0 (x86_64-linux-gnu) [INFO] [stderr] warning: compiled by GNU C version 9.3.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.3.0-17ubuntu1~20.04) version 9.3.0 (x86_64-linux-gnu) [INFO] [stderr] warning: compiled by GNU C version 9.3.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: 466f818abe2f30ba03783f22bd12d815 [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-6d45febf762415eb/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-6d45febf762415eb/out/src/cpp/src/hello.o /tmp/cckc51ID.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-6d45febf762415eb/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" "ea0480b5ef20619fcdfd4ee0239e87470c37ba15fcda1ca99270fc4d45d1e035", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea0480b5ef20619fcdfd4ee0239e87470c37ba15fcda1ca99270fc4d45d1e035", kill_on_drop: false }` [INFO] [stdout] ea0480b5ef20619fcdfd4ee0239e87470c37ba15fcda1ca99270fc4d45d1e035