[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 try#8262275854dc0e5381c9d42d56257d94932c5a87 for pr-90799
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLYF1999%2FXay" "/workspace/builds/worker-117/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-117/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/LYF1999/Xay on toolchain 8262275854dc0e5381c9d42d56257d94932c5a87
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-117/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-117/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" "+8262275854dc0e5381c9d42d56257d94932c5a87" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] [stderr] Updating git repository `https://github.com/LYF1999/tungstenite-rs.git`
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] [stderr] Downloading crates ...
[INFO] [stderr] Downloaded nix v0.22.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 74cba999bf5c166ee47d20977a34a00f1587a4025fef3b1a578530911a54bde8
[INFO] running `Command { std: "docker" "start" "-a" "74cba999bf5c166ee47d20977a34a00f1587a4025fef3b1a578530911a54bde8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "74cba999bf5c166ee47d20977a34a00f1587a4025fef3b1a578530911a54bde8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "74cba999bf5c166ee47d20977a34a00f1587a4025fef3b1a578530911a54bde8", kill_on_drop: false }`
[INFO] [stdout] 74cba999bf5c166ee47d20977a34a00f1587a4025fef3b1a578530911a54bde8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 251bb6a0073a099ea7ab2619be2dd5b33609b6ebc09c045a30f38bea77068df6
[INFO] running `Command { std: "docker" "start" "-a" "251bb6a0073a099ea7ab2619be2dd5b33609b6ebc09c045a30f38bea77068df6", kill_on_drop: false }`
[INFO] [stderr] Compiling proc-macro2 v1.0.29
[INFO] [stderr] Compiling autocfg v1.0.1
[INFO] [stderr] Compiling unicode-xid v0.2.2
[INFO] [stderr] Compiling syn v1.0.76
[INFO] [stderr] Compiling libc v0.2.102
[INFO] [stderr] Compiling cfg-if v1.0.0
[INFO] [stderr] Compiling memchr v2.4.1
[INFO] [stderr] Compiling futures-core v0.3.17
[INFO] [stderr] Compiling version_check v0.9.3
[INFO] [stderr] Compiling pin-project-lite v0.2.7
[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 scopeguard v1.1.0
[INFO] [stderr] Compiling futures-channel v0.3.17
[INFO] [stderr] Compiling futures-sink v0.3.17
[INFO] [stderr] Compiling bytes v1.1.0
[INFO] [stderr] Compiling futures-task v0.3.17
[INFO] [stderr] Compiling slab v0.4.4
[INFO] [stderr] Compiling matches v0.1.9
[INFO] [stderr] Compiling futures-io v0.3.17
[INFO] [stderr] Compiling serde_derive v1.0.130
[INFO] [stderr] Compiling unicode-bidi v0.3.6
[INFO] [stderr] Compiling ppv-lite86 v0.2.10
[INFO] [stderr] Compiling percent-encoding v2.1.0
[INFO] [stderr] Compiling once_cell v1.8.0
[INFO] [stderr] Compiling httparse v1.5.1
[INFO] [stderr] Compiling cpufeatures v0.2.1
[INFO] [stderr] Compiling serde v1.0.130
[INFO] [stderr] Compiling fnv v1.0.7
[INFO] [stderr] Compiling itoa v0.4.8
[INFO] [stderr] Compiling opaque-debug v0.3.0
[INFO] [stderr] Compiling byteorder v1.4.3
[INFO] [stderr] Compiling linked-hash-map v0.5.4
[INFO] [stderr] Compiling anyhow v1.0.44
[INFO] [stderr] Compiling utf-8 v0.7.6
[INFO] [stderr] Compiling hashbrown v0.11.2
[INFO] [stderr] Compiling dtoa v0.4.8
[INFO] [stderr] Compiling convert_case v0.4.0
[INFO] [stderr] Compiling instant v0.1.10
[INFO] [stderr] Compiling tinyvec v1.4.0
[INFO] [stderr] Compiling tracing-core v0.1.20
[INFO] [stderr] Compiling lock_api v0.4.5
[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 http v0.2.4
[INFO] [stderr] Compiling futures-macro v0.3.17
[INFO] [stderr] Compiling tokio v1.11.0
[INFO] [stderr] Compiling futures-util v0.3.17
[INFO] [stderr] Compiling memoffset v0.6.4
[INFO] [stderr] Compiling indexmap v1.7.0
[INFO] [stderr] Compiling generic-array v0.14.4
[INFO] [stderr] Compiling quote v1.0.9
[INFO] [stderr] Compiling unicode-normalization v0.1.19
[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 idna v0.2.3
[INFO] [stderr] Compiling rand_core v0.6.3
[INFO] [stderr] Compiling parking_lot v0.11.2
[INFO] [stderr] Compiling digest v0.9.0
[INFO] [stderr] Compiling block-buffer v0.9.0
[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 url v2.2.2
[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-util v0.6.8
[INFO] [stderr] Compiling tokio-stream v0.1.7
[INFO] [stderr] Compiling tokio-tungstenite v0.15.0
[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 31.14s
[INFO] running `Command { std: "docker" "inspect" "251bb6a0073a099ea7ab2619be2dd5b33609b6ebc09c045a30f38bea77068df6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "251bb6a0073a099ea7ab2619be2dd5b33609b6ebc09c045a30f38bea77068df6", kill_on_drop: false }`
[INFO] [stdout] 251bb6a0073a099ea7ab2619be2dd5b33609b6ebc09c045a30f38bea77068df6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b7978e3f1173e097c81933020b3e1ac10d68777de1d25f28734eee1be6cddee4
[INFO] running `Command { std: "docker" "start" "-a" "b7978e3f1173e097c81933020b3e1ac10d68777de1d25f28734eee1be6cddee4", kill_on_drop: false }`
[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] [stderr] Compiling xay-core v0.1.0 (/opt/rustwide/workdir/xay-core)
[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 1.13s
[INFO] running `Command { std: "docker" "inspect" "b7978e3f1173e097c81933020b3e1ac10d68777de1d25f28734eee1be6cddee4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b7978e3f1173e097c81933020b3e1ac10d68777de1d25f28734eee1be6cddee4", kill_on_drop: false }`
[INFO] [stdout] b7978e3f1173e097c81933020b3e1ac10d68777de1d25f28734eee1be6cddee4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] c02e5bccdbfbacd7fa41b4752e8dcd13b0d949ba561db960d398a31ed06742d0
[INFO] running `Command { std: "docker" "start" "-a" "c02e5bccdbfbacd7fa41b4752e8dcd13b0d949ba561db960d398a31ed06742d0", kill_on_drop: false }`
[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.14s
[INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/xay_core-f8fbdc3db659344e)
[INFO] [stdout]
[INFO] [stderr] Doc-tests xay-core
[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] [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" "c02e5bccdbfbacd7fa41b4752e8dcd13b0d949ba561db960d398a31ed06742d0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c02e5bccdbfbacd7fa41b4752e8dcd13b0d949ba561db960d398a31ed06742d0", kill_on_drop: false }`
[INFO] [stdout] c02e5bccdbfbacd7fa41b4752e8dcd13b0d949ba561db960d398a31ed06742d0