[INFO] updating cached repository https://github.com/Tylerflick/bme680-webthing [INFO] running `"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"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 1a7b54dfab2be8ad14ab6b1f830ef3a58bfd9834 [INFO] testing Tylerflick/bme680-webthing against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTylerflick%2Fbme680-webthing" "/workspace/builds/worker-10/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Tylerflick/bme680-webthing on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [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-10/source/Cargo.toml [INFO] crate git repo https://github.com/Tylerflick/bme680-webthing already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9675c26f9ea7963197f48e4588d8593bd7a5af8910d92dae1d3b089b4ca363d0 [INFO] running `"docker" "start" "-a" "9675c26f9ea7963197f48e4588d8593bd7a5af8910d92dae1d3b089b4ca363d0"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling libc v0.2.53 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling regex v1.1.6 [INFO] [stderr] Compiling arc-swap v0.3.11 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling nix v0.10.0 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling nb v0.1.2 [INFO] [stderr] Compiling bitflags v0.3.3 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling cast v0.2.2 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling tower-service v0.1.0 [INFO] [stderr] Compiling tokio-sync v0.1.5 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling v_escape v0.7.2 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling miniz-sys v0.1.11 [INFO] [stderr] Compiling actix-web v0.7.19 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling regex-syntax v0.6.6 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling tokio-executor v0.1.7 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling embedded-hal v0.2.2 [INFO] [stderr] Compiling aho-corasick v0.7.3 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.10 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling multimap v0.4.0 [INFO] [stderr] Compiling jsonway v2.0.0 [INFO] [stderr] Compiling bme680 v0.4.3 [INFO] [stderr] Compiling actix_derive v0.3.2 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling nix v0.6.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling num_cpus v1.10.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [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 hostname v0.1.5 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling nix v0.11.0 [INFO] [stderr] Compiling get_if_addrs v0.5.3 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling backtrace v0.3.15 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling flate2 v1.0.7 [INFO] [stderr] Compiling resolv-conf v0.6.2 [INFO] [stderr] Compiling signal-hook v0.1.9 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling v_escape_derive v0.5.3 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling error-chain v0.12.0 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling http v0.1.17 [INFO] [stderr] Compiling cookie v0.11.0 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling tokio-codec v0.1.1 [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 mio-uds v0.6.7 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling spidev v0.3.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 env_logger v0.6.1 [INFO] [stderr] Compiling v_htmlescape v0.4.3 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling tokio-fs v0.1.6 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling tokio-tcp 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 trust-dns-proto v0.6.3 [INFO] [stderr] Compiling trust-dns-proto v0.5.0 [INFO] [stderr] Compiling tokio v0.1.19 [INFO] [stderr] Compiling i2cdev v0.4.1 [INFO] [stderr] Compiling tokio-core v0.1.17 [INFO] [stderr] Compiling sysfs_gpio v0.5.3 [INFO] [stderr] Compiling libmdns v0.2.3 [INFO] [stderr] Compiling linux-embedded-hal v0.2.2 [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] [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 closure that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stderr] --> src/main.rs:128:27 [INFO] [stderr] | [INFO] [stderr] 119 | thread::spawn(move || { [INFO] [stderr] | ___________________- [INFO] [stderr] 120 | | let mut rng = rand::thread_rng(); [INFO] [stderr] 121 | | [INFO] [stderr] 122 | | // Mimic an actual sensor updating its reading every couple seconds. [INFO] [stderr] ... | [INFO] [stderr] 128 | | let mut dev = Bme680::init(i2c, Delay {}, I2CAddress::Primary)?; [INFO] [stderr] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a closure that returns `()` [INFO] [stderr] ... | [INFO] [stderr] 165 | | } [INFO] [stderr] 166 | | }); [INFO] [stderr] | |_____- this function should return `Result` or `Option` to accept `?` [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 closure that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stderr] --> src/main.rs:141:34 [INFO] [stderr] | [INFO] [stderr] 119 | thread::spawn(move || { [INFO] [stderr] | ___________________- [INFO] [stderr] 120 | | let mut rng = rand::thread_rng(); [INFO] [stderr] 121 | | [INFO] [stderr] 122 | | // Mimic an actual sensor updating its reading every couple seconds. [INFO] [stderr] ... | [INFO] [stderr] 141 | | let (data, _state) = dev.get_sensor_data()?; [INFO] [stderr] | | ^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a closure that returns `()` [INFO] [stderr] ... | [INFO] [stderr] 165 | | } [INFO] [stderr] 166 | | }); [INFO] [stderr] | |_____- this function should return `Result` or `Option` to accept `?` [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 closure that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stderr] --> src/main.rs:137:13 [INFO] [stderr] | [INFO] [stderr] 119 | thread::spawn(move || { [INFO] [stderr] | ___________________- [INFO] [stderr] 120 | | let mut rng = rand::thread_rng(); [INFO] [stderr] 121 | | [INFO] [stderr] 122 | | // Mimic an actual sensor updating its reading every couple seconds. [INFO] [stderr] ... | [INFO] [stderr] 137 | | dev.set_sensor_settings(settings)?; [INFO] [stderr] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a closure that returns `()` [INFO] [stderr] ... | [INFO] [stderr] 165 | | } [INFO] [stderr] 166 | | }); [INFO] [stderr] | |_____- this function should return `Result` or `Option` to accept `?` [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 closure that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stderr] --> src/main.rs:140:13 [INFO] [stderr] | [INFO] [stderr] 119 | thread::spawn(move || { [INFO] [stderr] | ___________________- [INFO] [stderr] 120 | | let mut rng = rand::thread_rng(); [INFO] [stderr] 121 | | [INFO] [stderr] 122 | | // Mimic an actual sensor updating its reading every couple seconds. [INFO] [stderr] ... | [INFO] [stderr] 140 | | dev.set_sensor_mode(PowerMode::ForcedMode)?; [INFO] [stderr] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a closure that returns `()` [INFO] [stderr] ... | [INFO] [stderr] 165 | | } [INFO] [stderr] 166 | | }); [INFO] [stderr] | |_____- this function should return `Result` or `Option` to accept `?` [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; 7 warnings emitted [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" "9675c26f9ea7963197f48e4588d8593bd7a5af8910d92dae1d3b089b4ca363d0"` [INFO] running `"docker" "rm" "-f" "9675c26f9ea7963197f48e4588d8593bd7a5af8910d92dae1d3b089b4ca363d0"` [INFO] [stdout] 9675c26f9ea7963197f48e4588d8593bd7a5af8910d92dae1d3b089b4ca363d0