[INFO] fetching crate smbc 0.1.0... [INFO] checking smbc-0.1.0 against try#7b3565da729099dbe807466fcd118fb2815986e0 for pr-81789 [INFO] extracting crate smbc 0.1.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate smbc 0.1.0 on toolchain 7b3565da729099dbe807466fcd118fb2815986e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate smbc 0.1.0 [INFO] finished tweaking crates.io crate smbc 0.1.0 [INFO] tweaked toml for crates.io crate smbc 0.1.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded smbclient-sys v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9908bf0799ca3ec1c848d7db9c24cf61dc4246ce9aa575bb9f0c268e24f757e9 [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" "9908bf0799ca3ec1c848d7db9c24cf61dc4246ce9aa575bb9f0c268e24f757e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9908bf0799ca3ec1c848d7db9c24cf61dc4246ce9aa575bb9f0c268e24f757e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9908bf0799ca3ec1c848d7db9c24cf61dc4246ce9aa575bb9f0c268e24f757e9", kill_on_drop: false }` [INFO] [stdout] 9908bf0799ca3ec1c848d7db9c24cf61dc4246ce9aa575bb9f0c268e24f757e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "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] bc96c88c90c69d5fba5847bbe305d03383a9e1aa67b7634d0222f98a9aae12c1 [INFO] running `Command { std: "docker" "start" "-a" "bc96c88c90c69d5fba5847bbe305d03383a9e1aa67b7634d0222f98a9aae12c1", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking nix v0.4.3 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling smbclient-sys v0.1.0 [INFO] [stderr] Checking smbc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/util.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | use libc::{self, c_char, c_int}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | Ok(try!(CString::new(p.as_ref()))) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/result.rs:31:29 [INFO] [stdout] | [INFO] [stdout] 31 | AuthCallbackPaniced(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/result.rs:59:32 [INFO] [stdout] | [INFO] [stdout] 59 | fn cause(&self) -> Option<&error::Error> { [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/smbc.rs:83:18 [INFO] [stdout] | [INFO] [stdout] 83 | auth_fn: &'a for<'b> Fn(&'b str, &'b str) -> (Cow<'a, str>, Cow<'a, str>, Cow<'a, str>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn for<'b> Fn(&'b str, &'b str) -> (Cow<'a, str>, Cow<'a, str>, Cow<'a, str>)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/smbc.rs:151:23 [INFO] [stdout] | [INFO] [stdout] 151 | let ctx = try!(result_from_ptr_mut(smbc_new_context())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/smbc.rs:161:24 [INFO] [stdout] | [INFO] [stdout] 161 | smbc.ctx = try!(result_from_ptr_mut(smbc_init_context(ctx))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | ($e:ident <- $s:expr) => (try!(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/smbc.rs:209:23 [INFO] [stdout] | [INFO] [stdout] 209 | let open_fn = try_ufn!(smbc_getFunctionOpen <- self); [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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/smbc.rs:211:20 [INFO] [stdout] | [INFO] [stdout] 211 | let path = try!(cstring(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/smbc.rs:215:22 [INFO] [stdout] | [INFO] [stdout] 215 | let fd = try!(result_from_ptr_mut(open_fn(self.ctx, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/smbc.rs:217:55 [INFO] [stdout] | [INFO] [stdout] 217 | ... try!(options.to_flags()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | ($e:ident <- $s:expr) => (try!(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/smbc.rs:275:23 [INFO] [stdout] | [INFO] [stdout] 275 | let stat_fn = try_ufn!(smbc_getFunctionStat <- self); [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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/smbc.rs:276:20 [INFO] [stdout] | [INFO] [stdout] 276 | let path = try!(cstring(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | ($e:ident <- $s:expr) => (try!(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/smbc.rs:283:24 [INFO] [stdout] | [INFO] [stdout] 283 | let mkdir_fn = try_ufn!(smbc_getFunctionMkdir <- self); [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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/smbc.rs:284:20 [INFO] [stdout] | [INFO] [stdout] 284 | let path = try!(cstring(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/smbc.rs:285:9 [INFO] [stdout] | [INFO] [stdout] 285 | try!(to_result_with_le(unsafe { mkdir_fn(self.ctx, path.as_ptr(), 0o755) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | ($e:ident <- $s:expr) => (try!(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/smbc.rs:297:24 [INFO] [stdout] | [INFO] [stdout] 297 | let rmdir_fn = try_ufn!(smbc_getFunctionRmdir <- self); [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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/smbc.rs:298:20 [INFO] [stdout] | [INFO] [stdout] 298 | let path = try!(cstring(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/smbc.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 299 | try!(to_result_with_le(unsafe { rmdir_fn(self.ctx, path.as_ptr()) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | ($e:ident <- $s:expr) => (try!(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/smbc.rs:428:23 [INFO] [stdout] | [INFO] [stdout] 428 | let read_fn = try_ufn!(smbc_getFunctionRead <- self.smbc); [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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/smbc.rs:429:26 [INFO] [stdout] | [INFO] [stdout] 429 | let bytes_read = try!(to_result_with_le(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | ($e:ident <- $s:expr) => (try!(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/smbc.rs:443:24 [INFO] [stdout] | [INFO] [stdout] 443 | let write_fn = try_ufn!(smbc_getFunctionWrite <- self.smbc); [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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/smbc.rs:444:27 [INFO] [stdout] | [INFO] [stdout] 444 | let bytes_wrote = try!(to_result_with_le(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | ($e:ident <- $s:expr) => (try!(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/smbc.rs:463:24 [INFO] [stdout] | [INFO] [stdout] 463 | let lseek_fn = try_ufn!(smbc_getFunctionLseek <- self.smbc); [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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/smbc.rs:469:19 [INFO] [stdout] | [INFO] [stdout] 469 | let res = try!(to_result_with_errno(unsafe { lseek_fn(self.smbc.ctx, self.fd, off, whence) }, libc::EINVAL)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/util.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | use libc::{self, c_char, c_int}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | Ok(try!(CString::new(p.as_ref()))) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/result.rs:31:29 [INFO] [stdout] | [INFO] [stdout] 31 | AuthCallbackPaniced(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/result.rs:59:32 [INFO] [stdout] | [INFO] [stdout] 59 | fn cause(&self) -> Option<&error::Error> { [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/smbc.rs:83:18 [INFO] [stdout] | [INFO] [stdout] 83 | auth_fn: &'a for<'b> Fn(&'b str, &'b str) -> (Cow<'a, str>, Cow<'a, str>, Cow<'a, str>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn for<'b> Fn(&'b str, &'b str) -> (Cow<'a, str>, Cow<'a, str>, Cow<'a, str>)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/smbc.rs:151:23 [INFO] [stdout] | [INFO] [stdout] 151 | let ctx = try!(result_from_ptr_mut(smbc_new_context())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/smbc.rs:161:24 [INFO] [stdout] | [INFO] [stdout] 161 | smbc.ctx = try!(result_from_ptr_mut(smbc_init_context(ctx))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | ($e:ident <- $s:expr) => (try!(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/smbc.rs:209:23 [INFO] [stdout] | [INFO] [stdout] 209 | let open_fn = try_ufn!(smbc_getFunctionOpen <- self); [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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/smbc.rs:211:20 [INFO] [stdout] | [INFO] [stdout] 211 | let path = try!(cstring(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/smbc.rs:215:22 [INFO] [stdout] | [INFO] [stdout] 215 | let fd = try!(result_from_ptr_mut(open_fn(self.ctx, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/smbc.rs:217:55 [INFO] [stdout] | [INFO] [stdout] 217 | ... try!(options.to_flags()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | ($e:ident <- $s:expr) => (try!(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/smbc.rs:275:23 [INFO] [stdout] | [INFO] [stdout] 275 | let stat_fn = try_ufn!(smbc_getFunctionStat <- self); [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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/smbc.rs:276:20 [INFO] [stdout] | [INFO] [stdout] 276 | let path = try!(cstring(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | ($e:ident <- $s:expr) => (try!(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/smbc.rs:283:24 [INFO] [stdout] | [INFO] [stdout] 283 | let mkdir_fn = try_ufn!(smbc_getFunctionMkdir <- self); [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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/smbc.rs:284:20 [INFO] [stdout] | [INFO] [stdout] 284 | let path = try!(cstring(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/smbc.rs:285:9 [INFO] [stdout] | [INFO] [stdout] 285 | try!(to_result_with_le(unsafe { mkdir_fn(self.ctx, path.as_ptr(), 0o755) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | ($e:ident <- $s:expr) => (try!(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/smbc.rs:297:24 [INFO] [stdout] | [INFO] [stdout] 297 | let rmdir_fn = try_ufn!(smbc_getFunctionRmdir <- self); [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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/smbc.rs:298:20 [INFO] [stdout] | [INFO] [stdout] 298 | let path = try!(cstring(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/smbc.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 299 | try!(to_result_with_le(unsafe { rmdir_fn(self.ctx, path.as_ptr()) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | ($e:ident <- $s:expr) => (try!(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/smbc.rs:428:23 [INFO] [stdout] | [INFO] [stdout] 428 | let read_fn = try_ufn!(smbc_getFunctionRead <- self.smbc); [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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/smbc.rs:429:26 [INFO] [stdout] | [INFO] [stdout] 429 | let bytes_read = try!(to_result_with_le(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | ($e:ident <- $s:expr) => (try!(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/smbc.rs:443:24 [INFO] [stdout] | [INFO] [stdout] 443 | let write_fn = try_ufn!(smbc_getFunctionWrite <- self.smbc); [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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/smbc.rs:444:27 [INFO] [stdout] | [INFO] [stdout] 444 | let bytes_wrote = try!(to_result_with_le(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | ($e:ident <- $s:expr) => (try!(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/smbc.rs:463:24 [INFO] [stdout] | [INFO] [stdout] 463 | let lseek_fn = try_ufn!(smbc_getFunctionLseek <- self.smbc); [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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/smbc.rs:469:19 [INFO] [stdout] | [INFO] [stdout] 469 | let res = try!(to_result_with_errno(unsafe { lseek_fn(self.smbc.ctx, self.fd, off, whence) }, libc::EINVAL)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/result.rs:51:47 [INFO] [stdout] | [INFO] [stdout] 51 | Error::NewContext(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/result.rs:52:48 [INFO] [stdout] | [INFO] [stdout] 52 | Error::InitContext(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/result.rs:53:39 [INFO] [stdout] | [INFO] [stdout] 53 | Error::Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/result.rs:54:46 [INFO] [stdout] | [INFO] [stdout] 54 | Error::NulInPath(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `i64` [INFO] [stdout] --> src/smbc.rs:219:16 [INFO] [stdout] | [INFO] [stdout] 219 | if (fd as i64) < 0 { [INFO] [stdout] | ^^^^^^^^^^^ help: to cast to `i64`, cast to `usize` first: `fd as usize as i64` [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(invalid_ptr_to_int_cast)]` on by default [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/result.rs:51:47 [INFO] [stdout] | [INFO] [stdout] 51 | Error::NewContext(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/result.rs:52:48 [INFO] [stdout] | [INFO] [stdout] 52 | Error::InitContext(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/result.rs:53:39 [INFO] [stdout] | [INFO] [stdout] 53 | Error::Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/result.rs:54:46 [INFO] [stdout] | [INFO] [stdout] 54 | Error::NulInPath(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `i64` [INFO] [stdout] --> src/smbc.rs:219:16 [INFO] [stdout] | [INFO] [stdout] 219 | if (fd as i64) < 0 { [INFO] [stdout] | ^^^^^^^^^^^ help: to cast to `i64`, cast to `usize` first: `fd as usize as i64` [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(invalid_ptr_to_int_cast)]` on by default [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `smbc` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "bc96c88c90c69d5fba5847bbe305d03383a9e1aa67b7634d0222f98a9aae12c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc96c88c90c69d5fba5847bbe305d03383a9e1aa67b7634d0222f98a9aae12c1", kill_on_drop: false }` [INFO] [stdout] bc96c88c90c69d5fba5847bbe305d03383a9e1aa67b7634d0222f98a9aae12c1