[INFO] fetching crate agnes 0.3.2... [INFO] checking agnes-0.3.2 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate agnes 0.3.2 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate agnes 0.3.2 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 agnes 0.3.2 [INFO] removed 1 missing examples [INFO] finished tweaking crates.io crate agnes 0.3.2 [INFO] tweaked toml for crates.io crate agnes 0.3.2 written to /workspace/builds/worker-6/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-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] 46eabd40a30fdef48702f0309ef034d140cd153516fcf2e7ff1e995c9b3b3507 [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" "46eabd40a30fdef48702f0309ef034d140cd153516fcf2e7ff1e995c9b3b3507", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46eabd40a30fdef48702f0309ef034d140cd153516fcf2e7ff1e995c9b3b3507", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46eabd40a30fdef48702f0309ef034d140cd153516fcf2e7ff1e995c9b3b3507", kill_on_drop: false }` [INFO] [stdout] 46eabd40a30fdef48702f0309ef034d140cd153516fcf2e7ff1e995c9b3b3507 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] de6829599b1632ed0c0c5630dde2b1174d1766a8eeec9a8a8a83ba5f968abee1 [INFO] running `Command { std: "docker" "start" "-a" "de6829599b1632ed0c0c5630dde2b1174d1766a8eeec9a8a8a83ba5f968abee1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Checking futures v0.1.30 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling syn v1.0.56 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking object v0.22.0 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking ucd-util v0.1.8 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking utf8-ranges v1.0.4 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking encode_unicode v0.3.6 [INFO] [stderr] Compiling compiletest_rs v0.3.26 [INFO] [stderr] Checking term v0.4.6 [INFO] [stderr] Checking scoped-tls v0.1.2 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking bit-vec v0.4.4 [INFO] [stderr] Checking indexmap v0.4.1 [INFO] [stderr] Checking diff v0.1.12 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking filetime v0.2.13 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking term v0.6.1 [INFO] [stderr] Checking csv v0.15.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Checking prettytable-rs v0.6.7 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking addr2line v0.14.1 [INFO] [stderr] Checking tester v0.6.0 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking backtrace v0.3.55 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking tokio-core v0.1.18 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking hyper-tls v0.3.2 [INFO] [stderr] Checking bstr v0.2.14 [INFO] [stderr] Checking serde_json v1.0.61 [INFO] [stderr] Checking csv v1.1.5 [INFO] [stderr] Checking rustfix v0.4.6 [INFO] [stderr] Checking csv-sniffer v0.1.1 [INFO] [stderr] Checking agnes v0.3.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:86:44 [INFO] [stdout] | [INFO] [stdout] 86 | AgnesError::Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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/error.rs:87:45 [INFO] [stdout] | [INFO] [stdout] 87 | AgnesError::Net(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/error.rs:88:45 [INFO] [stdout] | [INFO] [stdout] 88 | AgnesError::Csv(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/error.rs:89:52 [INFO] [stdout] | [INFO] [stdout] 89 | AgnesError::CsvSniffer(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/error.rs:91:47 [INFO] [stdout] | [INFO] [stdout] 91 | AgnesError::Parse(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/error.rs:148:43 [INFO] [stdout] | [INFO] [stdout] 148 | NetError::Uri(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/error.rs:150:43 [INFO] [stdout] | [INFO] [stdout] 150 | NetError::Tls(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/error.rs:151:44 [INFO] [stdout] | [INFO] [stdout] 151 | NetError::Http(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/error.rs:192:45 [INFO] [stdout] | [INFO] [stdout] 192 | ParseError::Int(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/error.rs:193:46 [INFO] [stdout] | [INFO] [stdout] 193 | ParseError::Bool(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/error.rs:194:47 [INFO] [stdout] | [INFO] [stdout] 194 | ParseError::Float(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/error.rs:195:45 [INFO] [stdout] | [INFO] [stdout] 195 | ParseError::Str(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/source/file.rs:158:21 [INFO] [stdout] | [INFO] [stdout] 158 | let mut core = Core::new()?; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/source/file.rs:173:21 [INFO] [stdout] | [INFO] [stdout] 173 | let mut core = Core::new()?; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/source/file.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | mem::replace(&mut buf, tmp); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/source/file.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | mem::replace(response_state, State::Body { body, buffer: buf }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/source/file.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 252 | / mem::replace( [INFO] [stdout] 253 | | response_state, [INFO] [stdout] 254 | | State::Body { [INFO] [stdout] 255 | | body: body.into_future(), [INFO] [stdout] 256 | | buffer: buf, [INFO] [stdout] 257 | | }, [INFO] [stdout] 258 | | ); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/source/file.rs:260:13 [INFO] [stdout] | [INFO] [stdout] 260 | mem::replace(response_state, State::Empty); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 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/error.rs:86:44 [INFO] [stdout] | [INFO] [stdout] 86 | AgnesError::Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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/error.rs:87:45 [INFO] [stdout] | [INFO] [stdout] 87 | AgnesError::Net(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/error.rs:88:45 [INFO] [stdout] | [INFO] [stdout] 88 | AgnesError::Csv(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/error.rs:89:52 [INFO] [stdout] | [INFO] [stdout] 89 | AgnesError::CsvSniffer(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/error.rs:91:47 [INFO] [stdout] | [INFO] [stdout] 91 | AgnesError::Parse(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/error.rs:148:43 [INFO] [stdout] | [INFO] [stdout] 148 | NetError::Uri(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/error.rs:150:43 [INFO] [stdout] | [INFO] [stdout] 150 | NetError::Tls(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/error.rs:151:44 [INFO] [stdout] | [INFO] [stdout] 151 | NetError::Http(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/error.rs:192:45 [INFO] [stdout] | [INFO] [stdout] 192 | ParseError::Int(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/error.rs:193:46 [INFO] [stdout] | [INFO] [stdout] 193 | ParseError::Bool(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/error.rs:194:47 [INFO] [stdout] | [INFO] [stdout] 194 | ParseError::Float(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/error.rs:195:45 [INFO] [stdout] | [INFO] [stdout] 195 | ParseError::Str(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/source/file.rs:158:21 [INFO] [stdout] | [INFO] [stdout] 158 | let mut core = Core::new()?; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/source/file.rs:173:21 [INFO] [stdout] | [INFO] [stdout] 173 | let mut core = Core::new()?; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/source/file.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | mem::replace(&mut buf, tmp); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/source/file.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | mem::replace(response_state, State::Body { body, buffer: buf }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/source/file.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 252 | / mem::replace( [INFO] [stdout] 253 | | response_state, [INFO] [stdout] 254 | | State::Body { [INFO] [stdout] 255 | | body: body.into_future(), [INFO] [stdout] 256 | | buffer: buf, [INFO] [stdout] 257 | | }, [INFO] [stdout] 258 | | ); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/source/file.rs:260:13 [INFO] [stdout] | [INFO] [stdout] 260 | mem::replace(response_state, State::Empty); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 24s [INFO] running `Command { std: "docker" "inspect" "de6829599b1632ed0c0c5630dde2b1174d1766a8eeec9a8a8a83ba5f968abee1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de6829599b1632ed0c0c5630dde2b1174d1766a8eeec9a8a8a83ba5f968abee1", kill_on_drop: false }` [INFO] [stdout] de6829599b1632ed0c0c5630dde2b1174d1766a8eeec9a8a8a83ba5f968abee1