[INFO] fetching crate i2p 0.0.1... [INFO] checking i2p-0.0.1 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate i2p 0.0.1 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate i2p 0.0.1 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate i2p 0.0.1 [INFO] finished tweaking crates.io crate i2p 0.0.1 [INFO] tweaked toml for crates.io crate i2p 0.0.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 14 packages to latest compatible versions [INFO] [stderr] Adding log v0.3.9 (latest: v0.4.22) [INFO] [stderr] Adding nom v2.2.1 (latest: v7.1.3) [INFO] [stderr] Adding rand v0.3.23 (latest: v0.8.5) [INFO] [stderr] Adding rand v0.4.6 (latest: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nom v2.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c86bb36f9332696e96ec6d49ce5e8d7b5c9483c387d9997811d1ef5890c841e [INFO] running `Command { std: "docker" "start" "-a" "0c86bb36f9332696e96ec6d49ce5e8d7b5c9483c387d9997811d1ef5890c841e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c86bb36f9332696e96ec6d49ce5e8d7b5c9483c387d9997811d1ef5890c841e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c86bb36f9332696e96ec6d49ce5e8d7b5c9483c387d9997811d1ef5890c841e", kill_on_drop: false }` [INFO] [stdout] 0c86bb36f9332696e96ec6d49ce5e8d7b5c9483c387d9997811d1ef5890c841e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fac579cb1a26d3abdc92cc55a7a468d3177de5d7b9170e3af0bc675bfa9aee6b [INFO] running `Command { std: "docker" "start" "-a" "fac579cb1a26d3abdc92cc55a7a468d3177de5d7b9170e3af0bc675bfa9aee6b", 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 nom v2.2.1 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking i2p v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `I2pAddr` [INFO] [stdout] --> src/net/datagram.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use net::{I2pAddr, I2pSocketAddr, ToI2pSocketAddrs}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `I2pAddr` [INFO] [stdout] --> src/net/datagram.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use net::{I2pAddr, I2pSocketAddr, ToI2pSocketAddrs}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sam_addr` [INFO] [stdout] --> src/net/datagram.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | fn bind_addr(sam_addr: &SocketAddr, addr: &I2pSocketAddr) -> io::Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sam_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/net/datagram.rs:60:41 [INFO] [stdout] | [INFO] [stdout] 60 | fn bind_addr(sam_addr: &SocketAddr, addr: &I2pSocketAddr) -> io::Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/net/datagram.rs:77:29 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn recv_from(&self, buf: &mut [u8]) -> io::Result<(usize, I2pSocketAddr)> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/net/datagram.rs:98:29 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn peek_from(&self, buf: &mut [u8]) -> io::Result<(usize, I2pSocketAddr)> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/net/datagram.rs:121:18 [INFO] [stdout] | [INFO] [stdout] 121 | Some(addr) => unimplemented!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/net/datagram.rs:118:48 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn send_to(&self, buf: &[u8], addr: A) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sam_addr` [INFO] [stdout] --> src/net/datagram.rs:177:43 [INFO] [stdout] | [INFO] [stdout] 177 | super::each_addr(sam_addr, addr, |sam_addr, addr| unimplemented!()) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sam_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/net/datagram.rs:177:53 [INFO] [stdout] | [INFO] [stdout] 177 | super::each_addr(sam_addr, addr, |sam_addr, addr| unimplemented!()) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/net/datagram.rs:196:24 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn send(&self, buf: &[u8]) -> io::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/net/datagram.rs:219:24 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn recv(&self, buf: &mut [u8]) -> io::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/net/datagram.rs:247:24 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn peek(&self, buf: &mut [u8]) -> io::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sam_addr` [INFO] [stdout] --> src/net/streaming.rs:246:18 [INFO] [stdout] | [INFO] [stdout] 246 | fn bind_addr(sam_addr: &SocketAddr, addr: &I2pSocketAddr) -> io::Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sam_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/net/streaming.rs:246:41 [INFO] [stdout] | [INFO] [stdout] 246 | fn bind_addr(sam_addr: &SocketAddr, addr: &I2pSocketAddr) -> io::Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/net/streaming.rs:342:19 [INFO] [stdout] | [INFO] [stdout] 342 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/sam.rs:52:22 [INFO] [stdout] | [INFO] [stdout] 52 | let new_vec = vec.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[(&str, &str)]` does not implement `Clone`, so calling `clone` on `&[(&str, &str)]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/sam.rs:54:49 [INFO] [stdout] | [INFO] [stdout] 54 | let res = map.get("RESULT").unwrap_or(&"OK").clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/sam.rs:55:48 [INFO] [stdout] | [INFO] [stdout] 55 | let msg = map.get("MESSAGE").unwrap_or(&"").clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sam_addr` [INFO] [stdout] --> src/net/datagram.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | fn bind_addr(sam_addr: &SocketAddr, addr: &I2pSocketAddr) -> io::Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sam_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/net/datagram.rs:60:41 [INFO] [stdout] | [INFO] [stdout] 60 | fn bind_addr(sam_addr: &SocketAddr, addr: &I2pSocketAddr) -> io::Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/net/datagram.rs:77:29 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn recv_from(&self, buf: &mut [u8]) -> io::Result<(usize, I2pSocketAddr)> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/net/datagram.rs:98:29 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn peek_from(&self, buf: &mut [u8]) -> io::Result<(usize, I2pSocketAddr)> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/net/datagram.rs:121:18 [INFO] [stdout] | [INFO] [stdout] 121 | Some(addr) => unimplemented!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/net/datagram.rs:118:48 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn send_to(&self, buf: &[u8], addr: A) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sam_addr` [INFO] [stdout] --> src/net/datagram.rs:177:43 [INFO] [stdout] | [INFO] [stdout] 177 | super::each_addr(sam_addr, addr, |sam_addr, addr| unimplemented!()) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sam_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/net/datagram.rs:177:53 [INFO] [stdout] | [INFO] [stdout] 177 | super::each_addr(sam_addr, addr, |sam_addr, addr| unimplemented!()) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/net/datagram.rs:196:24 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn send(&self, buf: &[u8]) -> io::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/net/datagram.rs:219:24 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn recv(&self, buf: &mut [u8]) -> io::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/net/datagram.rs:247:24 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn peek(&self, buf: &mut [u8]) -> io::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sam_addr` [INFO] [stdout] --> src/net/streaming.rs:246:18 [INFO] [stdout] | [INFO] [stdout] 246 | fn bind_addr(sam_addr: &SocketAddr, addr: &I2pSocketAddr) -> io::Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sam_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/net/streaming.rs:246:41 [INFO] [stdout] | [INFO] [stdout] 246 | fn bind_addr(sam_addr: &SocketAddr, addr: &I2pSocketAddr) -> io::Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/net/streaming.rs:342:19 [INFO] [stdout] | [INFO] [stdout] 342 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/sam.rs:52:22 [INFO] [stdout] | [INFO] [stdout] 52 | let new_vec = vec.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[(&str, &str)]` does not implement `Clone`, so calling `clone` on `&[(&str, &str)]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/sam.rs:54:49 [INFO] [stdout] | [INFO] [stdout] 54 | let res = map.get("RESULT").unwrap_or(&"OK").clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/sam.rs:55:48 [INFO] [stdout] | [INFO] [stdout] 55 | let msg = map.get("MESSAGE").unwrap_or(&"").clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.04s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v2.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "fac579cb1a26d3abdc92cc55a7a468d3177de5d7b9170e3af0bc675bfa9aee6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fac579cb1a26d3abdc92cc55a7a468d3177de5d7b9170e3af0bc675bfa9aee6b", kill_on_drop: false }` [INFO] [stdout] fac579cb1a26d3abdc92cc55a7a468d3177de5d7b9170e3af0bc675bfa9aee6b