[INFO] cloning repository https://github.com/sadministrator/chapo-tunnel [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sadministrator/chapo-tunnel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsadministrator%2Fchapo-tunnel", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsadministrator%2Fchapo-tunnel'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 33e8794a40887df10777db9fe2e5e32fbe28c44a [INFO] testing sadministrator/chapo-tunnel against try#7af779037716ae4125ceabb429791b4cf5dd0a43 for pr-136932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsadministrator%2Fchapo-tunnel" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sadministrator/chapo-tunnel on toolchain 7af779037716ae4125ceabb429791b4cf5dd0a43 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sadministrator/chapo-tunnel [INFO] finished tweaking git repo https://github.com/sadministrator/chapo-tunnel [INFO] tweaked toml for git repo https://github.com/sadministrator/chapo-tunnel written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/sadministrator/chapo-tunnel 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" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /workspace/builds/worker-1-tc2/source/Cargo.toml: unused manifest key: workspace.workspace [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2f0bdc381c4d66e43e3acc8ccb07a54ef6fe0327731a721f5f06689f2268a7bc [INFO] running `Command { std: "docker" "start" "-a" "2f0bdc381c4d66e43e3acc8ccb07a54ef6fe0327731a721f5f06689f2268a7bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f0bdc381c4d66e43e3acc8ccb07a54ef6fe0327731a721f5f06689f2268a7bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f0bdc381c4d66e43e3acc8ccb07a54ef6fe0327731a721f5f06689f2268a7bc", kill_on_drop: false }` [INFO] [stdout] 2f0bdc381c4d66e43e3acc8ccb07a54ef6fe0327731a721f5f06689f2268a7bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c359dbf1ed02088adb40623c2edb5fb1545893317684dfaf561d1bc365fa7221 [INFO] running `Command { std: "docker" "start" "-a" "c359dbf1ed02088adb40623c2edb5fb1545893317684dfaf561d1bc365fa7221", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: unused manifest key: workspace.workspace [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling aws-lc-rs v1.12.2 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling zerocopy v0.8.16 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling rustls-pki-types v1.10.1 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling rustls v0.23.21 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling serde_json v1.0.135 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling http-range-header v0.3.1 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling clap_builder v4.5.26 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling cc v1.2.10 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rand_core v0.9.0 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling cmake v0.1.52 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling aws-lc-sys v0.25.0 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling pin-project-internal v1.1.8 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.85 [INFO] [stderr] Compiling clap_derive v4.5.24 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling pin-project v1.1.8 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling clap v4.5.26 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling tower-http v0.4.4 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper v1.5.2 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.12 [INFO] [stderr] Compiling tokio-rustls v0.26.1 [INFO] [stderr] Compiling common v0.1.0 (/opt/rustwide/workdir/common) [INFO] [stderr] Compiling server v0.1.0 (/opt/rustwide/workdir/server) [INFO] [stdout] warning: unused variable: `auth_token` [INFO] [stdout] --> server/src/tunnel.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | auth_token, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `auth_token: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `protocol` [INFO] [stdout] --> server/src/tunnel.rs:361:17 [INFO] [stdout] | [INFO] [stdout] 361 | protocol, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `protocol: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `protocol` [INFO] [stdout] --> server/src/tunnel.rs:394:17 [INFO] [stdout] | [INFO] [stdout] 394 | protocol, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `protocol: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `domain`, `require_auth`, and `auth_tokens` are never read [INFO] [stdout] --> server/src/tunnel.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 30 | pub domain: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub require_auth: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 34 | pub auth_tokens: HashSet, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `request_is_complete` is never used [INFO] [stdout] --> server/src/utils.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn request_is_complete(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_subdomain` is never used [INFO] [stdout] --> server/src/utils.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn extract_subdomain(headers: &HashMap) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling client v0.1.0 (/opt/rustwide/workdir/client) [INFO] [stdout] warning: unused variable: `accepted_version` [INFO] [stdout] --> client/src/tunnel.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | accepted_version, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try ignoring the field: `accepted_version: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `accepted_protocols` [INFO] [stdout] --> client/src/tunnel.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | accepted_protocols, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `accepted_protocols: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `protocol` [INFO] [stdout] --> client/src/tunnel.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 111 | protocol, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `protocol: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> client/src/tunnel.rs:272:33 [INFO] [stdout] | [INFO] [stdout] 272 | ... status, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `status: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `headers` [INFO] [stdout] --> client/src/tunnel.rs:273:33 [INFO] [stdout] | [INFO] [stdout] 273 | ... headers, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `headers: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> client/src/tunnel.rs:274:33 [INFO] [stdout] | [INFO] [stdout] 274 | ... body, [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> client/src/tunnel.rs:281:38 [INFO] [stdout] | [INFO] [stdout] 281 | if let Some((id, tx)) = self.active_streams.remove(&stream_id) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 57s [INFO] running `Command { std: "docker" "inspect" "c359dbf1ed02088adb40623c2edb5fb1545893317684dfaf561d1bc365fa7221", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c359dbf1ed02088adb40623c2edb5fb1545893317684dfaf561d1bc365fa7221", kill_on_drop: false }` [INFO] [stdout] c359dbf1ed02088adb40623c2edb5fb1545893317684dfaf561d1bc365fa7221 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15be5c68da1ae86322fc252fd37a9b74ebf22c9595dca12c95609dabed59aefe [INFO] running `Command { std: "docker" "start" "-a" "15be5c68da1ae86322fc252fd37a9b74ebf22c9595dca12c95609dabed59aefe", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: unused manifest key: workspace.workspace [INFO] [stderr] Compiling common v0.1.0 (/opt/rustwide/workdir/common) [INFO] [stderr] Compiling server v0.1.0 (/opt/rustwide/workdir/server) [INFO] [stderr] Compiling client v0.1.0 (/opt/rustwide/workdir/client) [INFO] [stdout] warning: unused variable: `auth_token` [INFO] [stdout] --> server/src/tunnel.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | auth_token, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `auth_token: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `protocol` [INFO] [stdout] --> server/src/tunnel.rs:361:17 [INFO] [stdout] | [INFO] [stdout] 361 | protocol, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `protocol: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `protocol` [INFO] [stdout] --> server/src/tunnel.rs:394:17 [INFO] [stdout] | [INFO] [stdout] 394 | protocol, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `protocol: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `accepted_version` [INFO] [stdout] --> client/src/tunnel.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | accepted_version, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try ignoring the field: `accepted_version: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `accepted_protocols` [INFO] [stdout] --> client/src/tunnel.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | accepted_protocols, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `accepted_protocols: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `protocol` [INFO] [stdout] --> client/src/tunnel.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 111 | protocol, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `protocol: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> client/src/tunnel.rs:272:33 [INFO] [stdout] | [INFO] [stdout] 272 | ... status, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `status: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `headers` [INFO] [stdout] --> client/src/tunnel.rs:273:33 [INFO] [stdout] | [INFO] [stdout] 273 | ... headers, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `headers: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> client/src/tunnel.rs:274:33 [INFO] [stdout] | [INFO] [stdout] 274 | ... body, [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> client/src/tunnel.rs:281:38 [INFO] [stdout] | [INFO] [stdout] 281 | if let Some((id, tx)) = self.active_streams.remove(&stream_id) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `domain`, `require_auth`, and `auth_tokens` are never read [INFO] [stdout] --> server/src/tunnel.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 30 | pub domain: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub require_auth: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 34 | pub auth_tokens: HashSet, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `request_is_complete` is never used [INFO] [stdout] --> server/src/utils.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn request_is_complete(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_subdomain` is never used [INFO] [stdout] --> server/src/utils.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn extract_subdomain(headers: &HashMap) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.83s [INFO] running `Command { std: "docker" "inspect" "15be5c68da1ae86322fc252fd37a9b74ebf22c9595dca12c95609dabed59aefe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15be5c68da1ae86322fc252fd37a9b74ebf22c9595dca12c95609dabed59aefe", kill_on_drop: false }` [INFO] [stdout] 15be5c68da1ae86322fc252fd37a9b74ebf22c9595dca12c95609dabed59aefe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6dfb0f6b72383d8ef88430e56aec2bfdbcb1946931c06e58dc47e3f538789853 [INFO] running `Command { std: "docker" "start" "-a" "6dfb0f6b72383d8ef88430e56aec2bfdbcb1946931c06e58dc47e3f538789853", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: unused manifest key: workspace.workspace [INFO] [stderr] warning: unused variable: `auth_token` [INFO] [stderr] --> server/src/tunnel.rs:112:17 [INFO] [stderr] | [INFO] [stderr] 112 | auth_token, [INFO] [stderr] | ^^^^^^^^^^ help: try ignoring the field: `auth_token: _` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `protocol` [INFO] [stderr] --> server/src/tunnel.rs:361:17 [INFO] [stderr] | [INFO] [stderr] 361 | protocol, [INFO] [stderr] | ^^^^^^^^ help: try ignoring the field: `protocol: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `protocol` [INFO] [stderr] --> server/src/tunnel.rs:394:17 [INFO] [stderr] | [INFO] [stderr] 394 | protocol, [INFO] [stderr] | ^^^^^^^^ help: try ignoring the field: `protocol: _` [INFO] [stderr] [INFO] [stderr] warning: fields `domain`, `require_auth`, and `auth_tokens` are never read [INFO] [stderr] --> server/src/tunnel.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 29 | pub struct Config { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 30 | pub domain: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 33 | pub require_auth: bool, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 34 | pub auth_tokens: HashSet, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `request_is_complete` is never used [INFO] [stderr] --> server/src/utils.rs:100:8 [INFO] [stderr] | [INFO] [stderr] 100 | pub fn request_is_complete(buf: &[u8]) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `extract_subdomain` is never used [INFO] [stderr] --> server/src/utils.rs:107:8 [INFO] [stderr] | [INFO] [stderr] 107 | pub fn extract_subdomain(headers: &HashMap) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `server` (bin "server" test) generated 6 warnings [INFO] [stderr] warning: unused variable: `accepted_version` [INFO] [stderr] --> client/src/tunnel.rs:87:21 [INFO] [stderr] | [INFO] [stderr] 87 | accepted_version, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try ignoring the field: `accepted_version: _` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `accepted_protocols` [INFO] [stderr] --> client/src/tunnel.rs:88:21 [INFO] [stderr] | [INFO] [stderr] 88 | accepted_protocols, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `accepted_protocols: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `protocol` [INFO] [stderr] --> client/src/tunnel.rs:111:21 [INFO] [stderr] | [INFO] [stderr] 111 | protocol, [INFO] [stderr] | ^^^^^^^^ help: try ignoring the field: `protocol: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `status` [INFO] [stderr] --> client/src/tunnel.rs:272:33 [INFO] [stderr] | [INFO] [stderr] 272 | ... status, [INFO] [stderr] | ^^^^^^ help: try ignoring the field: `status: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `headers` [INFO] [stderr] --> client/src/tunnel.rs:273:33 [INFO] [stderr] | [INFO] [stderr] 273 | ... headers, [INFO] [stderr] | ^^^^^^^ help: try ignoring the field: `headers: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `body` [INFO] [stderr] --> client/src/tunnel.rs:274:33 [INFO] [stderr] | [INFO] [stderr] 274 | ... body, [INFO] [stderr] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tx` [INFO] [stderr] --> client/src/tunnel.rs:281:38 [INFO] [stderr] | [INFO] [stderr] 281 | if let Some((id, tx)) = self.active_streams.remove(&stream_id) { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stderr] [INFO] [stderr] warning: `client` (bin "client" test) generated 7 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/client-9e35c09d4e1f47e2) [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/common-cc50fff40665e6da) [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] [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] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/server-893e6d6754313b2f) [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 common [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" "6dfb0f6b72383d8ef88430e56aec2bfdbcb1946931c06e58dc47e3f538789853", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6dfb0f6b72383d8ef88430e56aec2bfdbcb1946931c06e58dc47e3f538789853", kill_on_drop: false }` [INFO] [stdout] 6dfb0f6b72383d8ef88430e56aec2bfdbcb1946931c06e58dc47e3f538789853