[INFO] cloning repository https://github.com/lazytiger/trojan-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lazytiger/trojan-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flazytiger%2Ftrojan-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flazytiger%2Ftrojan-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1b298a8b35e6cfdd2ca192b53e19140c845079ea [INFO] building lazytiger/trojan-rs against master#a29f341a8ac4e9325a5e37027b4215f50a76d06f for pr-101929 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flazytiger%2Ftrojan-rs" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lazytiger/trojan-rs on toolchain a29f341a8ac4e9325a5e37027b4215f50a76d06f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/lazytiger/trojan-rs [INFO] finished tweaking git repo https://github.com/lazytiger/trojan-rs [INFO] tweaked toml for git repo https://github.com/lazytiger/trojan-rs written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/lazytiger/trojan-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded iana-time-zone v0.1.41 [INFO] [stderr] Downloaded backtrace-on-stack-overflow v0.2.0 [INFO] [stderr] Downloaded smoltcp v0.8.1 [INFO] [stderr] Downloaded managed v0.8.0 [INFO] [stderr] Downloaded reopen v0.3.0 [INFO] [stderr] Downloaded wintun v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c2c89ebcd2d4c3eb944c942b6ef37cb38f99bff7e4d1e598e64656837f6e434b [INFO] running `Command { std: "docker" "start" "-a" "c2c89ebcd2d4c3eb944c942b6ef37cb38f99bff7e4d1e598e64656837f6e434b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c2c89ebcd2d4c3eb944c942b6ef37cb38f99bff7e4d1e598e64656837f6e434b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2c89ebcd2d4c3eb944c942b6ef37cb38f99bff7e4d1e598e64656837f6e434b", kill_on_drop: false }` [INFO] [stdout] c2c89ebcd2d4c3eb944c942b6ef37cb38f99bff7e4d1e598e64656837f6e434b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e859fb9f097a1e44a884655775857832f1be7085c7b4a8ebb89b1a560fd58fe4 [INFO] running `Command { std: "docker" "start" "-a" "e859fb9f097a1e44a884655775857832f1be7085c7b4a8ebb89b1a560fd58fe4", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.129 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling crossbeam-queue v0.3.6 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.10 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.6 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling unicode-normalization v0.1.21 [INFO] [stderr] Compiling gimli v0.26.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.2 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling object v0.29.0 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling bytes v1.2.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling os_str_bytes v6.2.0 [INFO] [stderr] Compiling rustls v0.20.6 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling signal-hook v0.1.17 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling either v1.7.0 [INFO] [stderr] Compiling reopen v0.3.0 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling nix v0.23.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling managed v0.8.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling iana-time-zone v0.1.41 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling smoltcp v0.8.1 [INFO] [stderr] Compiling chrono v0.4.21 [INFO] [stderr] Compiling rustls-pemfile v1.0.1 [INFO] [stderr] Compiling crossbeam v0.8.2 [INFO] [stderr] Compiling fern v0.6.1 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling dns-lookup v1.0.8 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling widestring v1.0.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling backtrace-on-stack-overflow v0.2.0 [INFO] [stderr] Compiling webpki-roots v0.22.4 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Compiling clap_derive v3.2.15 [INFO] [stderr] Compiling enum-as-inner v0.4.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling thiserror v1.0.32 [INFO] [stderr] Compiling trust-dns-proto v0.21.2 [INFO] [stderr] Compiling clap v3.2.16 [INFO] [stderr] Compiling trojan v0.10.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `close` is never used [INFO] [stdout] --> src/tls_conn.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) fn close(&mut self, poll: &Poll) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `set_token` is never used [INFO] [stdout] --> src/tls_conn.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn set_token(&mut self, token: Token, poll: &Poll) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CopyResult` is never used [INFO] [stdout] --> src/types.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum CopyResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copy_stream` is never used [INFO] [stdout] --> src/utils.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn copy_stream( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `send_all` is never used [INFO] [stdout] --> src/utils.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn send_all(writer: &mut impl Write, buffer: &mut BytesMut) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_once` is never used [INFO] [stdout] --> src/utils.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn read_once(reader: &mut impl Read, buffer: &mut BytesMut) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 27.13s [INFO] running `Command { std: "docker" "inspect" "e859fb9f097a1e44a884655775857832f1be7085c7b4a8ebb89b1a560fd58fe4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e859fb9f097a1e44a884655775857832f1be7085c7b4a8ebb89b1a560fd58fe4", kill_on_drop: false }` [INFO] [stdout] e859fb9f097a1e44a884655775857832f1be7085c7b4a8ebb89b1a560fd58fe4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af8604947e9b5eb58ffa73f25c63bca1c08e28def911b9479ca7e0653b28c23c [INFO] running `Command { std: "docker" "start" "-a" "af8604947e9b5eb58ffa73f25c63bca1c08e28def911b9479ca7e0653b28c23c", kill_on_drop: false }` [INFO] [stderr] Compiling trojan v0.10.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `close` is never used [INFO] [stdout] --> src/tls_conn.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) fn close(&mut self, poll: &Poll) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `set_token` is never used [INFO] [stdout] --> src/tls_conn.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn set_token(&mut self, token: Token, poll: &Poll) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CopyResult` is never used [INFO] [stdout] --> src/types.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum CopyResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copy_stream` is never used [INFO] [stdout] --> src/utils.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn copy_stream( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `send_all` is never used [INFO] [stdout] --> src/utils.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn send_all(writer: &mut impl Write, buffer: &mut BytesMut) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_once` is never used [INFO] [stdout] --> src/utils.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn read_once(reader: &mut impl Read, buffer: &mut BytesMut) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `close` is never used [INFO] [stdout] --> src/tls_conn.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) fn close(&mut self, poll: &Poll) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `set_token` is never used [INFO] [stdout] --> src/tls_conn.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn set_token(&mut self, token: Token, poll: &Poll) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CopyResult` is never used [INFO] [stdout] --> src/types.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum CopyResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copy_stream` is never used [INFO] [stdout] --> src/utils.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn copy_stream( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `send_all` is never used [INFO] [stdout] --> src/utils.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn send_all(writer: &mut impl Write, buffer: &mut BytesMut) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_once` is never used [INFO] [stdout] --> src/utils.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn read_once(reader: &mut impl Read, buffer: &mut BytesMut) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.03s [INFO] running `Command { std: "docker" "inspect" "af8604947e9b5eb58ffa73f25c63bca1c08e28def911b9479ca7e0653b28c23c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af8604947e9b5eb58ffa73f25c63bca1c08e28def911b9479ca7e0653b28c23c", kill_on_drop: false }` [INFO] [stdout] af8604947e9b5eb58ffa73f25c63bca1c08e28def911b9479ca7e0653b28c23c