[INFO] cloning repository https://github.com/rosie-home-automation/garage_rfid [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rosie-home-automation/garage_rfid" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frosie-home-automation%2Fgarage_rfid", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frosie-home-automation%2Fgarage_rfid'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 343067c27f093a23cb8126c79aa98f8a657ab538 [INFO] testing rosie-home-automation/garage_rfid against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frosie-home-automation%2Fgarage_rfid" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rosie-home-automation/garage_rfid on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rosie-home-automation/garage_rfid [INFO] finished tweaking git repo https://github.com/rosie-home-automation/garage_rfid [INFO] tweaked toml for git repo https://github.com/rosie-home-automation/garage_rfid written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/rosie-home-automation/garage_rfid already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded slack-hook v0.8.0 [INFO] [stderr] Downloaded slog-term v2.4.1 [INFO] [stderr] Downloaded cargo_metadata v0.8.1 [INFO] [stderr] Downloaded env_proxy v0.3.1 [INFO] [stderr] Downloaded cargo-edit v0.3.3 [INFO] [stderr] Downloaded signal-hook-registry v1.1.0 [INFO] [stderr] Downloaded miniz_oxide v0.3.0 [INFO] [stderr] Downloaded jsonway v2.0.0 [INFO] [stderr] Downloaded diesel_cli v1.4.0 [INFO] [stderr] Downloaded brev v0.1.14 [INFO] [stderr] Downloaded actix-http v0.2.8 [INFO] [stderr] Downloaded actix-connect v0.2.3 [INFO] [stderr] Downloaded nanoid v0.2.0 [INFO] [stderr] Downloaded slog-atomic v2.0.0 [INFO] [stderr] Downloaded target v1.0.0 [INFO] [stderr] Downloaded bus v2.2.2 [INFO] [stderr] Downloaded cargo-watch v7.2.1 [INFO] [stderr] Downloaded libmdns v0.2.3 [INFO] [stderr] Downloaded toml_edit v0.1.4 [INFO] [stderr] Downloaded awc v0.2.3 [INFO] [stderr] Downloaded valico v3.0.0 [INFO] [stderr] Downloaded just v0.4.4 [INFO] [stderr] Downloaded webthing v0.12.0 [INFO] [stderr] Downloaded watchexec v1.10.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "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] 4d61adbfe6e424457e2a6ca71548d387e0beacf761c17f97c902f27931e585dd [INFO] running `Command { std: "docker" "start" "-a" "4d61adbfe6e424457e2a6ca71548d387e0beacf761c17f97c902f27931e585dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d61adbfe6e424457e2a6ca71548d387e0beacf761c17f97c902f27931e585dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d61adbfe6e424457e2a6ca71548d387e0beacf761c17f97c902f27931e585dd", kill_on_drop: false }` [INFO] [stdout] 4d61adbfe6e424457e2a6ca71548d387e0beacf761c17f97c902f27931e585dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", 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] 6f737d1f8674decb0a5be24508e5a72297e5e96346d1c5bfcee79d70d25b2bf1 [INFO] running `Command { std: "docker" "start" "-a" "6f737d1f8674decb0a5be24508e5a72297e5e96346d1c5bfcee79d70d25b2bf1", kill_on_drop: false }` [INFO] [stderr] Compiling syn v0.15.42 [INFO] [stderr] Compiling serde v1.0.98 [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling cc v1.0.38 [INFO] [stderr] Compiling rustc-demangle v0.1.15 [INFO] [stderr] Compiling ucd-util v0.1.5 [INFO] [stderr] Compiling utf8-ranges v1.0.3 [INFO] [stderr] Compiling arc-swap v0.3.11 [INFO] [stderr] Compiling slog v2.5.2 [INFO] [stderr] Compiling copyless v0.1.4 [INFO] [stderr] Compiling nix v0.10.0 [INFO] [stderr] Compiling hashbrown v0.5.0 [INFO] [stderr] Compiling c_linked_list v1.1.1 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling rust-ini v0.13.0 [INFO] [stderr] Compiling crossbeam v0.2.12 [INFO] [stderr] Compiling atomic-option v0.1.2 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling v_escape v0.7.2 [INFO] [stderr] Compiling actix-service v0.4.1 [INFO] [stderr] Compiling tower-service v0.1.0 [INFO] [stderr] Compiling actix-web v0.7.19 [INFO] [stderr] Compiling uuid v0.6.5 [INFO] [stderr] Compiling lock_api v0.2.0 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling libsqlite3-sys v0.12.0 [INFO] [stderr] Compiling miniz_oxide v0.3.0 [INFO] [stderr] Compiling regex-syntax v0.6.10 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling socket2 v0.3.10 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling signal-hook-registry v1.1.0 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling getrandom v0.1.7 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling get_if_addrs v0.5.3 [INFO] [stderr] Compiling tokio-executor v0.1.8 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling aho-corasick v0.7.4 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling resolv-conf v0.6.2 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling rand_core v0.5.0 [INFO] [stderr] Compiling signal-hook v0.1.10 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling tokio-timer v0.2.11 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling miniz_oxide_c_api v0.2.3 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling openssl-sys v0.9.48 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling slog-async v2.3.0 [INFO] [stderr] Compiling slog-atomic v2.0.0 [INFO] [stderr] Compiling nanoid v0.2.0 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling http v0.1.18 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling cookie v0.11.1 [INFO] [stderr] Compiling regex v1.2.0 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling rand v0.7.0 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling openssl v0.10.24 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling actix-codec v0.1.2 [INFO] [stderr] Compiling flate2 v1.0.9 [INFO] [stderr] Compiling backtrace v0.3.33 [INFO] [stderr] Compiling actix-utils v0.4.5 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling publicsuffix v1.5.2 [INFO] [stderr] Compiling serde-hjson v0.8.2 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Compiling valico v3.0.0 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling serde_derive v1.0.98 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling derive_more v0.15.0 [INFO] [stderr] Compiling v_escape_derive v0.5.3 [INFO] [stderr] Compiling enum-as-inner v0.2.1 [INFO] [stderr] Compiling actix_derive v0.3.2 [INFO] [stderr] Compiling diesel_derives v1.4.0 [INFO] [stderr] Compiling actix-web-codegen v0.1.2 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling v_htmlescape v0.4.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling chrono v0.4.7 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling multimap v0.4.0 [INFO] [stderr] Compiling actix-router v0.1.5 [INFO] [stderr] Compiling url_serde v0.2.0 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling diesel v1.4.2 [INFO] [stderr] Compiling slog-term v2.4.1 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Compiling hyper v0.12.33 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Compiling jsonway v2.0.0 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling slog-json v2.3.0 [INFO] [stderr] Compiling config v0.9.3 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling bus v2.2.2 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling actix-threadpool v0.1.2 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling r2d2 v0.8.5 [INFO] [stderr] Compiling tokio-threadpool v0.1.15 [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 actix-rt v0.2.4 [INFO] [stderr] Compiling actix-server-config v0.1.2 [INFO] [stderr] Compiling trust-dns-proto v0.6.3 [INFO] [stderr] Compiling trust-dns-proto v0.7.4 [INFO] [stderr] Compiling trust-dns-proto v0.5.0 [INFO] [stderr] Compiling tokio-fs v0.1.6 [INFO] [stderr] Compiling actix-server v0.6.0 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tokio-core v0.1.17 [INFO] [stderr] Compiling sysfs_gpio v0.5.4 [INFO] [stderr] Compiling trust-dns-resolver v0.10.3 [INFO] [stderr] Compiling trust-dns-resolver v0.11.1 [INFO] [stderr] Compiling libmdns v0.2.3 [INFO] [stderr] Compiling actix v0.7.9 [INFO] [stderr] Compiling actix-connect v0.2.3 [INFO] [stderr] Compiling actix-http v0.2.8 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling reqwest v0.9.19 [INFO] [stderr] Compiling actix-net v0.2.6 [INFO] [stderr] Compiling slack-hook v0.8.0 [INFO] [stderr] Compiling awc v0.2.3 [INFO] [stderr] Compiling actix-web v1.0.5 [INFO] [stderr] Compiling r2d2-diesel v1.0.0 [INFO] [stderr] Compiling webthing v0.12.0 [INFO] [stderr] Compiling garage_rfid v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/iot/iot_thing.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 74 | 'read_rx_loop: loop { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/iot/close_action.rs:57:50 [INFO] [stdout] | [INFO] [stdout] 57 | fn get_thing(&self) -> Option>>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 - fn get_thing(&self) -> Option>>> { [INFO] [stdout] 57 + fn get_thing(&self) -> Option>>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/iot/close_action.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | let input = self.get_input().unwrap().clone(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `async_pin_pollers` [INFO] [stdout] --> src/garage_door.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | async_pin_pollers: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `database` [INFO] [stdout] --> src/rfid_buffer.rs:23:3 [INFO] [stdout] | [INFO] [stdout] 23 | database: Database, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RfidBuffer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/rfid_buffer.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ttt` [INFO] [stdout] --> src/iot/iot_thing.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | ttt: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/iot/iot_thing.rs:105:7 [INFO] [stdout] | [INFO] [stdout] 105 | prop.set_value(value.clone()); [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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5m 10s [INFO] running `Command { std: "docker" "inspect" "6f737d1f8674decb0a5be24508e5a72297e5e96346d1c5bfcee79d70d25b2bf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f737d1f8674decb0a5be24508e5a72297e5e96346d1c5bfcee79d70d25b2bf1", kill_on_drop: false }` [INFO] [stdout] 6f737d1f8674decb0a5be24508e5a72297e5e96346d1c5bfcee79d70d25b2bf1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0de4ab2e586b5b68bd6cbd9dced7ae76f4f930f5fccbd2f57eda424665997ab6 [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" "0de4ab2e586b5b68bd6cbd9dced7ae76f4f930f5fccbd2f57eda424665997ab6", kill_on_drop: false }` [INFO] [stderr] warning: garage_rfid v0.4.0 (/opt/rustwide/workdir) ignoring invalid dependency `diesel_cli` which is missing a lib target [INFO] [stderr] Compiling nix v0.13.1 [INFO] [stderr] Compiling ascii v0.9.2 [INFO] [stderr] Compiling target v1.0.0 [INFO] [stderr] Compiling assert_matches v1.3.0 [INFO] [stderr] Compiling itertools v0.8.0 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling term_size v0.3.1 [INFO] [stderr] Compiling inotify-sys v0.1.3 [INFO] [stderr] Compiling filetime v0.2.5 [INFO] [stderr] Compiling bstr v0.2.6 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Compiling ctrlc v3.1.3 [INFO] [stderr] Compiling env_proxy v0.3.1 [INFO] [stderr] Compiling mio-extras v2.0.5 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling cargo_metadata v0.8.1 [INFO] [stderr] Compiling dotenv v0.13.0 [INFO] [stderr] Compiling dotenv v0.14.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling inotify v0.6.1 [INFO] [stderr] Compiling brev v0.1.14 [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/iot/iot_thing.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 74 | 'read_rx_loop: loop { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/iot/close_action.rs:57:50 [INFO] [stdout] | [INFO] [stdout] 57 | fn get_thing(&self) -> Option>>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 - fn get_thing(&self) -> Option>>> { [INFO] [stdout] 57 + fn get_thing(&self) -> Option>>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/iot/close_action.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | let input = self.get_input().unwrap().clone(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `async_pin_pollers` [INFO] [stdout] --> src/garage_door.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | async_pin_pollers: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `database` [INFO] [stdout] --> src/rfid_buffer.rs:23:3 [INFO] [stdout] | [INFO] [stdout] 23 | database: Database, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RfidBuffer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/rfid_buffer.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ttt` [INFO] [stdout] --> src/iot/iot_thing.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | ttt: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/iot/iot_thing.rs:105:7 [INFO] [stdout] | [INFO] [stdout] 105 | prop.set_value(value.clone()); [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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling globset v0.4.4 [INFO] [stderr] Compiling notify v4.0.12 [INFO] [stderr] Compiling structopt v0.2.18 [INFO] [stderr] Compiling just v0.4.4 [INFO] [stderr] Compiling watchexec v1.10.3 [INFO] [stderr] Compiling cargo-watch v7.2.1 [INFO] [stderr] Compiling toml_edit v0.1.4 [INFO] [stderr] Compiling cargo-edit v0.3.3 [INFO] [stderr] Compiling garage_rfid v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `gotham` [INFO] [stdout] --> examples/user_api.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate gotham; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `gotham_derive` [INFO] [stdout] --> examples/user_api.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate gotham_derive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stream` [INFO] [stdout] --> examples/collate_threads.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | use futures::{Future, Stream, Sink}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `core` [INFO] [stdout] --> examples/collate_threads.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | let mut core = Core::new()?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_core` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rx` [INFO] [stdout] --> examples/collate_threads.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | let (tx_master, rx) = mpsc::channel(50); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/collate_threads.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | let mut core = Core::new()?; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `scale` should have an upper case name [INFO] [stdout] --> examples/collate_threads.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | const scale: u64 = 100; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `SCALE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> examples/bouncer.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `futures::MapErr` that must be used [INFO] [stdout] --> examples/collate_threads.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | / t1_tx.clone() [INFO] [stdout] 41 | | .send(0) [INFO] [stdout] 42 | | .then(|tx| [INFO] [stdout] 43 | | match tx { [INFO] [stdout] ... | [INFO] [stdout] 53 | | ) [INFO] [stdout] 54 | | .map_err(|_err| ()); [INFO] [stdout] | |______________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: futures do nothing unless polled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `futures::MapErr` that must be used [INFO] [stdout] --> examples/collate_threads.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | / t2_tx.clone() [INFO] [stdout] 66 | | .send(1) [INFO] [stdout] 67 | | .then(|tx| [INFO] [stdout] 68 | | match tx { [INFO] [stdout] ... | [INFO] [stdout] 78 | | ) [INFO] [stdout] 79 | | .map_err(|_err| ()); [INFO] [stdout] | |______________________________^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless polled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/collate_threads.rs:90:3 [INFO] [stdout] | [INFO] [stdout] 90 | t1.join(); [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 `Result` that must be used [INFO] [stdout] --> examples/collate_threads.rs:91:3 [INFO] [stdout] | [INFO] [stdout] 91 | t2.join(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> examples/bouncer.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | let bouncer = Bouncer::new(connection); [INFO] [stdout] | ^^^^^^^^^^^^ ---------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/bouncer.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn new(connection: SqliteConnection, slacker: Arc>) -> Bouncer { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `hyper::Headers`, `hyper::HttpVersion` [INFO] [stdout] --> examples/user_api.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | use hyper::{Body, Headers, HttpVersion, Method, Response, StatusCode, Uri}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^ no `HttpVersion` in the root [INFO] [stdout] | | [INFO] [stdout] | no `Headers` in the root [INFO] [stdout] | help: a similar name exists in the module: `headers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `NewMiddleware` in this scope [INFO] [stdout] --> examples/user_api.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Clone, NewMiddleware)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `garage_rfid` due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/database.rs:36:61 [INFO] [stdout] | [INFO] [stdout] 36 | fn creat_user(connection: &SqliteConnection, name: &str) -> usize { [INFO] [stdout] | ---------- ^^^^^ expected `usize`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] ... [INFO] [stdout] 41 | .expect("Error creating new user"); [INFO] [stdout] | - help: consider removing this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/database.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 46 | let id = creat_user(connection, "Matilda"); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&diesel::SqliteConnection`, found struct `diesel::SqliteConnection` [INFO] [stdout] | help: consider borrowing here: `&connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> examples/gatekeeper.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> examples/gatekeeper.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> examples/gatekeeper.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::OpenOptions` [INFO] [stdout] --> examples/gatekeeper.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::fs::OpenOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `garage_rfid::schema::credentials` [INFO] [stdout] --> examples/gatekeeper.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use garage_rfid::schema::credentials; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `garage_rfid::schema::users` [INFO] [stdout] --> examples/gatekeeper.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use garage_rfid::schema::users; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/gatekeeper.rs:25:49 [INFO] [stdout] | [INFO] [stdout] 25 | User::create(&logger, &database.connection(), name) [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&str`, found struct `String` [INFO] [stdout] | help: consider borrowing here: `&name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> examples/slog.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `garage_rfid::schema::users` [INFO] [stdout] --> examples/slog.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use garage_rfid::schema::users; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/slog.rs:21:49 [INFO] [stdout] | [INFO] [stdout] 21 | User::create(&logger, &database.connection(), name) [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&str`, found struct `String` [INFO] [stdout] | help: consider borrowing here: `&name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> examples/database2.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Router` in this scope [INFO] [stdout] --> examples/user_api.rs:36:23 [INFO] [stdout] | [INFO] [stdout] 36 | fn router(&self) -> Router { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `single_pipeline` in this scope [INFO] [stdout] --> examples/user_api.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | let (chain, pipelines) = single_pipeline(new_pipeline().add(request_middleware).build()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_pipeline` in this scope [INFO] [stdout] --> examples/user_api.rs:40:46 [INFO] [stdout] | [INFO] [stdout] 40 | let (chain, pipelines) = single_pipeline(new_pipeline().add(request_middleware).build()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `build_router` in this scope [INFO] [stdout] --> examples/user_api.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | build_router(chain, pipelines, |route| { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Middleware` in this scope [INFO] [stdout] --> examples/user_api.rs:60:6 [INFO] [stdout] | [INFO] [stdout] 60 | impl Middleware for RequestLoggingMiddleware { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> examples/user_api.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | Chain: FnOnce(State) -> Box, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HandlerFuture` in this scope [INFO] [stdout] --> examples/user_api.rs:63:33 [INFO] [stdout] | [INFO] [stdout] 60 | impl Middleware for RequestLoggingMiddleware { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 63 | Chain: FnOnce(State) -> Box, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> examples/user_api.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | fn call(self, state: State, chain: Chain) -> Box [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HandlerFuture` in this scope [INFO] [stdout] --> examples/user_api.rs:61:59 [INFO] [stdout] | [INFO] [stdout] 60 | impl Middleware for RequestLoggingMiddleware { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 61 | fn call(self, state: State, chain: Chain) -> Box [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> examples/user_api.rs:84:30 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn index(&self, state: State) -> (State, Response) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> examples/user_api.rs:84:41 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn index(&self, state: State) -> (State, Response) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_response` in this scope [INFO] [stdout] --> examples/user_api.rs:85:20 [INFO] [stdout] | [INFO] [stdout] 85 | let response = create_response( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> examples/user_api.rs:100:25 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn say_hello(state: State) -> (State, Response) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> examples/user_api.rs:100:36 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn say_hello(state: State) -> (State, Response) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_response` in this scope [INFO] [stdout] --> examples/user_api.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | let res = create_response( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Body` [INFO] [stdout] --> examples/user_api.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use hyper::{Body, Headers, HttpVersion, Method, Response, StatusCode, Uri}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> examples/database2.rs:23:3 [INFO] [stdout] | [INFO] [stdout] 23 | User::create(connection, name) [INFO] [stdout] | ^^^^^^^^^^^^ ---------- ---- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/models/user.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn create(logger: &slog::Logger, conn: &SqliteConnection, name: &str) -> User { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 6 arguments but 5 arguments were supplied [INFO] [stdout] --> examples/database2.rs:30:3 [INFO] [stdout] | [INFO] [stdout] 30 | Credential::create(connection, &user.id, name, variety, value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ---------- -------- ---- ------- ----- supplied 5 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 6 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/models/credential.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn create( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> examples/mio_evented.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | const TOKEN_0: Token = Token(0); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Token` in this scope [INFO] [stdout] --> examples/mio_evented.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | const TOKEN_0: Token = Token(0); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> examples/mio_evented.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | const TOKEN_1: Token = Token(1); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Token` in this scope [INFO] [stdout] --> examples/mio_evented.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | const TOKEN_1: Token = Token(1); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> examples/mio_evented.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::unix::io::AsRawFd` [INFO] [stdout] --> examples/mio_evented.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::os::unix::io::AsRawFd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> examples/mio_evented.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> examples/mio_evented.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> examples/mio_evented_test.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | const TOKEN_0: Token = Token(0); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Token` in this scope [INFO] [stdout] --> examples/mio_evented_test.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | const TOKEN_0: Token = Token(0); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> examples/mio_evented_test.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | const TOKEN_1: Token = Token(1); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Token` in this scope [INFO] [stdout] --> examples/mio_evented_test.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | const TOKEN_1: Token = Token(1); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> examples/mio_evented_test.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::unix::io::AsRawFd` [INFO] [stdout] --> examples/mio_evented_test.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::os::unix::io::AsRawFd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> examples/mio_evented_test.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/iot/iot_thing.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 74 | 'read_rx_loop: loop { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/iot/close_action.rs:57:50 [INFO] [stdout] | [INFO] [stdout] 57 | fn get_thing(&self) -> Option>>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 - fn get_thing(&self) -> Option>>> { [INFO] [stdout] 57 + fn get_thing(&self) -> Option>>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/iot/close_action.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | let input = self.get_input().unwrap().clone(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `async_pin_pollers` [INFO] [stdout] --> src/garage_door.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | async_pin_pollers: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `database` [INFO] [stdout] --> src/rfid_buffer.rs:23:3 [INFO] [stdout] | [INFO] [stdout] 23 | database: Database, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RfidBuffer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/rfid_buffer.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ttt` [INFO] [stdout] --> src/iot/iot_thing.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | ttt: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/iot/iot_thing.rs:105:7 [INFO] [stdout] | [INFO] [stdout] 105 | prop.set_value(value.clone()); [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: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "0de4ab2e586b5b68bd6cbd9dced7ae76f4f930f5fccbd2f57eda424665997ab6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0de4ab2e586b5b68bd6cbd9dced7ae76f4f930f5fccbd2f57eda424665997ab6", kill_on_drop: false }` [INFO] [stdout] 0de4ab2e586b5b68bd6cbd9dced7ae76f4f930f5fccbd2f57eda424665997ab6