[INFO] fetching crate rust-mpfr 0.1.7... [INFO] testing rust-mpfr-0.1.7 against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] extracting crate rust-mpfr 0.1.7 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate rust-mpfr 0.1.7 on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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] 973a7d18454bdb6c22f938775535b9662feeb3b342732e911c5dc443fda621f0 [INFO] running `Command { std: "docker" "start" "-a" "973a7d18454bdb6c22f938775535b9662feeb3b342732e911c5dc443fda621f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "973a7d18454bdb6c22f938775535b9662feeb3b342732e911c5dc443fda621f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "973a7d18454bdb6c22f938775535b9662feeb3b342732e911c5dc443fda621f0", kill_on_drop: false }` [INFO] [stdout] 973a7d18454bdb6c22f938775535b9662feeb3b342732e911c5dc443fda621f0 [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" "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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91a35f62017f14bb88ed41b201c1ebb60c290aba54a08299333642e3218b7d25 [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" "91a35f62017f14bb88ed41b201c1ebb60c290aba54a08299333642e3218b7d25", 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/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/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/rustc1lfUX6/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/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-lmpfr" "-Wl,-Bstatic" "-Wl,--whole-archive" "/tmp/rustc1lfUX6/librustc_serialize-d833c3470fa60f44.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc1lfUX6/libgmp-82105dd8b0cb3d73.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc1lfUX6/liblibc-e834449672905d13.rlib" "-Wl,--no-whole-archive" "-Wl,--start-group" "-Wl,--whole-archive" "/tmp/rustc1lfUX6/libstd-5989bcf78182f65e.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc1lfUX6/libpanic_unwind-4d6da34bc177af8d.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc1lfUX6/libhashbrown-10e0d6c948699482.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc1lfUX6/librustc_std_workspace_alloc-c2318e2415657781.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc1lfUX6/libbacktrace-3815b93ed84badbb.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc1lfUX6/libbacktrace_sys-d7999143d95238cb.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc1lfUX6/librustc_demangle-c58298a0d40df8b8.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc1lfUX6/libunwind-b7de97e2ba6fb4e2.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc1lfUX6/libcfg_if-6f71c9f654d72cce.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc1lfUX6/liblibc-95ea48ddc44a311b.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc1lfUX6/liballoc-7402cd4761aebc14.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc1lfUX6/librustc_std_workspace_core-68f423c59dc48a40.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc1lfUX6/libcore-54580c7798bf2225.rlib" "-Wl,--no-whole-archive" "-Wl,--end-group" "/tmp/rustc1lfUX6/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" "91a35f62017f14bb88ed41b201c1ebb60c290aba54a08299333642e3218b7d25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91a35f62017f14bb88ed41b201c1ebb60c290aba54a08299333642e3218b7d25", kill_on_drop: false }` [INFO] [stdout] 91a35f62017f14bb88ed41b201c1ebb60c290aba54a08299333642e3218b7d25