[INFO] fetching crate rbytes_consulta_cep 0.1.0... [INFO] building rbytes_consulta_cep-0.1.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate rbytes_consulta_cep 0.1.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate rbytes_consulta_cep 0.1.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate rbytes_consulta_cep 0.1.0 [INFO] tweaked toml for crates.io crate rbytes_consulta_cep 0.1.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rbytes_consulta_cep 0.1.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rbytes_consulta_cep 0.1.0 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hermit-abi v0.5.0 [INFO] [stderr] Downloaded mockito v0.32.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ccd6723f7692c1cb3183edd42bac2de0376fa02509d898d84f6a7c31469409e0 [INFO] running `Command { std: "docker" "start" "-a" "ccd6723f7692c1cb3183edd42bac2de0376fa02509d898d84f6a7c31469409e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ccd6723f7692c1cb3183edd42bac2de0376fa02509d898d84f6a7c31469409e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccd6723f7692c1cb3183edd42bac2de0376fa02509d898d84f6a7c31469409e0", kill_on_drop: false }` [INFO] [stdout] ccd6723f7692c1cb3183edd42bac2de0376fa02509d898d84f6a7c31469409e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2989465dae19fa1d425a5bbed807a8db07dc5c048e8c8f142fd7a343cedcfcbc [INFO] running `Command { std: "docker" "start" "-a" "2989465dae19fa1d425a5bbed807a8db07dc5c048e8c8f142fd7a343cedcfcbc", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling openssl-sys v0.9.107 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling rbytes_consulta_cep v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `reqwest::StatusCode` [INFO] [stdout] --> src/error.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use reqwest::StatusCode; [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: `serde_json::Value` [INFO] [stdout] --> src/providers/viacep.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `normalizar_cep` [INFO] [stdout] --> src/providers/apicep.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | validacao::{normalizar_cep, formatar_cep} // Importe ambas as funções [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `service_name` is never read [INFO] [stdout] --> src/providers/brasilapi.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct BrasilApiResponse { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | service_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BrasilApiResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `status` and `statusText` are never read [INFO] [stdout] --> src/providers/apicep.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 12 | struct ApiCepResponse { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | status: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | ok: bool, [INFO] [stdout] 20 | statusText: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiCepResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `statusText` should have a snake case name [INFO] [stdout] --> src/providers/apicep.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | statusText: String, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `status_text` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 38.69s [INFO] running `Command { std: "docker" "inspect" "2989465dae19fa1d425a5bbed807a8db07dc5c048e8c8f142fd7a343cedcfcbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2989465dae19fa1d425a5bbed807a8db07dc5c048e8c8f142fd7a343cedcfcbc", kill_on_drop: false }` [INFO] [stdout] 2989465dae19fa1d425a5bbed807a8db07dc5c048e8c8f142fd7a343cedcfcbc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 516c343ef658e12911691c878b21559a38f7d7c4889cec4e8c94861c16656a33 [INFO] running `Command { std: "docker" "start" "-a" "516c343ef658e12911691c878b21559a38f7d7c4889cec4e8c94861c16656a33", kill_on_drop: false }` [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling mockito v0.32.5 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling rbytes_consulta_cep v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `reqwest::StatusCode` [INFO] [stdout] --> src/error.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use reqwest::StatusCode; [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: `serde_json::Value` [INFO] [stdout] --> src/providers/viacep.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `normalizar_cep` [INFO] [stdout] --> src/providers/apicep.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | validacao::{normalizar_cep, formatar_cep} // Importe ambas as funções [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `service_name` is never read [INFO] [stdout] --> src/providers/brasilapi.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct BrasilApiResponse { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | service_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BrasilApiResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `status` and `statusText` are never read [INFO] [stdout] --> src/providers/apicep.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 12 | struct ApiCepResponse { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | status: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | ok: bool, [INFO] [stdout] 20 | statusText: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiCepResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `statusText` should have a snake case name [INFO] [stdout] --> src/providers/apicep.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | statusText: String, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `status_text` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ProviderType` and `consultar` [INFO] [stdout] --> tests/lib.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use rbytes_consulta_cep::{consultar, ProviderType}; [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: `ProviderType` [INFO] [stdout] --> examples/teste.rs:2:51 [INFO] [stdout] | [INFO] [stdout] 2 | use rbytes_consulta_cep::{consultar_com_fallback, ProviderType}; [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: `models::Endereco` [INFO] [stdout] --> tests/integration.rs:29:53 [INFO] [stdout] | [INFO] [stdout] 29 | use rbytes_consulta_cep::{consultar, ProviderType, models::Endereco}; [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: `reqwest::StatusCode` [INFO] [stdout] --> src/error.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use reqwest::StatusCode; [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: `serde_json::Value` [INFO] [stdout] --> src/providers/viacep.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `normalizar_cep` [INFO] [stdout] --> src/providers/apicep.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | validacao::{normalizar_cep, formatar_cep} // Importe ambas as funções [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `service_name` is never read [INFO] [stdout] --> src/providers/brasilapi.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct BrasilApiResponse { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | service_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BrasilApiResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `status` and `statusText` are never read [INFO] [stdout] --> src/providers/apicep.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 12 | struct ApiCepResponse { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | status: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | ok: bool, [INFO] [stdout] 20 | statusText: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiCepResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `statusText` should have a snake case name [INFO] [stdout] --> src/providers/apicep.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | statusText: String, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `status_text` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 21.95s [INFO] running `Command { std: "docker" "inspect" "516c343ef658e12911691c878b21559a38f7d7c4889cec4e8c94861c16656a33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "516c343ef658e12911691c878b21559a38f7d7c4889cec4e8c94861c16656a33", kill_on_drop: false }` [INFO] [stdout] 516c343ef658e12911691c878b21559a38f7d7c4889cec4e8c94861c16656a33