[INFO] crate c2rust-refactor 0.14.0 is already in cache [INFO] testing c2rust-refactor-0.14.0 against master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] extracting crate c2rust-refactor 0.14.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate c2rust-refactor 0.14.0 on toolchain 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate c2rust-refactor 0.14.0 [INFO] finished tweaking crates.io crate c2rust-refactor 0.14.0 [INFO] tweaked toml for crates.io crate c2rust-refactor 0.14.0 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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" "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" "+28742a1146f10a4f09369baad027a464acb7a766" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9ab35567cb0bb3f2e06f76413db0f67fac0ea95e3a664cc0e1b0df512cf36e2f [INFO] running `"docker" "start" "-a" "9ab35567cb0bb3f2e06f76413db0f67fac0ea95e3a664cc0e1b0df512cf36e2f"` [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Compiling curl v0.4.28 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling utf8parse v0.1.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling bytesize v1.0.0 [INFO] [stderr] Compiling home v0.5.3 [INFO] [stderr] Compiling opener v0.4.1 [INFO] [stderr] Compiling shell-escape v0.1.4 [INFO] [stderr] Compiling rustc-workspace-hack v1.0.0 [INFO] [stderr] Compiling c2rust-refactor v0.14.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling c2rust-ast-builder v0.14.0 [INFO] [stderr] Compiling 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/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.asan.a [INFO] [stderr] crate `rustc`: /opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.tsan.a [INFO] [stderr] crate `rustc`: /opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.msan.a [INFO] [stderr] crate `rustc`: /opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/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" "9ab35567cb0bb3f2e06f76413db0f67fac0ea95e3a664cc0e1b0df512cf36e2f"` [INFO] running `"docker" "rm" "-f" "9ab35567cb0bb3f2e06f76413db0f67fac0ea95e3a664cc0e1b0df512cf36e2f"` [INFO] [stdout] 9ab35567cb0bb3f2e06f76413db0f67fac0ea95e3a664cc0e1b0df512cf36e2f