[INFO] updating cached repository https://github.com/songokas/rust-heating-control [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] fb8c63a96e784ac6d25f918019c539f94d65f5ac [INFO] checking songokas/rust-heating-control against master#e22b61bff0bdd08be7665607cb7be3748c8a35d2 for pr-74627 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsongokas%2Frust-heating-control" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/songokas/rust-heating-control on toolchain e22b61bff0bdd08be7665607cb7be3748c8a35d2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e22b61bff0bdd08be7665607cb7be3748c8a35d2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/songokas/rust-heating-control [INFO] finished tweaking git repo https://github.com/songokas/rust-heating-control [INFO] tweaked toml for git repo https://github.com/songokas/rust-heating-control written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/songokas/rust-heating-control already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e22b61bff0bdd08be7665607cb7be3748c8a35d2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/songokas/rust-arduino-mqtt-pin` [INFO] [stderr] error: the lock file /workspace/builds/worker-1/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e22b61bff0bdd08be7665607cb7be3748c8a35d2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/songokas/rust-arduino-mqtt-pin` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e22b61bff0bdd08be7665607cb7be3748c8a35d2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+e22b61bff0bdd08be7665607cb7be3748c8a35d2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 88a7be973715242f014df4535562b661528465eaf2f9d68153a78cabe3c1f7d4 [INFO] running `Command { std: "docker" "start" "-a" "88a7be973715242f014df4535562b661528465eaf2f9d68153a78cabe3c1f7d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "88a7be973715242f014df4535562b661528465eaf2f9d68153a78cabe3c1f7d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88a7be973715242f014df4535562b661528465eaf2f9d68153a78cabe3c1f7d4", kill_on_drop: false }` [INFO] [stdout] 88a7be973715242f014df4535562b661528465eaf2f9d68153a78cabe3c1f7d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+e22b61bff0bdd08be7665607cb7be3748c8a35d2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1939dcf85651fcb7cf1e74b0d32d7b57b1cb760a0c51e7a357b6f126be331c9d [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" "1939dcf85651fcb7cf1e74b0d32d7b57b1cb760a0c51e7a357b6f126be331c9d", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling syn v1.0.36 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling state v0.4.1 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling arraydeque v0.4.5 [INFO] [stderr] Checking unicode-xid v0.1.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking mosquitto-client v0.1.5 [INFO] [stderr] Checking yaml-rust v0.3.5 [INFO] [stderr] Checking ansi_term v0.9.0 [INFO] [stderr] Checking vfs v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling libsqlite3-sys v0.18.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Checking yaml-rust v0.4.4 [INFO] [stderr] Checking textwrap v0.9.0 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Compiling pear_codegen v0.1.4 [INFO] [stderr] Compiling rocket_codegen v0.4.5 [INFO] [stderr] Compiling rocket v0.4.5 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking inotify-sys v0.1.3 [INFO] [stderr] Checking filetime v0.2.11 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Checking clap v2.27.1 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling block-cipher-trait v0.6.2 [INFO] [stderr] Compiling universal-hash v0.3.0 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling aead v0.2.0 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling aes-soft v0.3.3 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling polyval v0.3.3 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling hkdf v0.8.0 [INFO] [stderr] Compiling ghash v0.2.3 [INFO] [stderr] Compiling aes v0.3.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling aes-gcm v0.5.0 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking notify v4.0.15 [INFO] [stderr] Checking cookie v0.11.3 [INFO] [stderr] Checking bigdecimal v0.1.2 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Compiling speculate v0.1.2 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling derive-new v0.5.8 [INFO] [stderr] Compiling derive-getters v0.1.0 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Compiling pear v0.1.4 [INFO] [stderr] Checking rocket_http v0.4.5 [INFO] [stderr] Checking serde v1.0.114 [INFO] [stderr] Checking chrono v0.4.13 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking serde_yaml v0.8.13 [INFO] [stderr] Checking diesel v1.4.5 [INFO] [stderr] Checking arduino-mqtt-pin v0.1.0 (https://github.com/songokas/rust-arduino-mqtt-pin?branch=master#432e1ff5) [INFO] [stderr] Checking rocket_contrib v0.4.5 [INFO] [stderr] Checking migrations_internals v1.4.1 [INFO] [stderr] Compiling migrations_macros v1.4.2 [INFO] [stderr] Checking diesel_migrations v1.4.0 [INFO] [stderr] Checking heating-control v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::embedded_migrations` [INFO] [stdout] --> src/bin/../repository.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | use crate::embedded_migrations; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `embedded_migrations` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `map` in this scope [INFO] [stdout] --> src/bin/../repository.rs:333:20 [INFO] [stdout] | [INFO] [stdout] 333 | let data = map!{ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: have you added the `#[macro_use]` on the module/import? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `map` in this scope [INFO] [stdout] --> src/bin/../repository.rs:381:21 [INFO] [stdout] | [INFO] [stdout] 381 | let nodes = map!{"main".to_owned() => ControlNode::new( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: have you added the `#[macro_use]` on the module/import? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ControlNode` [INFO] [stdout] --> src/bin/../repository.rs:268:25 [INFO] [stdout] | [INFO] [stdout] 268 | use crate::config::{ControlNode}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/bin/ui.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveTime` [INFO] [stdout] --> src/bin/ui.rs:204:28 [INFO] [stdout] | [INFO] [stdout] 204 | use chrono::{TimeZone, NaiveTime}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/bin/ui.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `heating-control`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/bin/../helper.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | if let Err(v) = result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/bin/../repository.rs:139:62 [INFO] [stdout] | [INFO] [stdout] 139 | match op.pin_state.value { PinValue::Digital(v) => 0, _ => 1 }, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zone_name` [INFO] [stdout] --> src/bin/../repository.rs:221:52 [INFO] [stdout] | [INFO] [stdout] 221 | control_node.zones.iter().filter_map(|(zone_name, zone)| { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_zone_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pin` [INFO] [stdout] --> src/bin/../repository.rs:361:18 [INFO] [stdout] | [INFO] [stdout] 361 | for (pin, states) in pin_states { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `json` [INFO] [stdout] --> src/bin/../config.rs:241:21 [INFO] [stdout] | [INFO] [stdout] 241 | let json = serde_json::to_string(&config).unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/bin/../repository.rs:400:21 [INFO] [stdout] | [INFO] [stdout] 400 | let data = get_data(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/bin/../helper.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | if let Err(v) = result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/bin/../repository.rs:139:62 [INFO] [stdout] | [INFO] [stdout] 139 | match op.pin_state.value { PinValue::Digital(v) => 0, _ => 1 }, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zone_name` [INFO] [stdout] --> src/bin/../repository.rs:221:52 [INFO] [stdout] | [INFO] [stdout] 221 | control_node.zones.iter().filter_map(|(zone_name, zone)| { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_zone_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/bin/../repository.rs:398:17 [INFO] [stdout] | [INFO] [stdout] 398 | embedded_migrations::run(&connection); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/bin/../repository.rs:398:17 [INFO] [stdout] | [INFO] [stdout] 398 | embedded_migrations::run(&connection); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/bin/../repository.rs:398:17 [INFO] [stdout] | [INFO] [stdout] 398 | embedded_migrations::run(&connection); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/bin/../repository.rs:398:17 [INFO] [stdout] | [INFO] [stdout] 398 | embedded_migrations::run(&connection); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/bin/../deciders.rs:189:17 [INFO] [stdout] | [INFO] [stdout] 189 | embedded_migrations::run(&connection); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/bin/../state_retriever.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | embedded_migrations::run(&connection); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1939dcf85651fcb7cf1e74b0d32d7b57b1cb760a0c51e7a357b6f126be331c9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1939dcf85651fcb7cf1e74b0d32d7b57b1cb760a0c51e7a357b6f126be331c9d", kill_on_drop: false }` [INFO] [stdout] 1939dcf85651fcb7cf1e74b0d32d7b57b1cb760a0c51e7a357b6f126be331c9d