[INFO] fetching crate czmq 0.1.0... [INFO] checking czmq-0.1.0 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate czmq 0.1.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate czmq 0.1.0 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate czmq 0.1.0 [INFO] removed path dependency czmq-sys from crates.io crate czmq 0.1.0 [INFO] finished tweaking crates.io crate czmq 0.1.0 [INFO] tweaked toml for crates.io crate czmq 0.1.0 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fdd95b876ddf7144603076403753d1733a0a32e249ce35571db9828d50ccfd00 [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" "fdd95b876ddf7144603076403753d1733a0a32e249ce35571db9828d50ccfd00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fdd95b876ddf7144603076403753d1733a0a32e249ce35571db9828d50ccfd00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdd95b876ddf7144603076403753d1733a0a32e249ce35571db9828d50ccfd00", kill_on_drop: false }` [INFO] [stdout] fdd95b876ddf7144603076403753d1733a0a32e249ce35571db9828d50ccfd00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] 7a9d7de089e53735b6fb982df9917e0298748d4622502eeb30c199da9a1eea59 [INFO] running `Command { std: "docker" "start" "-a" "7a9d7de089e53735b6fb982df9917e0298748d4622502eeb30c199da9a1eea59", kill_on_drop: false }` [INFO] [stderr] Compiling toml v0.2.1 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking czmq-sys v0.1.0 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking tempfile v2.1.6 [INFO] [stderr] Compiling metadeps v1.1.2 [INFO] [stderr] Compiling zmq-sys v0.8.3 [INFO] [stderr] Compiling zmq v0.8.3 [INFO] [stderr] Checking czmq v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | cause: Box, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:29:27 [INFO] [stdout] | [INFO] [stdout] 29 | where E: Into> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:64:32 [INFO] [stdout] | [INFO] [stdout] 64 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zactor.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | try!(msg.addstr(string)); [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/zauth.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | try!(msg.addstr("ALLOW")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zauth.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | try!(msg.addstr(address)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zauth.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | try!(self.zactor.send(msg)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zauth.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | try!(msg.addstr("DENY")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zauth.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | try!(msg.addstr(address)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zauth.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | try!(self.zactor.send(msg)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zauth.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | try!(msg.addstr("PLAIN")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zauth.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | try!(msg.addstr(filename)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zauth.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | try!(self.zactor.send(msg)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zauth.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | try!(msg.addstr("CURVE")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zauth.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | try!(msg.addstr(loc)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zauth.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | try!(msg.addstr("*")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zauth.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | try!(self.zactor.send(msg)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zauth.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | try!(self.zactor.send_str("VERBOSE")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zcert.rs:56:26 [INFO] [stdout] | [INFO] [stdout] 56 | let public_key = try!(zmq::z85_decode(public_txt)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zcert.rs:57:26 [INFO] [stdout] | [INFO] [stdout] 57 | let secret_key = try!(zmq::z85_decode(secret_txt)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zcert.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | let path_c = try!(CString::new(path.as_ref().to_str().unwrap())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zcert.rs:181:39 [INFO] [stdout] | [INFO] [stdout] 181 | ... let name_length: usize = *try!(encoded.get(index).ok_or(Error::new(ErrorKind::InvalidArg, ZCertError::InvalidMetaEncoded))) as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zcert.rs:189:24 [INFO] [stdout] | [INFO] [stdout] 189 | let name = try!(str::from_utf8(&encoded[index..index + name_length])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zcert.rs:208:25 [INFO] [stdout] | [INFO] [stdout] 208 | let value = try!(str::from_utf8(&encoded[index..index + value_length])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zcert.rs:219:22 [INFO] [stdout] | [INFO] [stdout] 219 | let path_c = try!(CString::new(path.as_ref().to_str().unwrap())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zcert.rs:232:22 [INFO] [stdout] | [INFO] [stdout] 232 | let path_c = try!(CString::new(path.as_ref().to_str().unwrap())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zcert.rs:245:22 [INFO] [stdout] | [INFO] [stdout] 245 | let path_c = try!(CString::new(path.as_ref().to_str().unwrap())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zcertstore.rs:31:34 [INFO] [stdout] | [INFO] [stdout] 31 | let location_c = try!(CString::new(l)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zcertstore.rs:63:28 [INFO] [stdout] | [INFO] [stdout] 63 | let public_key_c = try!(CString::new(public_key)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zframe.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / bitflags! { [INFO] [stdout] 9 | | pub flags Flags: i32 { [INFO] [stdout] 10 | | const ZFRAME_MORE = 0b00000001, [INFO] [stdout] 11 | | const ZFRAME_REUSE = 0b00000010, [INFO] [stdout] 12 | | const ZFRAME_DONTWAIT = 0b00000100, [INFO] [stdout] 13 | | } [INFO] [stdout] 14 | | } [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/zframe.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / bitflags! { [INFO] [stdout] 9 | | pub flags Flags: i32 { [INFO] [stdout] 10 | | const ZFRAME_MORE = 0b00000001, [INFO] [stdout] 11 | | const ZFRAME_REUSE = 0b00000010, [INFO] [stdout] 12 | | const ZFRAME_DONTWAIT = 0b00000100, [INFO] [stdout] 13 | | } [INFO] [stdout] 14 | | } [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/zhashx.rs:36:47 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn insert(&self, key: &str, item: Box) -> Result<()> { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zhashx.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | let key_c = try!(CString::new(key)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/zhashx.rs:54:47 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn update(&self, key: &str, item: Box) { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zmonitor.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | try!(msg.addstr("LISTEN")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zmonitor.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | try!(msg.addstr(a.to_str())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zmonitor.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 99 | let msg = try!(ZMsg::recv(&mut self.zactor)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zmonitor.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | try!(self.zactor.send_str("START")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zmsg.rs:207:22 [INFO] [stdout] | [INFO] [stdout] 207 | let zframe = try!(ZFrame::new(bytes)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zmsg.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | try!(self.prepend(zframe)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zmsg.rs:213:22 [INFO] [stdout] | [INFO] [stdout] 213 | let zframe = try!(ZFrame::new(bytes)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zmsg.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | try!(self.append(zframe)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zmsg.rs:222:27 [INFO] [stdout] | [INFO] [stdout] 222 | Ok(Some(match try!(frame.unwrap().data()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zsock.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | Some(s) => try!(CString::new(s)).into_raw(), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zsock.rs:204:90 [INFO] [stdout] | [INFO] [stdout] 204 | ... let rc = unsafe { czmq_sys::zsock_bind(self.zsock, "%s\0".as_ptr() as *const i8, try!(CString::new(endpoint)).as_ptr() as *const i8... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zsock.rs:218:21 [INFO] [stdout] | [INFO] [stdout] 218 | let s = try!(unsafe { CStr::from_ptr(endpoint_c) }.to_str()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zsock.rs:233:93 [INFO] [stdout] | [INFO] [stdout] 233 | ... let rc = unsafe { czmq_sys::zsock_connect(self.zsock, "%s\0".as_ptr() as *const i8, try!(CString::new(endpoint)).as_ptr() as *const... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zsock.rs:672:26 [INFO] [stdout] | [INFO] [stdout] 672 | let identity_c = try!(CString::new(identity)); [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/zsys.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::{Once, ONCE_INIT}; [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/zsys.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | static INIT_ZSYS: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | cause: Box, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:29:27 [INFO] [stdout] | [INFO] [stdout] 29 | where E: Into> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:64:32 [INFO] [stdout] | [INFO] [stdout] 64 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zactor.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | try!(msg.addstr(string)); [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/zauth.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | try!(msg.addstr("ALLOW")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zauth.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | try!(msg.addstr(address)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zauth.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | try!(self.zactor.send(msg)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zauth.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | try!(msg.addstr("DENY")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zauth.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | try!(msg.addstr(address)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zauth.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | try!(self.zactor.send(msg)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zauth.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | try!(msg.addstr("PLAIN")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zauth.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | try!(msg.addstr(filename)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zauth.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | try!(self.zactor.send(msg)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zauth.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | try!(msg.addstr("CURVE")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zauth.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | try!(msg.addstr(loc)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zauth.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | try!(msg.addstr("*")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zauth.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | try!(self.zactor.send(msg)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zauth.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | try!(self.zactor.send_str("VERBOSE")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zcert.rs:56:26 [INFO] [stdout] | [INFO] [stdout] 56 | let public_key = try!(zmq::z85_decode(public_txt)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zcert.rs:57:26 [INFO] [stdout] | [INFO] [stdout] 57 | let secret_key = try!(zmq::z85_decode(secret_txt)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zcert.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | let path_c = try!(CString::new(path.as_ref().to_str().unwrap())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zcert.rs:181:39 [INFO] [stdout] | [INFO] [stdout] 181 | ... let name_length: usize = *try!(encoded.get(index).ok_or(Error::new(ErrorKind::InvalidArg, ZCertError::InvalidMetaEncoded))) as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zcert.rs:189:24 [INFO] [stdout] | [INFO] [stdout] 189 | let name = try!(str::from_utf8(&encoded[index..index + name_length])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zcert.rs:208:25 [INFO] [stdout] | [INFO] [stdout] 208 | let value = try!(str::from_utf8(&encoded[index..index + value_length])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zcert.rs:219:22 [INFO] [stdout] | [INFO] [stdout] 219 | let path_c = try!(CString::new(path.as_ref().to_str().unwrap())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zcert.rs:232:22 [INFO] [stdout] | [INFO] [stdout] 232 | let path_c = try!(CString::new(path.as_ref().to_str().unwrap())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zcert.rs:245:22 [INFO] [stdout] | [INFO] [stdout] 245 | let path_c = try!(CString::new(path.as_ref().to_str().unwrap())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zcertstore.rs:31:34 [INFO] [stdout] | [INFO] [stdout] 31 | let location_c = try!(CString::new(l)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zcertstore.rs:63:28 [INFO] [stdout] | [INFO] [stdout] 63 | let public_key_c = try!(CString::new(public_key)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zframe.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / bitflags! { [INFO] [stdout] 9 | | pub flags Flags: i32 { [INFO] [stdout] 10 | | const ZFRAME_MORE = 0b00000001, [INFO] [stdout] 11 | | const ZFRAME_REUSE = 0b00000010, [INFO] [stdout] 12 | | const ZFRAME_DONTWAIT = 0b00000100, [INFO] [stdout] 13 | | } [INFO] [stdout] 14 | | } [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/zframe.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / bitflags! { [INFO] [stdout] 9 | | pub flags Flags: i32 { [INFO] [stdout] 10 | | const ZFRAME_MORE = 0b00000001, [INFO] [stdout] 11 | | const ZFRAME_REUSE = 0b00000010, [INFO] [stdout] 12 | | const ZFRAME_DONTWAIT = 0b00000100, [INFO] [stdout] 13 | | } [INFO] [stdout] 14 | | } [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/zhashx.rs:36:47 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn insert(&self, key: &str, item: Box) -> Result<()> { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zhashx.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | let key_c = try!(CString::new(key)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/zhashx.rs:54:47 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn update(&self, key: &str, item: Box) { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zmonitor.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | try!(msg.addstr("LISTEN")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zmonitor.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | try!(msg.addstr(a.to_str())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zmonitor.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 99 | let msg = try!(ZMsg::recv(&mut self.zactor)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zmonitor.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | try!(self.zactor.send_str("START")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zmsg.rs:207:22 [INFO] [stdout] | [INFO] [stdout] 207 | let zframe = try!(ZFrame::new(bytes)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zmsg.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | try!(self.prepend(zframe)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zmsg.rs:213:22 [INFO] [stdout] | [INFO] [stdout] 213 | let zframe = try!(ZFrame::new(bytes)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zmsg.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | try!(self.append(zframe)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zmsg.rs:222:27 [INFO] [stdout] | [INFO] [stdout] 222 | Ok(Some(match try!(frame.unwrap().data()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zsock.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | Some(s) => try!(CString::new(s)).into_raw(), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zsock.rs:204:90 [INFO] [stdout] | [INFO] [stdout] 204 | ... let rc = unsafe { czmq_sys::zsock_bind(self.zsock, "%s\0".as_ptr() as *const i8, try!(CString::new(endpoint)).as_ptr() as *const i8... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zsock.rs:218:21 [INFO] [stdout] | [INFO] [stdout] 218 | let s = try!(unsafe { CStr::from_ptr(endpoint_c) }.to_str()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zsock.rs:233:93 [INFO] [stdout] | [INFO] [stdout] 233 | ... let rc = unsafe { czmq_sys::zsock_connect(self.zsock, "%s\0".as_ptr() as *const i8, try!(CString::new(endpoint)).as_ptr() as *const... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zsock.rs:672:26 [INFO] [stdout] | [INFO] [stdout] 672 | let identity_c = try!(CString::new(identity)); [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/zsys.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::{Once, ONCE_INIT}; [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/zsys.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | static INIT_ZSYS: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/zsock.rs:39:86 [INFO] [stdout] | [INFO] [stdout] 39 | let zsock = unsafe { czmq_sys::zsock_new_pub(CString::new(endpoint).unwrap().as_ptr()) }; [INFO] [stdout] | ------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/zsock.rs:57:86 [INFO] [stdout] | [INFO] [stdout] 57 | ...ock = unsafe { czmq_sys::zsock_new_sub(CString::new(endpoint).unwrap().as_ptr(), subscribe_ptr as *const ::std::os::raw::c_char) }; [INFO] [stdout] | ------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/zsock.rs:74:86 [INFO] [stdout] | [INFO] [stdout] 74 | let zsock = unsafe { czmq_sys::zsock_new_req(CString::new(endpoint).unwrap().as_ptr()) }; [INFO] [stdout] | ------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/zsock.rs:87:86 [INFO] [stdout] | [INFO] [stdout] 87 | let zsock = unsafe { czmq_sys::zsock_new_rep(CString::new(endpoint).unwrap().as_ptr()) }; [INFO] [stdout] | ------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/zsock.rs:100:89 [INFO] [stdout] | [INFO] [stdout] 100 | let zsock = unsafe { czmq_sys::zsock_new_dealer(CString::new(endpoint).unwrap().as_ptr()) }; [INFO] [stdout] | ------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/zsock.rs:113:89 [INFO] [stdout] | [INFO] [stdout] 113 | let zsock = unsafe { czmq_sys::zsock_new_router(CString::new(endpoint).unwrap().as_ptr()) }; [INFO] [stdout] | ------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/zsock.rs:126:87 [INFO] [stdout] | [INFO] [stdout] 126 | let zsock = unsafe { czmq_sys::zsock_new_push(CString::new(endpoint).unwrap().as_ptr()) }; [INFO] [stdout] | ------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/zsock.rs:139:87 [INFO] [stdout] | [INFO] [stdout] 139 | let zsock = unsafe { czmq_sys::zsock_new_pull(CString::new(endpoint).unwrap().as_ptr()) }; [INFO] [stdout] | ------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/zsock.rs:152:87 [INFO] [stdout] | [INFO] [stdout] 152 | let zsock = unsafe { czmq_sys::zsock_new_xpub(CString::new(endpoint).unwrap().as_ptr()) }; [INFO] [stdout] | ------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/zsock.rs:165:87 [INFO] [stdout] | [INFO] [stdout] 165 | let zsock = unsafe { czmq_sys::zsock_new_xsub(CString::new(endpoint).unwrap().as_ptr()) }; [INFO] [stdout] | ------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/zsock.rs:178:87 [INFO] [stdout] | [INFO] [stdout] 178 | let zsock = unsafe { czmq_sys::zsock_new_pair(CString::new(endpoint).unwrap().as_ptr()) }; [INFO] [stdout] | ------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/zsock.rs:191:89 [INFO] [stdout] | [INFO] [stdout] 191 | let zsock = unsafe { czmq_sys::zsock_new_stream(CString::new(endpoint).unwrap().as_ptr()) }; [INFO] [stdout] | ------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 62 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/zsock.rs:39:86 [INFO] [stdout] | [INFO] [stdout] 39 | let zsock = unsafe { czmq_sys::zsock_new_pub(CString::new(endpoint).unwrap().as_ptr()) }; [INFO] [stdout] | ------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/zsock.rs:57:86 [INFO] [stdout] | [INFO] [stdout] 57 | ...ock = unsafe { czmq_sys::zsock_new_sub(CString::new(endpoint).unwrap().as_ptr(), subscribe_ptr as *const ::std::os::raw::c_char) }; [INFO] [stdout] | ------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/zsock.rs:74:86 [INFO] [stdout] | [INFO] [stdout] 74 | let zsock = unsafe { czmq_sys::zsock_new_req(CString::new(endpoint).unwrap().as_ptr()) }; [INFO] [stdout] | ------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/zsock.rs:87:86 [INFO] [stdout] | [INFO] [stdout] 87 | let zsock = unsafe { czmq_sys::zsock_new_rep(CString::new(endpoint).unwrap().as_ptr()) }; [INFO] [stdout] | ------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/zsock.rs:100:89 [INFO] [stdout] | [INFO] [stdout] 100 | let zsock = unsafe { czmq_sys::zsock_new_dealer(CString::new(endpoint).unwrap().as_ptr()) }; [INFO] [stdout] | ------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/zsock.rs:113:89 [INFO] [stdout] | [INFO] [stdout] 113 | let zsock = unsafe { czmq_sys::zsock_new_router(CString::new(endpoint).unwrap().as_ptr()) }; [INFO] [stdout] | ------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/zsock.rs:126:87 [INFO] [stdout] | [INFO] [stdout] 126 | let zsock = unsafe { czmq_sys::zsock_new_push(CString::new(endpoint).unwrap().as_ptr()) }; [INFO] [stdout] | ------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/zsock.rs:139:87 [INFO] [stdout] | [INFO] [stdout] 139 | let zsock = unsafe { czmq_sys::zsock_new_pull(CString::new(endpoint).unwrap().as_ptr()) }; [INFO] [stdout] | ------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/zsock.rs:152:87 [INFO] [stdout] | [INFO] [stdout] 152 | let zsock = unsafe { czmq_sys::zsock_new_xpub(CString::new(endpoint).unwrap().as_ptr()) }; [INFO] [stdout] | ------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/zsock.rs:165:87 [INFO] [stdout] | [INFO] [stdout] 165 | let zsock = unsafe { czmq_sys::zsock_new_xsub(CString::new(endpoint).unwrap().as_ptr()) }; [INFO] [stdout] | ------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/zsock.rs:178:87 [INFO] [stdout] | [INFO] [stdout] 178 | let zsock = unsafe { czmq_sys::zsock_new_pair(CString::new(endpoint).unwrap().as_ptr()) }; [INFO] [stdout] | ------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/zsock.rs:191:89 [INFO] [stdout] | [INFO] [stdout] 191 | let zsock = unsafe { czmq_sys::zsock_new_stream(CString::new(endpoint).unwrap().as_ptr()) }; [INFO] [stdout] | ------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 62 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.91s [INFO] running `Command { std: "docker" "inspect" "7a9d7de089e53735b6fb982df9917e0298748d4622502eeb30c199da9a1eea59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a9d7de089e53735b6fb982df9917e0298748d4622502eeb30c199da9a1eea59", kill_on_drop: false }` [INFO] [stdout] 7a9d7de089e53735b6fb982df9917e0298748d4622502eeb30c199da9a1eea59