[INFO] fetching crate reticulum 0.1.0... [INFO] checking reticulum-0.1.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate reticulum 0.1.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate reticulum 0.1.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate reticulum 0.1.0 [INFO] tweaked toml for crates.io crate reticulum 0.1.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate reticulum 0.1.0 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate reticulum 0.1.0 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 066d857a64e04715ae29ff04fe15f435d1947cff98b87e364a9b1757d64f4ddd [INFO] running `Command { std: "docker" "start" "-a" "066d857a64e04715ae29ff04fe15f435d1947cff98b87e364a9b1757d64f4ddd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "066d857a64e04715ae29ff04fe15f435d1947cff98b87e364a9b1757d64f4ddd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "066d857a64e04715ae29ff04fe15f435d1947cff98b87e364a9b1757d64f4ddd", kill_on_drop: false }` [INFO] [stdout] 066d857a64e04715ae29ff04fe15f435d1947cff98b87e364a9b1757d64f4ddd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c774b5b7d30d7ce88da06eb29bbb29ee698c63f8a92650371cd2d2c56f2499a5 [INFO] running `Command { std: "docker" "start" "-a" "c774b5b7d30d7ce88da06eb29bbb29ee698c63f8a92650371cd2d2c56f2499a5", kill_on_drop: false }` [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling prettyplease v0.2.32 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-padding v0.3.3 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling multimap v0.10.0 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking axum-core v0.5.2 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking humantime v2.2.0 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking cbc v0.1.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Compiling petgraph v0.7.1 [INFO] [stderr] Checking rmp v0.8.14 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking tokio v1.44.2 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking x25519-dalek v2.0.1 [INFO] [stderr] Compiling prost-types v0.13.5 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Compiling prost-build v0.13.5 [INFO] [stderr] Compiling tonic-build v0.13.0 [INFO] [stderr] Compiling reticulum v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking h2 v0.4.9 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking axum v0.8.3 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking hyper-util v0.1.11 [INFO] [stderr] Checking hyper-timeout v0.5.2 [INFO] [stderr] Checking tonic v0.13.0 [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/transport/path_table.rs:59:34 [INFO] [stdout] | [INFO] [stdout] 58 | ifac_flag: todo!(), [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 59 | header_type: HeaderType::Type2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/transport/path_table.rs:59:34 [INFO] [stdout] | [INFO] [stdout] 58 | ifac_flag: todo!(), [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 59 | header_type: HeaderType::Type2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry` [INFO] [stdout] --> src/transport/path_table.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | let entry = match self.map.get(&original_packet.destination) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_entry` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `identity` is never read [INFO] [stdout] --> src/transport.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct TransportConfig { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 55 | name: String, [INFO] [stdout] 56 | identity: PrivateIdentity, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path_table` is never read [INFO] [stdout] --> src/transport.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 67 | struct TransportHandler { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 72 | path_table: PathTable, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_retransmit_packet` is never used [INFO] [stdout] --> src/transport.rs:610:4 [INFO] [stdout] | [INFO] [stdout] 610 | fn create_retransmit_packet(packet: &Packet) -> Packet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `timestamp`, `received_from`, `hops`, `iface`, and `packet_hash` are never read [INFO] [stdout] --> src/transport/path_table.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PathEntry { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 9 | pub timestamp: Instant, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 10 | pub received_from: AddressHash, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 11 | pub hops: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | pub iface: AddressHash, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | pub packet_hash: Hash, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `map` is never read [INFO] [stdout] --> src/transport/path_table.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct PathTable { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 17 | map: HashMap, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `next_hop_iface`, `next_hop`, and `handle_packet` are never used [INFO] [stdout] --> src/transport/path_table.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl PathTable { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn next_hop_iface(&self, destination: &AddressHash) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn next_hop(&self, destination: &AddressHash) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn handle_packet(&mut self, original_packet: &Packet) -> (Packet, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CacheSet` is never constructed [INFO] [stdout] --> src/utils/cache_set.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct CacheSet { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, and `contains` are never used [INFO] [stdout] --> src/utils/cache_set.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl CacheSet { [INFO] [stdout] | ------------------------------------------------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(capacity: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn insert(&mut self, value: &T) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn contains(&self, value: &T) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/reticulum-c250ca06c1167542/out/kaonic.rs:645:41 [INFO] [stdout] | [INFO] [stdout] 645 | Box::pin(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 646 | | let mut response = http::Response::new( [INFO] [stdout] 647 | | tonic::body::Body::default(), [INFO] [stdout] 648 | | ); [INFO] [stdout] ... | [INFO] [stdout] 660 | | Ok(response) [INFO] [stdout] 661 | | }) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/reticulum-c250ca06c1167542/out/kaonic.rs:660:25 [INFO] [stdout] | [INFO] [stdout] 660 | Ok(response) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/reticulum-c250ca06c1167542/out/kaonic.rs:811:42 [INFO] [stdout] | [INFO] [stdout] 811 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 812 | | let method = GetInfoSvc(inner); [INFO] [stdout] 813 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] 814 | | let mut grpc = tonic::server::Grpc::new(codec) [INFO] [stdout] ... | [INFO] [stdout] 824 | | Ok(res) [INFO] [stdout] 825 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/reticulum-c250ca06c1167542/out/kaonic.rs:824:25 [INFO] [stdout] | [INFO] [stdout] 824 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/reticulum-c250ca06c1167542/out/kaonic.rs:854:42 [INFO] [stdout] | [INFO] [stdout] 854 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 855 | | let method = GetStatisticsSvc(inner); [INFO] [stdout] 856 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] 857 | | let mut grpc = tonic::server::Grpc::new(codec) [INFO] [stdout] ... | [INFO] [stdout] 867 | | Ok(res) [INFO] [stdout] 868 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/reticulum-c250ca06c1167542/out/kaonic.rs:867:25 [INFO] [stdout] | [INFO] [stdout] 867 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/reticulum-c250ca06c1167542/out/kaonic.rs:872:41 [INFO] [stdout] | [INFO] [stdout] 872 | Box::pin(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 873 | | let mut response = http::Response::new( [INFO] [stdout] 874 | | tonic::body::Body::default(), [INFO] [stdout] 875 | | ); [INFO] [stdout] ... | [INFO] [stdout] 887 | | Ok(response) [INFO] [stdout] 888 | | }) [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/reticulum-c250ca06c1167542/out/kaonic.rs:887:25 [INFO] [stdout] | [INFO] [stdout] 887 | Ok(response) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/reticulum-c250ca06c1167542/out/kaonic.rs:1053:42 [INFO] [stdout] | [INFO] [stdout] 1053 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 1054 | | let method = ConfigureSvc(inner); [INFO] [stdout] 1055 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] 1056 | | let mut grpc = tonic::server::Grpc::new(codec) [INFO] [stdout] ... | [INFO] [stdout] 1066 | | Ok(res) [INFO] [stdout] 1067 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/reticulum-c250ca06c1167542/out/kaonic.rs:1066:25 [INFO] [stdout] | [INFO] [stdout] 1066 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/reticulum-c250ca06c1167542/out/kaonic.rs:1096:42 [INFO] [stdout] | [INFO] [stdout] 1096 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 1097 | | let method = TransmitSvc(inner); [INFO] [stdout] 1098 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] 1099 | | let mut grpc = tonic::server::Grpc::new(codec) [INFO] [stdout] ... | [INFO] [stdout] 1109 | | Ok(res) [INFO] [stdout] 1110 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/reticulum-c250ca06c1167542/out/kaonic.rs:1109:25 [INFO] [stdout] | [INFO] [stdout] 1109 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/reticulum-c250ca06c1167542/out/kaonic.rs:1142:42 [INFO] [stdout] | [INFO] [stdout] 1142 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 1143 | | let method = ReceiveStreamSvc(inner); [INFO] [stdout] 1144 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] 1145 | | let mut grpc = tonic::server::Grpc::new(codec) [INFO] [stdout] ... | [INFO] [stdout] 1155 | | Ok(res) [INFO] [stdout] 1156 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/reticulum-c250ca06c1167542/out/kaonic.rs:1155:25 [INFO] [stdout] | [INFO] [stdout] 1155 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/reticulum-c250ca06c1167542/out/kaonic.rs:1160:41 [INFO] [stdout] | [INFO] [stdout] 1160 | Box::pin(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 1161 | | let mut response = http::Response::new( [INFO] [stdout] 1162 | | tonic::body::Body::default(), [INFO] [stdout] 1163 | | ); [INFO] [stdout] ... | [INFO] [stdout] 1175 | | Ok(response) [INFO] [stdout] 1176 | | }) [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/reticulum-c250ca06c1167542/out/kaonic.rs:1175:25 [INFO] [stdout] | [INFO] [stdout] 1175 | Ok(response) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `reticulum` (lib) due to 16 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `entry` [INFO] [stdout] --> src/transport/path_table.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | let entry = match self.map.get(&original_packet.destination) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_entry` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `identity` is never read [INFO] [stdout] --> src/transport.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct TransportConfig { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 55 | name: String, [INFO] [stdout] 56 | identity: PrivateIdentity, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path_table` is never read [INFO] [stdout] --> src/transport.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 67 | struct TransportHandler { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 72 | path_table: PathTable, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_retransmit_packet` is never used [INFO] [stdout] --> src/transport.rs:610:4 [INFO] [stdout] | [INFO] [stdout] 610 | fn create_retransmit_packet(packet: &Packet) -> Packet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `timestamp`, `received_from`, `hops`, `iface`, and `packet_hash` are never read [INFO] [stdout] --> src/transport/path_table.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PathEntry { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 9 | pub timestamp: Instant, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 10 | pub received_from: AddressHash, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 11 | pub hops: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | pub iface: AddressHash, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | pub packet_hash: Hash, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `map` is never read [INFO] [stdout] --> src/transport/path_table.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct PathTable { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 17 | map: HashMap, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `next_hop_iface`, `next_hop`, and `handle_packet` are never used [INFO] [stdout] --> src/transport/path_table.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl PathTable { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn next_hop_iface(&self, destination: &AddressHash) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn next_hop(&self, destination: &AddressHash) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn handle_packet(&mut self, original_packet: &Packet) -> (Packet, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CacheSet` is never constructed [INFO] [stdout] --> src/utils/cache_set.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct CacheSet { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, and `contains` are never used [INFO] [stdout] --> src/utils/cache_set.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl CacheSet { [INFO] [stdout] | ------------------------------------------------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(capacity: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn insert(&mut self, value: &T) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn contains(&self, value: &T) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/reticulum-c250ca06c1167542/out/kaonic.rs:645:41 [INFO] [stdout] | [INFO] [stdout] 645 | Box::pin(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 646 | | let mut response = http::Response::new( [INFO] [stdout] 647 | | tonic::body::Body::default(), [INFO] [stdout] 648 | | ); [INFO] [stdout] ... | [INFO] [stdout] 660 | | Ok(response) [INFO] [stdout] 661 | | }) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/reticulum-c250ca06c1167542/out/kaonic.rs:660:25 [INFO] [stdout] | [INFO] [stdout] 660 | Ok(response) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/reticulum-c250ca06c1167542/out/kaonic.rs:811:42 [INFO] [stdout] | [INFO] [stdout] 811 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 812 | | let method = GetInfoSvc(inner); [INFO] [stdout] 813 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] 814 | | let mut grpc = tonic::server::Grpc::new(codec) [INFO] [stdout] ... | [INFO] [stdout] 824 | | Ok(res) [INFO] [stdout] 825 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/reticulum-c250ca06c1167542/out/kaonic.rs:824:25 [INFO] [stdout] | [INFO] [stdout] 824 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/reticulum-c250ca06c1167542/out/kaonic.rs:854:42 [INFO] [stdout] | [INFO] [stdout] 854 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 855 | | let method = GetStatisticsSvc(inner); [INFO] [stdout] 856 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] 857 | | let mut grpc = tonic::server::Grpc::new(codec) [INFO] [stdout] ... | [INFO] [stdout] 867 | | Ok(res) [INFO] [stdout] 868 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/reticulum-c250ca06c1167542/out/kaonic.rs:867:25 [INFO] [stdout] | [INFO] [stdout] 867 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/reticulum-c250ca06c1167542/out/kaonic.rs:872:41 [INFO] [stdout] | [INFO] [stdout] 872 | Box::pin(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 873 | | let mut response = http::Response::new( [INFO] [stdout] 874 | | tonic::body::Body::default(), [INFO] [stdout] 875 | | ); [INFO] [stdout] ... | [INFO] [stdout] 887 | | Ok(response) [INFO] [stdout] 888 | | }) [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/reticulum-c250ca06c1167542/out/kaonic.rs:887:25 [INFO] [stdout] | [INFO] [stdout] 887 | Ok(response) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/reticulum-c250ca06c1167542/out/kaonic.rs:1053:42 [INFO] [stdout] | [INFO] [stdout] 1053 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 1054 | | let method = ConfigureSvc(inner); [INFO] [stdout] 1055 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] 1056 | | let mut grpc = tonic::server::Grpc::new(codec) [INFO] [stdout] ... | [INFO] [stdout] 1066 | | Ok(res) [INFO] [stdout] 1067 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/reticulum-c250ca06c1167542/out/kaonic.rs:1066:25 [INFO] [stdout] | [INFO] [stdout] 1066 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/reticulum-c250ca06c1167542/out/kaonic.rs:1096:42 [INFO] [stdout] | [INFO] [stdout] 1096 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 1097 | | let method = TransmitSvc(inner); [INFO] [stdout] 1098 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] 1099 | | let mut grpc = tonic::server::Grpc::new(codec) [INFO] [stdout] ... | [INFO] [stdout] 1109 | | Ok(res) [INFO] [stdout] 1110 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/reticulum-c250ca06c1167542/out/kaonic.rs:1109:25 [INFO] [stdout] | [INFO] [stdout] 1109 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/reticulum-c250ca06c1167542/out/kaonic.rs:1142:42 [INFO] [stdout] | [INFO] [stdout] 1142 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 1143 | | let method = ReceiveStreamSvc(inner); [INFO] [stdout] 1144 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] 1145 | | let mut grpc = tonic::server::Grpc::new(codec) [INFO] [stdout] ... | [INFO] [stdout] 1155 | | Ok(res) [INFO] [stdout] 1156 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/reticulum-c250ca06c1167542/out/kaonic.rs:1155:25 [INFO] [stdout] | [INFO] [stdout] 1155 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/reticulum-c250ca06c1167542/out/kaonic.rs:1160:41 [INFO] [stdout] | [INFO] [stdout] 1160 | Box::pin(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 1161 | | let mut response = http::Response::new( [INFO] [stdout] 1162 | | tonic::body::Body::default(), [INFO] [stdout] 1163 | | ); [INFO] [stdout] ... | [INFO] [stdout] 1175 | | Ok(response) [INFO] [stdout] 1176 | | }) [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/reticulum-c250ca06c1167542/out/kaonic.rs:1175:25 [INFO] [stdout] | [INFO] [stdout] 1175 | Ok(response) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `reticulum` (lib test) due to 16 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c774b5b7d30d7ce88da06eb29bbb29ee698c63f8a92650371cd2d2c56f2499a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c774b5b7d30d7ce88da06eb29bbb29ee698c63f8a92650371cd2d2c56f2499a5", kill_on_drop: false }` [INFO] [stdout] c774b5b7d30d7ce88da06eb29bbb29ee698c63f8a92650371cd2d2c56f2499a5