[INFO] cloning repository https://github.com/kan-fumihito/ffi
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kan-fumihito/ffi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkan-fumihito%2Fffi", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkan-fumihito%2Fffi'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0309058617b2884493b7bc2ff9f8e2e5c03bda2e
[INFO] testing kan-fumihito/ffi against beta-2022-07-16 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkan-fumihito%2Fffi" "/workspace/builds/worker-7/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/kan-fumihito/ffi on toolchain beta-2022-07-16
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/kan-fumihito/ffi
[INFO] finished tweaking git repo https://github.com/kan-fumihito/ffi
[INFO] tweaked toml for git repo https://github.com/kan-fumihito/ffi written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/kan-fumihito/ffi already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c75e141c85dc76ba98e628267edcfc993f8b256fc984ff1e886103b71897f039
[INFO] running `Command { std: "docker" "start" "-a" "c75e141c85dc76ba98e628267edcfc993f8b256fc984ff1e886103b71897f039", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c75e141c85dc76ba98e628267edcfc993f8b256fc984ff1e886103b71897f039", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c75e141c85dc76ba98e628267edcfc993f8b256fc984ff1e886103b71897f039", kill_on_drop: false }`
[INFO] [stdout] c75e141c85dc76ba98e628267edcfc993f8b256fc984ff1e886103b71897f039
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a14f5740b8800b95492f8f3a3719a22fc24d2a4ac14338c73ca317faf4006b22
[INFO] running `Command { std: "docker" "start" "-a" "a14f5740b8800b95492f8f3a3719a22fc24d2a4ac14338c73ca317faf4006b22", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.103
[INFO] [stderr]    Compiling jobserver v0.1.24
[INFO] [stderr]    Compiling cc v1.0.71
[INFO] [stderr]    Compiling ffi 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' '-std=c++17' '-Wall' '-Wextra' '-v' '-g' '-o' '/opt/rustwide/target/debug/build/ffi-bb246e5ec552d7e3/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/ffi-bb246e5ec552d7e3/out/src/cpp/src/hello.o -g -g -O0 -Wall -Wextra -std=c++17 -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/ccLCduil.s
[INFO] [stderr] warning: GNU C++17 (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++17 (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' '-std=c++17' '-Wall' '-Wextra' '-v' '-g' '-o' '/opt/rustwide/target/debug/build/ffi-bb246e5ec552d7e3/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/ffi-bb246e5ec552d7e3/out/src/cpp/src/hello.o /tmp/ccLCduil.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' '-std=c++17' '-Wall' '-Wextra' '-v' '-g' '-o' '/opt/rustwide/target/debug/build/ffi-bb246e5ec552d7e3/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:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | use libc::{c_char, c_void, 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:16
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::ffi::{CStr, CString};
[INFO] [stdout]   |                ^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 4.43s
[INFO] running `Command { std: "docker" "inspect" "a14f5740b8800b95492f8f3a3719a22fc24d2a4ac14338c73ca317faf4006b22", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a14f5740b8800b95492f8f3a3719a22fc24d2a4ac14338c73ca317faf4006b22", kill_on_drop: false }`
[INFO] [stdout] a14f5740b8800b95492f8f3a3719a22fc24d2a4ac14338c73ca317faf4006b22
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 898afd9ce44cccddb3311b664e7ba2721468d6f607103778ffcecfb7d63484cb
[INFO] running `Command { std: "docker" "start" "-a" "898afd9ce44cccddb3311b664e7ba2721468d6f607103778ffcecfb7d63484cb", kill_on_drop: false }`
[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' '-std=c++17' '-Wall' '-Wextra' '-v' '-g' '-o' '/opt/rustwide/target/debug/build/ffi-bb246e5ec552d7e3/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/ffi-bb246e5ec552d7e3/out/src/cpp/src/hello.o -g -g -O0 -Wall -Wextra -std=c++17 -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/ccLCduil.s
[INFO] [stderr] warning: GNU C++17 (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++17 (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' '-std=c++17' '-Wall' '-Wextra' '-v' '-g' '-o' '/opt/rustwide/target/debug/build/ffi-bb246e5ec552d7e3/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/ffi-bb246e5ec552d7e3/out/src/cpp/src/hello.o /tmp/ccLCduil.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' '-std=c++17' '-Wall' '-Wextra' '-v' '-g' '-o' '/opt/rustwide/target/debug/build/ffi-bb246e5ec552d7e3/out/src/cpp/src/hello.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
[INFO] [stderr]    Compiling ffi v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `c_char`, `c_void`, `size_t`
[INFO] [stdout]  --> src/main.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | use libc::{c_char, c_void, 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:16
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::ffi::{CStr, CString};
[INFO] [stdout]   |                ^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 1.06s
[INFO] running `Command { std: "docker" "inspect" "898afd9ce44cccddb3311b664e7ba2721468d6f607103778ffcecfb7d63484cb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "898afd9ce44cccddb3311b664e7ba2721468d6f607103778ffcecfb7d63484cb", kill_on_drop: false }`
[INFO] [stdout] 898afd9ce44cccddb3311b664e7ba2721468d6f607103778ffcecfb7d63484cb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 65415476913befbdd0714c3ca441cae153d1ec12e875986f4414c381e50ba997
[INFO] running `Command { std: "docker" "start" "-a" "65415476913befbdd0714c3ca441cae153d1ec12e875986f4414c381e50ba997", kill_on_drop: false }`
[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' '-std=c++17' '-Wall' '-Wextra' '-v' '-g' '-o' '/opt/rustwide/target/debug/build/ffi-bb246e5ec552d7e3/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/ffi-bb246e5ec552d7e3/out/src/cpp/src/hello.o -g -g -O0 -Wall -Wextra -std=c++17 -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/ccLCduil.s
[INFO] [stderr] warning: GNU C++17 (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++17 (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' '-std=c++17' '-Wall' '-Wextra' '-v' '-g' '-o' '/opt/rustwide/target/debug/build/ffi-bb246e5ec552d7e3/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/ffi-bb246e5ec552d7e3/out/src/cpp/src/hello.o /tmp/ccLCduil.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' '-std=c++17' '-Wall' '-Wextra' '-v' '-g' '-o' '/opt/rustwide/target/debug/build/ffi-bb246e5ec552d7e3/out/src/cpp/src/hello.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
[INFO] [stderr] warning: unused imports: `c_char`, `c_void`, `size_t`
[INFO] [stderr]  --> src/main.rs:3:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | use libc::{c_char, c_void, size_t};
[INFO] [stderr]   |            ^^^^^^  ^^^^^^  ^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `CStr`, `CString`
[INFO] [stderr]  --> src/main.rs:4:16
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::ffi::{CStr, CString};
[INFO] [stderr]   |                ^^^^  ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `ffi` (bin "ffi" test) generated 2 warnings
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.01s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ffi-4f85f7ee5d8f89d4)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "65415476913befbdd0714c3ca441cae153d1ec12e875986f4414c381e50ba997", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "65415476913befbdd0714c3ca441cae153d1ec12e875986f4414c381e50ba997", kill_on_drop: false }`
[INFO] [stdout] 65415476913befbdd0714c3ca441cae153d1ec12e875986f4414c381e50ba997
