[INFO] cloning repository https://github.com/medhedibenali/axum_backend_example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/medhedibenali/axum_backend_example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmedhedibenali%2Faxum_backend_example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmedhedibenali%2Faxum_backend_example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 202f2e3086b06e5d2f7b33fb9cc0147398b13235 [INFO] testing medhedibenali/axum_backend_example against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759-retry [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmedhedibenali%2Faxum_backend_example" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/medhedibenali/axum_backend_example [INFO] finished tweaking git repo https://github.com/medhedibenali/axum_backend_example [INFO] tweaked toml for git repo https://github.com/medhedibenali/axum_backend_example written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/medhedibenali/axum_backend_example on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/medhedibenali/axum_backend_example 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b68ee0ac7c205f66aead43a763c8d66d42f4350387d549cb4dbfdc442f3c65d6 [INFO] running `Command { std: "docker" "start" "-a" "b68ee0ac7c205f66aead43a763c8d66d42f4350387d549cb4dbfdc442f3c65d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b68ee0ac7c205f66aead43a763c8d66d42f4350387d549cb4dbfdc442f3c65d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b68ee0ac7c205f66aead43a763c8d66d42f4350387d549cb4dbfdc442f3c65d6", kill_on_drop: false }` [INFO] [stdout] b68ee0ac7c205f66aead43a763c8d66d42f4350387d549cb4dbfdc442f3c65d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d51e0bc878eaf0f6369caa4eeead82c6b1994e3fe579979baf63e00c8e56fd31 [INFO] running `Command { std: "docker" "start" "-a" "d51e0bc878eaf0f6369caa4eeead82c6b1994e3fe579979baf63e00c8e56fd31", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling tinyvec v1.6.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling serde_json v1.0.119 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling unicode-properties v0.1.1 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling constcat v0.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling postgres-protocol v0.6.6 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling dotenvy_macro v0.15.7 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling uuid-macro-internal v1.9.1 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling hyper-util v0.1.5 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling uuid v1.9.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling postgres-types v0.2.6 [INFO] [stderr] Compiling tokio-postgres v0.7.10 [INFO] [stderr] Compiling axum-extra v0.9.3 [INFO] [stderr] Compiling axum_backend_example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: macro expansion ignores `;` and any tokens following [INFO] [stdout] --> src/bin/../config.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | pub const DB_HOST: &str = dotenv!("DB_HOST", "localhost"); [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/bin/../config.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | pub const DB_HOST: &str = dotenv!("DB_HOST", "localhost"); [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/bin/../config.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | pub const DB_PORT: &str = dotenv!("DB_PORT", "5432"); [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/bin/../config.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | pub const DB_PORT: &str = dotenv!("DB_PORT", "5432"); [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/bin/../config.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | pub const DB_NAME: &str = dotenv!("DB_NAME", "axum_backend_db"); [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/bin/../config.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | pub const DB_NAME: &str = dotenv!("DB_NAME", "axum_backend_db"); [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/bin/../config.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | pub const DB_USER: &str = dotenv!("DB_USER", "postgres"); [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/bin/../config.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | pub const DB_USER: &str = dotenv!("DB_USER", "postgres"); [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/bin/../config.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | pub const DB_PASSWORD: &str = dotenv!("DB_PASSWORD", "postgres"); [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/bin/../config.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | pub const DB_PASSWORD: &str = dotenv!("DB_PASSWORD", "postgres"); [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/bin/../config.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | pub const DB_HOST: &str = dotenv!("DB_HOST", "localhost"); [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/bin/../config.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | pub const DB_HOST: &str = dotenv!("DB_HOST", "localhost"); [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/bin/../config.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | pub const DB_PORT: &str = dotenv!("DB_PORT", "5432"); [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/bin/../config.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | pub const DB_PORT: &str = dotenv!("DB_PORT", "5432"); [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/bin/../config.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | pub const DB_NAME: &str = dotenv!("DB_NAME", "axum_backend_db"); [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/bin/../config.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | pub const DB_NAME: &str = dotenv!("DB_NAME", "axum_backend_db"); [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/bin/../config.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | pub const DB_USER: &str = dotenv!("DB_USER", "postgres"); [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/bin/../config.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | pub const DB_USER: &str = dotenv!("DB_USER", "postgres"); [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/bin/../config.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | pub const DB_PASSWORD: &str = dotenv!("DB_PASSWORD", "postgres"); [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/bin/../config.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | pub const DB_PASSWORD: &str = dotenv!("DB_PASSWORD", "postgres"); [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/config.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | pub const DB_HOST: &str = dotenv!("DB_HOST", "localhost"); [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] [stderr] error: could not compile `axum_backend_example` (bin "up") due to 10 previous errors [INFO] [stdout] error: Error loading .env file: path not found [INFO] [stdout] --> src/config.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | pub const DB_HOST: &str = dotenv!("DB_HOST", "localhost"); [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: macro expansion ignores `;` and any tokens following [INFO] [stdout] --> src/config.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | pub const DB_PORT: &str = dotenv!("DB_PORT", "5432"); [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/config.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | pub const DB_PORT: &str = dotenv!("DB_PORT", "5432"); [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/config.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | pub const DB_NAME: &str = dotenv!("DB_NAME", "axum_backend_db"); [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/config.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | pub const DB_NAME: &str = dotenv!("DB_NAME", "axum_backend_db"); [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/config.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | pub const DB_USER: &str = dotenv!("DB_USER", "postgres"); [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/config.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | pub const DB_USER: &str = dotenv!("DB_USER", "postgres"); [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/config.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | pub const DB_PASSWORD: &str = dotenv!("DB_PASSWORD", "postgres"); [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/config.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | pub const DB_PASSWORD: &str = dotenv!("DB_PASSWORD", "postgres"); [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] [stderr] error: could not compile `axum_backend_example` (bin "down") due to 10 previous errors [INFO] [stderr] error: could not compile `axum_backend_example` (bin "axum_backend_example") due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "d51e0bc878eaf0f6369caa4eeead82c6b1994e3fe579979baf63e00c8e56fd31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d51e0bc878eaf0f6369caa4eeead82c6b1994e3fe579979baf63e00c8e56fd31", kill_on_drop: false }` [INFO] [stdout] d51e0bc878eaf0f6369caa4eeead82c6b1994e3fe579979baf63e00c8e56fd31