[INFO] cloning repository https://github.com/threecgreen/cpp-rust-cpp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/threecgreen/cpp-rust-cpp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthreecgreen%2Fcpp-rust-cpp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthreecgreen%2Fcpp-rust-cpp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 64fa83280d9dd56a4f85f94df3d3e898e4e2cee7 [INFO] checking threecgreen/cpp-rust-cpp against master#836c31742687ba4e2f857b5b698e1e9e6b67619c for pr-81789 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthreecgreen%2Fcpp-rust-cpp" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/threecgreen/cpp-rust-cpp on toolchain 836c31742687ba4e2f857b5b698e1e9e6b67619c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/threecgreen/cpp-rust-cpp [INFO] finished tweaking git repo https://github.com/threecgreen/cpp-rust-cpp [INFO] tweaked toml for git repo https://github.com/threecgreen/cpp-rust-cpp written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/threecgreen/cpp-rust-cpp already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "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] 529b34201d08f7d6caf8a3826c70df4e33dbdb7be9466421eabd8fa901a0ac95 [INFO] running `Command { std: "docker" "start" "-a" "529b34201d08f7d6caf8a3826c70df4e33dbdb7be9466421eabd8fa901a0ac95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "529b34201d08f7d6caf8a3826c70df4e33dbdb7be9466421eabd8fa901a0ac95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "529b34201d08f7d6caf8a3826c70df4e33dbdb7be9466421eabd8fa901a0ac95", kill_on_drop: false }` [INFO] [stdout] 529b34201d08f7d6caf8a3826c70df4e33dbdb7be9466421eabd8fa901a0ac95 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8980cb601cce9668e269e14769a13b34b03fcb752344bd34ae46bb1eb76078e3 [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" "8980cb601cce9668e269e14769a13b34b03fcb752344bd34ae46bb1eb76078e3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.14 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling cbindgen v0.13.1 [INFO] [stderr] Compiling bindgen v0.53.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling memchr v2.3.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling aho-corasick v0.7.8 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling regex v1.3.4 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling serde_json v1.0.48 [INFO] [stderr] Compiling impl-lib v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: failed to run custom build command for `impl-lib v0.1.0 (/opt/rustwide/workdir)` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/impl-lib-4e22c95e900bf23a/build-script-build` (exit status: 101) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:rerun-if-changed=wrapper.h [INFO] [stderr] cargo:rerun-if-changed=./cpp/logger.h [INFO] [stderr] cargo:rerun-if-changed=/usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/cstdint [INFO] [stderr] cargo:rerun-if-changed=/usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/x86_64-linux-gnu/c++/10/bits/c++config.h [INFO] [stderr] cargo:rerun-if-changed=/usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/x86_64-linux-gnu/c++/10/bits/os_defines.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/features.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/stdc-predef.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/sys/cdefs.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/wordsize.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/long-double.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/gnu/stubs.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/gnu/stubs-64.h [INFO] [stderr] cargo:rerun-if-changed=/usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/x86_64-linux-gnu/c++/10/bits/cpu_defines.h [INFO] [stderr] cargo:rerun-if-changed=/usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/pstl/pstl_config.h [INFO] [stderr] cargo:rerun-if-changed=/usr/lib/llvm-10/lib/clang/10.0.0/include/stdint.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/stdint.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/libc-header-start.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/features.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/types.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/features.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/wordsize.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/timesize.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/typesizes.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/time64.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/wchar.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/wordsize.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/stdint-intn.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/types.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/stdint-uintn.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/types.h [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] error: 'rustfmt' is not installed for the toolchain '836c31742687ba4e2f857b5b698e1e9e6b67619c' [INFO] [stderr] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stderr] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stderr] Failed to run rustfmt: Internal rustfmt error (non-fatal, continuing) [INFO] [stderr] thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: Other, message: "Read-only file system" }', /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cbindgen-0.13.1/src/bindgen/bindings.rs:101:43 [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x5630fbdc0440 - std::backtrace_rs::backtrace::libunwind::trace::hec7eaac9435d3512 [INFO] [stderr] at /rustc/836c31742687ba4e2f857b5b698e1e9e6b67619c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stderr] 1: 0x5630fbdc0440 - std::backtrace_rs::backtrace::trace_unsynchronized::h42791b8fa12b7daa [INFO] [stderr] at /rustc/836c31742687ba4e2f857b5b698e1e9e6b67619c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x5630fbdc0440 - std::sys_common::backtrace::_print_fmt::h3da3ebe04fb665a8 [INFO] [stderr] at /rustc/836c31742687ba4e2f857b5b698e1e9e6b67619c/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stderr] 3: 0x5630fbdc0440 - ::fmt::he40bcdde3c4491cd [INFO] [stderr] at /rustc/836c31742687ba4e2f857b5b698e1e9e6b67619c/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stderr] 4: 0x5630fbde702f - core::fmt::write::h2c729149c08098ab [INFO] [stderr] at /rustc/836c31742687ba4e2f857b5b698e1e9e6b67619c/library/core/src/fmt/mod.rs:1094:17 [INFO] [stderr] 5: 0x5630fbdbd395 - std::io::Write::write_fmt::h28e0f2f58b8d7b7e [INFO] [stderr] at /rustc/836c31742687ba4e2f857b5b698e1e9e6b67619c/library/std/src/io/mod.rs:1580:15 [INFO] [stderr] 6: 0x5630fbdc2c8b - std::sys_common::backtrace::_print::h7f0223b1e3d898fc [INFO] [stderr] at /rustc/836c31742687ba4e2f857b5b698e1e9e6b67619c/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stderr] 7: 0x5630fbdc2c8b - std::sys_common::backtrace::print::h58edd634a14c2d4c [INFO] [stderr] at /rustc/836c31742687ba4e2f857b5b698e1e9e6b67619c/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stderr] 8: 0x5630fbdc2c8b - std::panicking::default_hook::{{closure}}::h71657a7591430164 [INFO] [stderr] at /rustc/836c31742687ba4e2f857b5b698e1e9e6b67619c/library/std/src/panicking.rs:208:50 [INFO] [stderr] 9: 0x5630fbdc276d - std::panicking::default_hook::hcdf4eb5db072c85b [INFO] [stderr] at /rustc/836c31742687ba4e2f857b5b698e1e9e6b67619c/library/std/src/panicking.rs:225:9 [INFO] [stderr] 10: 0x5630fbdc3260 - std::panicking::rust_panic_with_hook::hfb91e961ffb5b8e0 [INFO] [stderr] at /rustc/836c31742687ba4e2f857b5b698e1e9e6b67619c/library/std/src/panicking.rs:595:17 [INFO] [stderr] 11: 0x5630fbdc2e37 - std::panicking::begin_panic_handler::{{closure}}::h984d540e84311150 [INFO] [stderr] at /rustc/836c31742687ba4e2f857b5b698e1e9e6b67619c/library/std/src/panicking.rs:497:13 [INFO] [stderr] 12: 0x5630fbdc08dc - std::sys_common::backtrace::__rust_end_short_backtrace::h32354258ff2aecd1 [INFO] [stderr] at /rustc/836c31742687ba4e2f857b5b698e1e9e6b67619c/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stderr] 13: 0x5630fbdc2d99 - rust_begin_unwind [INFO] [stderr] at /rustc/836c31742687ba4e2f857b5b698e1e9e6b67619c/library/std/src/panicking.rs:493:5 [INFO] [stderr] 14: 0x5630fb347741 - core::panicking::panic_fmt::he3827412471ccbb1 [INFO] [stderr] at /rustc/836c31742687ba4e2f857b5b698e1e9e6b67619c/library/core/src/panicking.rs:92:14 [INFO] [stderr] 15: 0x5630fb347833 - core::result::unwrap_failed::h6e66654d198da7bd [INFO] [stderr] at /rustc/836c31742687ba4e2f857b5b698e1e9e6b67619c/library/core/src/result.rs:1355:5 [INFO] [stderr] 16: 0x5630fb44028a - core::result::Result::unwrap::h632b4fce94e129d0 [INFO] [stderr] at /rustc/836c31742687ba4e2f857b5b698e1e9e6b67619c/library/core/src/result.rs:1037:23 [INFO] [stderr] 17: 0x5630fb4622e5 - cbindgen::bindgen::bindings::Bindings::write_to_file::h818df4e394ad5317 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cbindgen-0.13.1/src/bindgen/bindings.rs:101:24 [INFO] [stderr] 18: 0x5630fb40359d - build_script_build::generate_cpp_bindings::hd5be2c2aefad5355 [INFO] [stderr] at /opt/rustwide/workdir/build.rs:46:5 [INFO] [stderr] 19: 0x5630fb40366e - build_script_build::main::h190d9ca673dbab56 [INFO] [stderr] at /opt/rustwide/workdir/build.rs:56:5 [INFO] [stderr] 20: 0x5630fb45330b - core::ops::function::FnOnce::call_once::hd0d18707788c507f [INFO] [stderr] at /rustc/836c31742687ba4e2f857b5b698e1e9e6b67619c/library/core/src/ops/function.rs:227:5 [INFO] [stderr] 21: 0x5630fb4522ce - std::sys_common::backtrace::__rust_begin_short_backtrace::hdc658ef369396ee9 [INFO] [stderr] at /rustc/836c31742687ba4e2f857b5b698e1e9e6b67619c/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stderr] 22: 0x5630fb4147b1 - std::rt::lang_start::{{closure}}::h21ec9141b24a4183 [INFO] [stderr] at /rustc/836c31742687ba4e2f857b5b698e1e9e6b67619c/library/std/src/rt.rs:66:18 [INFO] [stderr] 23: 0x5630fbdc373a - core::ops::function::impls:: for &F>::call_once::hd5953dadf0bc8f54 [INFO] [stderr] at /rustc/836c31742687ba4e2f857b5b698e1e9e6b67619c/library/core/src/ops/function.rs:259:13 [INFO] [stderr] 24: 0x5630fbdc373a - std::panicking::try::do_call::h23b369f1996fb7d4 [INFO] [stderr] at /rustc/836c31742687ba4e2f857b5b698e1e9e6b67619c/library/std/src/panicking.rs:379:40 [INFO] [stderr] 25: 0x5630fbdc373a - std::panicking::try::he017ee9ed6bce192 [INFO] [stderr] at /rustc/836c31742687ba4e2f857b5b698e1e9e6b67619c/library/std/src/panicking.rs:343:19 [INFO] [stderr] 26: 0x5630fbdc373a - std::panic::catch_unwind::hbfb892340a78b30d [INFO] [stderr] at /rustc/836c31742687ba4e2f857b5b698e1e9e6b67619c/library/std/src/panic.rs:431:14 [INFO] [stderr] 27: 0x5630fbdc373a - std::rt::lang_start_internal::hce6e4c0ce56abb51 [INFO] [stderr] at /rustc/836c31742687ba4e2f857b5b698e1e9e6b67619c/library/std/src/rt.rs:51:25 [INFO] [stderr] 28: 0x5630fb414790 - std::rt::lang_start::h806063e8a83d7355 [INFO] [stderr] at /rustc/836c31742687ba4e2f857b5b698e1e9e6b67619c/library/std/src/rt.rs:65:5 [INFO] [stderr] 29: 0x5630fb40368c - main [INFO] [stderr] 30: 0x7f87fd2c00b3 - __libc_start_main [INFO] [stderr] 31: 0x5630fb347ede - _start [INFO] [stderr] 32: 0x0 - [INFO] running `Command { std: "docker" "inspect" "8980cb601cce9668e269e14769a13b34b03fcb752344bd34ae46bb1eb76078e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8980cb601cce9668e269e14769a13b34b03fcb752344bd34ae46bb1eb76078e3", kill_on_drop: false }` [INFO] [stdout] 8980cb601cce9668e269e14769a13b34b03fcb752344bd34ae46bb1eb76078e3