[INFO] updating cached repository Tylerflick/bme680-webthing [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/Tylerflick/bme680-webthing [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/Tylerflick/bme680-webthing" "work/ex/beta-1.38-1/sources/1.37.0/gh/Tylerflick/bme680-webthing"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/Tylerflick/bme680-webthing'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/Tylerflick/bme680-webthing" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/Tylerflick/bme680-webthing"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/Tylerflick/bme680-webthing'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 1a7b54dfab2be8ad14ab6b1f830ef3a58bfd9834 [INFO] sha for GitHub repo Tylerflick/bme680-webthing: 1a7b54dfab2be8ad14ab6b1f830ef3a58bfd9834 [INFO] validating manifest of Tylerflick/bme680-webthing on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of Tylerflick/bme680-webthing on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing Tylerflick/bme680-webthing [INFO] finished frobbing Tylerflick/bme680-webthing [INFO] frobbed toml for Tylerflick/bme680-webthing written to work/ex/beta-1.38-1/sources/1.37.0/gh/Tylerflick/bme680-webthing/Cargo.toml [INFO] started frobbing Tylerflick/bme680-webthing [INFO] finished frobbing Tylerflick/bme680-webthing [INFO] frobbed toml for Tylerflick/bme680-webthing written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/Tylerflick/bme680-webthing/Cargo.toml [INFO] crate Tylerflick/bme680-webthing already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing Tylerflick/bme680-webthing against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-0/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/Tylerflick/bme680-webthing:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-08-13" "build" "--frozen"` [INFO] [stdout] 6b0133c9611733e63d11a1d82a1443e371cc9e2a913b1629fb0b49b2861955b3 [INFO] running `"docker" "start" "-a" "6b0133c9611733e63d11a1d82a1443e371cc9e2a913b1629fb0b49b2861955b3"` [INFO] [stderr] Compiling syn v0.15.33 [INFO] [stderr] Compiling serde v1.0.90 [INFO] [stderr] Compiling c_linked_list v1.1.1 [INFO] [stderr] Compiling nb v0.1.2 [INFO] [stderr] Compiling cast v0.2.2 [INFO] [stderr] Compiling actix-web v0.7.19 [INFO] [stderr] Compiling tower-service v0.1.0 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling nix v0.11.0 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling embedded-hal v0.2.2 [INFO] [stderr] Compiling get_if_addrs v0.5.3 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling flate2 v1.0.7 [INFO] [stderr] Compiling cookie v0.11.0 [INFO] [stderr] Compiling nix v0.6.0 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling nix v0.10.0 [INFO] [stderr] Compiling bme680 v0.4.3 [INFO] [stderr] Compiling error-chain v0.12.0 [INFO] [stderr] Compiling env_logger v0.6.1 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling h2 v0.1.18 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling tokio-threadpool v0.1.14 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling spidev v0.3.0 [INFO] [stderr] Compiling publicsuffix v1.5.2 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling tokio-fs v0.1.6 [INFO] [stderr] Compiling i2cdev v0.4.1 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Compiling valico v2.4.2 [INFO] [stderr] Compiling valico v3.0.0 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling sysfs_gpio v0.5.3 [INFO] [stderr] Compiling linux-embedded-hal v0.2.2 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling tokio-signal v0.2.7 [INFO] [stderr] Compiling tokio v0.1.19 [INFO] [stderr] Compiling tokio-core v0.1.17 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling serde_json v1.0.39 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling multimap v0.4.0 [INFO] [stderr] Compiling libmdns v0.2.3 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling v_escape_derive v0.5.3 [INFO] [stderr] Compiling actix_derive v0.3.2 [INFO] [stderr] Compiling jsonway v2.0.0 [INFO] [stderr] Compiling v_escape v0.7.2 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling v_htmlescape v0.4.3 [INFO] [stderr] Compiling trust-dns-proto v0.6.3 [INFO] [stderr] Compiling trust-dns-proto v0.5.0 [INFO] [stderr] Compiling trust-dns-resolver v0.10.3 [INFO] [stderr] Compiling actix v0.7.9 [INFO] [stderr] Compiling actix-net v0.2.6 [INFO] [stderr] Compiling webthing v0.11.0 [INFO] [stderr] Compiling bme680-webthing v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused import: `embedded_hal::blocking::i2c` [INFO] [stderr] --> src/main.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | use embedded_hal::blocking::i2c; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::result` [INFO] [stderr] --> src/main.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | use std::result; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:32:32 [INFO] [stderr] | [INFO] [stderr] 32 | thing: Weak>>, [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Thing` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:35:21 [INFO] [stderr] | [INFO] [stderr] 35 | ) -> Option> { [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Action` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:52:41 [INFO] [stderr] | [INFO] [stderr] 52 | fn make_temp_sensor() -> Arc>> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Thing + 'static` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:81:40 [INFO] [stderr] | [INFO] [stderr] 81 | fn make_hum_sensor() -> Arc>> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Thing + 'static` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:112:40 [INFO] [stderr] | [INFO] [stderr] 112 | let mut things: Vec>>> = Vec::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Thing + 'static` [INFO] [stderr] [INFO] [stderr] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stderr] --> src/main.rs:128:27 [INFO] [stderr] | [INFO] [stderr] 128 | let mut dev = Bme680::init(i2c, Delay {}, I2CAddress::Primary)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stderr] = note: required by `std::ops::Try::from_error` [INFO] [stderr] [INFO] [stderr] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stderr] --> src/main.rs:141:34 [INFO] [stderr] | [INFO] [stderr] 141 | let (data, _state) = dev.get_sensor_data()?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stderr] = note: required by `std::ops::Try::from_error` [INFO] [stderr] [INFO] [stderr] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stderr] --> src/main.rs:137:13 [INFO] [stderr] | [INFO] [stderr] 137 | dev.set_sensor_settings(settings)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stderr] = note: required by `std::ops::Try::from_error` [INFO] [stderr] [INFO] [stderr] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stderr] --> src/main.rs:140:13 [INFO] [stderr] | [INFO] [stderr] 140 | dev.set_sensor_mode(PowerMode::ForcedMode)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stderr] = note: required by `std::ops::Try::from_error` [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0277`. [INFO] [stderr] error: Could not compile `bme680-webthing`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "6b0133c9611733e63d11a1d82a1443e371cc9e2a913b1629fb0b49b2861955b3"` [INFO] running `"docker" "rm" "-f" "6b0133c9611733e63d11a1d82a1443e371cc9e2a913b1629fb0b49b2861955b3"` [INFO] [stdout] 6b0133c9611733e63d11a1d82a1443e371cc9e2a913b1629fb0b49b2861955b3