LoginSignup
0
1

More than 5 years have passed since last update.

Tips: dotenvのコンパイルが失敗する

Last updated at Posted at 2017-08-16

現象

Dieselのコンパイル時に以下のエラーが出てdotenvのコンパイルが失敗する。

error[E0046]: not all trait items implemented, missing: `extract_backtrace`

(中略)

error: Could not compile `dotenv`.
warning: build failed, waiting for other jobs to finish...
error: build failed

対処方法

以下をCargo.tomlに明記する。

[dependencies]
dotenv = "0.10.*"  # バージョンは適宜変更

環境

  • OS: macOS Sierra 10.12.6
  • Rust: 0.19.0 / 0.21.0 Nightly
  • Cargo: 0.20.0
  • Diesel: 0.15.2
  • dotenv: 0.10.1

参考

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1