[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 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkan-fumihito%2Fffi" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kan-fumihito/ffi 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/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-9/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" "+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-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e285d0d399d0f1b7478ae4dd51aec06674a247e4fb5a976c40fe6584f1b78991 [INFO] running `Command { std: "docker" "start" "-a" "e285d0d399d0f1b7478ae4dd51aec06674a247e4fb5a976c40fe6584f1b78991", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e285d0d399d0f1b7478ae4dd51aec06674a247e4fb5a976c40fe6584f1b78991", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e285d0d399d0f1b7478ae4dd51aec06674a247e4fb5a976c40fe6584f1b78991", kill_on_drop: false }` [INFO] [stdout] e285d0d399d0f1b7478ae4dd51aec06674a247e4fb5a976c40fe6584f1b78991 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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] d77f9d9ee41f7db24588fec5b211c643d87bd7419f03cc872ea9f7727ca63230 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d77f9d9ee41f7db24588fec5b211c643d87bd7419f03cc872ea9f7727ca63230", kill_on_drop: false }` [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.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' '-std=c++17' '-Wall' '-Wextra' '-v' '-g' '-o' '/opt/rustwide/target/debug/build/ffi-f3c967bec4faba5f/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-f3c967bec4faba5f/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/ccbogReC.s [INFO] [stderr] warning: GNU C++17 (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++17 (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' '-std=c++17' '-Wall' '-Wextra' '-v' '-g' '-o' '/opt/rustwide/target/debug/build/ffi-f3c967bec4faba5f/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-f3c967bec4faba5f/out/src/cpp/src/hello.o /tmp/ccbogReC.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-f3c967bec4faba5f/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 5.00s [INFO] running `Command { std: "docker" "inspect" "d77f9d9ee41f7db24588fec5b211c643d87bd7419f03cc872ea9f7727ca63230", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d77f9d9ee41f7db24588fec5b211c643d87bd7419f03cc872ea9f7727ca63230", kill_on_drop: false }` [INFO] [stdout] d77f9d9ee41f7db24588fec5b211c643d87bd7419f03cc872ea9f7727ca63230 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e868513b537d8476757c0d8b7fd6ffdb231e874ec1dedfd7a7df2214aa42754 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1e868513b537d8476757c0d8b7fd6ffdb231e874ec1dedfd7a7df2214aa42754", 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.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' '-std=c++17' '-Wall' '-Wextra' '-v' '-g' '-o' '/opt/rustwide/target/debug/build/ffi-f3c967bec4faba5f/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-f3c967bec4faba5f/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/ccbogReC.s [INFO] [stderr] warning: GNU C++17 (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++17 (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' '-std=c++17' '-Wall' '-Wextra' '-v' '-g' '-o' '/opt/rustwide/target/debug/build/ffi-f3c967bec4faba5f/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-f3c967bec4faba5f/out/src/cpp/src/hello.o /tmp/ccbogReC.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-f3c967bec4faba5f/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 0.79s [INFO] running `Command { std: "docker" "inspect" "1e868513b537d8476757c0d8b7fd6ffdb231e874ec1dedfd7a7df2214aa42754", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e868513b537d8476757c0d8b7fd6ffdb231e874ec1dedfd7a7df2214aa42754", kill_on_drop: false }` [INFO] [stdout] 1e868513b537d8476757c0d8b7fd6ffdb231e874ec1dedfd7a7df2214aa42754 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e97a37b559f3b5cf356273b5bbfc159406bd3f4a9f7368d89451fccc0914d5a6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e97a37b559f3b5cf356273b5bbfc159406bd3f4a9f7368d89451fccc0914d5a6", 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.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' '-std=c++17' '-Wall' '-Wextra' '-v' '-g' '-o' '/opt/rustwide/target/debug/build/ffi-f3c967bec4faba5f/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-f3c967bec4faba5f/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/ccbogReC.s [INFO] [stderr] warning: GNU C++17 (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++17 (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' '-std=c++17' '-Wall' '-Wextra' '-v' '-g' '-o' '/opt/rustwide/target/debug/build/ffi-f3c967bec4faba5f/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-f3c967bec4faba5f/out/src/cpp/src/hello.o /tmp/ccbogReC.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-f3c967bec4faba5f/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 (/opt/rustwide/target/debug/deps/ffi-4903b495636c79a0) [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" "e97a37b559f3b5cf356273b5bbfc159406bd3f4a9f7368d89451fccc0914d5a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e97a37b559f3b5cf356273b5bbfc159406bd3f4a9f7368d89451fccc0914d5a6", kill_on_drop: false }` [INFO] [stdout] e97a37b559f3b5cf356273b5bbfc159406bd3f4a9f7368d89451fccc0914d5a6