[INFO] cloning repository https://github.com/SG60/cd-webhooks-forwarder [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SG60/cd-webhooks-forwarder" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSG60%2Fcd-webhooks-forwarder", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSG60%2Fcd-webhooks-forwarder'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4de724e020c0fd7ece94ae91d1500a1eefa19a71 [INFO] testing SG60/cd-webhooks-forwarder against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSG60%2Fcd-webhooks-forwarder" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/SG60/cd-webhooks-forwarder [INFO] finished tweaking git repo https://github.com/SG60/cd-webhooks-forwarder [INFO] tweaked toml for git repo https://github.com/SG60/cd-webhooks-forwarder written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SG60/cd-webhooks-forwarder on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/SG60/cd-webhooks-forwarder 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0fb113afde8938578f078082b921d82453c875f4938c2fac546f60d8a3a2f840 [INFO] running `Command { std: "docker" "start" "-a" "0fb113afde8938578f078082b921d82453c875f4938c2fac546f60d8a3a2f840", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0fb113afde8938578f078082b921d82453c875f4938c2fac546f60d8a3a2f840", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fb113afde8938578f078082b921d82453c875f4938c2fac546f60d8a3a2f840", kill_on_drop: false }` [INFO] [stdout] 0fb113afde8938578f078082b921d82453c875f4938c2fac546f60d8a3a2f840 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93d3d2a72cc3878d2c8f79e4b7f887e06870a465a0903329ebcad13338b1fc58 [INFO] running `Command { std: "docker" "start" "-a" "93d3d2a72cc3878d2c8f79e4b7f887e06870a465a0903329ebcad13338b1fc58", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling thiserror v1.0.66 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling rustls-pki-types v1.10.0 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rustls v0.23.16 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling syn v2.0.86 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling unicode-bidi v0.3.17 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling webpki-roots v0.26.6 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling opentelemetry-semantic-conventions v0.26.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling ordered-float v4.4.0 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.66 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling pin-project-internal v1.1.7 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling prost-derive v0.13.3 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.43.1 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling pin-project v1.1.7 [INFO] [stderr] Compiling opentelemetry v0.26.0 [INFO] [stderr] Compiling opentelemetry v0.24.0 [INFO] [stderr] Compiling tower-http v0.6.1 [INFO] [stderr] Compiling prost v0.13.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling opentelemetry-http v0.26.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling opentelemetry_sdk v0.24.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling tower v0.5.1 [INFO] [stderr] Compiling tokio-rustls v0.26.0 [INFO] [stderr] Compiling h2 v0.4.6 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling opentelemetry_sdk v0.26.0 [INFO] [stderr] Compiling tracing-opentelemetry v0.25.0 [INFO] [stderr] Compiling tracing-opentelemetry v0.27.0 [INFO] [stderr] Compiling opentelemetry-stdout v0.26.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling hyper-timeout v0.5.1 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling hyper-rustls v0.27.3 [INFO] [stderr] Compiling reqwest v0.12.9 [INFO] [stderr] Compiling reqwest-middleware v0.3.3 [INFO] [stderr] Compiling reqwest-tracing v0.5.8 [INFO] [stderr] Compiling tonic v0.12.3 [INFO] [stderr] Compiling opentelemetry-proto v0.26.1 [INFO] [stderr] Compiling opentelemetry-otlp v0.26.0 [INFO] [stderr] Compiling opentelemetry-tracing-utils v0.5.1 [INFO] [stderr] Compiling cd-webhooks-forwarder v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 09s [INFO] running `Command { std: "docker" "inspect" "93d3d2a72cc3878d2c8f79e4b7f887e06870a465a0903329ebcad13338b1fc58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93d3d2a72cc3878d2c8f79e4b7f887e06870a465a0903329ebcad13338b1fc58", kill_on_drop: false }` [INFO] [stdout] 93d3d2a72cc3878d2c8f79e4b7f887e06870a465a0903329ebcad13338b1fc58 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a3026aae87e53bb124c505c00876ae77ee94e247d1ca9b1c14addba2f90a7f0 [INFO] running `Command { std: "docker" "start" "-a" "4a3026aae87e53bb124c505c00876ae77ee94e247d1ca9b1c14addba2f90a7f0", kill_on_drop: false }` [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling deadpool-runtime v0.1.4 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling test-log-macros v0.2.18 [INFO] [stderr] Compiling deadpool v0.10.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling hyper-timeout v0.5.1 [INFO] [stderr] Compiling hyper-rustls v0.27.3 [INFO] [stderr] Compiling wiremock v0.6.4 [INFO] [stderr] Compiling reqwest v0.12.9 [INFO] [stderr] Compiling reqwest-middleware v0.3.3 [INFO] [stderr] Compiling tracing-opentelemetry v0.27.0 [INFO] [stderr] Compiling tracing-opentelemetry v0.25.0 [INFO] [stderr] Compiling test-log v0.2.18 [INFO] [stderr] Compiling reqwest-tracing v0.5.8 [INFO] [stderr] Compiling tonic v0.12.3 [INFO] [stderr] Compiling opentelemetry-proto v0.26.1 [INFO] [stderr] Compiling opentelemetry-otlp v0.26.0 [INFO] [stderr] Compiling opentelemetry-tracing-utils v0.5.1 [INFO] [stderr] Compiling cd-webhooks-forwarder v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 27.46s [INFO] running `Command { std: "docker" "inspect" "4a3026aae87e53bb124c505c00876ae77ee94e247d1ca9b1c14addba2f90a7f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a3026aae87e53bb124c505c00876ae77ee94e247d1ca9b1c14addba2f90a7f0", kill_on_drop: false }` [INFO] [stdout] 4a3026aae87e53bb124c505c00876ae77ee94e247d1ca9b1c14addba2f90a7f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d9fd0fb04d95f6b4337e1ba0c89795afa8e140e8c584658e5a9ce1983e5f1ab7 [INFO] running `Command { std: "docker" "start" "-a" "d9fd0fb04d95f6b4337e1ba0c89795afa8e140e8c584658e5a9ce1983e5f1ab7", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cd_webhooks_forwarder-05dc6ee3983ac00c) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] {"level":"INFO","fields":{"message":"creating router"},"target":"cd_webhooks_forwarder","span_id":"62c7b5f9cffc44f8","trace_id":"38d7caafa14bcce517b74510d2dfd284"} [INFO] [stdout] {"level":"INFO","fields":{"return":"Router { path_router: PathRouter { routes: {RouteId(1): MethodRouter(MethodRouter { get: None, head: None, delete: None, options: None, patch: None, post: Route, put: None, trace: None, connect: None, fallback: Default(Route), allow_header: Bytes(b\"POST\") })}, node: Node { paths: {RouteId(1): \"/api/webhook\"} } }, fallback_router: PathRouter { routes: {RouteId(2): Route(Route), RouteId(1): Route(Route)}, node: Node { paths: {RouteId(1): \"/\", RouteId(2): \"/*__private__axum_fallback\"} } }, default_fallback: true, catch_all_fallback: Default(Route) }"},"target":"cd_webhooks_forwarder","span_id":"62c7b5f9cffc44f8","trace_id":"38d7caafa14bcce517b74510d2dfd284"} [INFO] [stdout] {"level":"INFO","fields":{"message":"hmac verification completed successfully"},"target":"cd_webhooks_forwarder","span_id":"e65ea3d3d42b0f48","trace_id":"8e0e405210496b99363492dbad420508"} [INFO] [stdout] {"level":"INFO","fields":{"message":"forwarding"},"target":"cd_webhooks_forwarder","span_id":"1cd288b966ff0013","trace_id":"8e0e405210496b99363492dbad420508"} [INFO] [stdout] {"level":"INFO","fields":{"message":"Json(\n ResponseJsonPayload {\n message: \"webhook forwarded\",\n responses: [\n IndividualWebhookResponse {\n source: \"http://127.0.0.1:41063/webhook\",\n status: 200,\n body: Object {\n \"message\": String(\"stuff stuff stuff\"),\n \"webhook_data_1\": String(\"webhook info info info\"),\n },\n },\n IndividualWebhookResponse {\n source: \"http://127.0.0.1:41063/webhook-with-redirect\",\n status: 200,\n body: Object {\n \"message\": String(\"this is the result of the redirect!\"),\n \"webhook_data_1\": String(\"webhook info info info\"),\n },\n },\n ],\n },\n)"},"target":"cd_webhooks_forwarder","span_id":"1cd288b966ff0013","trace_id":"8e0e405210496b99363492dbad420508"} [INFO] [stdout] {"level":"INFO","fields":{"return":"Json(ResponseJsonPayload { message: \"webhook forwarded\", responses: [IndividualWebhookResponse { source: \"http://127.0.0.1:41063/webhook\", status: 200, body: Object {\"message\": String(\"stuff stuff stuff\"), \"webhook_data_1\": String(\"webhook info info info\")} }, IndividualWebhookResponse { source: \"http://127.0.0.1:41063/webhook-with-redirect\", status: 200, body: Object {\"message\": String(\"this is the result of the redirect!\"), \"webhook_data_1\": String(\"webhook info info info\")} }] })"},"target":"cd_webhooks_forwarder","span_id":"1cd288b966ff0013","trace_id":"8e0e405210496b99363492dbad420508"} [INFO] [stdout] test tests::pull_request_synchronised ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d9fd0fb04d95f6b4337e1ba0c89795afa8e140e8c584658e5a9ce1983e5f1ab7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9fd0fb04d95f6b4337e1ba0c89795afa8e140e8c584658e5a9ce1983e5f1ab7", kill_on_drop: false }` [INFO] [stdout] d9fd0fb04d95f6b4337e1ba0c89795afa8e140e8c584658e5a9ce1983e5f1ab7