[INFO] cloning repository https://github.com/findelabs/rust-api-template [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/findelabs/rust-api-template" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffindelabs%2Frust-api-template", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffindelabs%2Frust-api-template'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1b8ae3e19c8d042cc2ab2860604953e9ae61608b [INFO] building findelabs/rust-api-template/1b8ae3e19c8d042cc2ab2860604953e9ae61608b against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffindelabs%2Frust-api-template" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/findelabs/rust-api-template on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/findelabs/rust-api-template [INFO] finished tweaking git repo https://github.com/findelabs/rust-api-template [INFO] tweaked toml for git repo https://github.com/findelabs/rust-api-template written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/findelabs/rust-api-template 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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tracing-serde v0.2.0 [INFO] [stderr] Downloaded metrics-macros v0.5.1 [INFO] [stderr] Downloaded reqwest-tracing v0.4.8 [INFO] [stderr] Downloaded clap v4.5.38 [INFO] [stderr] Downloaded quanta v0.9.3 [INFO] [stderr] Downloaded axum-core v0.1.2 [INFO] [stderr] Downloaded opentelemetry-semantic-conventions v0.14.0 [INFO] [stderr] Downloaded metrics-util v0.12.1 [INFO] [stderr] Downloaded clap_builder v4.5.38 [INFO] [stderr] Downloaded axum v0.4.8 [INFO] [stderr] Downloaded tower-http v0.2.5 [INFO] [stderr] Downloaded metrics-exporter-prometheus v0.9.0 [INFO] [stderr] Downloaded opentelemetry-proto v0.5.0 [INFO] [stderr] Downloaded metrics v0.18.1 [INFO] [stderr] Downloaded matchit v0.4.6 [INFO] [stderr] Downloaded axum-extra v0.1.5 [INFO] [stderr] Downloaded opentelemetry-http v0.11.1 [INFO] [stderr] Downloaded opentelemetry-otlp v0.15.0 [INFO] [stderr] Downloaded init-tracing-opentelemetry v0.18.1 [INFO] [stderr] Downloaded atomic-shim v0.2.0 [INFO] [stderr] Downloaded task-local-extensions v0.1.4 [INFO] [stderr] Downloaded sketches-ddsketch v0.1.3 [INFO] [stderr] Downloaded reqwest-middleware v0.2.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e5e9de01fb2f14ace8e9e0d4b5277f72f6d59bbf5f8637ff6536ec110bf84305 [INFO] running `Command { std: "docker" "start" "-a" "e5e9de01fb2f14ace8e9e0d4b5277f72f6d59bbf5f8637ff6536ec110bf84305", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5e9de01fb2f14ace8e9e0d4b5277f72f6d59bbf5f8637ff6536ec110bf84305", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5e9de01fb2f14ace8e9e0d4b5277f72f6d59bbf5f8637ff6536ec110bf84305", kill_on_drop: false }` [INFO] [stdout] e5e9de01fb2f14ace8e9e0d4b5277f72f6d59bbf5f8637ff6536ec110bf84305 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71e216a07cff4418ebf62220b640ced7e20d949fd5f957cf6321ef39c829205b [INFO] running `Command { std: "docker" "start" "-a" "71e216a07cff4418ebf62220b640ced7e20d949fd5f957cf6321ef39c829205b", kill_on_drop: false }` [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling cc v1.2.23 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling metrics v0.18.1 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling ordered-float v4.6.0 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling raw-cpuid v10.7.0 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling http-range-header v0.3.1 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling task-local-extensions v0.1.4 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling matchit v0.4.6 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling atomic-shim v0.2.0 [INFO] [stderr] Compiling opentelemetry-semantic-conventions v0.14.0 [INFO] [stderr] Compiling sketches-ddsketch v0.1.3 [INFO] [stderr] Compiling clap_builder v4.5.38 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling quanta v0.9.3 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling metrics-macros v0.5.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling metrics-util v0.12.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling opentelemetry v0.22.0 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling prost v0.12.6 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling opentelemetry-http v0.11.1 [INFO] [stderr] Compiling clap v4.5.38 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling axum-core v0.1.2 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling opentelemetry_sdk v0.22.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hyper-util v0.1.12 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling serde_yaml v0.8.26 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling tower-http v0.2.5 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling tracing-opentelemetry v0.23.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling axum v0.4.8 [INFO] [stderr] Compiling metrics-exporter-prometheus v0.9.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling reqwest-middleware v0.2.5 [INFO] [stderr] Compiling reqwest-tracing v0.4.8 [INFO] [stderr] Compiling axum-extra v0.1.5 [INFO] [stderr] Compiling tonic v0.11.0 [INFO] [stderr] Compiling opentelemetry-proto v0.5.0 [INFO] [stderr] Compiling opentelemetry-otlp v0.15.0 [INFO] [stderr] Compiling init-tracing-opentelemetry v0.18.1 [INFO] [stderr] Compiling rust-api-template v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `logfmt` [INFO] [stdout] --> src/tracing.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(not(feature = "logfmt"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `logfmt` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `logfmt` [INFO] [stdout] --> src/tracing.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | #[cfg(feature = "logfmt")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `logfmt` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Forbidden`, `Unauthorized`, and `NotFound` are never constructed [INFO] [stdout] --> src/error.rs:10:2 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 9 | #[error("{{\"error\": \"Cannot get config: Forbidden\"}}")] [INFO] [stdout] 10 | Forbidden, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 11 | #[error("{{\"error\": \"Cannot get config: Unauthorized\"}}")] [INFO] [stdout] 12 | Unauthorized, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 13 | #[error("{{\"error\": \"Cannot get config: Not found\"}}")] [INFO] [stdout] 14 | NotFound, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, 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: struct `RequestMethod` is never constructed [INFO] [stdout] --> src/handlers.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct RequestMethod(pub hyper::Method); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RequestMethod` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `client` is never read [INFO] [stdout] --> src/https.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct HttpsClient { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 11 | pub client: reqwest_middleware::ClientWithMiddleware [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpsClient` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `set_reuse_address` is never read [INFO] [stdout] --> src/https.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct ClientConfig<'a> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | set_reuse_address: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClientConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `nodelay`, `enforce_http`, `reuse_address`, `accept_invalid_hostnames`, `accept_invalid_certs`, and `import_cert` are never used [INFO] [stdout] --> src/https.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl<'a> ClientBuilder<'a> { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn nodelay(mut self, arg: bool) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn enforce_http(mut self, arg: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn reuse_address(mut self, arg: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn accept_invalid_hostnames(mut self, arg: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn accept_invalid_certs(mut self, arg: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn import_cert(mut self, arg: Option<&'a str>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `client` is never read [INFO] [stdout] --> src/state.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct State { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 11 | pub client: HttpsClient, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_logger_text` is never used [INFO] [stdout] --> src/tracing.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn build_logger_text() -> Box + Send + Sync + 'static> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_loglevel_filter_layer` is never used [INFO] [stdout] --> src/tracing.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn build_loglevel_filter_layer() -> tracing_subscriber::filter::EnvFilter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_otel_layer` is never used [INFO] [stdout] --> src/tracing.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn build_otel_layer() -> Result, TraceError> [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_subscribers` is never used [INFO] [stdout] --> src/tracing.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn init_subscribers() -> Result<(), RestError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.04s [INFO] running `Command { std: "docker" "inspect" "71e216a07cff4418ebf62220b640ced7e20d949fd5f957cf6321ef39c829205b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71e216a07cff4418ebf62220b640ced7e20d949fd5f957cf6321ef39c829205b", kill_on_drop: false }` [INFO] [stdout] 71e216a07cff4418ebf62220b640ced7e20d949fd5f957cf6321ef39c829205b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57eced679a9d2544436293bb36b3dfc4b3d8b85d2ea29458d3a456671fc6c2b4 [INFO] running `Command { std: "docker" "start" "-a" "57eced679a9d2544436293bb36b3dfc4b3d8b85d2ea29458d3a456671fc6c2b4", kill_on_drop: false }` [INFO] [stderr] Compiling rust-api-template v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `logfmt` [INFO] [stdout] --> src/tracing.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(not(feature = "logfmt"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `logfmt` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `logfmt` [INFO] [stdout] --> src/tracing.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | #[cfg(feature = "logfmt")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `logfmt` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Forbidden`, `Unauthorized`, and `NotFound` are never constructed [INFO] [stdout] --> src/error.rs:10:2 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 9 | #[error("{{\"error\": \"Cannot get config: Forbidden\"}}")] [INFO] [stdout] 10 | Forbidden, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 11 | #[error("{{\"error\": \"Cannot get config: Unauthorized\"}}")] [INFO] [stdout] 12 | Unauthorized, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 13 | #[error("{{\"error\": \"Cannot get config: Not found\"}}")] [INFO] [stdout] 14 | NotFound, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, 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: struct `RequestMethod` is never constructed [INFO] [stdout] --> src/handlers.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct RequestMethod(pub hyper::Method); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RequestMethod` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `client` is never read [INFO] [stdout] --> src/https.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct HttpsClient { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 11 | pub client: reqwest_middleware::ClientWithMiddleware [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpsClient` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `set_reuse_address` is never read [INFO] [stdout] --> src/https.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct ClientConfig<'a> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | set_reuse_address: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClientConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `nodelay`, `enforce_http`, `reuse_address`, `accept_invalid_hostnames`, `accept_invalid_certs`, and `import_cert` are never used [INFO] [stdout] --> src/https.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl<'a> ClientBuilder<'a> { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn nodelay(mut self, arg: bool) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn enforce_http(mut self, arg: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn reuse_address(mut self, arg: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn accept_invalid_hostnames(mut self, arg: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn accept_invalid_certs(mut self, arg: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn import_cert(mut self, arg: Option<&'a str>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `client` is never read [INFO] [stdout] --> src/state.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct State { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 11 | pub client: HttpsClient, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_logger_text` is never used [INFO] [stdout] --> src/tracing.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn build_logger_text() -> Box + Send + Sync + 'static> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_loglevel_filter_layer` is never used [INFO] [stdout] --> src/tracing.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn build_loglevel_filter_layer() -> tracing_subscriber::filter::EnvFilter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_otel_layer` is never used [INFO] [stdout] --> src/tracing.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn build_otel_layer() -> Result, TraceError> [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_subscribers` is never used [INFO] [stdout] --> src/tracing.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn init_subscribers() -> Result<(), RestError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.74s [INFO] running `Command { std: "docker" "inspect" "57eced679a9d2544436293bb36b3dfc4b3d8b85d2ea29458d3a456671fc6c2b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57eced679a9d2544436293bb36b3dfc4b3d8b85d2ea29458d3a456671fc6c2b4", kill_on_drop: false }` [INFO] [stdout] 57eced679a9d2544436293bb36b3dfc4b3d8b85d2ea29458d3a456671fc6c2b4