[INFO] cloning repository https://github.com/tungtose/snappy-ffi-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tungtose/snappy-ffi-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftungtose%2Fsnappy-ffi-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftungtose%2Fsnappy-ffi-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a6782504f2fdfcc1e84ca7c5fc2b8831a6627307 [INFO] testing tungtose/snappy-ffi-rs against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftungtose%2Fsnappy-ffi-rs" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tungtose/snappy-ffi-rs [INFO] finished tweaking git repo https://github.com/tungtose/snappy-ffi-rs [INFO] tweaked toml for git repo https://github.com/tungtose/snappy-ffi-rs written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tungtose/snappy-ffi-rs on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tungtose/snappy-ffi-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e151e938768c7e6289531ea6ededf0e8be9cec5ef718906993cd68da542f0df [INFO] running `Command { std: "docker" "start" "-a" "2e151e938768c7e6289531ea6ededf0e8be9cec5ef718906993cd68da542f0df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e151e938768c7e6289531ea6ededf0e8be9cec5ef718906993cd68da542f0df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e151e938768c7e6289531ea6ededf0e8be9cec5ef718906993cd68da542f0df", kill_on_drop: false }` [INFO] [stdout] 2e151e938768c7e6289531ea6ededf0e8be9cec5ef718906993cd68da542f0df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 912a8a7ac77f28f159a4e03263d3e6a732c476e3c5940bc0f8ab2b626e686d4a [INFO] running `Command { std: "docker" "start" "-a" "912a8a7ac77f28f159a4e03263d3e6a732c476e3c5940bc0f8ab2b626e686d4a", kill_on_drop: false }` [INFO] [stderr] Compiling ffi-play v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcyPIaUX/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "-lsnappy" "/opt/rustwide/target/debug/deps/liblibc-2ac1cb2f7679afc6.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcyPIaUX/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "libs/" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/ffi_play-74c25c1b3a1e3e29" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: undefined symbol: operator new(unsigned long) [INFO] [stdout] >>> referenced by snappy.cc.o:(snappy::internal::WorkingMemory::WorkingMemory(unsigned long)) in archive /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libsnappy.a [INFO] [stdout] >>> referenced by snappy.cc.o:(void std::vector>::_M_realloc_insert(__gnu_cxx::__normal_iterator>>, snappy::SnappySinkAllocator::Datablock const&)) in archive /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libsnappy.a [INFO] [stdout] >>> referenced by snappy.cc.o:(void std::vector>::_M_realloc_insert(__gnu_cxx::__normal_iterator>>, char* const&)) in archive /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libsnappy.a [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: operator delete(void*, unsigned long) [INFO] [stdout] >>> referenced by snappy.cc.o:(snappy::Compress(snappy::Source*, snappy::Sink*)) in archive /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libsnappy.a [INFO] [stdout] >>> referenced by snappy.cc.o:(snappy::Uncompress(snappy::Source*, snappy::Sink*)) in archive /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libsnappy.a [INFO] [stdout] >>> referenced by snappy.cc.o:(snappy::Uncompress(snappy::Source*, snappy::Sink*)) in archive /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libsnappy.a [INFO] [stdout] >>> referenced 10 more times [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: std::__cxx11::basic_string, std::allocator>::resize(unsigned long, char) [INFO] [stdout] >>> referenced by snappy.cc.o:(snappy::Compress(char const*, unsigned long, std::__cxx11::basic_string, std::allocator>*)) in archive /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libsnappy.a [INFO] [stdout] >>> referenced by snappy.cc.o:(snappy::CompressFromIOVec(iovec const*, unsigned long, std::__cxx11::basic_string, std::allocator>*)) in archive /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libsnappy.a [INFO] [stdout] >>> referenced by snappy.cc.o:(snappy::Uncompress(char const*, unsigned long, std::__cxx11::basic_string, std::allocator>*)) in archive /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libsnappy.a [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: std::__throw_out_of_range_fmt(char const*, ...) [INFO] [stdout] >>> referenced by snappy.cc.o:(snappy::Compress(char const*, unsigned long, std::__cxx11::basic_string, std::allocator>*)) in archive /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libsnappy.a [INFO] [stdout] >>> referenced by snappy.cc.o:(snappy::CompressFromIOVec(iovec const*, unsigned long, std::__cxx11::basic_string, std::allocator>*)) in archive /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libsnappy.a [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: operator delete[](void*) [INFO] [stdout] >>> referenced by snappy.cc.o:(snappy::SnappySinkAllocator::Deleter(void*, char const*, unsigned long)) in archive /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libsnappy.a [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: std::__throw_length_error(char const*) [INFO] [stdout] >>> referenced by snappy.cc.o:(void std::vector>::_M_realloc_insert(__gnu_cxx::__normal_iterator>>, snappy::SnappySinkAllocator::Datablock const&)) in archive /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libsnappy.a [INFO] [stdout] >>> referenced by snappy.cc.o:(void std::vector>::_M_realloc_insert(__gnu_cxx::__normal_iterator>>, char* const&)) in archive /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libsnappy.a [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: __cxa_guard_acquire [INFO] [stdout] >>> referenced by snappy.cc.o:(std::pair snappy::DecompressBranchless(unsigned char const*, unsigned char const*, long, char*, long)) in archive /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libsnappy.a [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: __cxa_guard_release [INFO] [stdout] >>> referenced by snappy.cc.o:(std::pair snappy::DecompressBranchless(unsigned char const*, unsigned char const*, long, char*, long)) in archive /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libsnappy.a [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: operator new[](unsigned long) [INFO] [stdout] >>> referenced by snappy.cc.o:(snappy::SnappyScatteredWriter::SlowAppend(char const*, unsigned long)) in archive /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libsnappy.a [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: vtable for __cxxabiv1::__si_class_type_info [INFO] [stdout] >>> referenced by snappy.cc.o:(typeinfo for snappy::SnappyIOVecReader) in archive /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libsnappy.a [INFO] [stdout] >>> referenced by snappy-sinksource.cc.o:(typeinfo for snappy::ByteArraySource) in archive /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libsnappy.a [INFO] [stdout] >>> referenced by snappy-sinksource.cc.o:(typeinfo for snappy::UncheckedByteArraySink) in archive /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libsnappy.a [INFO] [stdout] >>> the vtable symbol may be undefined because the class is missing its key function (see https://lld.llvm.org/missingkeyfunction) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: vtable for __cxxabiv1::__class_type_info [INFO] [stdout] >>> referenced by snappy-sinksource.cc.o:(typeinfo for snappy::Sink) in archive /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libsnappy.a [INFO] [stdout] >>> referenced by snappy-sinksource.cc.o:(typeinfo for snappy::Source) in archive /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libsnappy.a [INFO] [stdout] >>> the vtable symbol may be undefined because the class is missing its key function (see https://lld.llvm.org/missingkeyfunction) [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ffi-play` (bin "ffi-play") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "912a8a7ac77f28f159a4e03263d3e6a732c476e3c5940bc0f8ab2b626e686d4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "912a8a7ac77f28f159a4e03263d3e6a732c476e3c5940bc0f8ab2b626e686d4a", kill_on_drop: false }` [INFO] [stdout] 912a8a7ac77f28f159a4e03263d3e6a732c476e3c5940bc0f8ab2b626e686d4a