[INFO] fetching crate trojan-client 0.9.1... [INFO] testing trojan-client-0.9.1 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate trojan-client 0.9.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate trojan-client 0.9.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate trojan-client 0.9.1 [INFO] tweaked toml for crates.io crate trojan-client 0.9.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate trojan-client 0.9.1 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate trojan-client 0.9.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 50c8d0c6d07dfb2f524970a72af18505c0240bf017be6b8105e015b7aba0dcdd [INFO] running `Command { std: "docker" "start" "-a" "50c8d0c6d07dfb2f524970a72af18505c0240bf017be6b8105e015b7aba0dcdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50c8d0c6d07dfb2f524970a72af18505c0240bf017be6b8105e015b7aba0dcdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50c8d0c6d07dfb2f524970a72af18505c0240bf017be6b8105e015b7aba0dcdd", kill_on_drop: false }` [INFO] [stdout] 50c8d0c6d07dfb2f524970a72af18505c0240bf017be6b8105e015b7aba0dcdd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 313c51e44248e4bfc70005b15de1a87cdb18a8885d82efbb0ec061fb4e26603e [INFO] running `Command { std: "docker" "start" "-a" "313c51e44248e4bfc70005b15de1a87cdb18a8885d82efbb0ec061fb4e26603e", kill_on_drop: false }` [INFO] [stderr] Compiling portable-atomic v1.13.1 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling aws-lc-rs v1.16.0 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling getrandom v0.4.1 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling rustls-pki-types v1.14.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling data-encoding v2.10.0 [INFO] [stderr] Compiling uuid v1.21.0 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling clap_lex v1.0.0 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling webpki-roots v1.0.6 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling clap_builder v4.5.60 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling moka v0.12.13 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling json_comments v0.2.2 [INFO] [stderr] Compiling trojan-auth v0.9.1 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling trojan-proto v0.9.1 [INFO] [stderr] Compiling aws-lc-sys v0.37.1 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling toml_parser v1.0.9+spec-1.1.0 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling toml v1.0.3+spec-1.1.0 [INFO] [stderr] Compiling clap v4.5.60 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.22 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling trojan-core v0.9.1 [INFO] [stderr] Compiling h2 v0.4.13 [INFO] [stderr] Compiling rustls v0.23.37 [INFO] [stderr] Compiling rustls-webpki v0.103.9 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling hickory-proto v0.25.2 [INFO] [stderr] Compiling hickory-resolver v0.25.2 [INFO] [stderr] Compiling trojan-dns v0.9.1 [INFO] [stderr] Compiling trojan-config v0.9.1 [INFO] [stderr] Compiling trojan-client v0.9.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 15s [INFO] running `Command { std: "docker" "inspect" "313c51e44248e4bfc70005b15de1a87cdb18a8885d82efbb0ec061fb4e26603e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "313c51e44248e4bfc70005b15de1a87cdb18a8885d82efbb0ec061fb4e26603e", kill_on_drop: false }` [INFO] [stdout] 313c51e44248e4bfc70005b15de1a87cdb18a8885d82efbb0ec061fb4e26603e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 61b5d2e96dbea5acdd5efd3a72fba56874796b740de2a694c6b0c334cae96734 [INFO] running `Command { std: "docker" "start" "-a" "61b5d2e96dbea5acdd5efd3a72fba56874796b740de2a694c6b0c334cae96734", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling rustls-native-certs v0.8.3 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling unicase v2.9.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling iri-string v0.7.10 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling raw-cpuid v11.6.0 [INFO] [stderr] Compiling time v0.3.47 [INFO] [stderr] Compiling rand_xoshiro v0.7.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling metrics v0.24.3 [INFO] [stderr] Compiling sketches-ddsketch v0.3.0 [INFO] [stderr] Compiling metrics-exporter-prometheus v0.18.1 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling axum-core v0.5.6 [INFO] [stderr] Compiling ipnetwork v0.21.1 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling tungstenite v0.28.0 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling arc-swap v1.8.2 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling dtor-proc-macro v0.0.6 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling pem v3.0.6 [INFO] [stderr] Compiling ctor-proc-macro v0.0.7 [INFO] [stderr] Compiling dtor v0.1.1 [INFO] [stderr] Compiling ctor v0.6.3 [INFO] [stderr] Compiling quanta v0.12.6 [INFO] [stderr] Compiling metrics-util v0.20.1 [INFO] [stderr] Compiling yasna v0.5.2 [INFO] [stderr] Compiling rustls v0.23.37 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling uuid v1.21.0 [INFO] [stderr] Compiling toml_datetime v1.0.0+spec-1.1.0 [INFO] [stderr] Compiling serde_spanned v1.0.4 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling rcgen v0.14.7 [INFO] [stderr] Compiling moka v0.12.13 [INFO] [stderr] Compiling toml v1.0.3+spec-1.1.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling maxminddb v0.27.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.22 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling tempfile v3.26.0 [INFO] [stderr] Compiling serde_with_macros v3.17.0 [INFO] [stderr] Compiling rustls-webpki v0.103.9 [INFO] [stderr] Compiling serde_with v3.17.0 [INFO] [stderr] Compiling tracing-appender v0.2.4 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling tokio-tungstenite v0.28.0 [INFO] [stderr] Compiling trojan-core v0.9.1 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling h2 v0.4.13 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling hickory-proto v0.25.2 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling axum v0.8.8 [INFO] [stderr] Compiling hickory-resolver v0.25.2 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling trojan-dns v0.9.1 [INFO] [stderr] Compiling cloudflare v0.14.0 [INFO] [stderr] Compiling trojan-auth v0.9.1 [INFO] [stderr] Compiling trojan-config v0.9.1 [INFO] [stderr] Compiling trojan-rules v0.9.1 [INFO] [stderr] Compiling trojan-client v0.9.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling trojan-metrics v0.9.1 [INFO] [stderr] Compiling trojan-ddns v0.9.1 [INFO] [stderr] Compiling trojan-server v0.9.1 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 41s [INFO] running `Command { std: "docker" "inspect" "61b5d2e96dbea5acdd5efd3a72fba56874796b740de2a694c6b0c334cae96734", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61b5d2e96dbea5acdd5efd3a72fba56874796b740de2a694c6b0c334cae96734", kill_on_drop: false }` [INFO] [stdout] 61b5d2e96dbea5acdd5efd3a72fba56874796b740de2a694c6b0c334cae96734 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b9db4df0a7ef9aae60bb3dd04397e5a1aa4d64503b0a02d8118540cb7e383641 [INFO] running `Command { std: "docker" "start" "-a" "b9db4df0a7ef9aae60bb3dd04397e5a1aa4d64503b0a02d8118540cb7e383641", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.57s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/trojan_client-986cdbb68f73c8b0) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test connector::tests::extract_host_parses_bracketed_ipv6 ... ok [INFO] [stdout] test connector::tests::extract_host_parses_hostname_and_port ... ok [INFO] [stdout] test connector::tests::resolve_sni_accepts_ipv6_literal ... ok [INFO] [stdout] test handler::tests::reply_code_maps_common_errors ... ok [INFO] [stdout] test handler::tests::drain_preserves_incomplete_frames ... ok [INFO] [stdout] test socks5::udp::tests::parse_rejects_fragmented_udp ... ok [INFO] [stdout] test socks5::udp::tests::parse_roundtrip_ipv4 ... ok [INFO] [stderr] Running tests/e2e_client_server.rs (/opt/rustwide/target/debug/deps/e2e_client_server-13a4c9514bcfd4f7) [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test e2e_udp_associate ... ok [INFO] [stdout] test rules_e2e::e2e_rules_reject_port ... ok [INFO] [stdout] test e2e_tcp_connect ... ok [INFO] [stdout] test rules_e2e::e2e_rules_mixed_ports ... ok [INFO] [stdout] test rules_e2e::e2e_rules_final_direct ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.34s [INFO] [stdout] [INFO] [stderr] Doc-tests trojan_client [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" "b9db4df0a7ef9aae60bb3dd04397e5a1aa4d64503b0a02d8118540cb7e383641", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9db4df0a7ef9aae60bb3dd04397e5a1aa4d64503b0a02d8118540cb7e383641", kill_on_drop: false }` [INFO] [stdout] b9db4df0a7ef9aae60bb3dd04397e5a1aa4d64503b0a02d8118540cb7e383641