[INFO] cloning repository https://github.com/ighfarhasbi/rust_axum_duckdb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ighfarhasbi/rust_axum_duckdb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fighfarhasbi%2Frust_axum_duckdb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fighfarhasbi%2Frust_axum_duckdb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 65d6c6f6acc1ca07a9d24e42b1dc6de3fd7422e4 [INFO] checking ighfarhasbi/rust_axum_duckdb against try#e5b0618d996a6a3941e423fd3e170737b8dbdc92 for pr-151822 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fighfarhasbi%2Frust_axum_duckdb" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ighfarhasbi/rust_axum_duckdb [INFO] finished tweaking git repo https://github.com/ighfarhasbi/rust_axum_duckdb [INFO] tweaked toml for git repo https://github.com/ighfarhasbi/rust_axum_duckdb written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ighfarhasbi/rust_axum_duckdb on toolchain e5b0618d996a6a3941e423fd3e170737b8dbdc92 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e5b0618d996a6a3941e423fd3e170737b8dbdc92" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ighfarhasbi/rust_axum_duckdb 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" "+e5b0618d996a6a3941e423fd3e170737b8dbdc92" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking ighfarhasbi/rust_axum_duckdb against try#e5b0618d996a6a3941e423fd3e170737b8dbdc92 for pr-151822 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fighfarhasbi%2Frust_axum_duckdb" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ighfarhasbi/rust_axum_duckdb [INFO] finished tweaking git repo https://github.com/ighfarhasbi/rust_axum_duckdb [INFO] tweaked toml for git repo https://github.com/ighfarhasbi/rust_axum_duckdb written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ighfarhasbi/rust_axum_duckdb on toolchain e5b0618d996a6a3941e423fd3e170737b8dbdc92 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e5b0618d996a6a3941e423fd3e170737b8dbdc92" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ighfarhasbi/rust_axum_duckdb 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" "+e5b0618d996a6a3941e423fd3e170737b8dbdc92" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sqlformat v0.2.4 [INFO] [stderr] Downloaded arrow-data v52.0.0 [INFO] [stderr] Downloaded subtle v2.6.0 [INFO] [stderr] Downloaded multimap v0.9.1 [INFO] [stderr] Downloaded dotenvy_macro v0.15.7 [INFO] [stderr] Downloaded flatbuffers v24.3.25 [INFO] [stderr] Downloaded arrow-schema v51.0.0 [INFO] [stderr] Downloaded arrow-row v51.0.0 [INFO] [stderr] Downloaded arrow-data v51.0.0 [INFO] [stderr] Downloaded axum-extra v0.9.3 [INFO] [stderr] Downloaded arrow-buffer v51.0.0 [INFO] [stderr] Downloaded arrow-cast v51.0.0 [INFO] [stderr] Downloaded arrow v51.0.0 [INFO] [stderr] Downloaded arrow-cast v52.0.0 [INFO] [stderr] Downloaded borsh v1.5.0 [INFO] [stderr] Downloaded minio v0.1.0 [INFO] [stderr] Downloaded arrow-array v51.0.0 [INFO] [stderr] Downloaded arrow-array v52.0.0 [INFO] [stderr] Downloaded arrow-buffer v52.0.0 [INFO] [stderr] Downloaded arrow-arith v51.0.0 [INFO] [stderr] Downloaded arrow-ord v51.0.0 [INFO] [stderr] Downloaded arrow-schema v52.0.0 [INFO] [stderr] Downloaded arrow-select v51.0.0 [INFO] [stderr] Downloaded borsh-derive v1.5.0 [INFO] [stderr] Downloaded arrow-select v52.0.0 [INFO] [stderr] Downloaded arrow-ipc v52.0.0 [INFO] [stderr] Downloaded arrow-string v51.0.0 [INFO] [stderr] Downloaded parquet v52.0.0 [INFO] [stderr] Downloaded duckdb v0.10.2 [INFO] [stderr] Downloaded libduckdb-sys v0.10.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:29356a839a4d14451438f794ce8414e707d72405f44418718d724d22562fe786" "/opt/rustwide/cargo-home/bin/cargo" "+e5b0618d996a6a3941e423fd3e170737b8dbdc92" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a18d0b92f5c019b5a76003aa0f8bc2ec8205f5b1b5573845b10b1b4bd5d923c8 [INFO] running `Command { std: "docker" "start" "-a" "a18d0b92f5c019b5a76003aa0f8bc2ec8205f5b1b5573845b10b1b4bd5d923c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a18d0b92f5c019b5a76003aa0f8bc2ec8205f5b1b5573845b10b1b4bd5d923c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a18d0b92f5c019b5a76003aa0f8bc2ec8205f5b1b5573845b10b1b4bd5d923c8", kill_on_drop: false }` [INFO] [stdout] a18d0b92f5c019b5a76003aa0f8bc2ec8205f5b1b5573845b10b1b4bd5d923c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:29356a839a4d14451438f794ce8414e707d72405f44418718d724d22562fe786" "/opt/rustwide/cargo-home/bin/cargo" "+e5b0618d996a6a3941e423fd3e170737b8dbdc92" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 785f9f02194c6cafba95cdc0cf3835f827797a322cc42762929e8c1f27b30106 [INFO] running `Command { std: "docker" "start" "-a" "785f9f02194c6cafba95cdc0cf3835f827797a322cc42762929e8c1f27b30106", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Checking value-bag v1.9.0 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking lexical-util v0.8.5 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Checking arrow-schema v51.0.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking subtle v2.6.0 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling zerocopy v0.7.34 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Checking lexical-parse-integer v0.8.6 [INFO] [stderr] Checking lexical-write-integer v0.8.5 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking lexical-parse-float v0.8.5 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking arrow-schema v52.0.0 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking lexical-write-float v0.8.5 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling miniz_oxide v0.7.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking num-bigint v0.4.5 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking atoi v2.0.0 [INFO] [stderr] Checking lexical-core v0.8.5 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling filetime v0.2.23 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling flatbuffers v24.3.25 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling zstd-sys v2.0.9+zstd.1.5.5 [INFO] [stderr] Compiling xattr v1.3.1 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Compiling tar v0.4.40 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Compiling sqlformat v0.2.4 [INFO] [stderr] Checking io-lifetimes v1.0.11 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking arrow-buffer v51.0.0 [INFO] [stderr] Checking arrow-buffer v52.0.0 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking piper v0.2.3 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Checking arrow-data v52.0.0 [INFO] [stderr] Checking waker-fn v1.2.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Checking unicode-width v0.1.12 [INFO] [stderr] Checking arrow-data v51.0.0 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling zstd-safe v7.0.0 [INFO] [stderr] Checking strum v0.26.2 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Checking rustix v0.37.27 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Checking arrow-array v52.0.0 [INFO] [stderr] Checking async-executor v1.12.0 [INFO] [stderr] Checking arrow-array v51.0.0 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling rust_decimal v1.35.0 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Compiling snap v1.1.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking headers-core v0.3.0 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking webpki-roots v0.25.4 [INFO] [stderr] Checking xml-rs v0.8.20 [INFO] [stderr] Checking integer-encoding v3.0.4 [INFO] [stderr] Checking headers v0.4.0 [INFO] [stderr] Checking thrift v0.17.0 [INFO] [stderr] Checking lz4_flex v0.11.3 [INFO] [stderr] Checking arrow-select v51.0.0 [INFO] [stderr] Checking arrow-row v51.0.0 [INFO] [stderr] Checking arrow-arith v51.0.0 [INFO] [stderr] Checking xmltree v0.10.3 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking brotli v6.0.0 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling seq-macro v0.3.5 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Checking bcrypt v0.15.1 [INFO] [stderr] Checking arrow-string v51.0.0 [INFO] [stderr] Checking arrow-ord v51.0.0 [INFO] [stderr] Checking arrow-select v52.0.0 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling dotenvy_macro v0.15.7 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Compiling strum_macros v0.26.2 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Checking thiserror v1.0.61 [INFO] [stderr] Checking arrow-cast v52.0.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking polling v3.7.2 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Checking simple_asn1 v0.6.2 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Checking async-io v2.3.3 [INFO] [stderr] Checking comfy-table v7.1.1 [INFO] [stderr] Checking arrow-ipc v52.0.0 [INFO] [stderr] Checking arrow-cast v51.0.0 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking arrow v51.0.0 [INFO] [stderr] Checking zstd v0.13.0 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking parquet v52.0.0 [INFO] [stderr] Checking async-std v1.12.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Checking os_info v3.8.2 [INFO] [stderr] Checking multimap v0.9.1 [INFO] [stderr] Checking sqlx-core v0.7.4 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking jsonwebtoken v9.3.0 [INFO] [stderr] Compiling libduckdb-sys v0.10.2 [INFO] [stderr] Checking duckdb v0.10.2 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Checking hyper v0.14.29 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking hyper-util v0.1.5 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking minio v0.1.0 [INFO] [stderr] Checking axum-extra v0.9.3 [INFO] [stderr] Checking axum_learn_duckdb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: macro expansion ignores `;` and any tokens following [INFO] [stdout] --> src/jwt.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | let secret = dotenv!("JWT_SECRET_KEY"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `dotenv!` is likely invalid in expression context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Error loading .env file: path not found [INFO] [stdout] --> src/jwt.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | let secret = dotenv!("JWT_SECRET_KEY"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `dotenv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores `;` and any tokens following [INFO] [stdout] --> src/jwt.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | let secret = dotenv!("JWT_SECRET_KEY"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `dotenv!` is likely invalid in expression context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Error loading .env file: path not found [INFO] [stdout] --> src/jwt.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | let secret = dotenv!("JWT_SECRET_KEY"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `dotenv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `upload_file` [INFO] [stdout] --> src/router.rs:8:173 [INFO] [stdout] | [INFO] [stdout] 8 | ...iswa}, minio_client::MinioClient, minio_handlers::{cocoba, upload_file}, user_handler::{add_user, login_user, logout_user} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores `;` and any tokens following [INFO] [stdout] --> src/jwt.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | let secret = dotenv!("JWT_SECRET_KEY"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `dotenv!` is likely invalid in expression context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Error loading .env file: path not found [INFO] [stdout] --> src/jwt.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | let secret = dotenv!("JWT_SECRET_KEY"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `dotenv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores `;` and any tokens following [INFO] [stdout] --> src/jwt.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | let secret = dotenv!("JWT_SECRET_KEY"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `dotenv!` is likely invalid in expression context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Error loading .env file: path not found [INFO] [stdout] --> src/jwt.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | let secret = dotenv!("JWT_SECRET_KEY"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `dotenv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `upload_file` [INFO] [stdout] --> src/router.rs:8:173 [INFO] [stdout] | [INFO] [stdout] 8 | ...iswa}, minio_client::MinioClient, minio_handlers::{cocoba, upload_file}, user_handler::{add_user, login_user, logout_user} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead [INFO] [stdout] --> src/handlers.rs:116:41 [INFO] [stdout] | [INFO] [stdout] 116 | let unix_epoch = chrono::NaiveDate::from_ymd(1970, 1, 1); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead [INFO] [stdout] --> src/handlers.rs:116:41 [INFO] [stdout] | [INFO] [stdout] 116 | let unix_epoch = chrono::NaiveDate::from_ymd(1970, 1, 1); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(Extension>) -> ... {cocoba}: Handler<_, _>` is not satisfied [INFO] [stdout] --> src/router.rs:26:31 [INFO] [stdout] | [INFO] [stdout] 26 | .route("/cocoba", get(cocoba)) [INFO] [stdout] | --- ^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(Extension>) -> impl Future {cocoba}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: Consider using `#[axum::debug_handler]` to improve the error message [INFO] [stdout] help: the following other types implement trait `Handler` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/routing/method_routing.rs:1216:1 [INFO] [stdout] | [INFO] [stdout] 1216 | / impl Handler<(), S> for MethodRouter [INFO] [stdout] 1217 | | where [INFO] [stdout] 1218 | | S: Clone + 'static, [INFO] [stdout] | |_______________________^ `MethodRouter` implements `Handler<(), S>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/handler/mod.rs:303:1 [INFO] [stdout] | [INFO] [stdout] 303 | / impl Handler for Layered [INFO] [stdout] 304 | | where [INFO] [stdout] 305 | | L: Layer> + Clone + Send + 'static, [INFO] [stdout] 306 | | H: Handler, [INFO] [stdout] ... | [INFO] [stdout] 310 | | T: 'static, [INFO] [stdout] 311 | | S: 'static, [INFO] [stdout] | |_______________^ `Layered` implements `Handler` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-extra-0.9.3/src/handler/mod.rs:169:1 [INFO] [stdout] | [INFO] [stdout] 169 | / impl Handler for IntoHandler [INFO] [stdout] 170 | | where [INFO] [stdout] 171 | | H: HandlerCallWithExtractors + Clone + Send + 'static, [INFO] [stdout] 172 | | T: FromRequest + Send + 'static, [INFO] [stdout] 173 | | T::Rejection: Send, [INFO] [stdout] 174 | | S: Send + Sync + 'static, [INFO] [stdout] | |_____________________________^ `IntoHandler` implements `Handler` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-extra-0.9.3/src/handler/or.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | / impl Handler<(M, Lt, Rt), S> for Or [INFO] [stdout] 56 | | where [INFO] [stdout] 57 | | L: HandlerCallWithExtractors + Clone + Send + 'static, [INFO] [stdout] 58 | | R: HandlerCallWithExtractors + Clone + Send + 'static, [INFO] [stdout] ... | [INFO] [stdout] 62 | | Rt::Rejection: Send, [INFO] [stdout] 63 | | S: Send + Sync + 'static, [INFO] [stdout] | |_____________________________^ `Or` implements `Handler<(M, Lt, Rt), S>` [INFO] [stdout] note: required by a bound in `axum::routing::get` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/routing/method_routing.rs:140:16 [INFO] [stdout] | [INFO] [stdout] 140 | H: Handler, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `get` [INFO] [stdout] ... [INFO] [stdout] 385 | top_level_handler_fn!(get, GET); [INFO] [stdout] | ------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this function [INFO] [stdout] | in this macro invocation [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/axum_learn_duckdb-036f6aa350f48d02.long-type-2948886453534248799.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(Extension>) -> ... {cocoba}: Handler<_, _>` is not satisfied [INFO] [stdout] --> src/router.rs:26:31 [INFO] [stdout] | [INFO] [stdout] 26 | .route("/cocoba", get(cocoba)) [INFO] [stdout] | --- ^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(Extension>) -> impl Future {cocoba}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: Consider using `#[axum::debug_handler]` to improve the error message [INFO] [stdout] help: the following other types implement trait `Handler` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/routing/method_routing.rs:1216:1 [INFO] [stdout] | [INFO] [stdout] 1216 | / impl Handler<(), S> for MethodRouter [INFO] [stdout] 1217 | | where [INFO] [stdout] 1218 | | S: Clone + 'static, [INFO] [stdout] | |_______________________^ `MethodRouter` implements `Handler<(), S>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/handler/mod.rs:303:1 [INFO] [stdout] | [INFO] [stdout] 303 | / impl Handler for Layered [INFO] [stdout] 304 | | where [INFO] [stdout] 305 | | L: Layer> + Clone + Send + 'static, [INFO] [stdout] 306 | | H: Handler, [INFO] [stdout] ... | [INFO] [stdout] 310 | | T: 'static, [INFO] [stdout] 311 | | S: 'static, [INFO] [stdout] | |_______________^ `Layered` implements `Handler` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-extra-0.9.3/src/handler/mod.rs:169:1 [INFO] [stdout] | [INFO] [stdout] 169 | / impl Handler for IntoHandler [INFO] [stdout] 170 | | where [INFO] [stdout] 171 | | H: HandlerCallWithExtractors + Clone + Send + 'static, [INFO] [stdout] 172 | | T: FromRequest + Send + 'static, [INFO] [stdout] 173 | | T::Rejection: Send, [INFO] [stdout] 174 | | S: Send + Sync + 'static, [INFO] [stdout] | |_____________________________^ `IntoHandler` implements `Handler` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-extra-0.9.3/src/handler/or.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | / impl Handler<(M, Lt, Rt), S> for Or [INFO] [stdout] 56 | | where [INFO] [stdout] 57 | | L: HandlerCallWithExtractors + Clone + Send + 'static, [INFO] [stdout] 58 | | R: HandlerCallWithExtractors + Clone + Send + 'static, [INFO] [stdout] ... | [INFO] [stdout] 62 | | Rt::Rejection: Send, [INFO] [stdout] 63 | | S: Send + Sync + 'static, [INFO] [stdout] | |_____________________________^ `Or` implements `Handler<(M, Lt, Rt), S>` [INFO] [stdout] note: required by a bound in `axum::routing::get` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/routing/method_routing.rs:140:16 [INFO] [stdout] | [INFO] [stdout] 140 | H: Handler, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `get` [INFO] [stdout] ... [INFO] [stdout] 385 | top_level_handler_fn!(get, GET); [INFO] [stdout] | ------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this function [INFO] [stdout] | in this macro invocation [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/axum_learn_duckdb-214adb21447a3ba1.long-type-7320532382712194993.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ref_token_str` is never read [INFO] [stdout] --> src/guard.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | let mut ref_token_str = "".to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ref_token_str` is never read [INFO] [stdout] --> src/guard.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | let mut ref_token_str = "".to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `axum_learn_duckdb` (bin "axum_learn_duckdb" test) due to 5 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `axum_learn_duckdb` (bin "axum_learn_duckdb") due to 5 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "785f9f02194c6cafba95cdc0cf3835f827797a322cc42762929e8c1f27b30106", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "785f9f02194c6cafba95cdc0cf3835f827797a322cc42762929e8c1f27b30106", kill_on_drop: false }` [INFO] [stdout] 785f9f02194c6cafba95cdc0cf3835f827797a322cc42762929e8c1f27b30106