[INFO] cloning repository https://github.com/LYF1999/Xay [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LYF1999/Xay" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLYF1999%2FXay", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLYF1999%2FXay'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6a43d2acbe6856d4da3c70141a5531fbe6774242 [INFO] testing LYF1999/Xay against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLYF1999%2FXay" "/workspace/builds/worker-40/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-40/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LYF1999/Xay on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-40/source/rust-toolchain [INFO] started tweaking git repo https://github.com/LYF1999/Xay [INFO] finished tweaking git repo https://github.com/LYF1999/Xay [INFO] tweaked toml for git repo https://github.com/LYF1999/Xay written to /workspace/builds/worker-40/source/Cargo.toml [INFO] crate git repo https://github.com/LYF1999/Xay already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 98dcd52759f0a5996ead7af935a20de3e50b60e38b528d24d26fe42a8d927b14 [INFO] running `Command { std: "docker" "start" "-a" "98dcd52759f0a5996ead7af935a20de3e50b60e38b528d24d26fe42a8d927b14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98dcd52759f0a5996ead7af935a20de3e50b60e38b528d24d26fe42a8d927b14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98dcd52759f0a5996ead7af935a20de3e50b60e38b528d24d26fe42a8d927b14", kill_on_drop: false }` [INFO] [stdout] 98dcd52759f0a5996ead7af935a20de3e50b60e38b528d24d26fe42a8d927b14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e2df7a8cfc77c355a208628c2b97c2a27bbe643d4319b8a310cf67b6574ab9c5 [INFO] running `Command { std: "docker" "start" "-a" "e2df7a8cfc77c355a208628c2b97c2a27bbe643d4319b8a310cf67b6574ab9c5", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling libc v0.2.102 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling unicode-bidi v0.3.6 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling tokio v1.11.0 [INFO] [stderr] Compiling tinyvec v1.4.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling tracing-core v0.1.20 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling nix v0.22.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling tracing-attributes v0.1.16 [INFO] [stderr] Compiling tracing v0.1.28 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling thiserror v1.0.29 [INFO] [stderr] Compiling tungstenite v0.14.0 (https://github.com/LYF1999/tungstenite-rs.git#9f563561) [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling tokio-tungstenite v0.15.0 [INFO] [stderr] Compiling tokio-util v0.6.8 [INFO] [stderr] Compiling tokio-stream v0.1.7 [INFO] [stderr] Compiling serde_yaml v0.8.21 [INFO] [stderr] Compiling xay-core v0.1.0 (/opt/rustwide/workdir/xay-core) [INFO] [stdout] warning: unused import: `bytes::BufMut` [INFO] [stdout] --> xay-core/src/common/protocol/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use bytes::BufMut; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BytesMut` [INFO] [stdout] --> xay-core/src/proxy/vmess/mod.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::{Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> xay-core/src/client/mod.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | _ => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> xay-core/src/proxy/vmess/mod.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | _ => { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> xay-core/src/proxy/vmess/mod.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | cx: &mut std::task::Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_aead` [INFO] [stdout] --> xay-core/src/proxy/vmess/mod.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | let is_aead = self.alter_id.is_none(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_aead` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> xay-core/src/proxy/vmess/mod.rs:115:51 [INFO] [stdout] | [INFO] [stdout] 115 | fn start_send(self: std::pin::Pin<&mut Self>, item: Bytes) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `RequestCmd` [INFO] [stdout] --> xay-core/src/common/protocol/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub type RequestCmd = u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `SecurityType` [INFO] [stdout] --> xay-core/src/common/protocol/mod.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub type SecurityType = i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `MemoryUser` [INFO] [stdout] --> xay-core/src/common/protocol/mod.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct MemoryUser { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `RequestHeader` [INFO] [stdout] --> xay-core/src/common/protocol/mod.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct RequestHeader { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Id` [INFO] [stdout] --> xay-core/src/common/protocol/mod.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Id { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `MemoryAccount` [INFO] [stdout] --> xay-core/src/proxy/vmess/account.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct MemoryAccount { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `any_valid_id` [INFO] [stdout] --> xay-core/src/proxy/vmess/account.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn any_valid_id(&self) -> &protocol::Id { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `VERSION` [INFO] [stdout] --> xay-core/src/proxy/vmess/session.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const VERSION: u8 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ClientSession` [INFO] [stdout] --> xay-core/src/proxy/vmess/session.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ClientSession { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `encode_req_header` [INFO] [stdout] --> xay-core/src/proxy/vmess/session.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn encode_req_header( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 02s [INFO] running `Command { std: "docker" "inspect" "e2df7a8cfc77c355a208628c2b97c2a27bbe643d4319b8a310cf67b6574ab9c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2df7a8cfc77c355a208628c2b97c2a27bbe643d4319b8a310cf67b6574ab9c5", kill_on_drop: false }` [INFO] [stdout] e2df7a8cfc77c355a208628c2b97c2a27bbe643d4319b8a310cf67b6574ab9c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ead55a05e5c22bf181b9f778c76ebfa3d0bcc38771dda938a6cbb379531a173 [INFO] running `Command { std: "docker" "start" "-a" "8ead55a05e5c22bf181b9f778c76ebfa3d0bcc38771dda938a6cbb379531a173", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling xay-core v0.1.0 (/opt/rustwide/workdir/xay-core) [INFO] [stdout] warning: unused import: `bytes::BufMut` [INFO] [stdout] --> xay-core/src/common/protocol/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use bytes::BufMut; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BytesMut` [INFO] [stdout] --> xay-core/src/proxy/vmess/mod.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::{Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> xay-core/src/client/mod.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | _ => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> xay-core/src/proxy/vmess/mod.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | _ => { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> xay-core/src/proxy/vmess/mod.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | cx: &mut std::task::Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_aead` [INFO] [stdout] --> xay-core/src/proxy/vmess/mod.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | let is_aead = self.alter_id.is_none(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_aead` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> xay-core/src/proxy/vmess/mod.rs:115:51 [INFO] [stdout] | [INFO] [stdout] 115 | fn start_send(self: std::pin::Pin<&mut Self>, item: Bytes) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `RequestCmd` [INFO] [stdout] --> xay-core/src/common/protocol/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub type RequestCmd = u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `SecurityType` [INFO] [stdout] --> xay-core/src/common/protocol/mod.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub type SecurityType = i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `MemoryUser` [INFO] [stdout] --> xay-core/src/common/protocol/mod.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct MemoryUser { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `RequestHeader` [INFO] [stdout] --> xay-core/src/common/protocol/mod.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct RequestHeader { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Id` [INFO] [stdout] --> xay-core/src/common/protocol/mod.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Id { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `MemoryAccount` [INFO] [stdout] --> xay-core/src/proxy/vmess/account.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct MemoryAccount { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `any_valid_id` [INFO] [stdout] --> xay-core/src/proxy/vmess/account.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn any_valid_id(&self) -> &protocol::Id { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `VERSION` [INFO] [stdout] --> xay-core/src/proxy/vmess/session.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const VERSION: u8 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ClientSession` [INFO] [stdout] --> xay-core/src/proxy/vmess/session.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ClientSession { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `encode_req_header` [INFO] [stdout] --> xay-core/src/proxy/vmess/session.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn encode_req_header( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::BufMut` [INFO] [stdout] --> xay-core/src/common/protocol/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use bytes::BufMut; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BytesMut` [INFO] [stdout] --> xay-core/src/proxy/vmess/mod.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::{Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> xay-core/src/client/mod.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | _ => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> xay-core/src/proxy/vmess/mod.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | _ => { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> xay-core/src/proxy/vmess/mod.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | cx: &mut std::task::Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_aead` [INFO] [stdout] --> xay-core/src/proxy/vmess/mod.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | let is_aead = self.alter_id.is_none(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_aead` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> xay-core/src/proxy/vmess/mod.rs:115:51 [INFO] [stdout] | [INFO] [stdout] 115 | fn start_send(self: std::pin::Pin<&mut Self>, item: Bytes) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `RequestCmd` [INFO] [stdout] --> xay-core/src/common/protocol/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub type RequestCmd = u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `SecurityType` [INFO] [stdout] --> xay-core/src/common/protocol/mod.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub type SecurityType = i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `MemoryUser` [INFO] [stdout] --> xay-core/src/common/protocol/mod.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct MemoryUser { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `RequestHeader` [INFO] [stdout] --> xay-core/src/common/protocol/mod.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct RequestHeader { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Id` [INFO] [stdout] --> xay-core/src/common/protocol/mod.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Id { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `MemoryAccount` [INFO] [stdout] --> xay-core/src/proxy/vmess/account.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct MemoryAccount { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `any_valid_id` [INFO] [stdout] --> xay-core/src/proxy/vmess/account.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn any_valid_id(&self) -> &protocol::Id { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `VERSION` [INFO] [stdout] --> xay-core/src/proxy/vmess/session.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const VERSION: u8 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ClientSession` [INFO] [stdout] --> xay-core/src/proxy/vmess/session.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ClientSession { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `encode_req_header` [INFO] [stdout] --> xay-core/src/proxy/vmess/session.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn encode_req_header( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 8.28s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/xay_core-8e710cacc94c0522) [INFO] running `Command { std: "docker" "inspect" "8ead55a05e5c22bf181b9f778c76ebfa3d0bcc38771dda938a6cbb379531a173", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ead55a05e5c22bf181b9f778c76ebfa3d0bcc38771dda938a6cbb379531a173", kill_on_drop: false }` [INFO] [stdout] 8ead55a05e5c22bf181b9f778c76ebfa3d0bcc38771dda938a6cbb379531a173 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c3205eac306d918200cd09a65f9c7783dee7fbff32f0c575a13d991ef79f9924 [INFO] running `Command { std: "docker" "start" "-a" "c3205eac306d918200cd09a65f9c7783dee7fbff32f0c575a13d991ef79f9924", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `bytes::BufMut` [INFO] [stderr] --> xay-core/src/common/protocol/mod.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use bytes::BufMut; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `BytesMut` [INFO] [stderr] --> xay-core/src/proxy/vmess/mod.rs:3:20 [INFO] [stderr] | [INFO] [stderr] 3 | use bytes::{Bytes, BytesMut}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> xay-core/src/client/mod.rs:31:17 [INFO] [stderr] | [INFO] [stderr] 31 | _ => { [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> xay-core/src/proxy/vmess/mod.rs:58:17 [INFO] [stderr] | [INFO] [stderr] 58 | _ => { [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cx` [INFO] [stderr] --> xay-core/src/proxy/vmess/mod.rs:95:9 [INFO] [stderr] | [INFO] [stderr] 95 | cx: &mut std::task::Context<'_>, [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `is_aead` [INFO] [stderr] --> xay-core/src/proxy/vmess/mod.rs:116:13 [INFO] [stderr] | [INFO] [stderr] 116 | let is_aead = self.alter_id.is_none(); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_aead` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `item` [INFO] [stderr] --> xay-core/src/proxy/vmess/mod.rs:115:51 [INFO] [stderr] | [INFO] [stderr] 115 | fn start_send(self: std::pin::Pin<&mut Self>, item: Bytes) -> Result<(), Self::Error> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `RequestCmd` [INFO] [stderr] --> xay-core/src/common/protocol/mod.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | pub type RequestCmd = u8; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `SecurityType` [INFO] [stderr] --> xay-core/src/common/protocol/mod.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | pub type SecurityType = i32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `MemoryUser` [INFO] [stderr] --> xay-core/src/common/protocol/mod.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct MemoryUser { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `RequestHeader` [INFO] [stderr] --> xay-core/src/common/protocol/mod.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct RequestHeader { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Id` [INFO] [stderr] --> xay-core/src/common/protocol/mod.rs:23:12 [INFO] [stderr] | [INFO] [stderr] 23 | pub struct Id { [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `MemoryAccount` [INFO] [stderr] --> xay-core/src/proxy/vmess/account.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct MemoryAccount { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `any_valid_id` [INFO] [stderr] --> xay-core/src/proxy/vmess/account.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn any_valid_id(&self) -> &protocol::Id { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `VERSION` [INFO] [stderr] --> xay-core/src/proxy/vmess/session.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | const VERSION: u8 = 1; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `ClientSession` [INFO] [stderr] --> xay-core/src/proxy/vmess/session.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct ClientSession { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `encode_req_header` [INFO] [stderr] --> xay-core/src/proxy/vmess/session.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn encode_req_header( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `xay-core` (lib) generated 17 warnings [INFO] [stderr] warning: `xay-core` (lib test) generated 17 warnings (17 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/xay_core-8e710cacc94c0522) [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 xay-core [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" "c3205eac306d918200cd09a65f9c7783dee7fbff32f0c575a13d991ef79f9924", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3205eac306d918200cd09a65f9c7783dee7fbff32f0c575a13d991ef79f9924", kill_on_drop: false }` [INFO] [stdout] c3205eac306d918200cd09a65f9c7783dee7fbff32f0c575a13d991ef79f9924