[INFO] cloning repository https://github.com/diegopy/p2pcontroller [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/diegopy/p2pcontroller" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdiegopy%2Fp2pcontroller", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdiegopy%2Fp2pcontroller'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f8a5ca754dec34101c33f0474082368162050481 [INFO] testing diegopy/p2pcontroller against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdiegopy%2Fp2pcontroller" "/workspace/builds/worker-63/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-63/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/diegopy/p2pcontroller on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/diegopy/p2pcontroller [INFO] finished tweaking git repo https://github.com/diegopy/p2pcontroller [INFO] tweaked toml for git repo https://github.com/diegopy/p2pcontroller written to /workspace/builds/worker-63/source/Cargo.toml [INFO] crate git repo https://github.com/diegopy/p2pcontroller already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-63/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-63/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 30dfad8667bf27725bd139d07b88e0a698cc93e54ba37d07ce9f2430a852ea2f [INFO] running `Command { std: "docker" "start" "-a" "30dfad8667bf27725bd139d07b88e0a698cc93e54ba37d07ce9f2430a852ea2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "30dfad8667bf27725bd139d07b88e0a698cc93e54ba37d07ce9f2430a852ea2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30dfad8667bf27725bd139d07b88e0a698cc93e54ba37d07ce9f2430a852ea2f", kill_on_drop: false }` [INFO] [stdout] 30dfad8667bf27725bd139d07b88e0a698cc93e54ba37d07ce9f2430a852ea2f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-63/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-63/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd163583792cfaaf57a0c0765f5c885496af97a511a9e92e38b0366c1ac90e58 [INFO] running `Command { std: "docker" "start" "-a" "dd163583792cfaaf57a0c0765f5c885496af97a511a9e92e38b0366c1ac90e58", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling anyhow v1.0.55 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling num_threads v0.1.3 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling clap_derive v3.1.4 [INFO] [stderr] Compiling strum_macros v0.24.0 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling strum v0.24.0 [INFO] [stderr] Compiling clap v3.1.5 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling time v0.3.7 [INFO] [stderr] Compiling p2pcontroller v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `de` [INFO] [stdout] --> src/network/mod.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{de, Deserialize, Deserializer}; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/network/controller.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | config: Config, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `state` [INFO] [stdout] --> src/network/controller.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | state: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `feedback_peer_alive` [INFO] [stdout] --> src/network/controller.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn feedback_peer_alive(&self, address: SocketAddr, is_outgoing: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `in_alive_count` [INFO] [stdout] --> src/network/controller.rs:243:12 [INFO] [stdout] | [INFO] [stdout] 243 | pub fn in_alive_count(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `in_handshacking_count` [INFO] [stdout] --> src/network/controller.rs:247:12 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn in_handshacking_count(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_peer_alive` [INFO] [stdout] --> src/network/controller.rs:306:12 [INFO] [stdout] | [INFO] [stdout] 306 | pub fn set_peer_alive(&self, address: SocketAddr, is_outgoing: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OutConnecting` [INFO] [stdout] --> src/network/peer.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | OutConnecting, //we are currently trying to establish an outgoing TCP connection to the peer [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PeerState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/network/peer.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Copy, Clone, Display)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OutAlive` [INFO] [stdout] --> src/network/peer.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | OutAlive, //we have an outgoing TCP connection to the peer and the handshake is done, the peer is functional [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PeerState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/network/peer.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Copy, Clone, Display)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InAlive` [INFO] [stdout] --> src/network/peer.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | InAlive, //the peer has established a TCP connection towards us and the handshake is done, the peer is functional [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PeerState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/network/peer.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Copy, Clone, Display)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_alive` [INFO] [stdout] --> src/network/peer.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn set_alive(&mut self, is_outgoing: bool) -> StateChange { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/network/controller.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | self.state.set_peer_alive(address, is_outgoing); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 43.50s [INFO] running `Command { std: "docker" "inspect" "dd163583792cfaaf57a0c0765f5c885496af97a511a9e92e38b0366c1ac90e58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd163583792cfaaf57a0c0765f5c885496af97a511a9e92e38b0366c1ac90e58", kill_on_drop: false }` [INFO] [stdout] dd163583792cfaaf57a0c0765f5c885496af97a511a9e92e38b0366c1ac90e58 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-63/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-63/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f61de1438750bfac94b577e47f31578b34f92a1e4d0fd65b46d24031c768a3ae [INFO] running `Command { std: "docker" "start" "-a" "f61de1438750bfac94b577e47f31578b34f92a1e4d0fd65b46d24031c768a3ae", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling p2pcontroller v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `de` [INFO] [stdout] --> src/network/mod.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{de, Deserialize, Deserializer}; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/network/controller.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | config: Config, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `state` [INFO] [stdout] --> src/network/controller.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | state: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `feedback_peer_alive` [INFO] [stdout] --> src/network/controller.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn feedback_peer_alive(&self, address: SocketAddr, is_outgoing: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `in_alive_count` [INFO] [stdout] --> src/network/controller.rs:243:12 [INFO] [stdout] | [INFO] [stdout] 243 | pub fn in_alive_count(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `in_handshacking_count` [INFO] [stdout] --> src/network/controller.rs:247:12 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn in_handshacking_count(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_peer_alive` [INFO] [stdout] --> src/network/controller.rs:306:12 [INFO] [stdout] | [INFO] [stdout] 306 | pub fn set_peer_alive(&self, address: SocketAddr, is_outgoing: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OutConnecting` [INFO] [stdout] --> src/network/peer.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | OutConnecting, //we are currently trying to establish an outgoing TCP connection to the peer [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PeerState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/network/peer.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Copy, Clone, Display)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OutAlive` [INFO] [stdout] --> src/network/peer.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | OutAlive, //we have an outgoing TCP connection to the peer and the handshake is done, the peer is functional [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PeerState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/network/peer.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Copy, Clone, Display)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InAlive` [INFO] [stdout] --> src/network/peer.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | InAlive, //the peer has established a TCP connection towards us and the handshake is done, the peer is functional [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PeerState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/network/peer.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Copy, Clone, Display)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_alive` [INFO] [stdout] --> src/network/peer.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn set_alive(&mut self, is_outgoing: bool) -> StateChange { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/network/controller.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | self.state.set_peer_alive(address, is_outgoing); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.39s [INFO] running `Command { std: "docker" "inspect" "f61de1438750bfac94b577e47f31578b34f92a1e4d0fd65b46d24031c768a3ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f61de1438750bfac94b577e47f31578b34f92a1e4d0fd65b46d24031c768a3ae", kill_on_drop: false }` [INFO] [stdout] f61de1438750bfac94b577e47f31578b34f92a1e4d0fd65b46d24031c768a3ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-63/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-63/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] aba63dd479f4f562157cd6c1847650eda0bfc84d8cf9f5cf857a03193f205404 [INFO] running `Command { std: "docker" "start" "-a" "aba63dd479f4f562157cd6c1847650eda0bfc84d8cf9f5cf857a03193f205404", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `de` [INFO] [stderr] --> src/network/mod.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | use serde::{de, Deserialize, Deserializer}; [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `config` [INFO] [stderr] --> src/network/controller.rs:109:5 [INFO] [stderr] | [INFO] [stderr] 109 | config: Config, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `state` [INFO] [stderr] --> src/network/controller.rs:41:5 [INFO] [stderr] | [INFO] [stderr] 41 | state: Arc, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `feedback_peer_alive` [INFO] [stderr] --> src/network/controller.rs:94:12 [INFO] [stderr] | [INFO] [stderr] 94 | pub fn feedback_peer_alive(&self, address: SocketAddr, is_outgoing: bool) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `in_alive_count` [INFO] [stderr] --> src/network/controller.rs:243:12 [INFO] [stderr] | [INFO] [stderr] 243 | pub fn in_alive_count(&self) -> u32 { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `in_handshacking_count` [INFO] [stderr] --> src/network/controller.rs:247:12 [INFO] [stderr] | [INFO] [stderr] 247 | pub fn in_handshacking_count(&self) -> u32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_peer_alive` [INFO] [stderr] --> src/network/controller.rs:306:12 [INFO] [stderr] | [INFO] [stderr] 306 | pub fn set_peer_alive(&self, address: SocketAddr, is_outgoing: bool) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `OutConnecting` [INFO] [stderr] --> src/network/peer.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | OutConnecting, //we are currently trying to establish an outgoing TCP connection to the peer [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PeerState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/network/peer.rs:7:16 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Copy, Clone, Display)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `OutAlive` [INFO] [stderr] --> src/network/peer.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | OutAlive, //we have an outgoing TCP connection to the peer and the handshake is done, the peer is functional [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PeerState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/network/peer.rs:7:16 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Copy, Clone, Display)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `InAlive` [INFO] [stderr] --> src/network/peer.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | InAlive, //the peer has established a TCP connection towards us and the handshake is done, the peer is functional [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PeerState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/network/peer.rs:7:16 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Copy, Clone, Display)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_alive` [INFO] [stderr] --> src/network/peer.rs:69:12 [INFO] [stderr] | [INFO] [stderr] 69 | pub fn set_alive(&mut self, is_outgoing: bool) -> StateChange { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/network/controller.rs:95:9 [INFO] [stderr] | [INFO] [stderr] 95 | self.state.set_peer_alive(address, is_outgoing); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `p2pcontroller` (bin "p2pcontroller" test) generated 12 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/p2pcontroller-f582027368afae95) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test network::controller::tests::bind_ip ... ok [INFO] [stdout] test network::tests::config_format ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "aba63dd479f4f562157cd6c1847650eda0bfc84d8cf9f5cf857a03193f205404", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aba63dd479f4f562157cd6c1847650eda0bfc84d8cf9f5cf857a03193f205404", kill_on_drop: false }` [INFO] [stdout] aba63dd479f4f562157cd6c1847650eda0bfc84d8cf9f5cf857a03193f205404