[INFO] crate rust-mpfr 0.1.7 is already in cache [INFO] testing rust-mpfr-0.1.7 against master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] extracting crate rust-mpfr 0.1.7 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate rust-mpfr 0.1.7 on toolchain 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate rust-mpfr 0.1.7 [INFO] finished tweaking crates.io crate rust-mpfr 0.1.7 [INFO] tweaked toml for crates.io crate rust-mpfr 0.1.7 written to /workspace/builds/worker-0/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-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" "+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] 036e0c9526c8bcda4635e6f8c1ed555d7e7e3a06cba80a4f58382aeb3365a969 [INFO] running `"docker" "start" "-a" "036e0c9526c8bcda4635e6f8c1ed555d7e7e3a06cba80a4f58382aeb3365a969"` [INFO] [stderr] Compiling rust-gmp v0.3.2 [INFO] [stderr] Compiling rust-mpfr v0.1.7 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/mpfr.rs:1224:17 [INFO] [stderr] | [INFO] [stderr] 1224 | let s = try!(d.read_str()); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/mpfr.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use std::mem::uninitialized; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/mpfr.rs:169:28 [INFO] [stderr] | [INFO] [stderr] 169 | let mut mpfr = uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/mpfr.rs:177:28 [INFO] [stderr] | [INFO] [stderr] 177 | let mut mpfr = uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: linking with `cc` failed: exit code: 1 [INFO] [stderr] | [INFO] [stderr] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/rust_mpfr.rust_mpfr.dqhef6ic-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/rust_mpfr.rust_mpfr.dqhef6ic-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/rust_mpfr.rust_mpfr.dqhef6ic-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/rust_mpfr.rust_mpfr.dqhef6ic-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/rust_mpfr.rust_mpfr.dqhef6ic-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/rust_mpfr.rust_mpfr.dqhef6ic-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/rust_mpfr.rust_mpfr.dqhef6ic-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/rust_mpfr.rust_mpfr.dqhef6ic-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/rust_mpfr.rust_mpfr.dqhef6ic-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/rust_mpfr.rust_mpfr.dqhef6ic-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/rust_mpfr.rust_mpfr.dqhef6ic-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/rust_mpfr.rust_mpfr.dqhef6ic-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/rust_mpfr.rust_mpfr.dqhef6ic-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/rust_mpfr.rust_mpfr.dqhef6ic-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/rust_mpfr.rust_mpfr.dqhef6ic-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/rust_mpfr.rust_mpfr.dqhef6ic-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/librust_mpfr.so" "-Wl,--version-script=/tmp/rustcoeW6fN/list" "/opt/rustwide/target/debug/deps/rust_mpfr.vev6nvbwpnoeprd.rcgu.o" "/opt/rustwide/target/debug/deps/rust_mpfr.u9066w8ojz7z6xy.rcgu.o" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-lmpfr" "-Wl,-Bstatic" "-Wl,--whole-archive" "/tmp/rustcoeW6fN/librustc_serialize-bfce5498649dc14e.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcoeW6fN/libgmp-53167a37dd1e17de.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcoeW6fN/liblibc-7f3b8e4c2db2a8d8.rlib" "-Wl,--no-whole-archive" "-Wl,--start-group" "-Wl,--whole-archive" "/tmp/rustcoeW6fN/libstd-1dac1a412c98f50d.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcoeW6fN/libpanic_unwind-b7841fd014bf83a1.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcoeW6fN/libhashbrown-338c0763450dca22.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcoeW6fN/librustc_std_workspace_alloc-5f2e5d11836e0967.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcoeW6fN/libbacktrace-81a9070bd3553adf.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcoeW6fN/libbacktrace_sys-e297830377b95af4.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcoeW6fN/librustc_demangle-b38b87f2dd197fa0.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcoeW6fN/libunwind-601015f2e15e7e26.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcoeW6fN/libcfg_if-439f3a589bd88586.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcoeW6fN/liblibc-57ab7e6ac23ce11f.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcoeW6fN/liballoc-3aec7f88778e912a.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcoeW6fN/librustc_std_workspace_core-b6806800b307d4b9.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcoeW6fN/libcore-e49d7651b12f7563.rlib" "-Wl,--no-whole-archive" "-Wl,--end-group" "/tmp/rustcoeW6fN/libcompiler_builtins-e8266574e26adcc3.rlib" "-Wl,-Bdynamic" "-lgmp" "-lgmp" "-lgmp" "-lgmp" "-lutil" "-ldl" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" "-shared" [INFO] [stderr] = note: /usr/bin/ld: cannot find -lmpfr [INFO] [stderr] collect2: error: ld returned 1 exit status [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 4 warnings emitted [INFO] [stderr] [INFO] [stderr] error: could not compile `rust-mpfr`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "036e0c9526c8bcda4635e6f8c1ed555d7e7e3a06cba80a4f58382aeb3365a969"` [INFO] running `"docker" "rm" "-f" "036e0c9526c8bcda4635e6f8c1ed555d7e7e3a06cba80a4f58382aeb3365a969"` [INFO] [stdout] 036e0c9526c8bcda4635e6f8c1ed555d7e7e3a06cba80a4f58382aeb3365a969