๋ฌธ์
์์ dotenv์ ๋ํ ํ ์คํธ๋ฅผ ๋น๋ํ๊ณ ์คํํ ์ ์์ต๋๋ค.
๋จ๊ณ
create dotenv๋ฅผ ์ฌ์ฉํ๋ ํ๋ก์ ํธ๋ฅผ ๋น๋ํ๋ ๋ฐ ๋ฌธ์ ๊ฐ ์์ต๋๋ค.
docker rust : 1.44.0 ๋ด๋ถ์์ ์คํ ์ค
๋๋ ์ผ๊ฐ์ ์ค์นํ์ต๋๋ค.
rustup toolchain install nightly
info: syncing channel updates for 'nightly-x86_64-unknown-linux-gnu'
info: latest update on 2020-06-12, rust version 1.46.0-nightly (a37c32e2d 2020-06-11)
info: downloading component 'cargo'
5.0 MiB / 5.0 MiB (100 %) 1.5 MiB/s in 2s ETA: 0s
info: downloading component 'rust-std'
15.9 MiB / 15.9 MiB (100 %) 15.0 MiB/s in 1s ETA: 0s
info: downloading component 'rustc'
47.3 MiB / 47.3 MiB (100 %) 10.9 MiB/s in 5s ETA: 0s
info: installing component 'cargo'
info: installing component 'rust-std'
15.9 MiB / 15.9 MiB (100 %) 9.1 MiB/s in 1s ETA: 0s
info: installing component 'rustc'
47.3 MiB / 47.3 MiB (100 %) 9.9 MiB/s in 4s ETA: 0s
nightly-x86_64-unknown-linux-gnu installed - rustc 1.46.0-nightly (a37c32e2d 2020-06-11)
info: checking for self-updates
์ด์ ๋์๊ฒ ์ ๊ณต๋ฉ๋๋ค.
cargo +nightly test
error: failed to download `dotenv v0.15.0`
Caused by:
unable to get packages from source
Caused by:
failed to parse manifest at `/usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/dotenv-0.15.0/Cargo.toml`
Caused by:
readme file with name '../README.md' was not found
ํ๋ก์ ํธ์์ readme๋ฅผ ์ ๊ฑฐํ๋ ค๊ณ ์๋ํ์ง๋ง ๋์ผํ ๋ฌธ์ ์ ๋ํ ์ข
์์ฑ์ด ์๊ธฐ ๋๋ฌธ์ ์คํจ ํ ๊ฒ์
๋๋ค.
https://github.com/dotenv-rs/dotenv/pull/52
๊ฐ๋ฅํ ํด๊ฒฐ์ฑ )
๋๋ฝ ๋ README.md ํ์ผ์ ๋ฌด์ํ๋ ์ต์ ์ ์ถ๊ฐํฉ๋๋ค.
๋ฉ๋ชจ
https://github.com/dotenv-rs/dotenv/issues/51
https://stackoverflow.com/questions/62336892/failed-to-build-dotenv-v0-15-0-rust-cargo
์ ๊ณ ํด ์ฃผ์ ์ ๊ฐ์ฌํฉ๋๋ค. ์ด ๋ฌธ์ ๋ ์์ ๋์์ผ๋ฉฐ (# 8351 ์ฐธ์กฐ), ๋ค์๋ ๋ฐค (https://github.com/rust-lang/rust/pull/73266 UTC ์์ ์ด์ ์ ์ฐฉ๋ฅํ๋ ๊ฒฝ์ฐ)์ ์๋ฃ ๋ ๊ฒ์ ๋๋ค.
์ ๊ณ ํด ์ฃผ์ ์ ๊ฐ์ฌํฉ๋๋ค. ์ด ๋ฌธ์ ๋ ์์ ๋์์ผ๋ฉฐ (# 8351 ์ฐธ์กฐ) ๋ค์ ๋ ๋ฐค ( rust-lang / rust # 73266์ด UTC ์์ ์ด์ ์ ๋์ฐฉํ๋ ๊ฒฝ์ฐ)์ ์๋ฃ ๋ ๊ฒ์ ๋๋ค.
@ehuss ๋ค์๋ ๋ฐค์ ์ธ์ ์ถ์ ๋ ์ง ์์ญ๋๊น?
๋ํ ๊ทธ ์ ์ ํด๊ฒฐ ๋ฐฉ๋ฒ์ด ์์ต๋๊น?
๊ฒ์๋ ์ผ๋ฐ์ ์ผ๋ก 01:00 UTC๊น์ง ์๋ฃ๋ฉ๋๋ค. ํด๊ฒฐ ๋ฐฉ๋ฒ์ ์ ๋ ์ผ๊ฐ์ ์ค์นํ๋ ๊ฒ์ ๋๋ค.
๊ฐ์ฅ ์ ์ฉํ ๋๊ธ
์ ๊ณ ํด ์ฃผ์ ์ ๊ฐ์ฌํฉ๋๋ค. ์ด ๋ฌธ์ ๋ ์์ ๋์์ผ๋ฉฐ (# 8351 ์ฐธ์กฐ), ๋ค์๋ ๋ฐค (https://github.com/rust-lang/rust/pull/73266 UTC ์์ ์ด์ ์ ์ฐฉ๋ฅํ๋ ๊ฒฝ์ฐ)์ ์๋ฃ ๋ ๊ฒ์ ๋๋ค.