Skip to content

test: add rust integration test #977

test: add rust integration test

test: add rust integration test #977

Triggered via pull request June 16, 2026 22:24
Status Failure
Total duration 24s
Artifacts

ci.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

20 errors
build (lts/*)
Process completed with exit code 1.
src/targets/index.test.ts > request validation > rust > reqwest > request should match fixture for "text-plain.js": src/targets/index.test.ts#L110
AssertionError: expected 'use reqwest;\n\n#[tokio::main]\npub a…' to strictly equal 'use reqwest;\n\n#[tokio::main]\npub a…' - Expected + Received @@ -3,11 +3,10 @@ #[tokio::main] pub async fn main() { let url = "https://httpbin.org/anything"; let payload = "Hello World"; - let client = reqwest::Client::new(); let response = client.post(url) .header("content-type", "text/plain") .body(payload) .send() ❯ src/targets/index.test.ts:110:28
src/targets/index.test.ts > request validation > rust > reqwest > request should match fixture for "multipart-form-data.js": src/targets/index.test.ts#L110
AssertionError: expected 'use reqwest;\n\n#[tokio::main]\npub a…' to strictly equal 'use reqwest;\n\n#[tokio::main]\npub a…' - Expected + Received @@ -4,11 +4,10 @@ pub async fn main() { let url = "https://httpbin.org/anything"; let form = reqwest::multipart::Form::new() .text("foo", "bar"); - let client = reqwest::Client::new(); let response = client.post(url) .multipart(form) .send() .await; ❯ src/targets/index.test.ts:110:28
src/targets/index.test.ts > request validation > rust > reqwest > request should match fixture for "multipart-form-data-no-params.js": src/targets/index.test.ts#L110
AssertionError: expected 'use reqwest;\n\n#[tokio::main]\npub a…' to strictly equal 'use reqwest;\n\n#[tokio::main]\npub a…' - Expected + Received @@ -4,11 +4,10 @@ pub async fn main() { let url = "https://httpbin.org/anything"; let form = reqwest::multipart::Form::new() .text("", ""); - let client = reqwest::Client::new(); let response = client.post(url) .multipart(form) .send() .await; ❯ src/targets/index.test.ts:110:28
src/targets/index.test.ts > request validation > rust > reqwest > request should match fixture for "multipart-file.js": src/targets/index.test.ts#L110
AssertionError: expected 'use reqwest;\n\n#[tokio::main]\npub a…' to strictly equal 'use reqwest;\n\n#[tokio::main]\npub a…' - Expected + Received @@ -11,11 +11,10 @@ .mime_str("text/plain").unwrap() } let form = reqwest::multipart::Form::new() .part("foo", file_to_part("src/fixtures/files/hello.txt").await); - let client = reqwest::Client::new(); let response = client.post(url) .multipart(form) .send() .await; ❯ src/targets/index.test.ts:110:28
src/targets/index.test.ts > request validation > rust > reqwest > request should match fixture for "multipart-data.js": src/targets/index.test.ts#L110
AssertionError: expected 'use reqwest;\n\n#[tokio::main]\npub a…' to strictly equal 'use reqwest;\n\n#[tokio::main]\npub a…' - Expected + Received @@ -12,11 +12,10 @@ } let form = reqwest::multipart::Form::new() .part("foo", file_to_part("src/fixtures/files/hello.txt").await) .text("bar", "Bonjour le monde"); - let client = reqwest::Client::new(); let response = client.post(url) .multipart(form) .send() .await; ❯ src/targets/index.test.ts:110:28
build (lts/-1)
The strategy configuration was canceled because "build.lts__" failed
build (lts/-1)
Process completed with exit code 1.
src/targets/index.test.ts > request validation > rust > reqwest > request should match fixture for "text-plain.js": src/targets/index.test.ts#L110
AssertionError: expected 'use reqwest;\n\n#[tokio::main]\npub a…' to strictly equal 'use reqwest;\n\n#[tokio::main]\npub a…' - Expected + Received @@ -3,11 +3,10 @@ #[tokio::main] pub async fn main() { let url = "https://httpbin.org/anything"; let payload = "Hello World"; - let client = reqwest::Client::new(); let response = client.post(url) .header("content-type", "text/plain") .body(payload) .send() ❯ src/targets/index.test.ts:110:28
src/targets/index.test.ts > request validation > rust > reqwest > request should match fixture for "multipart-form-data.js": src/targets/index.test.ts#L110
AssertionError: expected 'use reqwest;\n\n#[tokio::main]\npub a…' to strictly equal 'use reqwest;\n\n#[tokio::main]\npub a…' - Expected + Received @@ -4,11 +4,10 @@ pub async fn main() { let url = "https://httpbin.org/anything"; let form = reqwest::multipart::Form::new() .text("foo", "bar"); - let client = reqwest::Client::new(); let response = client.post(url) .multipart(form) .send() .await; ❯ src/targets/index.test.ts:110:28
src/targets/index.test.ts > request validation > rust > reqwest > request should match fixture for "multipart-form-data-no-params.js": src/targets/index.test.ts#L110
AssertionError: expected 'use reqwest;\n\n#[tokio::main]\npub a…' to strictly equal 'use reqwest;\n\n#[tokio::main]\npub a…' - Expected + Received @@ -4,11 +4,10 @@ pub async fn main() { let url = "https://httpbin.org/anything"; let form = reqwest::multipart::Form::new() .text("", ""); - let client = reqwest::Client::new(); let response = client.post(url) .multipart(form) .send() .await; ❯ src/targets/index.test.ts:110:28
src/targets/index.test.ts > request validation > rust > reqwest > request should match fixture for "multipart-file.js": src/targets/index.test.ts#L110
AssertionError: expected 'use reqwest;\n\n#[tokio::main]\npub a…' to strictly equal 'use reqwest;\n\n#[tokio::main]\npub a…' - Expected + Received @@ -11,11 +11,10 @@ .mime_str("text/plain").unwrap() } let form = reqwest::multipart::Form::new() .part("foo", file_to_part("src/fixtures/files/hello.txt").await); - let client = reqwest::Client::new(); let response = client.post(url) .multipart(form) .send() .await; ❯ src/targets/index.test.ts:110:28
src/targets/index.test.ts > request validation > rust > reqwest > request should match fixture for "multipart-data.js": src/targets/index.test.ts#L110
AssertionError: expected 'use reqwest;\n\n#[tokio::main]\npub a…' to strictly equal 'use reqwest;\n\n#[tokio::main]\npub a…' - Expected + Received @@ -12,11 +12,10 @@ } let form = reqwest::multipart::Form::new() .part("foo", file_to_part("src/fixtures/files/hello.txt").await) .text("bar", "Bonjour le monde"); - let client = reqwest::Client::new(); let response = client.post(url) .multipart(form) .send() .await; ❯ src/targets/index.test.ts:110:28
build (latest)
The strategy configuration was canceled because "build.lts__" failed
build (latest)
The operation was canceled.
src/targets/index.test.ts > request validation > rust > reqwest > request should match fixture for "text-plain.js": src/targets/index.test.ts#L110
AssertionError: expected 'use reqwest;\n\n#[tokio::main]\npub a…' to strictly equal 'use reqwest;\n\n#[tokio::main]\npub a…' - Expected + Received @@ -3,11 +3,10 @@ #[tokio::main] pub async fn main() { let url = "https://httpbin.org/anything"; let payload = "Hello World"; - let client = reqwest::Client::new(); let response = client.post(url) .header("content-type", "text/plain") .body(payload) .send() ❯ src/targets/index.test.ts:110:28
src/targets/index.test.ts > request validation > rust > reqwest > request should match fixture for "multipart-form-data.js": src/targets/index.test.ts#L110
AssertionError: expected 'use reqwest;\n\n#[tokio::main]\npub a…' to strictly equal 'use reqwest;\n\n#[tokio::main]\npub a…' - Expected + Received @@ -4,11 +4,10 @@ pub async fn main() { let url = "https://httpbin.org/anything"; let form = reqwest::multipart::Form::new() .text("foo", "bar"); - let client = reqwest::Client::new(); let response = client.post(url) .multipart(form) .send() .await; ❯ src/targets/index.test.ts:110:28
src/targets/index.test.ts > request validation > rust > reqwest > request should match fixture for "multipart-form-data-no-params.js": src/targets/index.test.ts#L110
AssertionError: expected 'use reqwest;\n\n#[tokio::main]\npub a…' to strictly equal 'use reqwest;\n\n#[tokio::main]\npub a…' - Expected + Received @@ -4,11 +4,10 @@ pub async fn main() { let url = "https://httpbin.org/anything"; let form = reqwest::multipart::Form::new() .text("", ""); - let client = reqwest::Client::new(); let response = client.post(url) .multipart(form) .send() .await; ❯ src/targets/index.test.ts:110:28
src/targets/index.test.ts > request validation > rust > reqwest > request should match fixture for "multipart-file.js": src/targets/index.test.ts#L110
AssertionError: expected 'use reqwest;\n\n#[tokio::main]\npub a…' to strictly equal 'use reqwest;\n\n#[tokio::main]\npub a…' - Expected + Received @@ -11,11 +11,10 @@ .mime_str("text/plain").unwrap() } let form = reqwest::multipart::Form::new() .part("foo", file_to_part("src/fixtures/files/hello.txt").await); - let client = reqwest::Client::new(); let response = client.post(url) .multipart(form) .send() .await; ❯ src/targets/index.test.ts:110:28
src/targets/index.test.ts > request validation > rust > reqwest > request should match fixture for "multipart-data.js": src/targets/index.test.ts#L110
AssertionError: expected 'use reqwest;\n\n#[tokio::main]\npub a…' to strictly equal 'use reqwest;\n\n#[tokio::main]\npub a…' - Expected + Received @@ -12,11 +12,10 @@ } let form = reqwest::multipart::Form::new() .part("foo", file_to_part("src/fixtures/files/hello.txt").await) .text("bar", "Bonjour le monde"); - let client = reqwest::Client::new(); let response = client.post(url) .multipart(form) .send() .await; ❯ src/targets/index.test.ts:110:28