[INFO] crate tinysnark 0.0.1 is already in cache [INFO] checking tinysnark-0.0.1 against try#89c05fd3cc6404a13e1bd71450c6132a2755fa4b for pr-69741 [INFO] extracting crate tinysnark 0.0.1 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate tinysnark 0.0.1 on toolchain 89c05fd3cc6404a13e1bd71450c6132a2755fa4b [INFO] running `"/workspace/cargo-home/bin/cargo" "+89c05fd3cc6404a13e1bd71450c6132a2755fa4b" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate tinysnark 0.0.1 [INFO] finished tweaking crates.io crate tinysnark 0.0.1 [INFO] tweaked toml for crates.io crate tinysnark 0.0.1 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+89c05fd3cc6404a13e1bd71450c6132a2755fa4b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+89c05fd3cc6404a13e1bd71450c6132a2755fa4b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+89c05fd3cc6404a13e1bd71450c6132a2755fa4b" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d4557af7c224747f088f257a01623cbfca3717193851719ed4ab0a2c8ef6125f [INFO] running `"docker" "start" "-a" "d4557af7c224747f088f257a01623cbfca3717193851719ed4ab0a2c8ef6125f"` [INFO] [stderr] Compiling tinysnark v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'gcc::Config': gcc::Config has been renamed to gcc::Build [INFO] [stderr] --> build.rs:21:19 [INFO] [stderr] | [INFO] [stderr] 21 | let mut cfg = gcc::Config::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'gcc::Build::new': crate has been renamed to `cc`, the `gcc` name is not maintained [INFO] [stderr] --> build.rs:21:19 [INFO] [stderr] | [INFO] [stderr] 21 | let mut cfg = gcc::Config::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: failed to run custom build command for `tinysnark v0.0.1 (/opt/rustwide/workdir)` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/tinysnark-292339265046034c/build-script-build` (exit code: 101) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:rustc-link-lib=gmp [INFO] [stderr] cargo:rustc-link-lib=gmpxx [INFO] [stderr] TARGET = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] OPT_LEVEL = Some("0") [INFO] [stderr] TARGET = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] HOST = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] TARGET = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] TARGET = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] HOST = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] CXX_x86_64-unknown-linux-gnu = None [INFO] [stderr] CXX_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CXX = None [INFO] [stderr] CXX = None [INFO] [stderr] HOST = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] TARGET = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] HOST = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] CXXFLAGS_x86_64-unknown-linux-gnu = None [INFO] [stderr] CXXFLAGS_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CXXFLAGS = None [INFO] [stderr] CXXFLAGS = None [INFO] [stderr] DEBUG = Some("true") [INFO] [stderr] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-m64" "-I" "libsnark/src" "-std=c++11" "-DNO_PROCPS" "-DSTATIC" "-DCURVE_ALT_BN128" "-Wall" "-Wextra" "-o" "/opt/rustwide/target/debug/build/tinysnark-10efaa067212e674/out/tinysnark.o" "-c" "tinysnark.cpp" [INFO] [stderr] cargo:warning=In file included from libsnark/src/common/data_structures/sparse_vector.hpp:77:0, [INFO] [stderr] cargo:warning= from libsnark/src/common/data_structures/accumulation_vector.hpp:15, [INFO] [stderr] cargo:warning= from libsnark/src/zk_proof_systems/ppzksnark/r1cs_ppzksnark/r1cs_ppzksnark.hpp:52, [INFO] [stderr] cargo:warning= from tinysnark.cpp:7: [INFO] [stderr] cargo:warning=libsnark/src/common/data_structures/sparse_vector.tcc: In constructor 'libsnark::sparse_vector::sparse_vector(std::vector&&)': [INFO] [stderr] cargo:warning=libsnark/src/common/data_structures/sparse_vector.tcc:26:10: error: 'iota' is not a member of 'std' [INFO] [stderr] cargo:warning= std::iota(indices.begin(), indices.end(), 0); [INFO] [stderr] cargo:warning= ^~~~ [INFO] [stderr] cargo:warning=libsnark/src/common/data_structures/sparse_vector.tcc:26:10: note: suggested alternative: 'not2' [INFO] [stderr] cargo:warning= std::iota(indices.begin(), indices.end(), 0); [INFO] [stderr] cargo:warning= ^~~~ [INFO] [stderr] cargo:warning= not2 [INFO] [stderr] cargo:warning=In file included from libsnark/src/gadgetlib1/protoboard.hpp:74:0, [INFO] [stderr] cargo:warning= from libsnark/src/gadgetlib1/gadget.hpp:11, [INFO] [stderr] cargo:warning= from libsnark/src/gadgetlib1/gadgets/basic_gadgets.hpp:14, [INFO] [stderr] cargo:warning= from tinysnark.cpp:6: [INFO] [stderr] cargo:warning=libsnark/src/gadgetlib1/protoboard.tcc: In instantiation of 'void libsnark::protoboard::add_r1cs_constraint(const libsnark::r1cs_constraint&, const string&) [with FieldT = libsnark::Fp_model<4, ((const libsnark::bigint<4>&)(& libsnark::alt_bn128_modulus_r))>; std::__cxx11::string = std::__cxx11::basic_string]': [INFO] [stderr] cargo:warning=tinysnark.cpp:27:73: required from here [INFO] [stderr] cargo:warning=libsnark/src/gadgetlib1/protoboard.tcc:98:104: warning: unused parameter 'annotation' [-Wunused-parameter] [INFO] [stderr] cargo:warning= void protoboard::add_r1cs_constraint(const r1cs_constraint &constr, const std::string &annotation) [INFO] [stderr] cargo:warning= ^~~~~~~~~~ [INFO] [stderr] cargo:warning=In file included from libsnark/src/algebra/scalar_multiplication/kc_multiexp.hpp:53:0, [INFO] [stderr] cargo:warning= from libsnark/src/zk_proof_systems/ppzksnark/r1cs_ppzksnark/r1cs_ppzksnark.tcc:26, [INFO] [stderr] cargo:warning= from libsnark/src/zk_proof_systems/ppzksnark/r1cs_ppzksnark/r1cs_ppzksnark.hpp:468, [INFO] [stderr] cargo:warning= from tinysnark.cpp:7: [INFO] [stderr] cargo:warning=libsnark/src/algebra/scalar_multiplication/kc_multiexp.tcc: In instantiation of 'libsnark::knowledge_commitment libsnark::kc_multi_exp_with_mixed_addition(libsnark::knowledge_commitment_vector&, size_t, size_t, typename std::vector::const_iterator, typename std::vector::const_iterator, size_t, bool) [with T1 = libsnark::alt_bn128_G1; T2 = libsnark::alt_bn128_G1; FieldT = libsnark::Fp_model<4, ((const libsnark::bigint<4>&)(& libsnark::alt_bn128_modulus_r))>; libsnark::knowledge_commitment_vector = libsnark::sparse_vector >; size_t = long unsigned int; typename std::vector::const_iterator = __gnu_cxx::__normal_iterator&)(& libsnark::alt_bn128_modulus_r))>*, std::vector&)(& libsnark::alt_bn128_modulus_r))>, std::allocator&)(& libsnark::alt_bn128_modulus_r))> > > >]': [INFO] [stderr] cargo:warning=libsnark/src/zk_proof_systems/ppzksnark/r1cs_ppzksnark/r1cs_ppzksnark.tcc:477:77: required from 'libsnark::r1cs_ppzksnark_proof libsnark::r1cs_ppzksnark_prover(const libsnark::r1cs_ppzksnark_proving_key&, libsnark::r1cs_ppzksnark_primary_input&, libsnark::r1cs_ppzksnark_auxiliary_input&) [with ppT = libsnark::alt_bn128_pp; libsnark::r1cs_ppzksnark_primary_input = std::vector&)(& libsnark::alt_bn128_modulus_r))>, std::allocator&)(& libsnark::alt_bn128_modulus_r))> > >; typename EC_ppT::Fp_type = libsnark::Fp_model<4, ((const libsnark::bigint<4>&)(& libsnark::alt_bn128_modulus_r))>; libsnark::r1cs_ppzksnark_auxiliary_input = std::vector&)(& libsnark::alt_bn128_modulus_r))>, std::allocator&)(& libsnark::alt_bn128_modulus_r))> > >]' [INFO] [stderr] cargo:warning=tinysnark.cpp:37:116: required from here [INFO] [stderr] cargo:warning=libsnark/src/algebra/scalar_multiplication/kc_multiexp.tcc:26:110: warning: unused parameter 'scalar_end' [-Wunused-parameter] [INFO] [stderr] cargo:warning= typename std::vector::const_iterator scalar_end, [INFO] [stderr] cargo:warning= ^~~~~~~~~~ [INFO] [stderr] cargo:warning=libsnark/src/algebra/scalar_multiplication/kc_multiexp.tcc: In instantiation of 'libsnark::knowledge_commitment libsnark::kc_multi_exp_with_mixed_addition(libsnark::knowledge_commitment_vector&, size_t, size_t, typename std::vector::const_iterator, typename std::vector::const_iterator, size_t, bool) [with T1 = libsnark::alt_bn128_G2; T2 = libsnark::alt_bn128_G1; FieldT = libsnark::Fp_model<4, ((const libsnark::bigint<4>&)(& libsnark::alt_bn128_modulus_r))>; libsnark::knowledge_commitment_vector = libsnark::sparse_vector >; size_t = long unsigned int; typename std::vector::const_iterator = __gnu_cxx::__normal_iterator&)(& libsnark::alt_bn128_modulus_r))>*, std::vector&)(& libsnark::alt_bn128_modulus_r))>, std::allocator&)(& libsnark::alt_bn128_modulus_r))> > > >]': [INFO] [stderr] cargo:warning=libsnark/src/zk_proof_systems/ppzksnark/r1cs_ppzksnark/r1cs_ppzksnark.tcc:484:77: required from 'libsnark::r1cs_ppzksnark_proof libsnark::r1cs_ppzksnark_prover(const libsnark::r1cs_ppzksnark_proving_key&, libsnark::r1cs_ppzksnark_primary_input&, libsnark::r1cs_ppzksnark_auxiliary_input&) [with ppT = libsnark::alt_bn128_pp; libsnark::r1cs_ppzksnark_primary_input = std::vector&)(& libsnark::alt_bn128_modulus_r))>, std::allocator&)(& libsnark::alt_bn128_modulus_r))> > >; typename EC_ppT::Fp_type = libsnark::Fp_model<4, ((const libsnark::bigint<4>&)(& libsnark::alt_bn128_modulus_r))>; libsnark::r1cs_ppzksnark_auxiliary_input = std::vector&)(& libsnark::alt_bn128_modulus_r))>, std::allocator&)(& libsnark::alt_bn128_modulus_r))> > >]' [INFO] [stderr] cargo:warning=tinysnark.cpp:37:116: required from here [INFO] [stderr] cargo:warning=libsnark/src/algebra/scalar_multiplication/kc_multiexp.tcc:26:110: warning: unused parameter 'scalar_end' [-Wunused-parameter] [INFO] [stderr] cargo:warning=In file included from libsnark/src/algebra/scalar_multiplication/multiexp.hpp:108:0, [INFO] [stderr] cargo:warning= from libsnark/src/common/data_structures/sparse_vector.tcc:17, [INFO] [stderr] cargo:warning= from libsnark/src/common/data_structures/sparse_vector.hpp:77, [INFO] [stderr] cargo:warning= from libsnark/src/common/data_structures/accumulation_vector.hpp:15, [INFO] [stderr] cargo:warning= from libsnark/src/zk_proof_systems/ppzksnark/r1cs_ppzksnark/r1cs_ppzksnark.hpp:52, [INFO] [stderr] cargo:warning= from tinysnark.cpp:7: [INFO] [stderr] cargo:warning=libsnark/src/algebra/scalar_multiplication/multiexp.tcc: In instantiation of 'T libsnark::multi_exp_with_mixed_addition(typename std::vector::const_iterator, typename std::vector::const_iterator, typename std::vector::const_iterator, typename std::vector::const_iterator, size_t, bool) [with T = libsnark::alt_bn128_G1; FieldT = libsnark::Fp_model<4, ((const libsnark::bigint<4>&)(& libsnark::alt_bn128_modulus_r))>; typename std::vector::const_iterator = __gnu_cxx::__normal_iterator >; typename std::vector::const_iterator = __gnu_cxx::__normal_iterator&)(& libsnark::alt_bn128_modulus_r))>*, std::vector&)(& libsnark::alt_bn128_modulus_r))>, std::allocator&)(& libsnark::alt_bn128_modulus_r))> > > >; size_t = long unsigned int]': [INFO] [stderr] cargo:warning=libsnark/src/zk_proof_systems/ppzksnark/r1cs_ppzksnark/r1cs_ppzksnark.tcc:504:65: required from 'libsnark::r1cs_ppzksnark_proof libsnark::r1cs_ppzksnark_prover(const libsnark::r1cs_ppzksnark_proving_key&, libsnark::r1cs_ppzksnark_primary_input&, libsnark::r1cs_ppzksnark_auxiliary_input&) [with ppT = libsnark::alt_bn128_pp; libsnark::r1cs_ppzksnark_primary_input = std::vector&)(& libsnark::alt_bn128_modulus_r))>, std::allocator&)(& libsnark::alt_bn128_modulus_r))> > >; typename EC_ppT::Fp_type = libsnark::Fp_model<4, ((const libsnark::bigint<4>&)(& libsnark::alt_bn128_modulus_r))>; libsnark::r1cs_ppzksnark_auxiliary_input = std::vector&)(& libsnark::alt_bn128_modulus_r))>, std::allocator&)(& libsnark::alt_bn128_modulus_r))> > >]' [INFO] [stderr] cargo:warning=tinysnark.cpp:37:116: required from here [INFO] [stderr] cargo:warning=libsnark/src/algebra/scalar_multiplication/multiexp.tcc:326:75: warning: unused parameter 'vec_end' [-Wunused-parameter] [INFO] [stderr] cargo:warning= typename std::vector::const_iterator vec_end, [INFO] [stderr] cargo:warning= ^~~~~~~ [INFO] [stderr] exit code: 1 [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] thread 'main' panicked at ' [INFO] [stderr] [INFO] [stderr] Internal error occurred: Command "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-m64" "-I" "libsnark/src" "-std=c++11" "-DNO_PROCPS" "-DSTATIC" "-DCURVE_ALT_BN128" "-Wall" "-Wextra" "-o" "/opt/rustwide/target/debug/build/tinysnark-10efaa067212e674/out/tinysnark.o" "-c" "tinysnark.cpp" with args "c++" did not execute successfully (status code exit code: 1). [INFO] [stderr] [INFO] [stderr] ', /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/gcc-0.3.55/src/lib.rs:1672:5 [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x5610dee8c704 - backtrace::backtrace::libunwind::trace::h91d1589f784e7177 [INFO] [stderr] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.44/src/backtrace/libunwind.rs:86 [INFO] [stderr] 1: 0x5610dee8c704 - backtrace::backtrace::trace_unsynchronized::h9ec8949702a1f108 [INFO] [stderr] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.44/src/backtrace/mod.rs:66 [INFO] [stderr] 2: 0x5610dee8c704 - std::sys_common::backtrace::_print_fmt::h97468752f36a9a0e [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stderr] 3: 0x5610dee8c704 - ::fmt::ha27a4263940af5a9 [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stderr] 4: 0x5610deead09c - core::fmt::write::h061ec21cc1fda96c [INFO] [stderr] at src/libcore/fmt/mod.rs:1063 [INFO] [stderr] 5: 0x5610dee88a37 - std::io::Write::write_fmt::ha58db9b6b5ace99d [INFO] [stderr] at src/libstd/io/mod.rs:1428 [INFO] [stderr] 6: 0x5610dee8ef35 - std::sys_common::backtrace::_print::h92d96c5907bac82b [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stderr] 7: 0x5610dee8ef35 - std::sys_common::backtrace::print::hb08c4606d19eee23 [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stderr] 8: 0x5610dee8ef35 - std::panicking::default_hook::{{closure}}::h28e247f6a0250f5d [INFO] [stderr] at src/libstd/panicking.rs:204 [INFO] [stderr] 9: 0x5610dee8ec82 - std::panicking::default_hook::h3647fb19c6fd2d5c [INFO] [stderr] at src/libstd/panicking.rs:224 [INFO] [stderr] 10: 0x5610dee8f542 - std::panicking::rust_panic_with_hook::h38d69a94e615bc72 [INFO] [stderr] at src/libstd/panicking.rs:470 [INFO] [stderr] 11: 0x5610dee8f12b - rust_begin_unwind [INFO] [stderr] at src/libstd/panicking.rs:378 [INFO] [stderr] 12: 0x5610dee8f09b - std::panicking::begin_panic_fmt::h5f9b8ebe8c2c84f9 [INFO] [stderr] at src/libstd/panicking.rs:332 [INFO] [stderr] 13: 0x5610dee554d7 - gcc::fail::h10e87b86b1ba2c49 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/gcc-0.3.55/src/lib.rs:1672 [INFO] [stderr] 14: 0x5610dee46f6e - gcc::Build::compile::h48985a3242e19501 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/gcc-0.3.55/src/lib.rs:785 [INFO] [stderr] 15: 0x5610dee41abd - build_script_build::main::hf1c18e5c1cce5465 [INFO] [stderr] at /opt/rustwide/workdir/build.rs:39 [INFO] [stderr] 16: 0x5610dee42d8b - std::rt::lang_start::{{closure}}::hf33e471de9704bd8 [INFO] [stderr] at /rustc/89c05fd3cc6404a13e1bd71450c6132a2755fa4b/src/libstd/rt.rs:67 [INFO] [stderr] 17: 0x5610dee8f053 - std::rt::lang_start_internal::{{closure}}::hf3e6a4ec162517f7 [INFO] [stderr] at src/libstd/rt.rs:52 [INFO] [stderr] 18: 0x5610dee8f053 - std::panicking::try::do_call::h77ed59d4706bc4a8 [INFO] [stderr] at src/libstd/panicking.rs:303 [INFO] [stderr] 19: 0x5610dee97a17 - __rust_maybe_catch_panic [INFO] [stderr] at src/libpanic_unwind/lib.rs:86 [INFO] [stderr] 20: 0x5610dee8fa6b - std::panicking::try::h3e27a5213663f467 [INFO] [stderr] at src/libstd/panicking.rs:281 [INFO] [stderr] 21: 0x5610dee8fa6b - std::panic::catch_unwind::ha46de5fecc0d9a90 [INFO] [stderr] at src/libstd/panic.rs:394 [INFO] [stderr] 22: 0x5610dee8fa6b - std::rt::lang_start_internal::hb81abf531274a39e [INFO] [stderr] at src/libstd/rt.rs:51 [INFO] [stderr] 23: 0x5610dee42d67 - std::rt::lang_start::h9a23dbd33f62373b [INFO] [stderr] at /rustc/89c05fd3cc6404a13e1bd71450c6132a2755fa4b/src/libstd/rt.rs:67 [INFO] [stderr] 24: 0x5610dee41b1a - main [INFO] [stderr] 25: 0x7fb4e1fc6b97 - __libc_start_main [INFO] [stderr] 26: 0x5610dee40c9a - _start [INFO] [stderr] 27: 0x0 - [INFO] [stderr] [INFO] running `"docker" "inspect" "d4557af7c224747f088f257a01623cbfca3717193851719ed4ab0a2c8ef6125f"` [INFO] running `"docker" "rm" "-f" "d4557af7c224747f088f257a01623cbfca3717193851719ed4ab0a2c8ef6125f"` [INFO] [stdout] d4557af7c224747f088f257a01623cbfca3717193851719ed4ab0a2c8ef6125f