[INFO] cloning repository https://github.com/Trust1Team/apisix-admin-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Trust1Team/apisix-admin-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTrust1Team%2Fapisix-admin-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTrust1Team%2Fapisix-admin-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 65e4d716e359eeb0b54852fb1f938f994e49278b [INFO] building Trust1Team/apisix-admin-rs against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTrust1Team%2Fapisix-admin-rs" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/Trust1Team/apisix-admin-rs [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/Trust1Team/apisix-admin-rs [INFO] tweaked toml for git repo https://github.com/Trust1Team/apisix-admin-rs written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Trust1Team/apisix-admin-rs on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Trust1Team/apisix-admin-rs 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `edition` is set on library `apisix_admin_client` which is deprecated [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tracing-test v0.2.4 [INFO] [stderr] Downloaded windows-targets v0.52.4 [INFO] [stderr] Downloaded tracing-test-macro v0.2.4 [INFO] [stderr] Downloaded validator_derive v0.18.2 [INFO] [stderr] Downloaded validator v0.18.1 [INFO] [stderr] Downloaded syn v2.0.53 [INFO] [stderr] Downloaded sdd v0.2.0 [INFO] [stderr] Downloaded serial_test v3.1.0 [INFO] [stderr] Downloaded serial_test_derive v3.1.0 [INFO] [stderr] Downloaded rustls-pki-types v1.5.0 [INFO] [stderr] Downloaded anyhow v1.0.81 [INFO] [stderr] Downloaded rand_chacha v0.9.0-alpha.2 [INFO] [stderr] Downloaded rand_core v0.9.0-alpha.2 [INFO] [stderr] Downloaded serde_with_macros v3.8.0 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.52.4 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.52.4 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.52.4 [INFO] [stderr] Downloaded cc v1.0.90 [INFO] [stderr] Downloaded windows_i686_msvc v0.52.4 [INFO] [stderr] Downloaded base64 v0.22.0 [INFO] [stderr] Downloaded serde_with v3.8.0 [INFO] [stderr] Downloaded rand v0.9.0-alpha.2 [INFO] [stderr] Downloaded rustls-webpki v0.102.2 [INFO] [stderr] Downloaded scc v2.1.0 [INFO] [stderr] Downloaded backtrace v0.3.70 [INFO] [stderr] Downloaded windows_i686_gnu v0.52.4 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.52.4 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.52.4 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a9cb7ac14283b7848ce950fcc02bdb4d687bb0f356f80293b6cdc999f0e0d25 [INFO] running `Command { std: "docker" "start" "-a" "9a9cb7ac14283b7848ce950fcc02bdb4d687bb0f356f80293b6cdc999f0e0d25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a9cb7ac14283b7848ce950fcc02bdb4d687bb0f356f80293b6cdc999f0e0d25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a9cb7ac14283b7848ce950fcc02bdb4d687bb0f356f80293b6cdc999f0e0d25", kill_on_drop: false }` [INFO] [stdout] 9a9cb7ac14283b7848ce950fcc02bdb4d687bb0f356f80293b6cdc999f0e0d25 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7424daa8f57b55ae56cd9cc0e701e20dc3a1e45d8fec2302f284dab3da0972d [INFO] running `Command { std: "docker" "start" "-a" "c7424daa8f57b55ae56cd9cc0e701e20dc3a1e45d8fec2302f284dab3da0972d", kill_on_drop: false }` [INFO] [stderr] warning: `edition` is set on library `apisix_admin_client` which is deprecated [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling rustls-pki-types v1.5.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling base64 v0.22.0 [INFO] [stderr] Compiling webpki-roots v0.26.1 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling rustls-webpki v0.102.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_core v0.9.0-alpha.2 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling validator_derive v0.18.2 [INFO] [stderr] Compiling serde_with_macros v3.8.0 [INFO] [stderr] Compiling rand_chacha v0.9.0-alpha.2 [INFO] [stderr] Compiling rand v0.9.0-alpha.2 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.4.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_with v3.8.0 [INFO] [stderr] Compiling validator v0.18.1 [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stderr] Compiling hyper-util v0.1.3 [INFO] [stderr] Compiling hyper-rustls v0.26.0 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.4 [INFO] [stderr] Compiling apisix-admin-rs v0.0.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 3m 04s [INFO] running `Command { std: "docker" "inspect" "c7424daa8f57b55ae56cd9cc0e701e20dc3a1e45d8fec2302f284dab3da0972d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7424daa8f57b55ae56cd9cc0e701e20dc3a1e45d8fec2302f284dab3da0972d", kill_on_drop: false }` [INFO] [stdout] c7424daa8f57b55ae56cd9cc0e701e20dc3a1e45d8fec2302f284dab3da0972d [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 625917d1753fdfc0e40821a954db7b3a6b8a760d5a9f4cca048f70ca43ffa69b [INFO] running `Command { std: "docker" "start" "-a" "625917d1753fdfc0e40821a954db7b3a6b8a760d5a9f4cca048f70ca43ffa69b", kill_on_drop: false }` [INFO] [stderr] warning: `edition` is set on library `apisix_admin_client` which is deprecated [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling sdd v0.2.0 [INFO] [stderr] Compiling serial_test_derive v3.1.0 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling scc v2.1.0 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling validator_derive v0.18.2 [INFO] [stderr] Compiling tracing-test-macro v0.2.4 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling h2 v0.4.4 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling serial_test v3.1.0 [INFO] [stderr] Compiling validator v0.18.1 [INFO] [stderr] Compiling tracing-test v0.2.4 [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stderr] Compiling hyper-util v0.1.3 [INFO] [stderr] Compiling hyper-rustls v0.26.0 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.4 [INFO] [stderr] Compiling apisix-admin-rs v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `to_string_pretty` and `to_string` [INFO] [stdout] --> src/models/plugins/key_auth.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | use serde_json::{to_string, to_string_pretty}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error` and `info` [INFO] [stdout] --> src/models/plugins/key_auth.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 77 | use tracing::{error, info}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::admin_upstream_requests::UpstreamType` [INFO] [stdout] --> src/models/plugins/key_auth.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | use crate::models::admin_upstream_requests::UpstreamType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::common::TypedItem` [INFO] [stdout] --> src/models/plugins/key_auth.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | use crate::models::common::TypedItem; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `to_string_pretty` and `to_string` [INFO] [stdout] --> src/models/plugins/proxy_rewrite.rs:160:22 [INFO] [stdout] | [INFO] [stdout] 160 | use serde_json::{to_string, to_string_pretty}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error` and `info` [INFO] [stdout] --> src/models/plugins/proxy_rewrite.rs:162:19 [INFO] [stdout] | [INFO] [stdout] 162 | use tracing::{error, info}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::admin_upstream_requests::UpstreamType` [INFO] [stdout] --> src/models/plugins/proxy_rewrite.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | use crate::models::admin_upstream_requests::UpstreamType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::common::TypedItem` [INFO] [stdout] --> src/models/plugins/proxy_rewrite.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | use crate::models::common::TypedItem; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `to_string_pretty` and `to_string` [INFO] [stdout] --> src/models/plugins/limit_count.rs:273:22 [INFO] [stdout] | [INFO] [stdout] 273 | use serde_json::{to_string, to_string_pretty}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error` and `info` [INFO] [stdout] --> src/models/plugins/limit_count.rs:275:19 [INFO] [stdout] | [INFO] [stdout] 275 | use tracing::{error, info}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::admin_upstream_requests::UpstreamType` [INFO] [stdout] --> src/models/plugins/limit_count.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | use crate::models::admin_upstream_requests::UpstreamType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::common::TypedItem` [INFO] [stdout] --> src/models/plugins/limit_count.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 278 | use crate::models::common::TypedItem; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `to_string_pretty` and `to_string` [INFO] [stdout] --> src/models/plugins/consumer_restriction.rs:151:22 [INFO] [stdout] | [INFO] [stdout] 151 | use serde_json::{to_string, to_string_pretty}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error` and `info` [INFO] [stdout] --> src/models/plugins/consumer_restriction.rs:153:19 [INFO] [stdout] | [INFO] [stdout] 153 | use tracing::{error, info}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::admin_upstream_requests::UpstreamType` [INFO] [stdout] --> src/models/plugins/consumer_restriction.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | use crate::models::admin_upstream_requests::UpstreamType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::common::TypedItem` [INFO] [stdout] --> src/models/plugins/consumer_restriction.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | use crate::models::common::TypedItem; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `to_string_pretty` and `to_string` [INFO] [stdout] --> src/models/admin_upstream_responses.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | use serde_json::{to_string, to_string_pretty}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error` and `info` [INFO] [stdout] --> src/models/admin_upstream_responses.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | use tracing::{error, info}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::admin_upstream_requests::UpstreamType` [INFO] [stdout] --> src/models/admin_upstream_responses.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::models::admin_upstream_requests::UpstreamType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_string_pretty` [INFO] [stdout] --> src/models/admin_upstream_requests.rs:248:33 [INFO] [stdout] | [INFO] [stdout] 248 | use serde_json::{to_string, to_string_pretty}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/models/admin_upstream_requests.rs:250:19 [INFO] [stdout] | [INFO] [stdout] 250 | use tracing::{error, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `to_string_pretty` and `to_string` [INFO] [stdout] --> src/models/admin_service_responses.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | use serde_json::{to_string, to_string_pretty}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error` and `info` [INFO] [stdout] --> src/models/admin_service_responses.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | use tracing::{error, info}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `to_string_pretty` and `to_string` [INFO] [stdout] --> src/models/admin_route_responses.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | use serde_json::{to_string, to_string_pretty}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error` and `info` [INFO] [stdout] --> src/models/admin_route_responses.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | use tracing::{error, info}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `to_string_pretty` and `to_string` [INFO] [stdout] --> src/models/consumer_group_responses.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | use serde_json::{to_string, to_string_pretty}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error` and `info` [INFO] [stdout] --> src/models/consumer_group_responses.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | use tracing::{error, info}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `to_string_pretty` and `to_string` [INFO] [stdout] --> src/models/consumer_responses.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | use serde_json::{to_string, to_string_pretty}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error` and `info` [INFO] [stdout] --> src/models/consumer_responses.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | use tracing::{error, info}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/models/mod.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | use tracing::{error, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Index` [INFO] [stdout] --> examples/apisix_plugins.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Index; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> examples/apisix_plugins.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use tracing::{error, info, warn, instrument, debug}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Plugin` and `ProxyRewriteMethod` [INFO] [stdout] --> examples/apisix_plugins.rs:5:141 [INFO] [stdout] | [INFO] [stdout] 5 | ...tBuilder, LimitCountPolicy, Plugin, Plugins, ProxyRewriteBuilder, ProxyRewriteHeaders, ProxyRewriteMethod}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plugins` [INFO] [stdout] --> examples/apisix_plugins.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let plugins: Plugins = Plugins { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plugins` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Index` [INFO] [stdout] --> examples/apisix_admin.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Index; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 2m 51s [INFO] running `Command { std: "docker" "inspect" "625917d1753fdfc0e40821a954db7b3a6b8a760d5a9f4cca048f70ca43ffa69b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "625917d1753fdfc0e40821a954db7b3a6b8a760d5a9f4cca048f70ca43ffa69b", kill_on_drop: false }` [INFO] [stdout] 625917d1753fdfc0e40821a954db7b3a6b8a760d5a9f4cca048f70ca43ffa69b