[INFO] fetching crate i2p 0.0.1... [INFO] checking i2p-0.0.1 against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] extracting crate i2p 0.0.1 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate i2p 0.0.1 on toolchain 024378d9203a4009ed73d6db2681b88a8d74ce7a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "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-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8ad120ced964e1c0e3828ba2d5b0d38f55ade696f503398f7e51e3cd7fd8a8e1 [INFO] running `Command { std: "docker" "start" "-a" "8ad120ced964e1c0e3828ba2d5b0d38f55ade696f503398f7e51e3cd7fd8a8e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ad120ced964e1c0e3828ba2d5b0d38f55ade696f503398f7e51e3cd7fd8a8e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ad120ced964e1c0e3828ba2d5b0d38f55ade696f503398f7e51e3cd7fd8a8e1", kill_on_drop: false }` [INFO] [stdout] 8ad120ced964e1c0e3828ba2d5b0d38f55ade696f503398f7e51e3cd7fd8a8e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6eeea8d60638d381d42f885d57fd514791a92ec5777296297610dd317e492fc2 [INFO] running `Command { std: "docker" "start" "-a" "6eeea8d60638d381d42f885d57fd514791a92ec5777296297610dd317e492fc2", kill_on_drop: false }` [INFO] [stderr] Checking nom v2.2.1 [INFO] [stderr] Checking log v0.3.9 [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: 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] error: 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] | ^^^^^^^^ unnecessary method 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: `#[deny(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] error: aborting due to previous error; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `i2p` (lib) due to 2 previous errors; 17 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: 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] | ^^^^^^^^ unnecessary method 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: `#[deny(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] error: aborting due to previous error; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `i2p` (lib test) due to 2 previous errors; 17 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6eeea8d60638d381d42f885d57fd514791a92ec5777296297610dd317e492fc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6eeea8d60638d381d42f885d57fd514791a92ec5777296297610dd317e492fc2", kill_on_drop: false }` [INFO] [stdout] 6eeea8d60638d381d42f885d57fd514791a92ec5777296297610dd317e492fc2