[INFO] cloning repository https://github.com/giangndm/decentralized-p2p-streaming [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/giangndm/decentralized-p2p-streaming" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgiangndm%2Fdecentralized-p2p-streaming", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgiangndm%2Fdecentralized-p2p-streaming'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 887084ef1b376ceb7f4db2d1ab70c091641864ae [INFO] testing giangndm/decentralized-p2p-streaming against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgiangndm%2Fdecentralized-p2p-streaming" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/giangndm/decentralized-p2p-streaming on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/giangndm/decentralized-p2p-streaming [INFO] finished tweaking git repo https://github.com/giangndm/decentralized-p2p-streaming [INFO] tweaked toml for git repo https://github.com/giangndm/decentralized-p2p-streaming written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/giangndm/decentralized-p2p-streaming 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" "+1.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 398419e74cbab254aeb72821e1bc8f0ec33a4049efda0c1d640e6c573e1bbf5d [INFO] running `Command { std: "docker" "start" "-a" "398419e74cbab254aeb72821e1bc8f0ec33a4049efda0c1d640e6c573e1bbf5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "398419e74cbab254aeb72821e1bc8f0ec33a4049efda0c1d640e6c573e1bbf5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "398419e74cbab254aeb72821e1bc8f0ec33a4049efda0c1d640e6c573e1bbf5d", kill_on_drop: false }` [INFO] [stdout] 398419e74cbab254aeb72821e1bc8f0ec33a4049efda0c1d640e6c573e1bbf5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b285b2fd8023d85c5f12f62c0d319294706ca01be3e4e882bcd157c9853f04b [INFO] running `Command { std: "docker" "start" "-a" "8b285b2fd8023d85c5f12f62c0d319294706ca01be3e4e882bcd157c9853f04b", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.90 [INFO] [stderr] Compiling bumpalo v3.14.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.90 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling prettyplease v0.2.16 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling serde_json v1.0.112 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling winnow v0.5.35 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling tokio v1.35.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling tempfile v3.9.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.90 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling prost-derive v0.12.3 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling pin-project-internal v1.1.4 [INFO] [stderr] Compiling gloo-worker-macros v0.1.0 [INFO] [stderr] Compiling implicit-clone-derive v0.1.1 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling yew-macro v0.21.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.90 [INFO] [stderr] Compiling implicit-clone v0.4.8 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.90 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling prost v0.12.3 [INFO] [stderr] Compiling prost-types v0.12.3 [INFO] [stderr] Compiling pin-project v1.1.4 [INFO] [stderr] Compiling prost-build v0.12.3 [INFO] [stderr] Compiling js-sys v0.3.67 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling decentralized-p2p-streaming-protocol v0.1.0 (/opt/rustwide/workdir/crates/protocol) [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling pinned v0.1.0 [INFO] [stderr] Compiling prokio v0.1.0 [INFO] [stdout] warning: struct `NetworkPkt` is never constructed [INFO] [stdout] --> crates/protocol/src/network.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct NetworkPkt { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `sub_channel`, `unsub_channel`, and `pub_channel` are never used [INFO] [stdout] --> crates/protocol/src/pubsub.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Pubsub { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn sub_channel(&mut self, channel_id: ChannelId) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn unsub_channel(&mut self, channel_id: ChannelId) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn pub_channel(&mut self, channel_id: ChannelId, data: Vec) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `on_local_sub` and `on_local_unsub` are never used [INFO] [stdout] --> crates/protocol/src/pubsub/channel.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl PubsubChannel { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn on_local_sub(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn on_local_unsub(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `node` is never read [INFO] [stdout] --> crates/protocol/src/router.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Router { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 26 | node: NodeId, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `node`, `add_channel`, and `remove_channel` are never used [INFO] [stdout] --> crates/protocol/src/router.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl Router { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn node(&self) -> NodeId { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn add_channel(&mut self, channel: ChannelId) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn remove_channel(&mut self, channel: ChannelId) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `channel_id` is never read [INFO] [stdout] --> crates/protocol/src/router/channel.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ChannelRoute { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 11 | channel_id: ChannelId, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> crates/protocol/src/router/channel.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl ChannelRoute { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 16 | pub fn new(channel_id: ChannelId) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_sync` is never read [INFO] [stdout] --> crates/protocol/src/router/path.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ChannelPath { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 10 | pub last_sync: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChannelPath` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling decentralized-p2p-streaming-native v0.1.0 (/opt/rustwide/workdir/crates/native) [INFO] [stderr] Compiling web-sys v0.3.67 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.40 [INFO] [stderr] Compiling gloo-timers v0.3.0 [INFO] [stderr] Compiling serde-wasm-bindgen v0.6.3 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling gloo-utils v0.2.0 [INFO] [stderr] Compiling gloo-events v0.2.0 [INFO] [stderr] Compiling gloo-dialogs v0.2.0 [INFO] [stderr] Compiling gloo-render v0.2.0 [INFO] [stderr] Compiling gloo-worker v0.4.0 [INFO] [stderr] Compiling gloo-storage v0.3.0 [INFO] [stderr] Compiling gloo-console v0.3.0 [INFO] [stderr] Compiling gloo-net v0.4.0 [INFO] [stderr] Compiling gloo-history v0.2.2 [INFO] [stderr] Compiling gloo-file v0.3.0 [INFO] [stderr] Compiling gloo v0.10.0 [INFO] [stderr] Compiling yew v0.21.0 [INFO] [stderr] Compiling decentralized-p2p-streaming-web v0.1.0 (/opt/rustwide/workdir/crates/web) [INFO] [stdout] warning: unused variable: `runner` [INFO] [stdout] --> crates/web/src/main.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | let runner = P2pStreamRunner::new(1.into()); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_runner` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 00s [INFO] running `Command { std: "docker" "inspect" "8b285b2fd8023d85c5f12f62c0d319294706ca01be3e4e882bcd157c9853f04b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b285b2fd8023d85c5f12f62c0d319294706ca01be3e4e882bcd157c9853f04b", kill_on_drop: false }` [INFO] [stdout] 8b285b2fd8023d85c5f12f62c0d319294706ca01be3e4e882bcd157c9853f04b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7e8c83d2b32036ed339cf9446659eb5fe38fdfe183128563beb3bd01bbd5f5d [INFO] running `Command { std: "docker" "start" "-a" "f7e8c83d2b32036ed339cf9446659eb5fe38fdfe183128563beb3bd01bbd5f5d", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling decentralized-p2p-streaming-protocol v0.1.0 (/opt/rustwide/workdir/crates/protocol) [INFO] [stderr] Compiling decentralized-p2p-streaming-native v0.1.0 (/opt/rustwide/workdir/crates/native) [INFO] [stdout] warning: struct `NetworkPkt` is never constructed [INFO] [stdout] --> crates/protocol/src/network.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct NetworkPkt { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `sub_channel`, `unsub_channel`, and `pub_channel` are never used [INFO] [stdout] --> crates/protocol/src/pubsub.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Pubsub { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn sub_channel(&mut self, channel_id: ChannelId) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn unsub_channel(&mut self, channel_id: ChannelId) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn pub_channel(&mut self, channel_id: ChannelId, data: Vec) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `on_local_sub` and `on_local_unsub` are never used [INFO] [stdout] --> crates/protocol/src/pubsub/channel.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl PubsubChannel { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn on_local_sub(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn on_local_unsub(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `node` is never read [INFO] [stdout] --> crates/protocol/src/router.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Router { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 26 | node: NodeId, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `node`, `add_channel`, and `remove_channel` are never used [INFO] [stdout] --> crates/protocol/src/router.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl Router { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn node(&self) -> NodeId { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn add_channel(&mut self, channel: ChannelId) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn remove_channel(&mut self, channel: ChannelId) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `channel_id` is never read [INFO] [stdout] --> crates/protocol/src/router/channel.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ChannelRoute { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 11 | channel_id: ChannelId, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> crates/protocol/src/router/channel.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl ChannelRoute { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 16 | pub fn new(channel_id: ChannelId) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_sync` is never read [INFO] [stdout] --> crates/protocol/src/router/path.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ChannelPath { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 10 | pub last_sync: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChannelPath` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling decentralized-p2p-streaming-web v0.1.0 (/opt/rustwide/workdir/crates/web) [INFO] [stdout] warning: unused variable: `runner` [INFO] [stdout] --> crates/web/src/main.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | let runner = P2pStreamRunner::new(1.into()); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_runner` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NetworkPkt` is never constructed [INFO] [stdout] --> crates/protocol/src/network.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct NetworkPkt { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `sub_channel`, `unsub_channel`, and `pub_channel` are never used [INFO] [stdout] --> crates/protocol/src/pubsub.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Pubsub { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn sub_channel(&mut self, channel_id: ChannelId) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn unsub_channel(&mut self, channel_id: ChannelId) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn pub_channel(&mut self, channel_id: ChannelId, data: Vec) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `on_local_sub` and `on_local_unsub` are never used [INFO] [stdout] --> crates/protocol/src/pubsub/channel.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl PubsubChannel { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn on_local_sub(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn on_local_unsub(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `node` is never read [INFO] [stdout] --> crates/protocol/src/router.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Router { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 26 | node: NodeId, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `node`, `add_channel`, and `remove_channel` are never used [INFO] [stdout] --> crates/protocol/src/router.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl Router { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn node(&self) -> NodeId { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn add_channel(&mut self, channel: ChannelId) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn remove_channel(&mut self, channel: ChannelId) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `channel_id` is never read [INFO] [stdout] --> crates/protocol/src/router/channel.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ChannelRoute { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 11 | channel_id: ChannelId, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> crates/protocol/src/router/channel.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl ChannelRoute { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 16 | pub fn new(channel_id: ChannelId) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_sync` is never read [INFO] [stdout] --> crates/protocol/src/router/path.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ChannelPath { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 10 | pub last_sync: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChannelPath` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.89s [INFO] running `Command { std: "docker" "inspect" "f7e8c83d2b32036ed339cf9446659eb5fe38fdfe183128563beb3bd01bbd5f5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7e8c83d2b32036ed339cf9446659eb5fe38fdfe183128563beb3bd01bbd5f5d", kill_on_drop: false }` [INFO] [stdout] f7e8c83d2b32036ed339cf9446659eb5fe38fdfe183128563beb3bd01bbd5f5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ab3f52844c1a3b045828734bd02a7d66d1fd1da66bc676ddbbb39f4df0e6edb3 [INFO] running `Command { std: "docker" "start" "-a" "ab3f52844c1a3b045828734bd02a7d66d1fd1da66bc676ddbbb39f4df0e6edb3", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: struct `NetworkPkt` is never constructed [INFO] [stderr] --> crates/protocol/src/network.rs:3:12 [INFO] [stderr] | [INFO] [stderr] 3 | pub struct NetworkPkt { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: methods `sub_channel`, `unsub_channel`, and `pub_channel` are never used [INFO] [stderr] --> crates/protocol/src/pubsub.rs:39:12 [INFO] [stderr] | [INFO] [stderr] 31 | impl Pubsub { [INFO] [stderr] | ----------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 39 | pub fn sub_channel(&mut self, channel_id: ChannelId) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 48 | pub fn unsub_channel(&mut self, channel_id: ChannelId) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 58 | pub fn pub_channel(&mut self, channel_id: ChannelId, data: Vec) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `on_local_sub` and `on_local_unsub` are never used [INFO] [stderr] --> crates/protocol/src/pubsub/channel.rs:65:12 [INFO] [stderr] | [INFO] [stderr] 27 | impl PubsubChannel { [INFO] [stderr] | ------------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 65 | pub fn on_local_sub(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 74 | pub fn on_local_unsub(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `node` is never read [INFO] [stderr] --> crates/protocol/src/router.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 25 | pub struct Router { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 26 | node: NodeId, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `node`, `add_channel`, and `remove_channel` are never used [INFO] [stderr] --> crates/protocol/src/router.rs:42:12 [INFO] [stderr] | [INFO] [stderr] 32 | impl Router { [INFO] [stderr] | ----------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 42 | pub fn node(&self) -> NodeId { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 46 | pub fn add_channel(&mut self, channel: ChannelId) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 50 | pub fn remove_channel(&mut self, channel: ChannelId) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `channel_id` is never read [INFO] [stderr] --> crates/protocol/src/router/channel.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct ChannelRoute { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] 11 | channel_id: ChannelId, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> crates/protocol/src/router/channel.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 15 | impl ChannelRoute { [INFO] [stderr] | ----------------- associated function in this implementation [INFO] [stderr] 16 | pub fn new(channel_id: ChannelId) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: field `last_sync` is never read [INFO] [stderr] --> crates/protocol/src/router/path.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct ChannelPath { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 10 | pub last_sync: u64, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ChannelPath` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `decentralized-p2p-streaming-protocol` (lib) generated 8 warnings [INFO] [stderr] warning: `decentralized-p2p-streaming-protocol` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] warning: unused variable: `runner` [INFO] [stderr] --> crates/web/src/main.rs:11:17 [INFO] [stderr] | [INFO] [stderr] 11 | let runner = P2pStreamRunner::new(1.into()); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_runner` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `decentralized-p2p-streaming-web` (bin "decentralized-p2p-streaming-web" test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/decentralized_p2p_streaming_native-4275fc2983f715d7) [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/decentralized_p2p_streaming_native-e52c5a8875695a07) [INFO] [stdout] running 1 test [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/decentralized_p2p_streaming_protocol-9dfc32287132026c) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/decentralized_p2p_streaming_web-455780c9c695f8c4) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/decentralized_p2p_streaming_web-6b59c62366be2560) [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests decentralized_p2p_streaming_native [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests decentralized_p2p_streaming_protocol [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests decentralized_p2p_streaming_web [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ab3f52844c1a3b045828734bd02a7d66d1fd1da66bc676ddbbb39f4df0e6edb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab3f52844c1a3b045828734bd02a7d66d1fd1da66bc676ddbbb39f4df0e6edb3", kill_on_drop: false }` [INFO] [stdout] ab3f52844c1a3b045828734bd02a7d66d1fd1da66bc676ddbbb39f4df0e6edb3