[INFO] fetching crate sharedlib 7.0.0... [INFO] checking sharedlib-7.0.0 against try#3e22d1f9053c0fc87629b3c6d5d9567856368e5d for pr-78714 [INFO] extracting crate sharedlib 7.0.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate sharedlib 7.0.0 on toolchain 3e22d1f9053c0fc87629b3c6d5d9567856368e5d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate sharedlib 7.0.0 [INFO] finished tweaking crates.io crate sharedlib 7.0.0 [INFO] tweaked toml for crates.io crate sharedlib 7.0.0 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded error-chain v0.9.0 [INFO] running `Command { std: "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" "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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6bc97ff363511d413e31163ea4d5fdfa799245b20cf6196ba7efce5091363bc9 [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" "6bc97ff363511d413e31163ea4d5fdfa799245b20cf6196ba7efce5091363bc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6bc97ff363511d413e31163ea4d5fdfa799245b20cf6196ba7efce5091363bc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bc97ff363511d413e31163ea4d5fdfa799245b20cf6196ba7efce5091363bc9", kill_on_drop: false }` [INFO] [stdout] 6bc97ff363511d413e31163ea4d5fdfa799245b20cf6196ba7efce5091363bc9 [INFO] running `Command { std: "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" "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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5310182165c306df8c3883e08f13fb912f145967f4bf763de17f4be6bab2e6ba [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" "5310182165c306df8c3883e08f13fb912f145967f4bf763de17f4be6bab2e6ba", kill_on_drop: false }` [INFO] [stderr] Compiling sharedlib v7.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking error-chain v0.9.0 [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib_impl/lib.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | let inner = try!(LibUnsafe::new(path_to_lib)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib_impl/lib.rs:83:26 [INFO] [stdout] | [INFO] [stdout] 83 | let symbol_ptr = try!(self.inner.find_data::(symbol)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib_impl/lib.rs:129:20 [INFO] [stdout] | [INFO] [stdout] 129 | let func = try!(self.inner.find_func::(symbol)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib_impl/lib_tracked.rs:39:26 [INFO] [stdout] | [INFO] [stdout] 39 | let lib_unsafe = try!(LibUnsafe::new(path_to_lib)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib_impl/lib_tracked.rs:96:26 [INFO] [stdout] | [INFO] [stdout] 96 | let symbol_ptr = try!(lib.find_data::(symbol)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib_impl/lib_tracked.rs:150:20 [INFO] [stdout] | [INFO] [stdout] 150 | let func = try!(lib.find_func::(symbol)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib_impl/lib_unsafe.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | let inner = try!(InnerLib::new(path_to_lib)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib_impl/lib_unsafe.rs:132:33 [INFO] [stdout] | [INFO] [stdout] 132 | Some(symbol) => try!(self.inner.find::(symbol)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib_impl/lib_unsafe.rs:133:25 [INFO] [stdout] | [INFO] [stdout] 133 | None => try!(self.inner.find::(symbol)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/util/error_mutex.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | pub static ref ERROR_MUTEX: Mutex<()> = Mutex::new(()); [INFO] [stdout] 5 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib_impl/lib.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | let inner = try!(LibUnsafe::new(path_to_lib)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib_impl/lib.rs:83:26 [INFO] [stdout] | [INFO] [stdout] 83 | let symbol_ptr = try!(self.inner.find_data::(symbol)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib_impl/lib.rs:129:20 [INFO] [stdout] | [INFO] [stdout] 129 | let func = try!(self.inner.find_func::(symbol)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib_impl/lib_tracked.rs:39:26 [INFO] [stdout] | [INFO] [stdout] 39 | let lib_unsafe = try!(LibUnsafe::new(path_to_lib)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib_impl/lib_tracked.rs:96:26 [INFO] [stdout] | [INFO] [stdout] 96 | let symbol_ptr = try!(lib.find_data::(symbol)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib_impl/lib_tracked.rs:150:20 [INFO] [stdout] | [INFO] [stdout] 150 | let func = try!(lib.find_func::(symbol)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib_impl/lib_unsafe.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | let inner = try!(InnerLib::new(path_to_lib)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib_impl/lib_unsafe.rs:132:33 [INFO] [stdout] | [INFO] [stdout] 132 | Some(symbol) => try!(self.inner.find::(symbol)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib_impl/lib_unsafe.rs:133:25 [INFO] [stdout] | [INFO] [stdout] 133 | None => try!(self.inner.find::(symbol)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/util/error_mutex.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | pub static ref ERROR_MUTEX: Mutex<()> = Mutex::new(()); [INFO] [stdout] 5 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/test/shared.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | mem::replace(dll._func.borrow_mut().deref_mut(), Some(add_u32s)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.37s [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5310182165c306df8c3883e08f13fb912f145967f4bf763de17f4be6bab2e6ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5310182165c306df8c3883e08f13fb912f145967f4bf763de17f4be6bab2e6ba", kill_on_drop: false }` [INFO] [stdout] 5310182165c306df8c3883e08f13fb912f145967f4bf763de17f4be6bab2e6ba