[INFO] cloning repository https://github.com/HaosGames/rust_pinecone [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HaosGames/rust_pinecone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHaosGames%2Frust_pinecone", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHaosGames%2Frust_pinecone'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e9e53c0909165eff92ad6ec314c1284caa37594e [INFO] building HaosGames/rust_pinecone against try#615edd3ad1cf6871c977dc900317cb6c2070fd6b for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHaosGames%2Frust_pinecone" "/workspace/builds/worker-21/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-21/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HaosGames/rust_pinecone on toolchain 615edd3ad1cf6871c977dc900317cb6c2070fd6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/HaosGames/rust_pinecone [INFO] finished tweaking git repo https://github.com/HaosGames/rust_pinecone [INFO] tweaked toml for git repo https://github.com/HaosGames/rust_pinecone written to /workspace/builds/worker-21/source/Cargo.toml [INFO] crate git repo https://github.com/HaosGames/rust_pinecone already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d77db80c58c5c3b40fa15c297e0bfbe98ce2a1eb9e0b4e878c7ed9aaadafd58 [INFO] running `Command { std: "docker" "start" "-a" "8d77db80c58c5c3b40fa15c297e0bfbe98ce2a1eb9e0b4e878c7ed9aaadafd58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d77db80c58c5c3b40fa15c297e0bfbe98ce2a1eb9e0b4e878c7ed9aaadafd58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d77db80c58c5c3b40fa15c297e0bfbe98ce2a1eb9e0b4e878c7ed9aaadafd58", kill_on_drop: false }` [INFO] [stdout] 8d77db80c58c5c3b40fa15c297e0bfbe98ce2a1eb9e0b4e878c7ed9aaadafd58 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 511a5c42f12fbdf8639d7c62bc745dcbd8cb6979db6119148b76245c19acd862 [INFO] running `Command { std: "docker" "start" "-a" "511a5c42f12fbdf8639d7c62bc745dcbd8cb6979db6119148b76245c19acd862", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.90 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling subtle-ng v2.5.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling zeroize v1.5.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling tracing-core v0.1.24 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling curve25519-dalek-ng v4.1.1 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tracing v0.1.32 [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling ed25519-consensus v2.0.1 [INFO] [stderr] Compiling rust_pinecone v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `TcpListener`, `TcpStream` [INFO] [stdout] --> src/connection.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Receiver`, `Sender`, `channel` [INFO] [stdout] --> src/connection.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::sync::mpsc::{channel, Receiver, Sender}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DownloadConnection`, `UploadConnection` [INFO] [stdout] --> src/router.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::connection::{DownloadConnection, UploadConnection}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Log`, `warn` [INFO] [stdout] --> src/router.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | use log::{debug, info, Log, trace, warn}; [INFO] [stdout] | ^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `trace` [INFO] [stdout] --> src/wire_frame.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | use log::{debug, trace}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ErrorKind`, `Read` [INFO] [stdout] --> src/wire_frame.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::{ErrorKind, Read}; [INFO] [stdout] | ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/error.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | fn from(e: tokio::sync::mpsc::error::SendError) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packet` [INFO] [stdout] --> src/wire_frame.rs:79:33 [INFO] [stdout] | [INFO] [stdout] 79 | Frame::SnekSetupACK(packet) => 10 + 32 + 32 + 8 + 8, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packet` [INFO] [stdout] --> src/wire_frame.rs:80:33 [INFO] [stdout] | [INFO] [stdout] 80 | Frame::SnekTeardown(packet) => 10 + 32 + 32 + 8 + 8, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extra1` [INFO] [stdout] --> src/wire_frame.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | let extra1 = src.get_u8(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_extra1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extra2` [INFO] [stdout] --> src/wire_frame.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | let extra2 = src.get_u8(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_extra2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/wire_frame.rs:218:21 [INFO] [stdout] | [INFO] [stdout] 218 | for i in 0..sig_len { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/wire_frame.rs:239:21 [INFO] [stdout] | [INFO] [stdout] 239 | for i in 0..dest_len { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/wire_frame.rs:244:21 [INFO] [stdout] | [INFO] [stdout] 244 | for i in 0..dest_len { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/wire_frame.rs:249:21 [INFO] [stdout] | [INFO] [stdout] 249 | for i in 0..payload_len { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/wire_frame.rs:262:21 [INFO] [stdout] | [INFO] [stdout] 262 | for i in 0..source_len { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/wire_frame.rs:278:21 [INFO] [stdout] | [INFO] [stdout] 278 | for i in 0..dest_len { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/wire_frame.rs:284:21 [INFO] [stdout] | [INFO] [stdout] 284 | for i in 0..source_len { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/wire_frame.rs:303:21 [INFO] [stdout] | [INFO] [stdout] 303 | for i in 0..dest_len { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/wire_frame.rs:346:21 [INFO] [stdout] | [INFO] [stdout] 346 | for i in 0..payload_len { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/frames.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let mut to_sign = RootAnnouncementSignature { [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: associated function is never used: `next` [INFO] [stdout] --> src/connection.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) async fn next(&mut self) -> Option> { [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: `send` [INFO] [stdout] --> src/connection.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | pub(crate) async fn send(&mut self, frame: Frame) -> Result<(), RouterError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `replayed_current_sequence` [INFO] [stdout] --> src/frames.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 109 | pub(crate) fn replayed_current_sequence(&self, of: &TreeAnnouncement) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `router_key` [INFO] [stdout] --> src/session.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) router_key: PublicKey, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dialed_key` [INFO] [stdout] --> src/session.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) dialed_key: PublicKey, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_expired` [INFO] [stdout] --> src/wait_timer.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) fn new_expired() -> WaitTimer { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_FRAME_SIZE` [INFO] [stdout] --> src/wire_frame.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | const MAX_FRAME_SIZE: u32 = 65535 * 3 + 16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_PAYLOAD_SIZE` [INFO] [stdout] --> src/wire_frame.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | const MAX_PAYLOAD_SIZE: u16 = 65535; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FRAME_HEADER_LENGTH` [INFO] [stdout] --> src/wire_frame.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | const FRAME_HEADER_LENGTH: u32 = 10; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `WireFrame` [INFO] [stdout] --> src/wire_frame.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct WireFrame { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/router.rs:718:9 [INFO] [stdout] | [INFO] [stdout] 718 | / self.send(Frame::TreeAnnouncement(signed_announcement), to) [INFO] [stdout] 719 | | .await; [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: unused `Result` that must be used [INFO] [stdout] --> src/router.rs:925:13 [INFO] [stdout] | [INFO] [stdout] 925 | self.send(Frame::SnekBootstrap(frame), peer).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/router.rs:1068:17 [INFO] [stdout] | [INFO] [stdout] 1068 | self.send(Frame::SnekBootstrapACK(frame), peer).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/router.rs:1172:17 [INFO] [stdout] | [INFO] [stdout] 1172 | self.send(Frame::SnekSetup(setup), next_peer).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/router.rs:1327:13 [INFO] [stdout] | [INFO] [stdout] 1327 | / self.send( [INFO] [stdout] 1328 | | Frame::SnekSetupACK(setup_ack), [INFO] [stdout] 1329 | | self.get_peer_on_port(entry.source).await.unwrap(), [INFO] [stdout] 1330 | | ) [INFO] [stdout] 1331 | | .await; [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/router.rs:1345:13 [INFO] [stdout] | [INFO] [stdout] 1345 | self.send(Frame::SnekSetup(rx.clone()), next_peer).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/router.rs:1377:21 [INFO] [stdout] | [INFO] [stdout] 1377 | / self.send(Frame::SnekSetupACK(rx.clone()), entry_source) [INFO] [stdout] 1378 | | .await; [INFO] [stdout] | |_______________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/router.rs:1474:17 [INFO] [stdout] | [INFO] [stdout] 1474 | router.send(Frame::SnekTeardown(frame.clone()), peer).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/router.rs:1486:9 [INFO] [stdout] | [INFO] [stdout] 1486 | self.send(Frame::SnekTeardown(frame), peer).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] thread 'rustc' panicked at 'Box', /rustc/615edd3ad1cf6871c977dc900317cb6c2070fd6b/compiler/rustc_errors/src/lib.rs:1274:9 [INFO] [stderr] stack backtrace: [INFO] [stdout] error: internal compiler error: compiler/rustc_mir_transform/src/generator.rs:753:13: Broken MIR: generator contains type TreeAnnouncement in MIR, but typeck only knows about {ResumeTy, &Router, &impl SnekRouted, bool, [u8; 32], Option<[u8; 32]>, impl futures::Future, (), impl futures::Future, &[u8; 32], &[RootAnnouncementSignature], Vec, std::iter::Map, [closure@src/router.rs:980:22: 980:46]>, impl futures::Future>>, impl futures::Future>, impl futures::Future>>, &tokio::sync::RwLockReadGuard>, tokio::sync::RwLockReadGuard>, std::collections::hash_map::Iter, Option<(&SnekPathIndex, &SnekPath)>, &SnekPathIndex, &SnekPath, impl futures::Future>} and [&router::Router, &impl SnekRouted, bool, bool] [INFO] [stdout] --> src/router.rs:936:28 [INFO] [stdout] | [INFO] [stdout] 936 | ) -> Option { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 937 | | let destination_key = frame.destination_key(); [INFO] [stdout] 938 | | // If the message isn't a bootstrap message and the destination is for our [INFO] [stdout] 939 | | // own public key, handle the frame locally — it's basically loopback. [INFO] [stdout] ... | [INFO] [stdout] 1043 | | best_peer [INFO] [stdout] 1044 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 0: 0x7fd8be2c7f4d - std::backtrace_rs::backtrace::libunwind::trace::h48663e6e02482f77 [INFO] [stderr] at /rustc/615edd3ad1cf6871c977dc900317cb6c2070fd6b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stderr] 1: 0x7fd8be2c7f4d - std::backtrace_rs::backtrace::trace_unsynchronized::hd59d5365552a1436 [INFO] [stderr] at /rustc/615edd3ad1cf6871c977dc900317cb6c2070fd6b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x7fd8be2c7f4d - std::sys_common::backtrace::_print_fmt::ha78e5f373355cd4a [INFO] [stderr] at /rustc/615edd3ad1cf6871c977dc900317cb6c2070fd6b/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stderr] 3: 0x7fd8be2c7f4d - ::fmt::h1b6548c67a95d5a1 [INFO] [stderr] at /rustc/615edd3ad1cf6871c977dc900317cb6c2070fd6b/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stderr] 4: 0x7fd8be323aac - core::fmt::write::hca7ee89651358f58 [INFO] [stderr] at /rustc/615edd3ad1cf6871c977dc900317cb6c2070fd6b/library/core/src/fmt/mod.rs:1196:17 [INFO] [stderr] 5: 0x7fd8be2b96e1 - std::io::Write::write_fmt::h4bbc99e2a7952e78 [INFO] [stderr] at /rustc/615edd3ad1cf6871c977dc900317cb6c2070fd6b/library/std/src/io/mod.rs:1654:15 [INFO] [stderr] 6: 0x7fd8be2cac35 - std::sys_common::backtrace::_print::h26a0e5520b381b04 [INFO] [stderr] at /rustc/615edd3ad1cf6871c977dc900317cb6c2070fd6b/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stderr] 7: 0x7fd8be2cac35 - std::sys_common::backtrace::print::h743a45291d5f39cc [INFO] [stderr] at /rustc/615edd3ad1cf6871c977dc900317cb6c2070fd6b/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stderr] 8: 0x7fd8be2cac35 - std::panicking::default_hook::{{closure}}::hf1e2b39dfd75cbc2 [INFO] [stderr] at /rustc/615edd3ad1cf6871c977dc900317cb6c2070fd6b/library/std/src/panicking.rs:295:22 [INFO] [stderr] 9: 0x7fd8be2ca956 - std::panicking::default_hook::h347898a158e52020 [INFO] [stderr] at /rustc/615edd3ad1cf6871c977dc900317cb6c2070fd6b/library/std/src/panicking.rs:314:9 [INFO] [stderr] 10: 0x7fd8bea91d11 - rustc_driver[2c8e23c1704d1846]::DEFAULT_HOOK::{closure#0}::{closure#0} [INFO] [stderr] 11: 0x7fd8be2cb30a - std::panicking::rust_panic_with_hook::h3cc7233c1fa5669e [INFO] [stderr] at /rustc/615edd3ad1cf6871c977dc900317cb6c2070fd6b/library/std/src/panicking.rs:702:17 [INFO] [stderr] 12: 0x7fd8bec59cf1 - std[23f59d9749713536]::panicking::begin_panic::::{closure#0} [INFO] [stderr] 13: 0x7fd8bec56296 - std[23f59d9749713536]::sys_common::backtrace::__rust_end_short_backtrace::::{closure#0}, !> [INFO] [stderr] 14: 0x7fd8bec6c946 - std[23f59d9749713536]::panicking::begin_panic:: [INFO] [stderr] 15: 0x7fd8bec55546 - std[23f59d9749713536]::panic::panic_any:: [INFO] [stderr] 16: 0x7fd8bec535a1 - ::span_bug:: [INFO] [stderr] 17: 0x7fd8bec529b0 - ::span_bug:: [INFO] [stderr] 18: 0x7fd8beca2fb8 - rustc_middle[8b88f8a0f89f93bb]::ty::context::tls::with_opt::::{closure#0}, ()> [INFO] [stderr] 19: 0x7fd8beca2b86 - rustc_middle[8b88f8a0f89f93bb]::util::bug::opt_span_bug_fmt:: [INFO] [stderr] 20: 0x7fd8beca2b44 - rustc_middle[8b88f8a0f89f93bb]::util::bug::span_bug_fmt:: [INFO] [stderr] 21: 0x7fd8bfea72aa - ::run_pass [INFO] [stderr] 22: 0x7fd8bfe984d0 - rustc_mir_transform[63cdf027e05c8c75]::pass_manager::run_passes [INFO] [stderr] 23: 0x7fd8bfeeceed - rustc_mir_transform[63cdf027e05c8c75]::optimized_mir [INFO] [stderr] 24: 0x7fd8c05a25c7 - rustc_query_system[8f6ed9285397c37a]::query::plumbing::try_execute_query::> [INFO] [stderr] 25: 0x7fd8c056db5e - ::optimized_mir [INFO] [stderr] 26: 0x7fd8c0631942 - ::encode_crate_root [INFO] [stderr] 27: 0x7fd8c119e48a - rustc_metadata[fbfa442e55eb5e9c]::rmeta::encoder::encode_metadata_impl [INFO] [stderr] 28: 0x7fd8c11b7911 - rustc_data_structures[10bde15a730ca175]::sync::join:: [INFO] [stderr] 29: 0x7fd8c119dc06 - rustc_metadata[fbfa442e55eb5e9c]::rmeta::encoder::encode_metadata [INFO] [stderr] 30: 0x7fd8c0b4c034 - ::enter::<::ongoing_codegen::{closure#0}::{closure#0}, core[d4370e29f295d5d]::result::Result, rustc_errors[4317dacdbe7ee454]::ErrorGuaranteed>> [INFO] [stderr] 31: 0x7fd8c0b7046f - ::ongoing_codegen [INFO] [stderr] 32: 0x7fd8c0b18deb - ::enter::, rustc_errors[4317dacdbe7ee454]::ErrorGuaranteed>> [INFO] [stderr] 33: 0x7fd8c0b415af - rustc_span[e0494e7a78d29b23]::with_source_map::, rustc_interface[b04e2cdf424baf9e]::interface::create_compiler_and_run, rustc_driver[2c8e23c1704d1846]::run_compiler::{closure#1}>::{closure#1}> [INFO] [stderr] 34: 0x7fd8c0b2cd94 - rustc_interface[b04e2cdf424baf9e]::interface::create_compiler_and_run::, rustc_driver[2c8e23c1704d1846]::run_compiler::{closure#1}> [INFO] [stderr] 35: 0x7fd8c0b172b2 - >::set::, rustc_driver[2c8e23c1704d1846]::run_compiler::{closure#1}>::{closure#0}, core[d4370e29f295d5d]::result::Result<(), rustc_errors[4317dacdbe7ee454]::ErrorGuaranteed>> [INFO] [stderr] 36: 0x7fd8c0b2e37f - std[23f59d9749713536]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver[2c8e23c1704d1846]::run_compiler::{closure#1}>::{closure#0}, core[d4370e29f295d5d]::result::Result<(), rustc_errors[4317dacdbe7ee454]::ErrorGuaranteed>>::{closure#0}, core[d4370e29f295d5d]::result::Result<(), rustc_errors[4317dacdbe7ee454]::ErrorGuaranteed>> [INFO] [stderr] 37: 0x7fd8c0b2e4b9 - <::spawn_unchecked_, rustc_driver[2c8e23c1704d1846]::run_compiler::{closure#1}>::{closure#0}, core[d4370e29f295d5d]::result::Result<(), rustc_errors[4317dacdbe7ee454]::ErrorGuaranteed>>::{closure#0}, core[d4370e29f295d5d]::result::Result<(), rustc_errors[4317dacdbe7ee454]::ErrorGuaranteed>>::{closure#1} as core[d4370e29f295d5d]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] 38: 0x7fd8be2d5223 - as core::ops::function::FnOnce>::call_once::hae8ffeec5cb662e2 [INFO] [stderr] at /rustc/615edd3ad1cf6871c977dc900317cb6c2070fd6b/library/alloc/src/boxed.rs:1872:9 [INFO] [stderr] 39: 0x7fd8be2d5223 - as core::ops::function::FnOnce>::call_once::h1b179c7aca9d8b98 [INFO] [stderr] at /rustc/615edd3ad1cf6871c977dc900317cb6c2070fd6b/library/alloc/src/boxed.rs:1872:9 [INFO] [stderr] 40: 0x7fd8be2d5223 - std::sys::unix::thread::Thread::new::thread_start::h3faf721b71afff7d [INFO] [stderr] at /rustc/615edd3ad1cf6871c977dc900317cb6c2070fd6b/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stderr] 41: 0x7fd8be1e2609 - start_thread [INFO] [stderr] 42: 0x7fd8be0fb133 - clone [INFO] [stderr] 43: 0x0 - [INFO] [stderr] [INFO] [stderr] note: the compiler unexpectedly panicked. this is a bug. [INFO] [stderr] [INFO] [stderr] note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md [INFO] [stderr] [INFO] [stderr] note: rustc 1.63.0-nightly (615edd3ad 2022-05-23) running on x86_64-unknown-linux-gnu [INFO] [stderr] [INFO] [stderr] note: compiler flags: --crate-type lib -C embed-bitcode=no -C debuginfo=2 [INFO] [stderr] [INFO] [stderr] note: some of the compiler flags provided by cargo are hidden [INFO] [stderr] [INFO] [stderr] query stack during panic: [INFO] [stderr] #0 [optimized_mir] optimizing MIR for `router::::next_snek_hop::{closure#0}` [INFO] [stderr] end of query stack [INFO] [stdout] error: aborting due to previous error; 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_pinecone` due to previous error; 40 warnings emitted [INFO] running `Command { std: "docker" "inspect" "511a5c42f12fbdf8639d7c62bc745dcbd8cb6979db6119148b76245c19acd862", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "511a5c42f12fbdf8639d7c62bc745dcbd8cb6979db6119148b76245c19acd862", kill_on_drop: false }` [INFO] [stdout] 511a5c42f12fbdf8639d7c62bc745dcbd8cb6979db6119148b76245c19acd862