[INFO] cloning repository https://github.com/cty123/RustProxy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cty123/RustProxy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcty123%2FRustProxy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcty123%2FRustProxy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 160ecff33a3f2831f6df6c58371581de7751b9c3 [INFO] checking cty123/RustProxy against master#2d3a85b4f8ba7e2554f4d4fee126bc2ac6ee2af4 for pr-84385 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcty123%2FRustProxy" "/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/cty123/RustProxy on toolchain 2d3a85b4f8ba7e2554f4d4fee126bc2ac6ee2af4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+2d3a85b4f8ba7e2554f4d4fee126bc2ac6ee2af4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cty123/RustProxy [INFO] finished tweaking git repo https://github.com/cty123/RustProxy [INFO] tweaked toml for git repo https://github.com/cty123/RustProxy written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/cty123/RustProxy already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+2d3a85b4f8ba7e2554f4d4fee126bc2ac6ee2af4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quinn-udp v0.1.2 [INFO] [stderr] Downloaded mockall_derive v0.11.1 [INFO] [stderr] Downloaded mockall v0.11.1 [INFO] [stderr] Downloaded quinn v0.8.3 [INFO] [stderr] Downloaded axum v0.5.4 [INFO] [stderr] Downloaded constant_time_eq v0.2.4 [INFO] [stderr] Downloaded axum-core v0.2.3 [INFO] [stderr] Downloaded tower-http v0.3.2 [INFO] [stderr] Downloaded clap v3.2.12 [INFO] [stderr] Downloaded quinn-proto v0.8.3 [INFO] [stderr] Downloaded prettyplease v0.1.10 [INFO] [stderr] Downloaded prost-types v0.11.0 [INFO] [stderr] Downloaded prost-build v0.11.0 [INFO] [stderr] Downloaded uninit v0.5.0 [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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+2d3a85b4f8ba7e2554f4d4fee126bc2ac6ee2af4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 37976a5dc557b380b46d89a8fd94a1c1de025b1795c3e2e44a0ad1c0084a776e [INFO] running `Command { std: "docker" "start" "-a" "37976a5dc557b380b46d89a8fd94a1c1de025b1795c3e2e44a0ad1c0084a776e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37976a5dc557b380b46d89a8fd94a1c1de025b1795c3e2e44a0ad1c0084a776e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37976a5dc557b380b46d89a8fd94a1c1de025b1795c3e2e44a0ad1c0084a776e", kill_on_drop: false }` [INFO] [stdout] 37976a5dc557b380b46d89a8fd94a1c1de025b1795c3e2e44a0ad1c0084a776e [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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+2d3a85b4f8ba7e2554f4d4fee126bc2ac6ee2af4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c5e9cb3d37d157db64b5318ffb026d734acc9574d5144b5ad96161eae8bd942 [INFO] running `Command { std: "docker" "start" "-a" "8c5e9cb3d37d157db64b5318ffb026d734acc9574d5144b5ad96161eae8bd942", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling anyhow v1.0.52 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling rustls v0.20.6 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking mio v0.8.2 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking rustls-pemfile v1.0.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling fixedbitset v0.4.1 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking rustls-native-certs v0.6.2 [INFO] [stderr] Compiling petgraph v0.6.0 [INFO] [stderr] Compiling which v4.2.2 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Checking tower-layer v0.3.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking rustls-pemfile v0.2.1 [INFO] [stderr] Checking predicates-core v1.0.2 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking http-range-header v0.3.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking sync_wrapper v0.1.1 [INFO] [stderr] Checking treeline v0.1.0 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking matchit v0.5.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking predicates-tree v1.0.3 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking fragile v1.0.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking downcast v0.11.0 [INFO] [stderr] Checking uninit v0.5.0 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Checking constant_time_eq v0.2.4 [INFO] [stderr] Checking clap v3.2.12 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking predicates v2.1.0 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking block-buffer v0.10.0 [INFO] [stderr] Checking crypto-common v0.1.3 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking sha2 v0.10.2 [INFO] [stderr] Compiling prettyplease v0.1.10 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling prost-derive v0.11.0 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling mockall_derive v0.11.1 [INFO] [stderr] Checking async-stream v0.3.2 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking webpki-roots v0.22.4 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking mockall v0.11.1 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking axum-core v0.2.3 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Compiling prost v0.11.0 [INFO] [stderr] Checking prost-types v0.11.0 [INFO] [stderr] Checking quinn-proto v0.8.3 [INFO] [stderr] Checking prost-build v0.11.0 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Checking tokio-stream v0.1.9 [INFO] [stderr] Checking tokio-rustls v0.23.4 [INFO] [stderr] Checking h2 v0.3.9 [INFO] [stderr] Checking quinn-udp v0.1.2 [INFO] [stderr] Checking tower v0.4.12 [INFO] [stderr] Checking quinn v0.8.3 [INFO] [stderr] Compiling tonic-build v0.8.0 [INFO] [stderr] Checking tower-http v0.3.2 [INFO] [stderr] Compiling trojan-rust v0.7.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking hyper v0.14.16 [INFO] [stderr] Checking axum v0.5.4 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking tonic v0.8.0 [INFO] [stdout] warning: unused import: `std::mem::MaybeUninit` [INFO] [stdout] --> tests/proxy/acceptor_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem::MaybeUninit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::BytesMut` [INFO] [stdout] --> tests/proxy/acceptor_test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::BytesMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::TryFutureExt` [INFO] [stdout] --> tests/proxy/acceptor_test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::TryFutureExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncReadExt`, `AsyncWriteExt`, `DuplexStream`, `ReadBuf` [INFO] [stdout] --> tests/proxy/acceptor_test.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::io::{AsyncReadExt, AsyncWriteExt, DuplexStream, ReadBuf}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `trojan_rust::config::base::InboundConfig` [INFO] [stdout] --> tests/proxy/acceptor_test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use trojan_rust::config::base::InboundConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `trojan_rust::proxy::base::SupportedProtocols` [INFO] [stdout] --> tests/proxy/acceptor_test.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use trojan_rust::proxy::base::SupportedProtocols; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rx` [INFO] [stdout] --> tests/proxy/acceptor_test.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 35 | let (tx, rx) = oneshot::channel::(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> tests/proxy/acceptor_test.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | tx.send(1); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 06s [INFO] running `Command { std: "docker" "inspect" "8c5e9cb3d37d157db64b5318ffb026d734acc9574d5144b5ad96161eae8bd942", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c5e9cb3d37d157db64b5318ffb026d734acc9574d5144b5ad96161eae8bd942", kill_on_drop: false }` [INFO] [stdout] 8c5e9cb3d37d157db64b5318ffb026d734acc9574d5144b5ad96161eae8bd942