[INFO] fetching crate socket 0.0.7... [INFO] checking socket-0.0.7 against try#3e22d1f9053c0fc87629b3c6d5d9567856368e5d for pr-78714 [INFO] extracting crate socket 0.0.7 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate socket 0.0.7 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 socket 0.0.7 [INFO] finished tweaking crates.io crate socket 0.0.7 [INFO] tweaked toml for crates.io crate socket 0.0.7 written to /workspace/builds/worker-4/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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "fetch" "--locked" "--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 num-rational v0.3.2 [INFO] [stderr] Downloaded num-complex v0.3.1 [INFO] [stderr] Downloaded num v0.3.1 [INFO] [stderr] Downloaded num-bigint v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] 51d3395d02e87774670a12dbb4625576c01f94658e40468d8e2631894faf358b [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" "51d3395d02e87774670a12dbb4625576c01f94658e40468d8e2631894faf358b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "51d3395d02e87774670a12dbb4625576c01f94658e40468d8e2631894faf358b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51d3395d02e87774670a12dbb4625576c01f94658e40468d8e2631894faf358b", kill_on_drop: false }` [INFO] [stdout] 51d3395d02e87774670a12dbb4625576c01f94658e40468d8e2631894faf358b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] 41c28da731922ca90640a61621285024a7ca5216fcb22cb2d66f7e4b5fdbe890 [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" "41c28da731922ca90640a61621285024a7ca5216fcb22cb2d66f7e4b5fdbe890", kill_on_drop: false }` [INFO] [stderr] Checking socket v0.0.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:95:62 [INFO] [stdout] | [INFO] [stdout] 95 | let addresses: Vec = FromIterator::from_iter(try!(address.to_socket_addrs())); [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.rs:113:32 [INFO] [stdout] | [INFO] [stdout] 113 | Ok(socketaddr_to_sockaddr(&try!(tosocketaddrs_to_socketaddr(address)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:140:18 [INFO] [stdout] | [INFO] [stdout] 140 | let sa = try!(tosocketaddrs_to_sockaddr(address)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:157:18 [INFO] [stdout] | [INFO] [stdout] 157 | let sa = try!(tosocketaddrs_to_sockaddr(address)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:179:39 [INFO] [stdout] | [INFO] [stdout] 179 | let (socket_addr, received) = try!(self.recvfrom_into(&mut a[..], flags)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:204:24 [INFO] [stdout] | [INFO] [stdout] 204 | let received = try!(self.recv_into(&mut a[..], flags)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:218:23 [INFO] [stdout] | [INFO] [stdout] 218 | let address = try!(tosocketaddrs_to_sockaddr(toaddress)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:95:62 [INFO] [stdout] | [INFO] [stdout] 95 | let addresses: Vec = FromIterator::from_iter(try!(address.to_socket_addrs())); [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.rs:113:32 [INFO] [stdout] | [INFO] [stdout] 113 | Ok(socketaddr_to_sockaddr(&try!(tosocketaddrs_to_socketaddr(address)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:140:18 [INFO] [stdout] | [INFO] [stdout] 140 | let sa = try!(tosocketaddrs_to_sockaddr(address)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:157:18 [INFO] [stdout] | [INFO] [stdout] 157 | let sa = try!(tosocketaddrs_to_sockaddr(address)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:179:39 [INFO] [stdout] | [INFO] [stdout] 179 | let (socket_addr, received) = try!(self.recvfrom_into(&mut a[..], flags)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:204:24 [INFO] [stdout] | [INFO] [stdout] 204 | let received = try!(self.recv_into(&mut a[..], flags)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:218:23 [INFO] [stdout] | [INFO] [stdout] 218 | let address = try!(tosocketaddrs_to_sockaddr(toaddress)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/lib.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | let value = unsafe { $fun($($x,)*) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 81 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] 82 | let mut fds: [c_int; 2] = mem::zeroed(); [INFO] [stdout] 83 | _try!(c_socketpair, domain as c_int, type_ as c_int, protocol as c_int, &mut fds as *mut [c_int]); [INFO] [stdout] | -------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [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: unnecessary `unsafe` block [INFO] [stdout] --> src/lib.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | let value = unsafe { $fun($($x,)*) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 81 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] 82 | let mut fds: [c_int; 2] = mem::zeroed(); [INFO] [stdout] 83 | _try!(c_socketpair, domain as c_int, type_ as c_int, protocol as c_int, &mut fds as *mut [c_int]); [INFO] [stdout] | -------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [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: unnecessary `unsafe` block [INFO] [stdout] --> src/lib.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | let value = unsafe { $fun($($x,)*) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 129 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] 130 | let value = &value as *const T as *const c_void; [INFO] [stdout] 131 | / _try!( [INFO] [stdout] 132 | | setsockopt, [INFO] [stdout] 133 | | self.fd, level, name, value, mem::size_of::() as socklen_t); [INFO] [stdout] | |_______________________________________________________________________________- in this macro invocation [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: `extern` block uses type `[i32]`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:49:71 [INFO] [stdout] | [INFO] [stdout] 49 | fn c_socketpair(domain: c_int, type_: c_int, protocol: c_int, sv: *mut [c_int]) -> c_int; [INFO] [stdout] | ^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes)]` on by default [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/lib.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | let value = unsafe { $fun($($x,)*) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 129 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] 130 | let value = &value as *const T as *const c_void; [INFO] [stdout] 131 | / _try!( [INFO] [stdout] 132 | | setsockopt, [INFO] [stdout] 133 | | self.fd, level, name, value, mem::size_of::() as socklen_t); [INFO] [stdout] | |_______________________________________________________________________________- in this macro invocation [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: `extern` block uses type `[i32]`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:49:71 [INFO] [stdout] | [INFO] [stdout] 49 | fn c_socketpair(domain: c_int, type_: c_int, protocol: c_int, sv: *mut [c_int]) -> c_int; [INFO] [stdout] | ^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes)]` on by default [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/lib.rs:370:9 [INFO] [stdout] | [INFO] [stdout] 370 | thread.join(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/lib.rs:384:9 [INFO] [stdout] | [INFO] [stdout] 384 | thread.join(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.46s [INFO] running `Command { std: "docker" "inspect" "41c28da731922ca90640a61621285024a7ca5216fcb22cb2d66f7e4b5fdbe890", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41c28da731922ca90640a61621285024a7ca5216fcb22cb2d66f7e4b5fdbe890", kill_on_drop: false }` [INFO] [stdout] 41c28da731922ca90640a61621285024a7ca5216fcb22cb2d66f7e4b5fdbe890