[INFO] fetching crate c2rust-refactor 0.15.0... [INFO] testing c2rust-refactor-0.15.0 against try#d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 for pr-86479 [INFO] extracting crate c2rust-refactor 0.15.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate c2rust-refactor 0.15.0 on toolchain d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "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-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded c2rust-macros v0.15.0 [INFO] [stderr] Downloaded im-rc v14.3.0 [INFO] [stderr] Downloaded sized-chunks v0.5.3 [INFO] [stderr] Downloaded rlua v0.17.0 [INFO] [stderr] Downloaded cargo v0.44.1 [INFO] [stderr] Downloaded flamer v0.4.0 [INFO] [stderr] Downloaded z3-sys v0.5.0 [INFO] [stderr] Downloaded z3 v0.4.0 [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "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] e13f290d3cb4728a8cd61e35cbc951561c55548efeabe9c319cafd3c93c42040 [INFO] running `Command { std: "docker" "start" "-a" "e13f290d3cb4728a8cd61e35cbc951561c55548efeabe9c319cafd3c93c42040", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e13f290d3cb4728a8cd61e35cbc951561c55548efeabe9c319cafd3c93c42040", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e13f290d3cb4728a8cd61e35cbc951561c55548efeabe9c319cafd3c93c42040", kill_on_drop: false }` [INFO] [stdout] e13f290d3cb4728a8cd61e35cbc951561c55548efeabe9c319cafd3c93c42040 [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b81968cbe1cc1db67f65849e9f8323128873740af5283c95ddd8a63e6e054bf [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" "7b81968cbe1cc1db67f65849e9f8323128873740af5283c95ddd8a63e6e054bf", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling anyhow v1.0.42 [INFO] [stderr] Compiling curl v0.4.38 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling utf8parse v0.1.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling c2rust-refactor v0.15.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling opener v0.4.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling home v0.5.3 [INFO] [stderr] Compiling shell-escape v0.1.5 [INFO] [stderr] Compiling bytesize v1.1.0 [INFO] [stderr] Compiling slotmap v0.4.2 [INFO] [stderr] Compiling c2rust-ast-builder v0.15.0 [INFO] [stderr] Compiling diff v0.1.12 [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/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.lsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.msan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.tsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.asan.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" "7b81968cbe1cc1db67f65849e9f8323128873740af5283c95ddd8a63e6e054bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b81968cbe1cc1db67f65849e9f8323128873740af5283c95ddd8a63e6e054bf", kill_on_drop: false }` [INFO] [stdout] 7b81968cbe1cc1db67f65849e9f8323128873740af5283c95ddd8a63e6e054bf