[INFO] cloning repository https://github.com/just-engineer/weather-bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/just-engineer/weather-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjust-engineer%2Fweather-bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjust-engineer%2Fweather-bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 91fe47f9c654dfa37a3f7d2464b43e92f0c249c9 [INFO] testing just-engineer/weather-bot against 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjust-engineer%2Fweather-bot" "/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/just-engineer/weather-bot on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/just-engineer/weather-bot [INFO] finished tweaking git repo https://github.com/just-engineer/weather-bot [INFO] tweaked toml for git repo https://github.com/just-engineer/weather-bot written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/just-engineer/weather-bot already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--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" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.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] 52cb0568fdcb31816aedc5db5a455b55c1cd9ad928783645de6de94631228b51 [INFO] running `Command { std: "docker" "start" "-a" "52cb0568fdcb31816aedc5db5a455b55c1cd9ad928783645de6de94631228b51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52cb0568fdcb31816aedc5db5a455b55c1cd9ad928783645de6de94631228b51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52cb0568fdcb31816aedc5db5a455b55c1cd9ad928783645de6de94631228b51", kill_on_drop: false }` [INFO] [stdout] 52cb0568fdcb31816aedc5db5a455b55c1cd9ad928783645de6de94631228b51 [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" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 818cc6e824960277254849c01685751b9047e83185f3807257a76be523a97c08 [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" "818cc6e824960277254849c01685751b9047e83185f3807257a76be523a97c08", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.45 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling cc v1.0.61 [INFO] [stderr] Compiling futures-core v0.3.6 [INFO] [stderr] Compiling futures-sink v0.3.6 [INFO] [stderr] Compiling futures-io v0.3.6 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling smallvec v1.4.2 [INFO] [stderr] Compiling rustversion v1.0.3 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling object v0.21.1 [INFO] [stderr] Compiling regex-syntax v0.6.20 [INFO] [stderr] Compiling owned-alloc v0.2.0 [INFO] [stderr] Compiling futures-task v0.3.6 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling tracing v0.1.21 [INFO] [stderr] Compiling os_info v2.0.8 [INFO] [stderr] Compiling aho-corasick v0.7.14 [INFO] [stderr] Compiling futures-channel v0.3.6 [INFO] [stderr] Compiling lockfree v0.5.1 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling typed-builder v0.3.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling pbkdf2 v0.3.0 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling md-5 v0.8.0 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling net2 v0.2.35 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling socket2 v0.3.15 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling futures-intrusive v0.3.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling backtrace v0.3.53 [INFO] [stderr] Compiling regex v1.4.1 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling webpki v0.21.3 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling rustls v0.18.1 [INFO] [stderr] Compiling webpki-roots v0.19.0 [INFO] [stderr] Compiling rustls v0.17.0 [INFO] [stderr] Compiling webpki-roots v0.18.0 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling futures-macro v0.3.6 [INFO] [stderr] Compiling thiserror-impl v1.0.21 [INFO] [stderr] Compiling async-trait v0.1.41 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling derivative v2.1.1 [INFO] [stderr] Compiling teloxide-macros v0.3.2 [INFO] [stderr] Compiling typed-builder v0.7.0 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling err-derive v0.2.4 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling serde_with_macros v1.2.2 [INFO] [stderr] Compiling thiserror v1.0.21 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling futures-util v0.3.6 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.14.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.13.1 [INFO] [stderr] Compiling h2 v0.2.6 [INFO] [stderr] Compiling futures-executor v0.3.6 [INFO] [stderr] Compiling futures v0.3.6 [INFO] [stderr] Compiling trust-dns-proto v0.19.5 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling serde_with v1.5.1 [INFO] [stderr] Compiling trust-dns-resolver v0.19.5 [INFO] [stderr] Compiling bson v1.1.0 [INFO] [stderr] Compiling hyper v0.13.8 [INFO] [stderr] Compiling hyper-rustls v0.21.0 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling reqwest v0.10.8 [INFO] [stderr] Compiling mongodb v1.1.1 [INFO] [stderr] Compiling teloxide v0.3.2 [INFO] [stderr] Compiling weather-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Bson` [INFO] [stdout] --> src/database.rs:1:50 [INFO] [stdout] | [INFO] [stdout] 1 | use mongodb::{Database, Client, bson::{Document, Bson, oid::ObjectId}, bson}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bson::doc` [INFO] [stdout] --> src/database.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use bson::doc; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::client_message::ClientMessage` [INFO] [stdout] --> src/database.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::client_message::ClientMessage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mongodb::bson` [INFO] [stdout] --> src/client_message.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use mongodb::bson; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::client_message::ClientMessage` [INFO] [stdout] --> src/handler.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::client_message::ClientMessage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/weather_settings.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DurationRound`, `Duration`, `Utc` [INFO] [stdout] --> src/weather_settings.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::{Utc, DurationRound, Duration}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update_options` [INFO] [stdout] --> src/database.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let update_options = UpdateOptions::builder().upsert(Some(true)).build(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_options` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/database.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let result = collection [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/handler.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | if let Some(text) = cx.update.text() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/client_message.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(chat_id: &str, message: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_time` [INFO] [stdout] --> src/weather_settings.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn with_time(self, time: DateTime) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `datastore` [INFO] [stdout] --> src/scheduler.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | datastore: Arc [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `hour` [INFO] [stdout] --> src/main.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | Time { hour: u8, minute: u8 }, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `minute` [INFO] [stdout] --> src/main.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | Time { hour: u8, minute: u8 }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 48s [INFO] running `Command { std: "docker" "inspect" "818cc6e824960277254849c01685751b9047e83185f3807257a76be523a97c08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "818cc6e824960277254849c01685751b9047e83185f3807257a76be523a97c08", kill_on_drop: false }` [INFO] [stdout] 818cc6e824960277254849c01685751b9047e83185f3807257a76be523a97c08 [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" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--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] f4e3756c94539b684a33b4bb26edcbd3f8c8a0f912119db3640c9ba10c575082 [INFO] running `Command { std: "docker" "start" "-a" "f4e3756c94539b684a33b4bb26edcbd3f8c8a0f912119db3640c9ba10c575082", kill_on_drop: false }` [INFO] [stderr] Compiling weather-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Bson` [INFO] [stdout] --> src/database.rs:1:50 [INFO] [stdout] | [INFO] [stdout] 1 | use mongodb::{Database, Client, bson::{Document, Bson, oid::ObjectId}, bson}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bson::doc` [INFO] [stdout] --> src/database.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use bson::doc; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::client_message::ClientMessage` [INFO] [stdout] --> src/database.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::client_message::ClientMessage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::client_message::ClientMessage` [INFO] [stdout] --> src/handler.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::client_message::ClientMessage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update_options` [INFO] [stdout] --> src/database.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let update_options = UpdateOptions::builder().upsert(Some(true)).build(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_options` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/database.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let result = collection [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/handler.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | if let Some(text) = cx.update.text() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instant` [INFO] [stdout] --> src/weather_settings.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | let instant = Instant::now(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_time` [INFO] [stdout] --> src/weather_settings.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn with_time(self, time: DateTime) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `datastore` [INFO] [stdout] --> src/scheduler.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | datastore: Arc [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `hour` [INFO] [stdout] --> src/main.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | Time { hour: u8, minute: u8 }, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `minute` [INFO] [stdout] --> src/main.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | Time { hour: u8, minute: u8 }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 8.21s [INFO] running `Command { std: "docker" "inspect" "f4e3756c94539b684a33b4bb26edcbd3f8c8a0f912119db3640c9ba10c575082", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4e3756c94539b684a33b4bb26edcbd3f8c8a0f912119db3640c9ba10c575082", kill_on_drop: false }` [INFO] [stdout] f4e3756c94539b684a33b4bb26edcbd3f8c8a0f912119db3640c9ba10c575082 [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" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6d630f8b31310c50f139b38949a1b88a2296c7158e2e202cd1ad5ed8904ac790 [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" "6d630f8b31310c50f139b38949a1b88a2296c7158e2e202cd1ad5ed8904ac790", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Bson` [INFO] [stderr] --> src/database.rs:1:50 [INFO] [stderr] | [INFO] [stderr] 1 | use mongodb::{Database, Client, bson::{Document, Bson, oid::ObjectId}, bson}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `bson::doc` [INFO] [stderr] --> src/database.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use bson::doc; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::client_message::ClientMessage` [INFO] [stderr] --> src/database.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::client_message::ClientMessage; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::client_message::ClientMessage` [INFO] [stderr] --> src/handler.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::client_message::ClientMessage; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `update_options` [INFO] [stderr] --> src/database.rs:26:13 [INFO] [stderr] | [INFO] [stderr] 26 | let update_options = UpdateOptions::builder().upsert(Some(true)).build(); [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_options` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `result` [INFO] [stderr] --> src/database.rs:29:13 [INFO] [stderr] | [INFO] [stderr] 29 | let result = collection [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `text` [INFO] [stderr] --> src/handler.rs:13:17 [INFO] [stderr] | [INFO] [stderr] 13 | if let Some(text) = cx.update.text() { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `instant` [INFO] [stderr] --> src/weather_settings.rs:77:9 [INFO] [stderr] | [INFO] [stderr] 77 | let instant = Instant::now(); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instant` [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `with_time` [INFO] [stderr] --> src/weather_settings.rs:38:12 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn with_time(self, time: DateTime) -> Self { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `datastore` [INFO] [stderr] --> src/scheduler.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | datastore: Arc [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `hour` [INFO] [stderr] --> src/main.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 22 | Time { hour: u8, minute: u8 }, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `minute` [INFO] [stderr] --> src/main.rs:22:22 [INFO] [stderr] | [INFO] [stderr] 22 | Time { hour: u8, minute: u8 }, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `weather-bot` (bin "weather-bot" test) generated 12 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/weather_bot-907145358e08e32f) [INFO] [stdout] running 4 tests [INFO] [stdout] test client_message::bson_test ... ok [INFO] [stdout] test weather_settings::serialize_small ... ok [INFO] [stdout] test weather_settings::serialize_full ... ok [INFO] [stdout] test database::update ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6d630f8b31310c50f139b38949a1b88a2296c7158e2e202cd1ad5ed8904ac790", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d630f8b31310c50f139b38949a1b88a2296c7158e2e202cd1ad5ed8904ac790", kill_on_drop: false }` [INFO] [stdout] 6d630f8b31310c50f139b38949a1b88a2296c7158e2e202cd1ad5ed8904ac790