[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 try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjust-engineer%2Fweather-bot" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/just-engineer/weather-bot on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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-13/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-rustls v0.13.1 [INFO] [stderr] Downloaded bson v1.1.0 [INFO] [stderr] Downloaded mongodb v1.1.1 [INFO] [stderr] Downloaded typed-builder v0.3.0 [INFO] [stderr] Downloaded owned-alloc v0.2.0 [INFO] [stderr] Downloaded serde_with v1.5.1 [INFO] [stderr] Downloaded rustversion v1.0.3 [INFO] [stderr] Downloaded serde_with_macros v1.2.2 [INFO] [stderr] Downloaded futures-intrusive v0.3.1 [INFO] [stderr] Downloaded teloxide v0.3.2 [INFO] [stderr] Downloaded typed-builder v0.7.0 [INFO] [stderr] Downloaded teloxide-macros v0.3.2 [INFO] [stderr] Downloaded lockfree v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 718dbcc66df171a9a17bc8ba0809765998bf0bf21d243fd2c1f95f5b7273051f [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" "718dbcc66df171a9a17bc8ba0809765998bf0bf21d243fd2c1f95f5b7273051f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "718dbcc66df171a9a17bc8ba0809765998bf0bf21d243fd2c1f95f5b7273051f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "718dbcc66df171a9a17bc8ba0809765998bf0bf21d243fd2c1f95f5b7273051f", kill_on_drop: false }` [INFO] [stdout] 718dbcc66df171a9a17bc8ba0809765998bf0bf21d243fd2c1f95f5b7273051f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=forbid" "-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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 542030b0a1daa43e8c85bf71cff3355720cb73dd390f5476e70d5f0d5da949f3 [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" "542030b0a1daa43e8c85bf71cff3355720cb73dd390f5476e70d5f0d5da949f3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.45 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling pin-project-lite v0.1.11 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling futures-io v0.3.6 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling rustversion v1.0.3 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling object v0.21.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling regex-syntax v0.6.20 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling owned-alloc v0.2.0 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling futures-channel v0.3.6 [INFO] [stderr] Compiling futures-task v0.3.6 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling lockfree v0.5.1 [INFO] [stderr] Compiling encoding_rs v0.8.24 [INFO] [stderr] Compiling net2 v0.2.35 [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 resolv-conf v0.6.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling os_info v2.0.8 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling aho-corasick v0.7.14 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling tracing v0.1.21 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling futures-intrusive v0.3.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling regex v1.4.1 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling pbkdf2 v0.3.0 [INFO] [stderr] Compiling md-5 v0.8.0 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling backtrace v0.3.53 [INFO] [stderr] Compiling webpki v0.21.3 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling env_logger v0.7.1 [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 pretty_env_logger v0.4.0 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling typed-builder v0.3.0 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.6 [INFO] [stderr] Compiling serde_derive v1.0.117 [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 teloxide-macros v0.3.2 [INFO] [stderr] Compiling derivative v2.1.1 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling typed-builder v0.7.0 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling err-derive v0.2.4 [INFO] [stderr] Compiling tokio v0.2.22 [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 serde v1.0.117 [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 trust-dns-resolver 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 hyper v0.13.8 [INFO] [stderr] Compiling bson v1.1.0 [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 teloxide v0.3.2 [INFO] [stderr] Compiling mongodb v1.1.1 [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 3m 10s [INFO] running `Command { std: "docker" "inspect" "542030b0a1daa43e8c85bf71cff3355720cb73dd390f5476e70d5f0d5da949f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "542030b0a1daa43e8c85bf71cff3355720cb73dd390f5476e70d5f0d5da949f3", kill_on_drop: false }` [INFO] [stdout] 542030b0a1daa43e8c85bf71cff3355720cb73dd390f5476e70d5f0d5da949f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=forbid" "-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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 835ba6009541ffdb1c8efd4f925502c37b6a423c03a55f4dc602725eba3c5206 [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" "835ba6009541ffdb1c8efd4f925502c37b6a423c03a55f4dc602725eba3c5206", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] [stderr] Finished test [unoptimized + debuginfo] target(s) in 22.68s [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "835ba6009541ffdb1c8efd4f925502c37b6a423c03a55f4dc602725eba3c5206", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "835ba6009541ffdb1c8efd4f925502c37b6a423c03a55f4dc602725eba3c5206", kill_on_drop: false }` [INFO] [stdout] 835ba6009541ffdb1c8efd4f925502c37b6a423c03a55f4dc602725eba3c5206 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=forbid" "-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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 583ab2c1343cb24a04fb382d2f6ad0a3b4a09775bc00d0e42cb1ef6e3abea6dc [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" "583ab2c1343cb24a04fb382d2f6ad0a3b4a09775bc00d0e42cb1ef6e3abea6dc", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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: 12 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/weather_bot-ecf97767bca428d4) [INFO] [stdout] running 4 tests [INFO] [stdout] test weather_settings::serialize_full ... ok [INFO] [stdout] test database::update ... ok [INFO] [stdout] test client_message::bson_test ... ok [INFO] [stdout] test weather_settings::serialize_small ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "583ab2c1343cb24a04fb382d2f6ad0a3b4a09775bc00d0e42cb1ef6e3abea6dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "583ab2c1343cb24a04fb382d2f6ad0a3b4a09775bc00d0e42cb1ef6e3abea6dc", kill_on_drop: false }` [INFO] [stdout] 583ab2c1343cb24a04fb382d2f6ad0a3b4a09775bc00d0e42cb1ef6e3abea6dc