[INFO] fetching crate dht 0.0.6...
[INFO] checking dht-0.0.6 against master#39cb3386ddc6c71657418be28dbb3987eea4aa4b for pr-133536
[INFO] extracting crate dht 0.0.6 into /workspace/builds/worker-3-tc1/source
[INFO] validating manifest of crates.io crate dht 0.0.6 on toolchain 39cb3386ddc6c71657418be28dbb3987eea4aa4b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "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-3-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 470269a6bd8832a5b3bcf158cdd34b27d5de4a4086755572baf90e8429dbf37a
[INFO] running `Command { std: "docker" "start" "-a" "470269a6bd8832a5b3bcf158cdd34b27d5de4a4086755572baf90e8429dbf37a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "470269a6bd8832a5b3bcf158cdd34b27d5de4a4086755572baf90e8429dbf37a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "470269a6bd8832a5b3bcf158cdd34b27d5de4a4086755572baf90e8429dbf37a", kill_on_drop: false }`
[INFO] [stdout] 470269a6bd8832a5b3bcf158cdd34b27d5de4a4086755572baf90e8429dbf37a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 10a0a9838f20d3ffb9bfddc5af66723fb58e15df32070cb82e0a9bf69f3bdb85
[INFO] running `Command { std: "docker" "start" "-a" "10a0a9838f20d3ffb9bfddc5af66723fb58e15df32070cb82e0a9bf69f3bdb85", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Checking log v0.4.22
[INFO] [stderr]     Checking rustc-serialize v0.3.25
[INFO] [stderr]     Checking rand v0.4.6
[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<Self::Id, Self::Addr, Self::Value>) -> Vec<u8>;
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Response<Self::Id, Self::Addr, Self::Value>`
[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 <https://github.com/rust-lang/rust/issues/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 <https://github.com/rust-lang/rust/issues/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 <https://github.com/rust-lang/rust/issues/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<Self::Id, Self::Addr, Self::Value>) -> Vec<u8>;
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Response<Self::Id, Self::Addr, Self::Value>`
[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 <https://github.com/rust-lang/rust/issues/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<TId, TAddr>
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[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: 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<TId, TAddr>
[INFO] [stdout]     |           ---------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 158 |     fn find_node<F>(&mut self, id: &TId, callback: F)
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 163 |     fn find_value<F>(&mut self, id: &TId, callback: F)
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 166 |     fn store(&mut self, node: &Node<TId, TAddr>, 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[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] [stderr] error: could not compile `dht` (lib test) due to 4 previous errors; 12 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "10a0a9838f20d3ffb9bfddc5af66723fb58e15df32070cb82e0a9bf69f3bdb85", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "10a0a9838f20d3ffb9bfddc5af66723fb58e15df32070cb82e0a9bf69f3bdb85", kill_on_drop: false }`
[INFO] [stdout] 10a0a9838f20d3ffb9bfddc5af66723fb58e15df32070cb82e0a9bf69f3bdb85
