[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] testing findelabs/rust-api-template against 1.100.0-beta.1 for beta-1.100-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffindelabs%2Frust-api-template" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [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-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/findelabs/rust-api-template on toolchain 1.100.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+1.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 7b8a45b2e260c17d75518b5b6fbd85ad1b3a59d66652371f33a532ebbddd22ab [INFO] running `Command { std: "docker" "start" "7b8a45b2e260c17d75518b5b6fbd85ad1b3a59d66652371f33a532ebbddd22ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b8a45b2e260c17d75518b5b6fbd85ad1b3a59d66652371f33a532ebbddd22ab", kill_on_drop: false }` [INFO] running `Command { std: "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" "7b8a45b2e260c17d75518b5b6fbd85ad1b3a59d66652371f33a532ebbddd22ab" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b8a45b2e260c17d75518b5b6fbd85ad1b3a59d66652371f33a532ebbddd22ab", kill_on_drop: false }` [INFO] running `Command { std: "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" "7b8a45b2e260c17d75518b5b6fbd85ad1b3a59d66652371f33a532ebbddd22ab" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling mime v0.3.17 [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 tracing-core v0.1.33 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling cc v1.2.23 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling ordered-float v4.6.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling metrics v0.18.1 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling raw-cpuid v10.7.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling http-range-header v0.3.1 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling anstream v0.6.18 [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 atomic-shim v0.2.0 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling sketches-ddsketch v0.1.3 [INFO] [stderr] Compiling matchit v0.4.6 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling opentelemetry-semantic-conventions v0.14.0 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling clap_builder v4.5.38 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling quanta v0.9.3 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling matchers v0.1.0 [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 async-stream v0.3.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling opentelemetry v0.22.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling prost v0.12.6 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling clap v4.5.38 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling opentelemetry-http v0.11.1 [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 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_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [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 h2 v0.3.26 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling opentelemetry_sdk v0.22.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tracing-serde v0.2.0 [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 hyper-util v0.1.12 [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: enum `Error` is never used [INFO] [stdout] --> src/error.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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] [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 `Clone` and `Debug`, 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 `Clone` and `Debug`, 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 `Debug` and `Clone`, 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] warning: unused dependency `axum-extra` [INFO] [stderr] --> Cargo.toml:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | axum-extra = "0.1" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `axum-extra` [INFO] [stderr] warning: unused dependency `serde_yaml` [INFO] [stderr] --> Cargo.toml:20:1 [INFO] [stderr] | [INFO] [stderr] 20 | serde_yaml = "0.8" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `serde_yaml` [INFO] [stderr] warning: `rust-api-template` (manifest) generated 2 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 36s [INFO] running `Command { std: "docker" "inspect" "7b8a45b2e260c17d75518b5b6fbd85ad1b3a59d66652371f33a532ebbddd22ab", kill_on_drop: false }` [INFO] running `Command { std: "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" "7b8a45b2e260c17d75518b5b6fbd85ad1b3a59d66652371f33a532ebbddd22ab" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", 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: enum `Error` is never used [INFO] [stdout] --> src/error.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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] [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 `Clone` and `Debug`, 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 `Clone` and `Debug`, 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 `Debug` and `Clone`, 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] warning: unused dependency `axum-extra` [INFO] [stderr] --> Cargo.toml:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | axum-extra = "0.1" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `axum-extra` [INFO] [stderr] warning: unused dependency `serde_yaml` [INFO] [stderr] --> Cargo.toml:20:1 [INFO] [stderr] | [INFO] [stderr] 20 | serde_yaml = "0.8" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `serde_yaml` [INFO] [stderr] warning: `rust-api-template` (manifest) generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.96s [INFO] running `Command { std: "docker" "inspect" "7b8a45b2e260c17d75518b5b6fbd85ad1b3a59d66652371f33a532ebbddd22ab", kill_on_drop: false }` [INFO] running `Command { std: "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" "7b8a45b2e260c17d75518b5b6fbd85ad1b3a59d66652371f33a532ebbddd22ab" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `logfmt` [INFO] [stderr] --> src/tracing.rs:14:11 [INFO] [stderr] | [INFO] [stderr] 14 | #[cfg(not(feature = "logfmt"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `logfmt` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `logfmt` [INFO] [stderr] --> src/tracing.rs:40:7 [INFO] [stderr] | [INFO] [stderr] 40 | #[cfg(feature = "logfmt")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `logfmt` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: enum `Error` is never used [INFO] [stderr] --> src/error.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | pub enum Error { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `RequestMethod` is never constructed [INFO] [stderr] --> src/handlers.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 16 | pub struct RequestMethod(pub hyper::Method); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `client` is never read [INFO] [stderr] --> src/https.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct HttpsClient { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 11 | pub client: reqwest_middleware::ClientWithMiddleware [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `HttpsClient` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `set_reuse_address` is never read [INFO] [stderr] --> src/https.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 22 | pub struct ClientConfig<'a> { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 26 | set_reuse_address: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ClientConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `nodelay`, `enforce_http`, `reuse_address`, `accept_invalid_hostnames`, `accept_invalid_certs`, and `import_cert` are never used [INFO] [stderr] --> src/https.rs:66:12 [INFO] [stderr] | [INFO] [stderr] 57 | impl<'a> ClientBuilder<'a> { [INFO] [stderr] | -------------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 66 | pub fn nodelay(mut self, arg: bool) -> Self { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 70 | pub fn enforce_http(mut self, arg: bool) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 74 | pub fn reuse_address(mut self, arg: bool) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 78 | pub fn accept_invalid_hostnames(mut self, arg: bool) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 82 | pub fn accept_invalid_certs(mut self, arg: bool) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 86 | pub fn import_cert(mut self, arg: Option<&'a str>) -> Self { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `client` is never read [INFO] [stderr] --> src/state.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct State { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 11 | pub client: HttpsClient, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `State` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `build_logger_text` is never used [INFO] [stderr] --> src/tracing.rs:16:8 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn build_logger_text() -> Box + Send + Sync + 'static> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `build_loglevel_filter_layer` is never used [INFO] [stderr] --> src/tracing.rs:50:8 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn build_loglevel_filter_layer() -> tracing_subscriber::filter::EnvFilter { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `build_otel_layer` is never used [INFO] [stderr] --> src/tracing.rs:71:8 [INFO] [stderr] | [INFO] [stderr] 71 | pub fn build_otel_layer() -> Result, TraceError> [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `init_subscribers` is never used [INFO] [stderr] --> src/tracing.rs:95:8 [INFO] [stderr] | [INFO] [stderr] 95 | pub fn init_subscribers() -> Result<(), RestError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rust-api-template` (bin "main" test) generated 12 warnings [INFO] [stderr] warning: unused dependency `axum-extra` [INFO] [stderr] --> Cargo.toml:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | axum-extra = "0.1" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `axum-extra` [INFO] [stderr] warning: unused dependency `serde_yaml` [INFO] [stderr] --> Cargo.toml:20:1 [INFO] [stderr] | [INFO] [stderr] 20 | serde_yaml = "0.8" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `serde_yaml` [INFO] [stderr] warning: `rust-api-template` (manifest) generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/build/rust-api-template/8cc687f5023fd23b/out/main-8cc687f5023fd23b) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7b8a45b2e260c17d75518b5b6fbd85ad1b3a59d66652371f33a532ebbddd22ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b8a45b2e260c17d75518b5b6fbd85ad1b3a59d66652371f33a532ebbddd22ab", kill_on_drop: false }` [INFO] [stdout] 7b8a45b2e260c17d75518b5b6fbd85ad1b3a59d66652371f33a532ebbddd22ab