[INFO] cloning repository https://github.com/yydderf/malexpert-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yydderf/malexpert-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyydderf%2Fmalexpert-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyydderf%2Fmalexpert-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d45530c1265052655d483cbf8367ed02be7ba61e [INFO] testing yydderf/malexpert-api against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyydderf%2Fmalexpert-api" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/yydderf/malexpert-api [INFO] finished tweaking git repo https://github.com/yydderf/malexpert-api [INFO] tweaked toml for git repo https://github.com/yydderf/malexpert-api written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/yydderf/malexpert-api on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/yydderf/malexpert-api 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac6d3c8512807b8fa95e55c3d12596580b707085c6c3bf088cce7d7db4b42761 [INFO] running `Command { std: "docker" "start" "-a" "ac6d3c8512807b8fa95e55c3d12596580b707085c6c3bf088cce7d7db4b42761", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac6d3c8512807b8fa95e55c3d12596580b707085c6c3bf088cce7d7db4b42761", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac6d3c8512807b8fa95e55c3d12596580b707085c6c3bf088cce7d7db4b42761", kill_on_drop: false }` [INFO] [stdout] ac6d3c8512807b8fa95e55c3d12596580b707085c6c3bf088cce7d7db4b42761 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] ee4f2462dce3de7859e629dd3dcfbd6ff7b7b0aaba1b74ae28f1fc5dd5312c0d [INFO] running `Command { std: "docker" "start" "-a" "ee4f2462dce3de7859e629dd3dcfbd6ff7b7b0aaba1b74ae28f1fc5dd5312c0d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.105 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Compiling libc v0.2.179 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling aws-lc-rs v1.15.2 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling deranged v0.5.5 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling zmij v1.0.12 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling syn v2.0.113 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling xml-rs v0.8.28 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling openssl-probe v0.2.0 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling rustls-native-certs v0.8.3 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling cc v1.2.51 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling iri-string v0.7.10 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Compiling serde_json v1.0.148 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling plain v0.2.3 [INFO] [stderr] Compiling uuid v1.19.0 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling aws-lc-sys v0.35.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling tempfile v3.24.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling scroll_derive v0.13.1 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling scroll v0.13.0 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling goblin v0.10.4 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling tracing-subscriber v0.3.22 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling serde-xml-rs v0.5.1 [INFO] [stderr] Compiling time-tz v2.0.0 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling tracing-appender v0.2.4 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling h2 v0.4.13 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling hyper-util v0.1.19 [INFO] [stderr] Compiling rustls-webpki v0.103.8 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling rustls-platform-verifier v0.6.2 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.13.1 [INFO] [stderr] Compiling malexpert-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Response` [INFO] [stdout] --> src/fairings/logger.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use rocket::{Request, Response, Data}; [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: `rocket::serde::json::serde_json` [INFO] [stdout] --> src/services/clients/malexp/catalog.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rocket::serde::json::serde_json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ElkFormatter` and `FileFormatter` [INFO] [stdout] --> src/logging/tracing.rs:2:41 [INFO] [stdout] | [INFO] [stdout] 2 | use super::formatter::{CustomFormatter, FileFormatter, ElkFormatter}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FormatEvent` [INFO] [stdout] --> src/logging/formatter.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | fmt::{self, FormatEvent, FormatFields}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/routes/pipeline.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Write` [INFO] [stdout] --> src/logging/formatter.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fmt::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/fairings/logger.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | async fn on_request(&self, req: &mut Request<'_>, _: &mut Data<'_>) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/services/clients/malexp/mod.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | path: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/services/clients/malexp/mod.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | body: B, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_pipeline` is never used [INFO] [stdout] --> src/services/analysis.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn run_pipeline() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `post_json` is never used [INFO] [stdout] --> src/services/clients/malexp/mod.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 12 | impl MalexpClient { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | async fn post_json serde::Deserialize<'de>>( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileFormatter` is never constructed [INFO] [stdout] --> src/logging/formatter.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | pub(super) struct FileFormatter; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ElkFormatter` is never constructed [INFO] [stdout] --> src/logging/formatter.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | pub(super) struct ElkFormatter; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROJECT_ROOT` is never used [INFO] [stdout] --> src/consts/path.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const PROJECT_ROOT: &str = env!("CARGO_MANIFEST_DIR"); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_BIN_SIZE_MB` is never used [INFO] [stdout] --> src/consts/upload.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const MAX_BIN_SIZE_MB: u64 = 20; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SIZE_LIMIT` is never used [INFO] [stdout] --> src/consts/upload.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const SIZE_LIMIT: ByteUnit = ByteUnit::Megabyte(MAX_BIN_SIZE_MB); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `MALEXP_CONFIG_DIR` is never used [INFO] [stdout] --> src/consts/pipeline.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub static MALEXP_CONFIG_DIR: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MALEXP_ANALYZE_CONFIG` is never used [INFO] [stdout] --> src/consts/pipeline.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const MALEXP_ANALYZE_CONFIG: &'static str = "analyze.ini"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MALEXP_ENCODE_CONFIG` is never used [INFO] [stdout] --> src/consts/pipeline.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const MALEXP_ENCODE_CONFIG: &'static str = "encode.ini"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MALEXP_EXPAND_CONFIG` is never used [INFO] [stdout] --> src/consts/pipeline.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const MALEXP_EXPAND_CONFIG: &'static str = "expand.ini"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MALEXP_AUGMENT_CONFIG` is never used [INFO] [stdout] --> src/consts/pipeline.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const MALEXP_AUGMENT_CONFIG: &'static str = "augment.ini"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MALEXP_DETECT_CONFIG` is never used [INFO] [stdout] --> src/consts/pipeline.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const MALEXP_DETECT_CONFIG: &'static str = "detect.ini"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MALEXP_EXPLAIN_CONFIG` is never used [INFO] [stdout] --> src/consts/pipeline.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const MALEXP_EXPLAIN_CONFIG: &'static str = "explain.ini"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `analyzed` is never read [INFO] [stdout] --> src/domain/sample.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Sample { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub analyzed: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sample` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `with_status`, `err`, and `err_with_detail` are never used [INFO] [stdout] --> src/api/response.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl APIResponse { [INFO] [stdout] | ---------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn with_status(status: Status, body: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn err(status: Status, title: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn err_with_detail(status: Status, title: impl Into, detail: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 53s [INFO] running `Command { std: "docker" "inspect" "ee4f2462dce3de7859e629dd3dcfbd6ff7b7b0aaba1b74ae28f1fc5dd5312c0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee4f2462dce3de7859e629dd3dcfbd6ff7b7b0aaba1b74ae28f1fc5dd5312c0d", kill_on_drop: false }` [INFO] [stdout] ee4f2462dce3de7859e629dd3dcfbd6ff7b7b0aaba1b74ae28f1fc5dd5312c0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 823924ea0ac2f5a13580edac96bb2638a17ed0d53015650a8c364c3ebf6c387a [INFO] running `Command { std: "docker" "start" "-a" "823924ea0ac2f5a13580edac96bb2638a17ed0d53015650a8c364c3ebf6c387a", kill_on_drop: false }` [INFO] [stderr] Compiling malexpert-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Response` [INFO] [stdout] --> src/fairings/logger.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use rocket::{Request, Response, Data}; [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: `ElkFormatter` and `FileFormatter` [INFO] [stdout] --> src/logging/tracing.rs:2:41 [INFO] [stdout] | [INFO] [stdout] 2 | use super::formatter::{CustomFormatter, FileFormatter, ElkFormatter}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FormatEvent` [INFO] [stdout] --> src/logging/formatter.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | fmt::{self, FormatEvent, FormatFields}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/routes/pipeline.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Write` [INFO] [stdout] --> src/logging/formatter.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fmt::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/fairings/logger.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | async fn on_request(&self, req: &mut Request<'_>, _: &mut Data<'_>) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cat` [INFO] [stdout] --> src/services/clients/malexp/catalog.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let cat: Catalog = serde_json::from_str(raw).expect("should parse Catalog"); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/services/clients/malexp/mod.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | path: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/services/clients/malexp/mod.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | body: B, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_pipeline` is never used [INFO] [stdout] --> src/services/analysis.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn run_pipeline() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `post_json` is never used [INFO] [stdout] --> src/services/clients/malexp/mod.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 12 | impl MalexpClient { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | async fn post_json serde::Deserialize<'de>>( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileFormatter` is never constructed [INFO] [stdout] --> src/logging/formatter.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | pub(super) struct FileFormatter; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ElkFormatter` is never constructed [INFO] [stdout] --> src/logging/formatter.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | pub(super) struct ElkFormatter; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROJECT_ROOT` is never used [INFO] [stdout] --> src/consts/path.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const PROJECT_ROOT: &str = env!("CARGO_MANIFEST_DIR"); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_BIN_SIZE_MB` is never used [INFO] [stdout] --> src/consts/upload.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const MAX_BIN_SIZE_MB: u64 = 20; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SIZE_LIMIT` is never used [INFO] [stdout] --> src/consts/upload.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const SIZE_LIMIT: ByteUnit = ByteUnit::Megabyte(MAX_BIN_SIZE_MB); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `MALEXP_CONFIG_DIR` is never used [INFO] [stdout] --> src/consts/pipeline.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub static MALEXP_CONFIG_DIR: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MALEXP_ANALYZE_CONFIG` is never used [INFO] [stdout] --> src/consts/pipeline.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const MALEXP_ANALYZE_CONFIG: &'static str = "analyze.ini"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MALEXP_ENCODE_CONFIG` is never used [INFO] [stdout] --> src/consts/pipeline.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const MALEXP_ENCODE_CONFIG: &'static str = "encode.ini"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MALEXP_EXPAND_CONFIG` is never used [INFO] [stdout] --> src/consts/pipeline.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const MALEXP_EXPAND_CONFIG: &'static str = "expand.ini"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MALEXP_AUGMENT_CONFIG` is never used [INFO] [stdout] --> src/consts/pipeline.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const MALEXP_AUGMENT_CONFIG: &'static str = "augment.ini"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MALEXP_DETECT_CONFIG` is never used [INFO] [stdout] --> src/consts/pipeline.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const MALEXP_DETECT_CONFIG: &'static str = "detect.ini"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MALEXP_EXPLAIN_CONFIG` is never used [INFO] [stdout] --> src/consts/pipeline.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const MALEXP_EXPLAIN_CONFIG: &'static str = "explain.ini"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `analyzed` is never read [INFO] [stdout] --> src/domain/sample.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Sample { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub analyzed: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sample` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `with_status`, `err`, and `err_with_detail` are never used [INFO] [stdout] --> src/api/response.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl APIResponse { [INFO] [stdout] | ---------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn with_status(status: Status, body: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn err(status: Status, title: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn err_with_detail(status: Status, title: impl Into, detail: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.99s [INFO] running `Command { std: "docker" "inspect" "823924ea0ac2f5a13580edac96bb2638a17ed0d53015650a8c364c3ebf6c387a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "823924ea0ac2f5a13580edac96bb2638a17ed0d53015650a8c364c3ebf6c387a", kill_on_drop: false }` [INFO] [stdout] 823924ea0ac2f5a13580edac96bb2638a17ed0d53015650a8c364c3ebf6c387a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] e925c62965b0e9ff46471eee34f42c011184b120002b18b6962e6a8cb54cc96a [INFO] running `Command { std: "docker" "start" "-a" "e925c62965b0e9ff46471eee34f42c011184b120002b18b6962e6a8cb54cc96a", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Response` [INFO] [stderr] --> src/fairings/logger.rs:2:23 [INFO] [stderr] | [INFO] [stderr] 2 | use rocket::{Request, Response, Data}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ElkFormatter` and `FileFormatter` [INFO] [stderr] --> src/logging/tracing.rs:2:41 [INFO] [stderr] | [INFO] [stderr] 2 | use super::formatter::{CustomFormatter, FileFormatter, ElkFormatter}; [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `FormatEvent` [INFO] [stderr] --> src/logging/formatter.rs:3:17 [INFO] [stderr] | [INFO] [stderr] 3 | fmt::{self, FormatEvent, FormatFields}, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/routes/pipeline.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fmt::Write` [INFO] [stderr] --> src/logging/formatter.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::fmt::Write; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> src/fairings/logger.rs:16:32 [INFO] [stderr] | [INFO] [stderr] 16 | async fn on_request(&self, req: &mut Request<'_>, _: &mut Data<'_>) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cat` [INFO] [stderr] --> src/services/clients/malexp/catalog.rs:30:13 [INFO] [stderr] | [INFO] [stderr] 30 | let cat: Catalog = serde_json::from_str(raw).expect("should parse Catalog"); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_cat` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> src/services/clients/malexp/mod.rs:40:9 [INFO] [stderr] | [INFO] [stderr] 40 | path: &str, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `body` [INFO] [stderr] --> src/services/clients/malexp/mod.rs:41:9 [INFO] [stderr] | [INFO] [stderr] 41 | body: B, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stderr] [INFO] [stderr] warning: function `run_pipeline` is never used [INFO] [stderr] --> src/services/analysis.rs:1:4 [INFO] [stderr] | [INFO] [stderr] 1 | fn run_pipeline() { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `post_json` is never used [INFO] [stderr] --> src/services/clients/malexp/mod.rs:38:14 [INFO] [stderr] | [INFO] [stderr] 12 | impl MalexpClient { [INFO] [stderr] | ----------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 38 | async fn post_json serde::Deserialize<'de>>( [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `FileFormatter` is never constructed [INFO] [stderr] --> src/logging/formatter.rs:12:19 [INFO] [stderr] | [INFO] [stderr] 12 | pub(super) struct FileFormatter; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ElkFormatter` is never constructed [INFO] [stderr] --> src/logging/formatter.rs:13:19 [INFO] [stderr] | [INFO] [stderr] 13 | pub(super) struct ElkFormatter; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `PROJECT_ROOT` is never used [INFO] [stderr] --> src/consts/path.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | pub const PROJECT_ROOT: &str = env!("CARGO_MANIFEST_DIR"); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `MAX_BIN_SIZE_MB` is never used [INFO] [stderr] --> src/consts/upload.rs:5:11 [INFO] [stderr] | [INFO] [stderr] 5 | pub const MAX_BIN_SIZE_MB: u64 = 20; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `SIZE_LIMIT` is never used [INFO] [stderr] --> src/consts/upload.rs:6:11 [INFO] [stderr] | [INFO] [stderr] 6 | pub const SIZE_LIMIT: ByteUnit = ByteUnit::Megabyte(MAX_BIN_SIZE_MB); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: static `MALEXP_CONFIG_DIR` is never used [INFO] [stderr] --> src/consts/pipeline.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | pub static MALEXP_CONFIG_DIR: Lazy = Lazy::new(|| { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `MALEXP_ANALYZE_CONFIG` is never used [INFO] [stderr] --> src/consts/pipeline.rs:9:11 [INFO] [stderr] | [INFO] [stderr] 9 | pub const MALEXP_ANALYZE_CONFIG: &'static str = "analyze.ini"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `MALEXP_ENCODE_CONFIG` is never used [INFO] [stderr] --> src/consts/pipeline.rs:10:11 [INFO] [stderr] | [INFO] [stderr] 10 | pub const MALEXP_ENCODE_CONFIG: &'static str = "encode.ini"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `MALEXP_EXPAND_CONFIG` is never used [INFO] [stderr] --> src/consts/pipeline.rs:11:11 [INFO] [stderr] | [INFO] [stderr] 11 | pub const MALEXP_EXPAND_CONFIG: &'static str = "expand.ini"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `MALEXP_AUGMENT_CONFIG` is never used [INFO] [stderr] --> src/consts/pipeline.rs:12:11 [INFO] [stderr] | [INFO] [stderr] 12 | pub const MALEXP_AUGMENT_CONFIG: &'static str = "augment.ini"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `MALEXP_DETECT_CONFIG` is never used [INFO] [stderr] --> src/consts/pipeline.rs:13:11 [INFO] [stderr] | [INFO] [stderr] 13 | pub const MALEXP_DETECT_CONFIG: &'static str = "detect.ini"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `MALEXP_EXPLAIN_CONFIG` is never used [INFO] [stderr] --> src/consts/pipeline.rs:14:11 [INFO] [stderr] | [INFO] [stderr] 14 | pub const MALEXP_EXPLAIN_CONFIG: &'static str = "explain.ini"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `analyzed` is never read [INFO] [stderr] --> src/domain/sample.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct Sample { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 13 | pub analyzed: bool, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Sample` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated functions `with_status`, `err`, and `err_with_detail` are never used [INFO] [stderr] --> src/api/response.rs:34:12 [INFO] [stderr] | [INFO] [stderr] 25 | impl APIResponse { [INFO] [stderr] | ---------------------- associated functions in this implementation [INFO] [stderr] ... [INFO] [stderr] 34 | pub fn with_status(status: Status, body: T) -> Self { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 41 | pub fn err(status: Status, title: impl Into) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 48 | pub fn err_with_detail(status: Status, title: impl Into, detail: impl Into) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `malexpert-api` (bin "malexpert-api" test) generated 25 warnings (run `cargo fix --bin "malexpert-api" -p malexpert-api --tests` to apply 8 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.33s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/build/malexpert-api/9fbad7c05218a07f/deps/malexpert_api-9fbad7c05218a07f) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test services::clients::malexp::catalog::tests::de_catalog ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e925c62965b0e9ff46471eee34f42c011184b120002b18b6962e6a8cb54cc96a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e925c62965b0e9ff46471eee34f42c011184b120002b18b6962e6a8cb54cc96a", kill_on_drop: false }` [INFO] [stdout] e925c62965b0e9ff46471eee34f42c011184b120002b18b6962e6a8cb54cc96a