[INFO] fetching crate c2rust-refactor 0.15.0... [INFO] checking c2rust-refactor-0.15.0 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate c2rust-refactor 0.15.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate c2rust-refactor 0.15.0 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate c2rust-refactor 0.15.0 [INFO] finished tweaking crates.io crate c2rust-refactor 0.15.0 [INFO] tweaked toml for crates.io crate c2rust-refactor 0.15.0 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32b619742d2873bbd53dd2f12aa9e0b00ddcc17a5f2fd17733576a543fc7fe2c [INFO] running `Command { std: "docker" "start" "-a" "32b619742d2873bbd53dd2f12aa9e0b00ddcc17a5f2fd17733576a543fc7fe2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32b619742d2873bbd53dd2f12aa9e0b00ddcc17a5f2fd17733576a543fc7fe2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32b619742d2873bbd53dd2f12aa9e0b00ddcc17a5f2fd17733576a543fc7fe2c", kill_on_drop: false }` [INFO] [stdout] 32b619742d2873bbd53dd2f12aa9e0b00ddcc17a5f2fd17733576a543fc7fe2c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3091deb6bc7cada97e18bf3ef30a060f8c271eaac5eb9c2d862e22d679724aa7 [INFO] running `Command { std: "docker" "start" "-a" "3091deb6bc7cada97e18bf3ef30a060f8c271eaac5eb9c2d862e22d679724aa7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling curl v0.4.38 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Checking yaml-rust v0.3.5 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking rustc-workspace-hack v1.0.0 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking home v0.5.3 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking bytesize v1.0.1 [INFO] [stderr] Compiling c2rust-refactor v0.15.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking opener v0.4.1 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking shell-escape v0.1.5 [INFO] [stderr] Checking c2rust-ast-builder v0.15.0 [INFO] [stderr] Checking z3-sys v0.5.0 [INFO] [stderr] Checking json v0.12.4 [INFO] [stdout] error[E0462]: found staticlib `rustc` instead of rlib or dylib [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/c2rust-ast-builder-0.15.0/src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rustc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: please recompile that crate using --crate-type lib [INFO] [stdout] = note: the following crate versions were found: [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.msan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.lsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.asan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.tsan.a [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `c2rust-ast-builder` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "3091deb6bc7cada97e18bf3ef30a060f8c271eaac5eb9c2d862e22d679724aa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3091deb6bc7cada97e18bf3ef30a060f8c271eaac5eb9c2d862e22d679724aa7", kill_on_drop: false }` [INFO] [stdout] 3091deb6bc7cada97e18bf3ef30a060f8c271eaac5eb9c2d862e22d679724aa7