[INFO] fetching crate dht 0.0.6... [INFO] checking dht-0.0.6 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate dht 0.0.6 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate dht 0.0.6 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 13 packages to latest compatible versions [INFO] [stderr] Adding log v0.3.9 (available: v0.4.22) [INFO] [stderr] Adding rand v0.3.23 (available: v0.8.5) [INFO] [stderr] Adding rand v0.4.6 (available: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (available: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (available: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (available: v0.8.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c9e1320fa772d17f523580af2d3c60a481377fe7cdb21e6b1152fb3caff800e6 [INFO] running `Command { std: "docker" "start" "-a" "c9e1320fa772d17f523580af2d3c60a481377fe7cdb21e6b1152fb3caff800e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c9e1320fa772d17f523580af2d3c60a481377fe7cdb21e6b1152fb3caff800e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9e1320fa772d17f523580af2d3c60a481377fe7cdb21e6b1152fb3caff800e6", kill_on_drop: false }` [INFO] [stdout] c9e1320fa772d17f523580af2d3c60a481377fe7cdb21e6b1152fb3caff800e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae22f198ad635519b528647666415f4bba5a7469fc9ac77c9d181e7490698d5b [INFO] running `Command { std: "docker" "start" "-a" "ae22f198ad635519b528647666415f4bba5a7469fc9ac77c9d181e7490698d5b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking log v0.3.9 [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] error: use of unstable library feature 'rustc_encodable_decodable': derive macro for `rustc-serialize`; should not be used in new code [INFO] [stdout] --> src/base.rs:217:28 [INFO] [stdout] | [INFO] [stdout] 217 | #[derive(Debug, Clone, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [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 #64266 [INFO] [stdout] = note: `#[deny(soft_unstable)]` on by default [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] error: use of unstable library feature 'rustc_encodable_decodable': derive macro for `rustc-serialize`; should not be used in new code [INFO] [stdout] --> src/base.rs:217:44 [INFO] [stdout] | [INFO] [stdout] 217 | #[derive(Debug, Clone, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [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 #64266 [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: trait `GenericAPI` is never used [INFO] [stdout] --> src/base.rs:150:11 [INFO] [stdout] | [INFO] [stdout] 150 | pub trait GenericAPI [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find_node`, `find_value`, and `store` are never used [INFO] [stdout] --> src/base.rs:158:8 [INFO] [stdout] | [INFO] [stdout] 150 | pub trait GenericAPI [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 158 | fn find_node(&mut self, id: &TId, callback: F) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | fn find_value(&mut self, id: &TId, callback: F) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | fn store(&mut self, node: &Node, id: &TId, value: Self::TValue); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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] error: aborting due to 2 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dht` (lib test) due to 5 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ae22f198ad635519b528647666415f4bba5a7469fc9ac77c9d181e7490698d5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae22f198ad635519b528647666415f4bba5a7469fc9ac77c9d181e7490698d5b", kill_on_drop: false }` [INFO] [stdout] ae22f198ad635519b528647666415f4bba5a7469fc9ac77c9d181e7490698d5b