[INFO] fetching crate sawtooth-zmq 0.8.2-dev5... [INFO] checking sawtooth-zmq-0.8.2-dev5 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate sawtooth-zmq 0.8.2-dev5 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate sawtooth-zmq 0.8.2-dev5 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sawtooth-zmq 0.8.2-dev5 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate sawtooth-zmq 0.8.2-dev5 [INFO] tweaked toml for crates.io crate sawtooth-zmq 0.8.2-dev5 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded standback v0.2.15 [INFO] [stderr] Downloaded diff v0.1.12 [INFO] [stderr] Downloaded quickcheck v0.4.1 [INFO] [stderr] Downloaded time v0.2.25 [INFO] [stderr] Downloaded term v0.7.0 [INFO] [stderr] Downloaded pulse v0.5.3 [INFO] [stderr] Downloaded clippy v0.0.302 [INFO] [stderr] Downloaded rustversion v1.0.4 [INFO] [stderr] Downloaded dirs-next v2.0.0 [INFO] [stderr] Downloaded rustfix v0.5.1 [INFO] [stderr] Downloaded compiletest_rs v0.6.0 [INFO] [stderr] Downloaded zmq-sys v0.8.3 [INFO] [stderr] Downloaded timebomb v0.1.2 [INFO] [stderr] Downloaded tester v0.9.0 [INFO] [stderr] Downloaded nix v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d47d313cb7646166c5c9f4062a762b70da4152d7b312a53231ab04141503dbb2 [INFO] running `Command { std: "docker" "start" "-a" "d47d313cb7646166c5c9f4062a762b70da4152d7b312a53231ab04141503dbb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d47d313cb7646166c5c9f4062a762b70da4152d7b312a53231ab04141503dbb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d47d313cb7646166c5c9f4062a762b70da4152d7b312a53231ab04141503dbb2", kill_on_drop: false }` [INFO] [stdout] d47d313cb7646166c5c9f4062a762b70da4152d7b312a53231ab04141503dbb2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f172d2b6fd18dd27c2fb59ca8a77884a387da0e750eacc5570300aa73b98a590 [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" "f172d2b6fd18dd27c2fb59ca8a77884a387da0e750eacc5570300aa73b98a590", kill_on_drop: false }` [INFO] [stderr] Compiling toml v0.2.1 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking atom v0.3.6 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Compiling standback v0.2.15 [INFO] [stderr] Compiling time v0.2.25 [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking pulse v0.5.3 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling metadeps v1.1.2 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling nix v0.7.0 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking tempfile v2.2.0 [INFO] [stderr] Compiling zmq-sys v0.8.3 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Compiling sawtooth-zmq v0.8.2-dev5 (/opt/rustwide/workdir) [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> build.rs:7:63 [INFO] [stdout] | [INFO] [stdout] 7 | for has in ["ipc", "pgm", "tipc", "norm", "curve", "gssapi"].into_iter() { [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> build.rs:8:66 [INFO] [stdout] | [INFO] [stdout] 8 | if unsafe { zmq::zmq_has(CString::new(has.as_bytes()).unwrap().as_ptr()) } == 1 { [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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sockopt.rs:111:27 [INFO] [stdout] | [INFO] [stdout] 111 | let result: i32 = try!(get(sock, opt)); [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/message.rs:67:27 [INFO] [stdout] | [INFO] [stdout] 67 | let mut msg = try!(Message::with_capacity_unallocated(len)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:76:27 [INFO] [stdout] | [INFO] [stdout] 76 | let mut msg = try!(Message::with_capacity_unallocated(data.len())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:685:19 [INFO] [stdout] | [INFO] [stdout] 685 | let msg = try!(Message::from_slice(data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:706:13 [INFO] [stdout] | [INFO] [stdout] 706 | try!(self.send(part, flags | SNDMORE)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:708:9 [INFO] [stdout] | [INFO] [stdout] 708 | try!(self.send(last_part, flags)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:731:23 [INFO] [stdout] | [INFO] [stdout] 731 | let mut msg = try!(Message::new()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:756:24 [INFO] [stdout] | [INFO] [stdout] 756 | let part = try!(self.recv_bytes(flags)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:759:30 [INFO] [stdout] | [INFO] [stdout] 759 | let more_parts = try!(self.get_rcvmore()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1275:17 [INFO] [stdout] | [INFO] [stdout] 1275 | let c_str = try!(ffi::CString::new(data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::int64_t`: Use i64 instead. [INFO] [stdout] --> src/sockopt.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use libc::{c_int, c_uint, size_t, int64_t, uint64_t}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/sockopt.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use libc::{c_int, c_uint, size_t, int64_t, uint64_t}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::int64_t`: Use i64 instead. [INFO] [stdout] --> src/sockopt.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | getsockopt_num!(int64_t, i64); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/sockopt.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | getsockopt_num!(uint64_t, u64); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking env_logger v0.3.5 [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:1198:52 [INFO] [stdout] | [INFO] [stdout] 1198 | EncodeError::FromUtf8Error(ref e) => e.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/lib.rs:1256:47 [INFO] [stdout] | [INFO] [stdout] 1256 | DecodeError::NulError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking quickcheck v0.4.1 [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:545:24 [INFO] [stdout] | [INFO] [stdout] 545 | panic!(errno_to_error()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 545 | panic!("{}", errno_to_error()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 545 | std::panic::panic_any(errno_to_error()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking timebomb v0.1.2 [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/zguide/fileio3/main.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | let size = try!(file.read(&mut data)); [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/sockopt.rs:111:27 [INFO] [stdout] | [INFO] [stdout] 111 | let result: i32 = try!(get(sock, opt)); [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/message.rs:67:27 [INFO] [stdout] | [INFO] [stdout] 67 | let mut msg = try!(Message::with_capacity_unallocated(len)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message.rs:76:27 [INFO] [stdout] | [INFO] [stdout] 76 | let mut msg = try!(Message::with_capacity_unallocated(data.len())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:685:19 [INFO] [stdout] | [INFO] [stdout] 685 | let msg = try!(Message::from_slice(data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:706:13 [INFO] [stdout] | [INFO] [stdout] 706 | try!(self.send(part, flags | SNDMORE)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:708:9 [INFO] [stdout] | [INFO] [stdout] 708 | try!(self.send(last_part, flags)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:731:23 [INFO] [stdout] | [INFO] [stdout] 731 | let mut msg = try!(Message::new()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:756:24 [INFO] [stdout] | [INFO] [stdout] 756 | let part = try!(self.recv_bytes(flags)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:759:30 [INFO] [stdout] | [INFO] [stdout] 759 | let more_parts = try!(self.get_rcvmore()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1275:17 [INFO] [stdout] | [INFO] [stdout] 1275 | let c_str = try!(ffi::CString::new(data)); [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] --> tests/common/mod.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> tests/common/mod.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | static LOGGER_INIT: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::int64_t`: Use i64 instead. [INFO] [stdout] --> src/sockopt.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use libc::{c_int, c_uint, size_t, int64_t, uint64_t}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/sockopt.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use libc::{c_int, c_uint, size_t, int64_t, uint64_t}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::int64_t`: Use i64 instead. [INFO] [stdout] --> src/sockopt.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | getsockopt_num!(int64_t, i64); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/sockopt.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | getsockopt_num!(uint64_t, u64); [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] --> tests/common/mod.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> tests/common/mod.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | static LOGGER_INIT: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> tests/common/mod.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> tests/common/mod.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | static LOGGER_INIT: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> tests/common/mod.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> tests/common/mod.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | static LOGGER_INIT: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [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] --> tests/test.rs:129:20 [INFO] [stdout] | [INFO] [stdout] 129 | let desc = 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/lib.rs:1198:52 [INFO] [stdout] | [INFO] [stdout] 1198 | EncodeError::FromUtf8Error(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [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/lib.rs:1256:47 [INFO] [stdout] | [INFO] [stdout] 1256 | DecodeError::NulError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:545:24 [INFO] [stdout] | [INFO] [stdout] 545 | panic!(errno_to_error()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 545 | panic!("{}", errno_to_error()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 545 | std::panic::panic_any(errno_to_error()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 33.84s [INFO] running `Command { std: "docker" "inspect" "f172d2b6fd18dd27c2fb59ca8a77884a387da0e750eacc5570300aa73b98a590", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f172d2b6fd18dd27c2fb59ca8a77884a387da0e750eacc5570300aa73b98a590", kill_on_drop: false }` [INFO] [stdout] f172d2b6fd18dd27c2fb59ca8a77884a387da0e750eacc5570300aa73b98a590