[INFO] updating cached repository https://github.com/Tylerflick/bme680-webthing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1a7b54dfab2be8ad14ab6b1f830ef3a58bfd9834 [INFO] testing Tylerflick/bme680-webthing against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTylerflick%2Fbme680-webthing" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Tylerflick/bme680-webthing on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Tylerflick/bme680-webthing [INFO] finished tweaking git repo https://github.com/Tylerflick/bme680-webthing [INFO] tweaked toml for git repo https://github.com/Tylerflick/bme680-webthing written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/Tylerflick/bme680-webthing already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 01a73fd806a162753f0699f5b5a7ba8c2368a02c24de922629ed2e57588b9b0b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "01a73fd806a162753f0699f5b5a7ba8c2368a02c24de922629ed2e57588b9b0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01a73fd806a162753f0699f5b5a7ba8c2368a02c24de922629ed2e57588b9b0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01a73fd806a162753f0699f5b5a7ba8c2368a02c24de922629ed2e57588b9b0b", kill_on_drop: false }` [INFO] [stdout] 01a73fd806a162753f0699f5b5a7ba8c2368a02c24de922629ed2e57588b9b0b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3173e5c7841ae5972f17b3d883286be18bcace893511f27b7d56198f26c23a7d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3173e5c7841ae5972f17b3d883286be18bcace893511f27b7d56198f26c23a7d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.29 [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 bitflags v0.3.3 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling v_escape v0.7.2 [INFO] [stderr] Compiling tower-service v0.1.0 [INFO] [stderr] Compiling actix-web v0.7.19 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling miniz-sys v0.1.11 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling crossbeam-channel v0.3.8 [INFO] [stderr] Compiling embedded-hal v0.2.2 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling socket2 v0.3.8 [INFO] [stderr] Compiling signal-hook-registry v1.0.1 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling nix v0.11.0 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling get_if_addrs v0.5.3 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling bme680 v0.4.3 [INFO] [stderr] Compiling resolv-conf v0.6.2 [INFO] [stderr] Compiling signal-hook v0.1.9 [INFO] [stderr] Compiling rand v0.6.5 [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 http v0.1.17 [INFO] [stderr] Compiling nix v0.6.0 [INFO] [stderr] Compiling env_logger v0.6.1 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling cookie v0.11.0 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling flate2 v1.0.7 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling tokio-threadpool v0.1.14 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling backtrace v0.3.15 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling error-chain v0.12.0 [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 publicsuffix v1.5.2 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling spidev v0.3.0 [INFO] [stderr] Compiling tokio-fs v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling tokio-signal v0.2.7 [INFO] [stderr] Compiling h2 v0.1.18 [INFO] [stderr] Compiling i2cdev v0.4.1 [INFO] [stderr] Compiling sysfs_gpio v0.5.3 [INFO] [stderr] Compiling tokio v0.1.19 [INFO] [stderr] Compiling linux-embedded-hal v0.2.2 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling tokio-core v0.1.17 [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 jsonway v2.0.0 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling v_escape_derive v0.5.3 [INFO] [stderr] Compiling actix_derive v0.3.2 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling trust-dns-proto v0.6.3 [INFO] [stderr] Compiling trust-dns-proto v0.5.0 [INFO] [stderr] Compiling v_htmlescape v0.4.3 [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/rustwide/workdir) [INFO] [stdout] warning: unused import: `embedded_hal::blocking::i2c` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use embedded_hal::blocking::i2c; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::result` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use std::result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:32:32 [INFO] [stdout] | [INFO] [stdout] 32 | thing: Weak>>, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Thing` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | ) -> Option> { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:52:41 [INFO] [stdout] | [INFO] [stdout] 52 | fn make_temp_sensor() -> Arc>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Thing + 'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:81:40 [INFO] [stdout] | [INFO] [stdout] 81 | fn make_hum_sensor() -> Arc>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Thing + 'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:112:40 [INFO] [stdout] | [INFO] [stdout] 112 | let mut things: Vec>>> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Thing + 'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a closure that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stdout] --> src/main.rs:128:27 [INFO] [stdout] | [INFO] [stdout] 119 | thread::spawn(move || { [INFO] [stdout] | ___________________- [INFO] [stdout] 120 | | let mut rng = rand::thread_rng(); [INFO] [stdout] 121 | | [INFO] [stdout] 122 | | // Mimic an actual sensor updating its reading every couple seconds. [INFO] [stdout] ... | [INFO] [stdout] 128 | | let mut dev = Bme680::init(i2c, Delay {}, I2CAddress::Primary)?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a closure that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 165 | | } [INFO] [stdout] 166 | | }); [INFO] [stdout] | |_____- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a closure that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stdout] --> src/main.rs:141:34 [INFO] [stdout] | [INFO] [stdout] 119 | thread::spawn(move || { [INFO] [stdout] | ___________________- [INFO] [stdout] 120 | | let mut rng = rand::thread_rng(); [INFO] [stdout] 121 | | [INFO] [stdout] 122 | | // Mimic an actual sensor updating its reading every couple seconds. [INFO] [stdout] ... | [INFO] [stdout] 141 | | let (data, _state) = dev.get_sensor_data()?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a closure that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 165 | | } [INFO] [stdout] 166 | | }); [INFO] [stdout] | |_____- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a closure that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stdout] --> src/main.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 119 | thread::spawn(move || { [INFO] [stdout] | ___________________- [INFO] [stdout] 120 | | let mut rng = rand::thread_rng(); [INFO] [stdout] 121 | | [INFO] [stdout] 122 | | // Mimic an actual sensor updating its reading every couple seconds. [INFO] [stdout] ... | [INFO] [stdout] 137 | | dev.set_sensor_settings(settings)?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a closure that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 165 | | } [INFO] [stdout] 166 | | }); [INFO] [stdout] | |_____- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a closure that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stdout] --> src/main.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 119 | thread::spawn(move || { [INFO] [stdout] | ___________________- [INFO] [stdout] 120 | | let mut rng = rand::thread_rng(); [INFO] [stdout] 121 | | [INFO] [stdout] 122 | | // Mimic an actual sensor updating its reading every couple seconds. [INFO] [stdout] ... | [INFO] [stdout] 140 | | dev.set_sensor_mode(PowerMode::ForcedMode)?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a closure that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 165 | | } [INFO] [stdout] 166 | | }); [INFO] [stdout] | |_____- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bme680-webthing`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "3173e5c7841ae5972f17b3d883286be18bcace893511f27b7d56198f26c23a7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3173e5c7841ae5972f17b3d883286be18bcace893511f27b7d56198f26c23a7d", kill_on_drop: false }` [INFO] [stdout] 3173e5c7841ae5972f17b3d883286be18bcace893511f27b7d56198f26c23a7d