[INFO] cloning repository https://github.com/ByteSmithLabs/ic-http [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ByteSmithLabs/ic-http" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FByteSmithLabs%2Fic-http", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FByteSmithLabs%2Fic-http'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a93ebb64fdcb612740d974aca5f8f880d5ef1268 [INFO] checking ByteSmithLabs/ic-http against master#40daf23eeb711dadf140b2536e67e3ff4c999196 for pr-142287 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FByteSmithLabs%2Fic-http" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ByteSmithLabs/ic-http on toolchain 40daf23eeb711dadf140b2536e67e3ff4c999196 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ByteSmithLabs/ic-http [INFO] finished tweaking git repo https://github.com/ByteSmithLabs/ic-http [INFO] tweaked toml for git repo https://github.com/ByteSmithLabs/ic-http written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ByteSmithLabs/ic-http 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" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded matchit v0.8.6 [INFO] [stderr] Downloaded ic-representation-independent-hash v3.0.3 [INFO] [stderr] Downloaded ic-cdk v0.17.2 [INFO] [stderr] Downloaded pretty v0.12.4 [INFO] [stderr] Downloaded async_fn_traits v0.1.1 [INFO] [stderr] Downloaded ic-cdk-macros v0.17.2 [INFO] [stderr] Downloaded candid v0.10.14 [INFO] [stderr] Downloaded ic-http-certification v3.0.3 [INFO] [stderr] Downloaded ic-certification v3.0.3 [INFO] [stderr] Downloaded half v1.8.3 [INFO] [stderr] Downloaded ic-cdk-executor v0.1.0 [INFO] [stderr] Downloaded ic-http-types v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 26060e5f615cf5707225cede35036b03f696c05917b4c694b9a7cac5d098f831 [INFO] running `Command { std: "docker" "start" "-a" "26060e5f615cf5707225cede35036b03f696c05917b4c694b9a7cac5d098f831", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "26060e5f615cf5707225cede35036b03f696c05917b4c694b9a7cac5d098f831", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26060e5f615cf5707225cede35036b03f696c05917b4c694b9a7cac5d098f831", kill_on_drop: false }` [INFO] [stdout] 26060e5f615cf5707225cede35036b03f696c05917b4c694b9a7cac5d098f831 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 157f535ffc0cc2c0be841dc1bab1defd11b191375032b6e6cbbe4d46e318b18a [INFO] running `Command { std: "docker" "start" "-a" "157f535ffc0cc2c0be841dc1bab1defd11b191375032b6e6cbbe4d46e318b18a", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking pretty v0.12.4 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling ic-cdk-executor v0.1.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking ic0 v0.23.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Checking async_fn_traits v0.1.1 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking matchit v0.8.6 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Checking ic-representation-independent-hash v3.0.3 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking binread v2.2.0 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking serde_bytes v0.11.17 [INFO] [stderr] Checking ic_principal v0.1.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking ic-certification v3.0.3 [INFO] [stderr] Compiling serde_tokenstream v0.2.2 [INFO] [stderr] Checking candid v0.10.14 [INFO] [stderr] Checking ic-http-types v0.1.0 [INFO] [stderr] Checking ic-http-certification v3.0.3 [INFO] [stderr] Compiling ic-cdk-macros v0.17.2 [INFO] [stderr] Checking ic-cdk v0.17.2 [INFO] [stderr] Checking ic-http v0.1.0 (/opt/rustwide/workdir/ic-http) [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> ic-http/src/tests/server.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | req: &'a HttpRequest<'a>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> ic-http/src/tests/server.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | req: &'a HttpRequest<'a>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking http_server v0.1.0 (/opt/rustwide/workdir/examples/todo_server) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> examples/todo_server/src/lib.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use ic_http::server::{self, Server}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> examples/todo_server/src/handlers/hello.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `future::Future` and `pin::Pin` [INFO] [stdout] --> examples/todo_server/src/handlers/hello.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{future::Future, pin::Pin}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> examples/todo_server/src/handlers/ping.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn handle_ping(req: &HttpRequest<'static>) -> HttpResponse<'static> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> examples/todo_server/src/handlers/test.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn handle_test(req: &HttpRequest<'static>) -> HttpResponse<'static> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status_code` [INFO] [stdout] --> examples/todo_server/src/lib.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) fn create_response(status_code: StatusCode, body: Vec) -> HttpResponse<'static> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_status_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> examples/todo_server/src/lib.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use ic_http::server::{self, Server}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> examples/todo_server/src/handlers/hello.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `future::Future` and `pin::Pin` [INFO] [stdout] --> examples/todo_server/src/handlers/hello.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{future::Future, pin::Pin}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_hello` is never used [INFO] [stdout] --> examples/todo_server/src/handlers/hello.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn handle_hello(req: &HttpRequest<'static>) -> HttpResponse<'static> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> examples/todo_server/src/handlers/ping.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn handle_ping(req: &HttpRequest<'static>) -> HttpResponse<'static> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> examples/todo_server/src/handlers/test.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn handle_test(req: &HttpRequest<'static>) -> HttpResponse<'static> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status_code` [INFO] [stdout] --> examples/todo_server/src/lib.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) fn create_response(status_code: StatusCode, body: Vec) -> HttpResponse<'static> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_status_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_hello` is never used [INFO] [stdout] --> examples/todo_server/src/handlers/hello.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn handle_hello(req: &HttpRequest<'static>) -> HttpResponse<'static> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 38.18s [INFO] running `Command { std: "docker" "inspect" "157f535ffc0cc2c0be841dc1bab1defd11b191375032b6e6cbbe4d46e318b18a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "157f535ffc0cc2c0be841dc1bab1defd11b191375032b6e6cbbe4d46e318b18a", kill_on_drop: false }` [INFO] [stdout] 157f535ffc0cc2c0be841dc1bab1defd11b191375032b6e6cbbe4d46e318b18a