[INFO] cloning repository https://github.com/MARUF274/simple-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MARUF274/simple-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMARUF274%2Fsimple-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMARUF274%2Fsimple-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 90dc4580b0e0e10398d25b407fe9b97bcf0a2328 [INFO] testing MARUF274/simple-rust against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMARUF274%2Fsimple-rust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/MARUF274/simple-rust [INFO] finished tweaking git repo https://github.com/MARUF274/simple-rust [INFO] tweaked toml for git repo https://github.com/MARUF274/simple-rust written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MARUF274/simple-rust on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/MARUF274/simple-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clickhouse-derive v0.2.0 [INFO] [stderr] Downloaded derive_more v0.99.20 [INFO] [stderr] Downloaded sealed v0.5.0 [INFO] [stderr] Downloaded actix-cors v0.6.5 [INFO] [stderr] Downloaded cityhash-rs v1.0.1 [INFO] [stderr] Downloaded clickhouse v0.12.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 637061d7303ec2130fbe8c1a82ae5398ab9d77d2a82ac52ab3bed32bed212044 [INFO] running `Command { std: "docker" "start" "-a" "637061d7303ec2130fbe8c1a82ae5398ab9d77d2a82ac52ab3bed32bed212044", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "637061d7303ec2130fbe8c1a82ae5398ab9d77d2a82ac52ab3bed32bed212044", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "637061d7303ec2130fbe8c1a82ae5398ab9d77d2a82ac52ab3bed32bed212044", kill_on_drop: false }` [INFO] [stdout] 637061d7303ec2130fbe8c1a82ae5398ab9d77d2a82ac52ab3bed32bed212044 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12fa7f6bd3c506ace341f0ebbd0f4be0a434407fc00b4bc12ed9ff8f79dd3bf3 [INFO] running `Command { std: "docker" "start" "-a" "12fa7f6bd3c506ace341f0ebbd0f4be0a434407fc00b4bc12ed9ff8f79dd3bf3", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling cc v1.2.22 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling icu_properties_data v2.0.0 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling actix-service v2.0.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling brotli v8.0.1 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling icu_properties v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling psl-types v2.0.11 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling publicsuffix v2.3.0 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling impl-more v0.1.9 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling cookie_store v0.21.1 [INFO] [stderr] Compiling sealed v0.5.0 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling clickhouse-derive v0.2.0 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling lz4_flex v0.11.3 [INFO] [stderr] Compiling actix-http v3.11.0 [INFO] [stderr] Compiling cityhash-rs v1.0.1 [INFO] [stderr] Compiling replace_with v0.1.7 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling serde_merge v0.1.3 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling clickhouse v0.12.2 [INFO] [stderr] Compiling reqwest v0.12.15 [INFO] [stderr] Compiling actix-web v4.11.0 [INFO] [stderr] Compiling actix-cors v0.6.5 [INFO] [stderr] Compiling belajar-be v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `to_f64` [INFO] [stdout] --> src/handlers/handlers.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | parser::{ map_get, to_f64, to_str, ValueParser }, [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: `crate::helper::parser::to_str` [INFO] [stdout] --> src/helper/clickhouse.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::helper::parser::to_str; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/helper/clickhouse.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | pub async fn ch_query(key: &str, query: Query) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `health_check` is never used [INFO] [stdout] --> src/handlers/handlers.rs:53:14 [INFO] [stdout] | [INFO] [stdout] 53 | pub async fn health_check() -> impl Responder { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `conn` is never used [INFO] [stdout] --> src/helper/clickhouse.rs:98:14 [INFO] [stdout] | [INFO] [stdout] 98 | pub async fn conn(query_str: String) -> anyhow::Result<(Value, String)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_array` is never used [INFO] [stdout] --> src/helper/parser.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn to_array(map: Value) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_i64` is never used [INFO] [stdout] --> src/helper/parser.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn to_i64(map: Value) -> i64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 18s [INFO] running `Command { std: "docker" "inspect" "12fa7f6bd3c506ace341f0ebbd0f4be0a434407fc00b4bc12ed9ff8f79dd3bf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12fa7f6bd3c506ace341f0ebbd0f4be0a434407fc00b4bc12ed9ff8f79dd3bf3", kill_on_drop: false }` [INFO] [stdout] 12fa7f6bd3c506ace341f0ebbd0f4be0a434407fc00b4bc12ed9ff8f79dd3bf3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5adaa9e63e69bddc71c48f7c01e955ad36eab51435558cdc00152084a18d8cdb [INFO] running `Command { std: "docker" "start" "-a" "5adaa9e63e69bddc71c48f7c01e955ad36eab51435558cdc00152084a18d8cdb", kill_on_drop: false }` [INFO] [stderr] Compiling belajar-be v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `to_f64` [INFO] [stdout] --> src/handlers/handlers.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | parser::{ map_get, to_f64, to_str, ValueParser }, [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: `crate::helper::parser::to_str` [INFO] [stdout] --> src/helper/clickhouse.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::helper::parser::to_str; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/helper/clickhouse.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | pub async fn ch_query(key: &str, query: Query) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `health_check` is never used [INFO] [stdout] --> src/handlers/handlers.rs:53:14 [INFO] [stdout] | [INFO] [stdout] 53 | pub async fn health_check() -> impl Responder { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `conn` is never used [INFO] [stdout] --> src/helper/clickhouse.rs:98:14 [INFO] [stdout] | [INFO] [stdout] 98 | pub async fn conn(query_str: String) -> anyhow::Result<(Value, String)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_array` is never used [INFO] [stdout] --> src/helper/parser.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn to_array(map: Value) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_i64` is never used [INFO] [stdout] --> src/helper/parser.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn to_i64(map: Value) -> i64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.94s [INFO] running `Command { std: "docker" "inspect" "5adaa9e63e69bddc71c48f7c01e955ad36eab51435558cdc00152084a18d8cdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5adaa9e63e69bddc71c48f7c01e955ad36eab51435558cdc00152084a18d8cdb", kill_on_drop: false }` [INFO] [stdout] 5adaa9e63e69bddc71c48f7c01e955ad36eab51435558cdc00152084a18d8cdb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2dde07ca709ca5f56fcbf72c0fc0707f2b66046be980e357e7263af1f7cddbba [INFO] running `Command { std: "docker" "start" "-a" "2dde07ca709ca5f56fcbf72c0fc0707f2b66046be980e357e7263af1f7cddbba", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `to_f64` [INFO] [stderr] --> src/handlers/handlers.rs:6:24 [INFO] [stderr] | [INFO] [stderr] 6 | parser::{ map_get, to_f64, to_str, ValueParser }, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::helper::parser::to_str` [INFO] [stderr] --> src/helper/clickhouse.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::helper::parser::to_str; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key` [INFO] [stderr] --> src/helper/clickhouse.rs:18:23 [INFO] [stderr] | [INFO] [stderr] 18 | pub async fn ch_query(key: &str, query: Query) -> Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `health_check` is never used [INFO] [stderr] --> src/handlers/handlers.rs:53:14 [INFO] [stderr] | [INFO] [stderr] 53 | pub async fn health_check() -> impl Responder { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `conn` is never used [INFO] [stderr] --> src/helper/clickhouse.rs:98:14 [INFO] [stderr] | [INFO] [stderr] 98 | pub async fn conn(query_str: String) -> anyhow::Result<(Value, String)> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `to_array` is never used [INFO] [stderr] --> src/helper/parser.rs:66:8 [INFO] [stderr] | [INFO] [stderr] 66 | pub fn to_array(map: Value) -> Vec { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `to_i64` is never used [INFO] [stderr] --> src/helper/parser.rs:85:8 [INFO] [stderr] | [INFO] [stderr] 85 | pub fn to_i64(map: Value) -> i64 { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `belajar-be` (bin "belajar-be" test) generated 7 warnings (run `cargo fix --bin "belajar-be" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/belajar_be-a28d7e88f0c3c58b) [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" "2dde07ca709ca5f56fcbf72c0fc0707f2b66046be980e357e7263af1f7cddbba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dde07ca709ca5f56fcbf72c0fc0707f2b66046be980e357e7263af1f7cddbba", kill_on_drop: false }` [INFO] [stdout] 2dde07ca709ca5f56fcbf72c0fc0707f2b66046be980e357e7263af1f7cddbba