[INFO] cloning repository https://github.com/teamyapp/infra [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/teamyapp/infra" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteamyapp%2Finfra", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteamyapp%2Finfra'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a27d42853dcb030388b1dd331136a48dd240628c [INFO] checking teamyapp/infra against master#cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9 for pr-136968 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteamyapp%2Finfra" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/teamyapp/infra on toolchain cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/teamyapp/infra [INFO] finished tweaking git repo https://github.com/teamyapp/infra [INFO] tweaked toml for git repo https://github.com/teamyapp/infra written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/teamyapp/infra already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 941076db7fe9150936d3686841c99f13a9c0ba6d11a0355afaab0a0260c90703 [INFO] running `Command { std: "docker" "start" "-a" "941076db7fe9150936d3686841c99f13a9c0ba6d11a0355afaab0a0260c90703", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "941076db7fe9150936d3686841c99f13a9c0ba6d11a0355afaab0a0260c90703", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "941076db7fe9150936d3686841c99f13a9c0ba6d11a0355afaab0a0260c90703", kill_on_drop: false }` [INFO] [stdout] 941076db7fe9150936d3686841c99f13a9c0ba6d11a0355afaab0a0260c90703 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52b32624bcc6fcc7e9395c814e5aeead27d26ff0564e78c314d29d9e4f854518 [INFO] running `Command { std: "docker" "start" "-a" "52b32624bcc6fcc7e9395c814e5aeead27d26ff0564e78c314d29d9e4f854518", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling prettyplease v0.2.22 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling multimap v0.10.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling prost-derive v0.13.2 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.82 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling prost v0.13.2 [INFO] [stderr] Compiling prost-types v0.13.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling prost-build v0.13.2 [INFO] [stderr] Compiling tonic-build v0.12.2 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking h2 v0.4.6 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Compiling infra v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking hyper-util v0.1.7 [INFO] [stderr] Checking hyper-timeout v0.5.1 [INFO] [stderr] Checking tonic v0.12.2 [INFO] [stdout] warning: value assigned to `sample` is never read [INFO] [stdout] --> src/platform_testing/network.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | sample -= self.config.long_delay_rate; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sample` is never read [INFO] [stdout] --> src/platform_testing/network.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | sample -= self.config.long_delay_rate; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remote_ip` [INFO] [stdout] --> src/platform_testing/network_interface.rs:95:33 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn pick_local_ip(&self, remote_ip: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remote_ip` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip` [INFO] [stdout] --> src/platform_testing/network_interface.rs:123:25 [INFO] [stdout] | [INFO] [stdout] 123 | fn free_port(&self, ip: &str, port: u16) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/platform_testing/network_interface.rs:123:35 [INFO] [stdout] | [INFO] [stdout] 123 | fn free_port(&self, ip: &str, port: u16) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `connect` and `bind_tcp` are never used [INFO] [stdout] --> src/platform/network.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub trait NetworkInterface { [INFO] [stdout] | ---------------- methods in this trait [INFO] [stdout] 31 | fn connect(&self, remote_ip: &str, remote_port: u16) -> Option>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 32 | fn bind_tcp(&self, local_ip: &str, local_port: u16) -> Option>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `send`, `receive`, and `get_local_endpoint` are never used [INFO] [stdout] --> src/platform/network.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub trait TcpStream: Debug + Send + Sync { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] 36 | fn send(&self, data: &[u8]); [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | fn receive(&self) -> Option>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 38 | fn send_control(&self, control: Control); [INFO] [stdout] 39 | fn get_local_endpoint(&self) -> Endpoint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `accept` is never used [INFO] [stdout] --> src/platform/network.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub trait TcpListener: Send + Sync { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] 45 | fn accept(&self) -> Option>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `connect`, `disconnect`, and `register_network_interface` are never used [INFO] [stdout] --> src/platform_testing/network.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl SimulatedNetwork { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 27 | pub fn new(config: SimulatedNetworkConfig) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn connect(&self, ip1: &str, ip2: &str) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn disconnect(&self, ip1: &str, ip2: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn register_network_interface(&self, network_interface: Arc) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_ip_addresses`, `assign_ip_addresses`, `remove_ip_addresses`, and `free_port` are never used [INFO] [stdout] --> src/platform_testing/network_interface.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl SimulatedNetworkInterface { [INFO] [stdout] | ------------------------------ associated items in this implementation [INFO] [stdout] 21 | pub fn new(network: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn get_ip_addresses(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn assign_ip_addresses(&self, ip_addresses: Vec<&str>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn remove_ip_addresses(&self, ip_addresses: Vec<&str>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | fn free_port(&self, ip: &str, port: u16) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remote_ip` [INFO] [stdout] --> src/platform_testing/network_interface.rs:95:33 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn pick_local_ip(&self, remote_ip: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remote_ip` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip` [INFO] [stdout] --> src/platform_testing/network_interface.rs:123:25 [INFO] [stdout] | [INFO] [stdout] 123 | fn free_port(&self, ip: &str, port: u16) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/platform_testing/network_interface.rs:123:35 [INFO] [stdout] | [INFO] [stdout] 123 | fn free_port(&self, ip: &str, port: u16) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/network_test.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | let mut client_stream1 = network_interface1.connect(server_ip, server_port); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_local_endpoint` is never used [INFO] [stdout] --> src/platform/network.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub trait TcpStream: Debug + Send + Sync { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 39 | fn get_local_endpoint(&self) -> Endpoint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `disconnect` is never used [INFO] [stdout] --> src/platform_testing/network.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl SimulatedNetwork { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn disconnect(&self, ip1: &str, ip2: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove_ip_addresses` and `free_port` are never used [INFO] [stdout] --> src/platform_testing/network_interface.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl SimulatedNetworkInterface { [INFO] [stdout] | ------------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn remove_ip_addresses(&self, ip_addresses: Vec<&str>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | fn free_port(&self, ip: &str, port: u16) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 09s [INFO] running `Command { std: "docker" "inspect" "52b32624bcc6fcc7e9395c814e5aeead27d26ff0564e78c314d29d9e4f854518", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52b32624bcc6fcc7e9395c814e5aeead27d26ff0564e78c314d29d9e4f854518", kill_on_drop: false }` [INFO] [stdout] 52b32624bcc6fcc7e9395c814e5aeead27d26ff0564e78c314d29d9e4f854518