[INFO] crate c2rust 0.14.0 is already in cache [INFO] checking c2rust-0.14.0 against master#ba72b15666b2491415aec703a02c2364fe5e2790 for pr-71140 [INFO] extracting crate c2rust 0.14.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate c2rust 0.14.0 on toolchain ba72b15666b2491415aec703a02c2364fe5e2790 [INFO] running `"/workspace/cargo-home/bin/cargo" "+ba72b15666b2491415aec703a02c2364fe5e2790" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate c2rust 0.14.0 [INFO] finished tweaking crates.io crate c2rust 0.14.0 [INFO] tweaked toml for crates.io crate c2rust 0.14.0 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate crates.io crate c2rust 0.14.0 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+ba72b15666b2491415aec703a02c2364fe5e2790" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+ba72b15666b2491415aec703a02c2364fe5e2790" "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] 8b0ec3ad670dce10381508f0ef504b6dee101452fe9cbe20088915a3c55ec726 [INFO] running `"docker" "start" "-a" "8b0ec3ad670dce10381508f0ef504b6dee101452fe9cbe20088915a3c55ec726"` [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Checking smallvec v1.0.0 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling ucd-trie v0.1.2 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling curl v0.4.25 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Checking utf8parse v0.1.1 [INFO] [stderr] Checking half v1.4.0 [INFO] [stderr] Checking c2rust-ast-builder v0.14.0 [INFO] [stderr] Checking home v0.5.1 [INFO] [stderr] Checking rustc-workspace-hack v1.0.0 [INFO] [stderr] Checking opener v0.4.1 [INFO] [stderr] Compiling c2rust-refactor v0.14.0 [INFO] [stderr] Checking bytesize v1.0.0 [INFO] [stderr] Checking shell-escape v0.1.4 [INFO] [stderr] Checking slotmap v0.4.0 [INFO] [stderr] error[E0462]: found staticlib `rustc` instead of rlib or dylib [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/c2rust-ast-builder-0.14.0/src/lib.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | extern crate rustc; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: please recompile that crate using --crate-type lib [INFO] [stderr] = note: the following crate versions were found: [INFO] [stderr] crate `rustc`: /opt/rustwide/rustup-home/toolchains/ba72b15666b2491415aec703a02c2364fe5e2790/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.asan.a [INFO] [stderr] crate `rustc`: /opt/rustwide/rustup-home/toolchains/ba72b15666b2491415aec703a02c2364fe5e2790/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.tsan.a [INFO] [stderr] crate `rustc`: /opt/rustwide/rustup-home/toolchains/ba72b15666b2491415aec703a02c2364fe5e2790/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.msan.a [INFO] [stderr] crate `rustc`: /opt/rustwide/rustup-home/toolchains/ba72b15666b2491415aec703a02c2364fe5e2790/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.lsan.a [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: could not compile `c2rust-ast-builder`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "8b0ec3ad670dce10381508f0ef504b6dee101452fe9cbe20088915a3c55ec726"` [INFO] running `"docker" "rm" "-f" "8b0ec3ad670dce10381508f0ef504b6dee101452fe9cbe20088915a3c55ec726"` [INFO] [stdout] 8b0ec3ad670dce10381508f0ef504b6dee101452fe9cbe20088915a3c55ec726