[INFO] fetching crate rust-mpfr 0.1.7... [INFO] testing rust-mpfr-0.1.7 against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] extracting crate rust-mpfr 0.1.7 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate rust-mpfr 0.1.7 on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "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] 006ada716655a86bacfca3fc2f9eb2af21e9a8694abca4952a09fc81e1dcf8e0 [INFO] running `Command { std: "docker" "start" "-a" "006ada716655a86bacfca3fc2f9eb2af21e9a8694abca4952a09fc81e1dcf8e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "006ada716655a86bacfca3fc2f9eb2af21e9a8694abca4952a09fc81e1dcf8e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "006ada716655a86bacfca3fc2f9eb2af21e9a8694abca4952a09fc81e1dcf8e0", kill_on_drop: false }` [INFO] [stdout] 006ada716655a86bacfca3fc2f9eb2af21e9a8694abca4952a09fc81e1dcf8e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f031e46200d0c5c4447e9a4f36b20a815045a73242f9e7b129d0db3ff67639a [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" "9f031e46200d0c5c4447e9a4f36b20a815045a73242f9e7b129d0db3ff67639a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling rust-gmp v0.3.2 [INFO] [stderr] Compiling rust-mpfr v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/mpfr.rs:1224:17 [INFO] [stdout] | [INFO] [stdout] 1224 | let s = try!(d.read_str()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stdout] --> src/mpfr.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::mem::uninitialized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stdout] --> src/mpfr.rs:169:28 [INFO] [stdout] | [INFO] [stdout] 169 | let mut mpfr = uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stdout] --> src/mpfr.rs:177:28 [INFO] [stdout] | [INFO] [stdout] 177 | let mut mpfr = uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit code: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-Wl,--eh-frame-hdr" "-L" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/rust_mpfr.rust_mpfr.95roiueq-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/rust_mpfr.rust_mpfr.95roiueq-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/rust_mpfr.rust_mpfr.95roiueq-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/rust_mpfr.rust_mpfr.95roiueq-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/rust_mpfr.rust_mpfr.95roiueq-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/rust_mpfr.rust_mpfr.95roiueq-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/rust_mpfr.rust_mpfr.95roiueq-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/rust_mpfr.rust_mpfr.95roiueq-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/rust_mpfr.rust_mpfr.95roiueq-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/rust_mpfr.rust_mpfr.95roiueq-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/rust_mpfr.rust_mpfr.95roiueq-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/rust_mpfr.rust_mpfr.95roiueq-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/rust_mpfr.rust_mpfr.95roiueq-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/librust_mpfr.so" "-Wl,--version-script=/tmp/rustcUGBZrZ/list" "/opt/rustwide/target/debug/deps/rust_mpfr.4a1rh199gthkwwdy.rcgu.o" "/opt/rustwide/target/debug/deps/rust_mpfr.3ohftr2j8g6m08iv.rcgu.o" "-shared" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-lmpfr" "-Wl,-Bstatic" "-Wl,--whole-archive" "/tmp/rustcUGBZrZ/librustc_serialize-d833c3470fa60f44.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcUGBZrZ/libgmp-82105dd8b0cb3d73.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcUGBZrZ/liblibc-e834449672905d13.rlib" "-Wl,--no-whole-archive" "-Wl,--start-group" "-Wl,--whole-archive" "/tmp/rustcUGBZrZ/libstd-5989bcf78182f65e.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcUGBZrZ/libpanic_unwind-4d6da34bc177af8d.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcUGBZrZ/libhashbrown-10e0d6c948699482.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcUGBZrZ/librustc_std_workspace_alloc-c2318e2415657781.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcUGBZrZ/libbacktrace-3815b93ed84badbb.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcUGBZrZ/libbacktrace_sys-d7999143d95238cb.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcUGBZrZ/librustc_demangle-c58298a0d40df8b8.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcUGBZrZ/libunwind-b7de97e2ba6fb4e2.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcUGBZrZ/libcfg_if-6f71c9f654d72cce.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcUGBZrZ/liblibc-95ea48ddc44a311b.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcUGBZrZ/liballoc-7402cd4761aebc14.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcUGBZrZ/librustc_std_workspace_core-68f423c59dc48a40.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcUGBZrZ/libcore-54580c7798bf2225.rlib" "-Wl,--no-whole-archive" "-Wl,--end-group" "/tmp/rustcUGBZrZ/libcompiler_builtins-95a4d456339b7385.rlib" "-Wl,-Bdynamic" "-lgmp" "-lgmp" "-lgmp" "-lgmp" "-lutil" "-ldl" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lmpfr [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-mpfr`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "9f031e46200d0c5c4447e9a4f36b20a815045a73242f9e7b129d0db3ff67639a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f031e46200d0c5c4447e9a4f36b20a815045a73242f9e7b129d0db3ff67639a", kill_on_drop: false }` [INFO] [stdout] 9f031e46200d0c5c4447e9a4f36b20a815045a73242f9e7b129d0db3ff67639a