[INFO] fetching crate c2rust-refactor 0.15.0... [INFO] testing c2rust-refactor-0.15.0 against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] extracting crate c2rust-refactor 0.15.0 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate c2rust-refactor 0.15.0 on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "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-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e5427c3dba5e3e9006a87c5217be8e453d68a36beec5dc1e1aa526b96119ab2a [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" "e5427c3dba5e3e9006a87c5217be8e453d68a36beec5dc1e1aa526b96119ab2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5427c3dba5e3e9006a87c5217be8e453d68a36beec5dc1e1aa526b96119ab2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5427c3dba5e3e9006a87c5217be8e453d68a36beec5dc1e1aa526b96119ab2a", kill_on_drop: false }` [INFO] [stdout] e5427c3dba5e3e9006a87c5217be8e453d68a36beec5dc1e1aa526b96119ab2a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1349a07cb5697bc79c83428f411004e3eb040572786f94f7f2e176bd68d26c56 [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" "1349a07cb5697bc79c83428f411004e3eb040572786f94f7f2e176bd68d26c56", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling curl v0.4.41 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling utf8parse v0.2.0 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling shell-escape v0.1.5 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling home v0.5.3 [INFO] [stderr] Compiling opener v0.4.1 [INFO] [stderr] Compiling rustc-workspace-hack v1.0.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling c2rust-refactor v0.15.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling bytesize v1.1.0 [INFO] [stderr] Compiling json v0.12.4 [INFO] [stderr] Compiling c2rust-ast-builder v0.15.0 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling slotmap v0.4.3 [INFO] [stderr] Compiling tinyvec v1.5.1 [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/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.asan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.tsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.msan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.lsan.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" "1349a07cb5697bc79c83428f411004e3eb040572786f94f7f2e176bd68d26c56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1349a07cb5697bc79c83428f411004e3eb040572786f94f7f2e176bd68d26c56", kill_on_drop: false }` [INFO] [stdout] 1349a07cb5697bc79c83428f411004e3eb040572786f94f7f2e176bd68d26c56