[INFO] cloning repository https://github.com/genc-murat/road7 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/genc-murat/road7" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgenc-murat%2Froad7", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgenc-murat%2Froad7'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2066961414f73199528577a99b4a71ff93df1384 [INFO] checking genc-murat/road7 against master#22572d0994593197593e2a1b7b18d720a9a349a7 for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgenc-murat%2Froad7" "/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/genc-murat/road7 on toolchain 22572d0994593197593e2a1b7b18d720a9a349a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/genc-murat/road7 [INFO] finished tweaking git repo https://github.com/genc-murat/road7 [INFO] tweaked toml for git repo https://github.com/genc-murat/road7 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/genc-murat/road7 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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lru v0.7.8 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b7d74da7eb95d28378cc30a65051e304714595d2bde1348ab5b0e5911a1fa7a [INFO] running `Command { std: "docker" "start" "-a" "4b7d74da7eb95d28378cc30a65051e304714595d2bde1348ab5b0e5911a1fa7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b7d74da7eb95d28378cc30a65051e304714595d2bde1348ab5b0e5911a1fa7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b7d74da7eb95d28378cc30a65051e304714595d2bde1348ab5b0e5911a1fa7a", kill_on_drop: false }` [INFO] [stdout] 4b7d74da7eb95d28378cc30a65051e304714595d2bde1348ab5b0e5911a1fa7a [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc120d0ebef80cb0715ea8959c3c11e2eb74236a5ae898f3b9ee1e40f8029e26 [INFO] running `Command { std: "docker" "start" "-a" "dc120d0ebef80cb0715ea8959c3c11e2eb74236a5ae898f3b9ee1e40f8029e26", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling cc v1.0.97 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling serde v1.0.201 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking serde v0.8.23 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Checking tendril v0.4.3 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Checking crossbeam-channel v0.5.12 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking rust-ini v0.13.0 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking pem v1.1.1 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.61 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking num-bigint v0.4.5 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking lru v0.7.8 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking serde-hjson v0.9.1 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking webpki v0.22.4 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Compiling serde_derive v1.0.201 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.60 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking simple_asn1 v0.6.2 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking tracing-appender v0.2.3 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking string_cache v0.8.7 [INFO] [stderr] Checking serde_json v1.0.117 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking jsonwebtoken v8.3.0 [INFO] [stderr] Checking config v0.11.0 [INFO] [stderr] Checking ammonia v3.3.0 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking road7 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:357:13 [INFO] [stdout] | [INFO] [stdout] 353 | Err(RateLimitError::Exhausted) => { [INFO] [stdout] | ------------------------------ matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 357 | Err(e) => { [INFO] [stdout] | ^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cache_config` [INFO] [stdout] --> src/main.rs:397:17 [INFO] [stdout] | [INFO] [stdout] 397 | if let Some(cache_config) = &target_cache_config { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cache_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:357:13 [INFO] [stdout] | [INFO] [stdout] 353 | Err(RateLimitError::Exhausted) => { [INFO] [stdout] | ------------------------------ matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 357 | Err(e) => { [INFO] [stdout] | ^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cache_config` [INFO] [stdout] --> src/main.rs:397:17 [INFO] [stdout] | [INFO] [stdout] 397 | if let Some(cache_config) = &target_cache_config { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cache_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/metrics.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Metrics { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | pub status_code_counts: IntCounterVec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | pub retry_counts: IntCounter, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 21 | pub circuit_breaker_states: IntGaugeVec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | pub rate_limiter_hits: IntCounter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | pub cache_hits: IntCounter, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 24 | pub cache_misses: IntCounter, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 25 | pub transform_counts: IntCounterVec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | pub authentication_attempts: IntCounterVec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | pub timeout_counts: IntCounter, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 28 | pub connection_errors: IntCounter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Metrics` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target1` [INFO] [stdout] --> src/load_balancer.rs:277:13 [INFO] [stdout] | [INFO] [stdout] 277 | let target1 = lb.get_target("/api/resource", None).await.unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target2` [INFO] [stdout] --> src/load_balancer.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 278 | let target2 = lb.get_target("/api/resource", None).await.unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.14s [INFO] running `Command { std: "docker" "inspect" "dc120d0ebef80cb0715ea8959c3c11e2eb74236a5ae898f3b9ee1e40f8029e26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc120d0ebef80cb0715ea8959c3c11e2eb74236a5ae898f3b9ee1e40f8029e26", kill_on_drop: false }` [INFO] [stdout] dc120d0ebef80cb0715ea8959c3c11e2eb74236a5ae898f3b9ee1e40f8029e26