[INFO] fetching crate dht 0.0.6... [INFO] checking dht-0.0.6 against master#b359ccf1b0b7b2d2c1c4932344b806e68bd053a9 for pr-105483 [INFO] extracting crate dht 0.0.6 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate dht 0.0.6 on toolchain b359ccf1b0b7b2d2c1c4932344b806e68bd053a9 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b359ccf1b0b7b2d2c1c4932344b806e68bd053a9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate dht 0.0.6 [INFO] finished tweaking crates.io crate dht 0.0.6 [INFO] tweaked toml for crates.io crate dht 0.0.6 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b359ccf1b0b7b2d2c1c4932344b806e68bd053a9" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b359ccf1b0b7b2d2c1c4932344b806e68bd053a9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+b359ccf1b0b7b2d2c1c4932344b806e68bd053a9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 45302f130a86abe1bb395ff7714a13aa080b533f9d0bc8bd3a545cf8a257ef84 [INFO] running `Command { std: "docker" "start" "-a" "45302f130a86abe1bb395ff7714a13aa080b533f9d0bc8bd3a545cf8a257ef84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "45302f130a86abe1bb395ff7714a13aa080b533f9d0bc8bd3a545cf8a257ef84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45302f130a86abe1bb395ff7714a13aa080b533f9d0bc8bd3a545cf8a257ef84", kill_on_drop: false }` [INFO] [stdout] 45302f130a86abe1bb395ff7714a13aa080b533f9d0bc8bd3a545cf8a257ef84 [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" "RUSTDOCFLAGS=--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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+b359ccf1b0b7b2d2c1c4932344b806e68bd053a9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d9bf8f7162d33f511a59e4b5e08465937751eb247c51d71996437d4e906bca0 [INFO] running `Command { std: "docker" "start" "-a" "2d9bf8f7162d33f511a59e4b5e08465937751eb247c51d71996437d4e906bca0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.138 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking dht v0.0.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/base.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | let s: &str = &try!(d.read_str()); [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/base.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | let s = try!(d.read_str()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/base.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | try!(s.emit_struct_field("address", 0, |s2| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/base.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | try!(s.emit_struct_field("id", 1, |s2| self.id.encode(s2))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/base.rs:189:24 [INFO] [stdout] | [INFO] [stdout] 189 | let addr = try!(d.read_struct_field("address", 0, |d2| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/base.rs:190:25 [INFO] [stdout] | [INFO] [stdout] 190 | let s = try!(d2.read_str()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/base.rs:200:22 [INFO] [stdout] | [INFO] [stdout] 200 | let id = try!(d.read_struct_field("id", 1, TId::decode)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/protocol.rs:52:31 [INFO] [stdout] | [INFO] [stdout] 52 | fn format_response(&self, Response) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Response` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/base.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | let s: &str = &try!(d.read_str()); [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/base.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | let s = try!(d.read_str()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/base.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | try!(s.emit_struct_field("address", 0, |s2| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/base.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | try!(s.emit_struct_field("id", 1, |s2| self.id.encode(s2))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/base.rs:189:24 [INFO] [stdout] | [INFO] [stdout] 189 | let addr = try!(d.read_struct_field("address", 0, |d2| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/base.rs:190:25 [INFO] [stdout] | [INFO] [stdout] 190 | let s = try!(d2.read_str()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/base.rs:200:22 [INFO] [stdout] | [INFO] [stdout] 200 | let id = try!(d.read_struct_field("id", 1, TId::decode)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/base.rs:217:28 [INFO] [stdout] | [INFO] [stdout] 217 | #[derive(Debug, Clone, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/base.rs:217:44 [INFO] [stdout] | [INFO] [stdout] 217 | #[derive(Debug, Clone, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/protocol.rs:52:31 [INFO] [stdout] | [INFO] [stdout] 52 | fn format_response(&self, Response) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Response` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/knodetable.rs:87:20 [INFO] [stdout] | [INFO] [stdout] 87 | panic!(format!("Distance between IDs {:?} and {:?} is {:?}, which is \ [INFO] [stdout] | ____________________^ [INFO] [stdout] 88 | | greater than the hash size ({:?})", [INFO] [stdout] 89 | | id, self.this_id, res, self.hash_size)); [INFO] [stdout] | |__________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 87 ~ panic!("Distance between IDs {:?} and {:?} is {:?}, which is \ [INFO] [stdout] 88 | greater than the hash size ({:?})", [INFO] [stdout] 89 ~ id, self.this_id, res, self.hash_size); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/knodetable.rs:87:20 [INFO] [stdout] | [INFO] [stdout] 87 | panic!(format!("Distance between IDs {:?} and {:?} is {:?}, which is \ [INFO] [stdout] | ____________________^ [INFO] [stdout] 88 | | greater than the hash size ({:?})", [INFO] [stdout] 89 | | id, self.this_id, res, self.hash_size)); [INFO] [stdout] | |__________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 87 ~ panic!("Distance between IDs {:?} and {:?} is {:?}, which is \ [INFO] [stdout] 88 | greater than the hash size ({:?})", [INFO] [stdout] 89 ~ id, self.this_id, res, self.hash_size); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.57s [INFO] running `Command { std: "docker" "inspect" "2d9bf8f7162d33f511a59e4b5e08465937751eb247c51d71996437d4e906bca0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d9bf8f7162d33f511a59e4b5e08465937751eb247c51d71996437d4e906bca0", kill_on_drop: false }` [INFO] [stdout] 2d9bf8f7162d33f511a59e4b5e08465937751eb247c51d71996437d4e906bca0