[INFO] cloning repository https://github.com/jen-the-dev/focus-guard [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jen-the-dev/focus-guard" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjen-the-dev%2Ffocus-guard"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjen-the-dev%2Ffocus-guard'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] e4db2c4af106ec5931c7c262d4bc635581fb0aa0 [INFO] testing jen-the-dev/focus-guard against 1.100.0-beta.13+cargoflags=--release for beta-release-1.101-3 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjen-the-dev%2Ffocus-guard" "/workspace/builds/worker-1-tc1/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-1-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/jen-the-dev/focus-guard [INFO] finished tweaking git repo https://github.com/jen-the-dev/focus-guard [INFO] tweaked toml for git repo https://github.com/jen-the-dev/focus-guard written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jen-the-dev/focus-guard on toolchain 1.100.0-beta.13 [INFO] running `"cargo" "+1.100.0-beta.13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"` [INFO] crate git repo https://github.com/jen-the-dev/focus-guard already has a lockfile, it will not be regenerated [INFO] running `"cargo" "+1.100.0-beta.13" "fetch" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/envoyproxy/envoy` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mockall_derive v0.13.1 [INFO] [stderr] Downloaded mockall v0.13.1 [INFO] [stderr] Downloaded fragile v2.1.0 [INFO] [stderr] Downloaded downcast v0.11.0 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"` [INFO] [stdout] 95c0b61746e9e39a364623879eefd47c0fe56d0f2af0eab74713b6826aefd3a3 [INFO] running `"docker" "start" "95c0b61746e9e39a364623879eefd47c0fe56d0f2af0eab74713b6826aefd3a3"` [INFO] running `"docker" "inspect" "95c0b61746e9e39a364623879eefd47c0fe56d0f2af0eab74713b6826aefd3a3"` [INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "95c0b61746e9e39a364623879eefd47c0fe56d0f2af0eab74713b6826aefd3a3" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "metadata" "--no-deps" "--format-version=1"` [INFO] running `"docker" "inspect" "95c0b61746e9e39a364623879eefd47c0fe56d0f2af0eab74713b6826aefd3a3"` [INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "95c0b61746e9e39a364623879eefd47c0fe56d0f2af0eab74713b6826aefd3a3" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "build" "--frozen" "--message-format=json" "--release"` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Compiling memchr v2.8.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling bindgen v0.70.1 [INFO] [stderr] Compiling either v1.16.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling predicates-core v1.0.10 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling mockall_derive v0.13.1 [INFO] [stderr] Compiling bitflags v2.13.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling log v0.4.32 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling anstyle v1.0.14 [INFO] [stderr] Compiling fragile v2.1.0 [INFO] [stderr] Compiling predicates-tree v1.0.13 [INFO] [stderr] Compiling predicates v3.1.4 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling downcast v0.11.0 [INFO] [stderr] Compiling serde_json v1.0.150 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling mockall v0.13.1 [INFO] [stderr] Compiling envoy-proxy-dynamic-modules-rust-sdk v0.1.0 (https://github.com/envoyproxy/envoy?rev=f1dd21b16c244bda00edfb5ffce577e12d0d2ec2#f1dd21b1) [INFO] [stderr] Compiling focus-guard v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/lib.rs:762:1 [INFO] [stdout] | [INFO] [stdout] 762 | / declare_init_functions!( [INFO] [stdout] 763 | | init, [INFO] [stdout] 764 | | new_http_filter_config_fn, [INFO] [stdout] 765 | | new_http_filter_per_route_config_fn [INFO] [stdout] 766 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] = note: this warning originates in the macro `envoy_proxy_dynamic_modules_rust_sdk::set_factory_once` which comes from the expansion of the macro `declare_init_functions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/lib.rs:762:1 [INFO] [stdout] | [INFO] [stdout] 762 | / declare_init_functions!( [INFO] [stdout] 763 | | init, [INFO] [stdout] 764 | | new_http_filter_config_fn, [INFO] [stdout] 765 | | new_http_filter_per_route_config_fn [INFO] [stdout] 766 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: this warning originates in the macro `envoy_proxy_dynamic_modules_rust_sdk::set_factory_once` which comes from the expansion of the macro `declare_init_functions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 2m 21s [INFO] running `"docker" "inspect" "95c0b61746e9e39a364623879eefd47c0fe56d0f2af0eab74713b6826aefd3a3"` [INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "95c0b61746e9e39a364623879eefd47c0fe56d0f2af0eab74713b6826aefd3a3" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "test" "--frozen" "--no-run" "--message-format=json" "--release"` [INFO] [stderr] Compiling focus-guard v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/lib.rs:762:1 [INFO] [stdout] | [INFO] [stdout] 762 | / declare_init_functions!( [INFO] [stdout] 763 | | init, [INFO] [stdout] 764 | | new_http_filter_config_fn, [INFO] [stdout] 765 | | new_http_filter_per_route_config_fn [INFO] [stdout] 766 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] = note: this warning originates in the macro `envoy_proxy_dynamic_modules_rust_sdk::set_factory_once` which comes from the expansion of the macro `declare_init_functions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/lib.rs:762:1 [INFO] [stdout] | [INFO] [stdout] 762 | / declare_init_functions!( [INFO] [stdout] 763 | | init, [INFO] [stdout] 764 | | new_http_filter_config_fn, [INFO] [stdout] 765 | | new_http_filter_per_route_config_fn [INFO] [stdout] 766 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: this warning originates in the macro `envoy_proxy_dynamic_modules_rust_sdk::set_factory_once` which comes from the expansion of the macro `declare_init_functions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 6.23s [INFO] running `"docker" "inspect" "95c0b61746e9e39a364623879eefd47c0fe56d0f2af0eab74713b6826aefd3a3"` [INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "95c0b61746e9e39a364623879eefd47c0fe56d0f2af0eab74713b6826aefd3a3" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "test" "--frozen" "--release"` [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> src/lib.rs:762:1 [INFO] [stderr] | [INFO] [stderr] 762 | / declare_init_functions!( [INFO] [stderr] 763 | | init, [INFO] [stderr] 764 | | new_http_filter_config_fn, [INFO] [stderr] 765 | | new_http_filter_per_route_config_fn [INFO] [stderr] 766 | | ); [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stderr] = note: this warning originates in the macro `envoy_proxy_dynamic_modules_rust_sdk::set_factory_once` which comes from the expansion of the macro `declare_init_functions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> src/lib.rs:762:1 [INFO] [stderr] | [INFO] [stderr] 762 | / declare_init_functions!( [INFO] [stderr] 763 | | init, [INFO] [stderr] 764 | | new_http_filter_config_fn, [INFO] [stderr] 765 | | new_http_filter_per_route_config_fn [INFO] [stderr] 766 | | ); [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] = note: this warning originates in the macro `envoy_proxy_dynamic_modules_rust_sdk::set_factory_once` which comes from the expansion of the macro `declare_init_functions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `focus-guard` (lib test) generated 2 warnings [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.29s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/release/build/focus-guard/0e3a716ed09a6d6b/out/focus_guard-0e3a716ed09a6d6b) [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test tests::test_new_filter_config_invalid_values_fallback ... ok [INFO] [stdout] test tests::test_new_per_route_filter_config_empty ... ok [INFO] [stdout] test tests::test_new_per_route_filter_config_invalid_json ... ok [INFO] [stdout] test tests::test_on_http_callout_done_fail_open_continues_request ... ok [INFO] [stdout] test tests::test_on_http_callout_done_throttles_on_tars_decision ... ok [INFO] [stdout] test tests::test_on_request_headers_continue_when_below_threshold ... ok [INFO] [stdout] test tests::test_on_request_headers_tars_enabled_starts_callout ... ok [INFO] [stdout] test tests::test_new_filter_config_custom_values ... ok [INFO] [stdout] test tests::test_new_filter_config_defaults ... ok [INFO] [stdout] test tests::test_new_filter_config_invalid_json ... ok [INFO] [stdout] test tests::test_on_request_headers_throttle_at_threshold ... ok [INFO] [stdout] test tests::test_on_response_headers_sets_focus_headers ... ok [INFO] [stdout] test tests::test_retry_header_parsing_boundaries ... ok [INFO] [stdout] test tests::test_parse_tars_decision_from_openai_json_content ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `"docker" "inspect" "95c0b61746e9e39a364623879eefd47c0fe56d0f2af0eab74713b6826aefd3a3"` [INFO] running `"docker" "rm" "-f" "95c0b61746e9e39a364623879eefd47c0fe56d0f2af0eab74713b6826aefd3a3"` [INFO] [stdout] 95c0b61746e9e39a364623879eefd47c0fe56d0f2af0eab74713b6826aefd3a3