[INFO] updating cached repository https://github.com/dbrgn/smartmail [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/mnt/big/crater/work/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] dddfb97c0a0bb5989306e4a74945ea13d5abbc35 [INFO] checking dbrgn/smartmail against try#e689e5eaefe96e6dc3ed5bb629c521b7d207aff7 for pr-64398 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdbrgn%2Fsmartmail" "work/builds/worker-1/source"` [INFO] [stderr] Cloning into 'work/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dbrgn/smartmail on toolchain e689e5eaefe96e6dc3ed5bb629c521b7d207aff7-alt [INFO] running `"/mnt/big/crater/work/cargo-home/bin/cargo" "+e689e5eaefe96e6dc3ed5bb629c521b7d207aff7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/dbrgn/smartmail [INFO] finished tweaking git repo https://github.com/dbrgn/smartmail [INFO] tweaked toml for git repo https://github.com/dbrgn/smartmail written to work/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/dbrgn/smartmail already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/cargo-home/bin/cargo" "+e689e5eaefe96e6dc3ed5bb629c521b7d207aff7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/mnt/big/crater/work/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/mnt/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e689e5eaefe96e6dc3ed5bb629c521b7d207aff7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 137e52d62ffd26051fbc1aa51090b317087c7d73280f0abf6f1277eee18efcc8 [INFO] running `"docker" "start" "-a" "137e52d62ffd26051fbc1aa51090b317087c7d73280f0abf6f1277eee18efcc8"` [INFO] [stderr] Checking mqtt3 v0.1.4 (https://github.com/tekjar/mqtt3#f1a4675d) [INFO] [stderr] Checking libsodium-sys v0.0.15 [INFO] [stderr] Checking libflate v0.1.14 [INFO] [stderr] Compiling rayon v0.8.2 [INFO] [stderr] Checking error-chain v0.10.0 [INFO] [stderr] Checking tokio-openssl v0.2.0 [INFO] [stderr] Checking dotenv v0.10.1 [INFO] [stderr] Checking sodiumoxide v0.0.15 [INFO] [stderr] Checking reqwest v0.7.3 [INFO] [stderr] Compiling ring v0.12.1 [INFO] [stderr] Checking threema-gateway v0.7.1 [INFO] [stderr] Checking jsonwebtoken v4.0.1 [INFO] [stderr] Checking rumqtt v0.20.0 (https://github.com/AtherEnergy/rumqtt.git?branch=tokio2#dbfb2be4) [INFO] [stderr] Checking smartmail v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/main.rs:36:1 [INFO] [stderr] | [INFO] [stderr] 36 | / lazy_static! { [INFO] [stderr] 37 | | static ref LAST_DISTANCE: Mutex> = Mutex::new(None); [INFO] [stderr] 38 | | static ref LAST_VOLTAGE: Mutex> = Mutex::new(None); [INFO] [stderr] 39 | | static ref LAST_TEMPERATURE: Mutex> = Mutex::new(None); [INFO] [stderr] 40 | | static ref DATA_RATE_RE: Regex = Regex::new(r"^SF(\d+)BW(\d+)$").unwrap(); [INFO] [stderr] 41 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/main.rs:36:1 [INFO] [stderr] | [INFO] [stderr] 36 | / lazy_static! { [INFO] [stderr] 37 | | static ref LAST_DISTANCE: Mutex> = Mutex::new(None); [INFO] [stderr] 38 | | static ref LAST_VOLTAGE: Mutex> = Mutex::new(None); [INFO] [stderr] 39 | | static ref LAST_TEMPERATURE: Mutex> = Mutex::new(None); [INFO] [stderr] 40 | | static ref DATA_RATE_RE: Regex = Regex::new(r"^SF(\d+)BW(\d+)$").unwrap(); [INFO] [stderr] 41 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/main.rs:36:1 [INFO] [stderr] | [INFO] [stderr] 36 | / lazy_static! { [INFO] [stderr] 37 | | static ref LAST_DISTANCE: Mutex> = Mutex::new(None); [INFO] [stderr] 38 | | static ref LAST_VOLTAGE: Mutex> = Mutex::new(None); [INFO] [stderr] 39 | | static ref LAST_TEMPERATURE: Mutex> = Mutex::new(None); [INFO] [stderr] 40 | | static ref DATA_RATE_RE: Regex = Regex::new(r"^SF(\d+)BW(\d+)$").unwrap(); [INFO] [stderr] 41 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/main.rs:36:1 [INFO] [stderr] | [INFO] [stderr] 36 | / lazy_static! { [INFO] [stderr] 37 | | static ref LAST_DISTANCE: Mutex> = Mutex::new(None); [INFO] [stderr] 38 | | static ref LAST_VOLTAGE: Mutex> = Mutex::new(None); [INFO] [stderr] 39 | | static ref LAST_TEMPERATURE: Mutex> = Mutex::new(None); [INFO] [stderr] 40 | | static ref DATA_RATE_RE: Regex = Regex::new(r"^SF(\d+)BW(\d+)$").unwrap(); [INFO] [stderr] 41 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/main.rs:36:1 [INFO] [stderr] | [INFO] [stderr] 36 | / lazy_static! { [INFO] [stderr] 37 | | static ref LAST_DISTANCE: Mutex> = Mutex::new(None); [INFO] [stderr] 38 | | static ref LAST_VOLTAGE: Mutex> = Mutex::new(None); [INFO] [stderr] 39 | | static ref LAST_TEMPERATURE: Mutex> = Mutex::new(None); [INFO] [stderr] 40 | | static ref DATA_RATE_RE: Regex = Regex::new(r"^SF(\d+)BW(\d+)$").unwrap(); [INFO] [stderr] 41 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/main.rs:36:1 [INFO] [stderr] | [INFO] [stderr] 36 | / lazy_static! { [INFO] [stderr] 37 | | static ref LAST_DISTANCE: Mutex> = Mutex::new(None); [INFO] [stderr] 38 | | static ref LAST_VOLTAGE: Mutex> = Mutex::new(None); [INFO] [stderr] 39 | | static ref LAST_TEMPERATURE: Mutex> = Mutex::new(None); [INFO] [stderr] 40 | | static ref DATA_RATE_RE: Regex = Regex::new(r"^SF(\d+)BW(\d+)$").unwrap(); [INFO] [stderr] 41 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/main.rs:36:1 [INFO] [stderr] | [INFO] [stderr] 36 | / lazy_static! { [INFO] [stderr] 37 | | static ref LAST_DISTANCE: Mutex> = Mutex::new(None); [INFO] [stderr] 38 | | static ref LAST_VOLTAGE: Mutex> = Mutex::new(None); [INFO] [stderr] 39 | | static ref LAST_TEMPERATURE: Mutex> = Mutex::new(None); [INFO] [stderr] 40 | | static ref DATA_RATE_RE: Regex = Regex::new(r"^SF(\d+)BW(\d+)$").unwrap(); [INFO] [stderr] 41 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/main.rs:36:1 [INFO] [stderr] | [INFO] [stderr] 36 | / lazy_static! { [INFO] [stderr] 37 | | static ref LAST_DISTANCE: Mutex> = Mutex::new(None); [INFO] [stderr] 38 | | static ref LAST_VOLTAGE: Mutex> = Mutex::new(None); [INFO] [stderr] 39 | | static ref LAST_TEMPERATURE: Mutex> = Mutex::new(None); [INFO] [stderr] 40 | | static ref DATA_RATE_RE: Regex = Regex::new(r"^SF(\d+)BW(\d+)$").unwrap(); [INFO] [stderr] 41 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0283]: type annotations required: cannot resolve `std::string::String: std::convert::AsRef<_>` [INFO] [stderr] --> src/main.rs:324:43 [INFO] [stderr] | [INFO] [stderr] 324 | ApiBuilder::new(conf.threema_from.as_ref(), conf.threema_secret.as_ref()) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0283`. [INFO] [stderr] error: Could not compile `smartmail`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0283]: type annotations required: cannot resolve `std::string::String: std::convert::AsRef<_>` [INFO] [stderr] --> src/main.rs:324:43 [INFO] [stderr] | [INFO] [stderr] 324 | ApiBuilder::new(conf.threema_from.as_ref(), conf.threema_secret.as_ref()) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0283`. [INFO] [stderr] error: Could not compile `smartmail`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "137e52d62ffd26051fbc1aa51090b317087c7d73280f0abf6f1277eee18efcc8"` [INFO] running `"docker" "rm" "-f" "137e52d62ffd26051fbc1aa51090b317087c7d73280f0abf6f1277eee18efcc8"` [INFO] [stdout] 137e52d62ffd26051fbc1aa51090b317087c7d73280f0abf6f1277eee18efcc8