[INFO] cloning repository https://github.com/msfmydream/rust-wasm-degrade [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/msfmydream/rust-wasm-degrade" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmsfmydream%2Frust-wasm-degrade", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmsfmydream%2Frust-wasm-degrade'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d0216da53eeb9972b0978c27a4879d7a01b5c678 [INFO] building msfmydream/rust-wasm-degrade against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmsfmydream%2Frust-wasm-degrade" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/msfmydream/rust-wasm-degrade [INFO] finished tweaking git repo https://github.com/msfmydream/rust-wasm-degrade [INFO] tweaked toml for git repo https://github.com/msfmydream/rust-wasm-degrade written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/msfmydream/rust-wasm-degrade on toolchain f5209000832c9d3bc29c91f4daef4ca9f28dc797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/msfmydream/rust-wasm-degrade 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" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file `/workspace/builds/worker-2-tc1/source/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `rust_wasm_degrade` [INFO] [stderr] * `bin` target `rust-wasm-degrade` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proxy-wasm v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 031be2a31096a25c7ca433e52e325642843751d201b304cff414e8de7360ca51 [INFO] running `Command { std: "docker" "start" "-a" "031be2a31096a25c7ca433e52e325642843751d201b304cff414e8de7360ca51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "031be2a31096a25c7ca433e52e325642843751d201b304cff414e8de7360ca51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "031be2a31096a25c7ca433e52e325642843751d201b304cff414e8de7360ca51", kill_on_drop: false }` [INFO] [stdout] 031be2a31096a25c7ca433e52e325642843751d201b304cff414e8de7360ca51 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 7d90553de0484c6b79c6ef8a7cc69d7fe6d4d932eafc70e4ae2652654050cf6d [INFO] running `Command { std: "docker" "start" "-a" "7d90553de0484c6b79c6ef8a7cc69d7fe6d4d932eafc70e4ae2652654050cf6d", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `rust_wasm_degrade` [INFO] [stderr] * `bin` target `rust-wasm-degrade` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling proxy-wasm v0.2.2 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling rust-wasm-degrade v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `update_breaker_config` is never used [INFO] [stdout] --> src/main.rs:213:8 [INFO] [stdout] | [INFO] [stdout] 211 | impl HttpFilterContext { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 212 | // 更新熔断器配置 [INFO] [stdout] 213 | fn update_breaker_config(&mut self, new_config: CircuitBreakerConfig) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check_state` is never used [INFO] [stdout] --> src/main.rs:274:8 [INFO] [stdout] | [INFO] [stdout] 219 | impl CircuitBreaker { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 274 | fn check_state(&mut self) -> &BreakerState { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_breaker_config` is never used [INFO] [stdout] --> src/main.rs:213:8 [INFO] [stdout] | [INFO] [stdout] 211 | impl HttpFilterContext { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 212 | // 更新熔断器配置 [INFO] [stdout] 213 | fn update_breaker_config(&mut self, new_config: CircuitBreakerConfig) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check_state` is never used [INFO] [stdout] --> src/main.rs:274:8 [INFO] [stdout] | [INFO] [stdout] 219 | impl CircuitBreaker { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 274 | fn check_state(&mut self) -> &BreakerState { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.95s [INFO] running `Command { std: "docker" "inspect" "7d90553de0484c6b79c6ef8a7cc69d7fe6d4d932eafc70e4ae2652654050cf6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d90553de0484c6b79c6ef8a7cc69d7fe6d4d932eafc70e4ae2652654050cf6d", kill_on_drop: false }` [INFO] [stdout] 7d90553de0484c6b79c6ef8a7cc69d7fe6d4d932eafc70e4ae2652654050cf6d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 05ec0a99fd0dea8f3006c3e0a8206981f6c20c114021b1b88ac9ec2573882cca [INFO] running `Command { std: "docker" "start" "-a" "05ec0a99fd0dea8f3006c3e0a8206981f6c20c114021b1b88ac9ec2573882cca", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `rust_wasm_degrade` [INFO] [stderr] * `bin` target `rust-wasm-degrade` [INFO] [stderr] Compiling anyhow v1.0.96 [INFO] [stderr] Compiling rust-wasm-degrade v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `update_breaker_config` is never used [INFO] [stdout] --> src/main.rs:213:8 [INFO] [stdout] | [INFO] [stdout] 211 | impl HttpFilterContext { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 212 | // 更新熔断器配置 [INFO] [stdout] 213 | fn update_breaker_config(&mut self, new_config: CircuitBreakerConfig) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check_state` is never used [INFO] [stdout] --> src/main.rs:274:8 [INFO] [stdout] | [INFO] [stdout] 219 | impl CircuitBreaker { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 274 | fn check_state(&mut self) -> &BreakerState { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_breaker_config` is never used [INFO] [stdout] --> src/main.rs:213:8 [INFO] [stdout] | [INFO] [stdout] 211 | impl HttpFilterContext { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 212 | // 更新熔断器配置 [INFO] [stdout] 213 | fn update_breaker_config(&mut self, new_config: CircuitBreakerConfig) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check_state` is never used [INFO] [stdout] --> src/main.rs:274:8 [INFO] [stdout] | [INFO] [stdout] 219 | impl CircuitBreaker { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 274 | fn check_state(&mut self) -> &BreakerState { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.78s [INFO] running `Command { std: "docker" "inspect" "05ec0a99fd0dea8f3006c3e0a8206981f6c20c114021b1b88ac9ec2573882cca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05ec0a99fd0dea8f3006c3e0a8206981f6c20c114021b1b88ac9ec2573882cca", kill_on_drop: false }` [INFO] [stdout] 05ec0a99fd0dea8f3006c3e0a8206981f6c20c114021b1b88ac9ec2573882cca