[INFO] cloning repository https://github.com/nilz3ro/caspie-bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nilz3ro/caspie-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnilz3ro%2Fcaspie-bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnilz3ro%2Fcaspie-bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3c3578c403e5fa067a559142cef4bd1fa9cf62f7 [INFO] testing nilz3ro/caspie-bot against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnilz3ro%2Fcaspie-bot" "/workspace/builds/worker-20/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-20/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nilz3ro/caspie-bot 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/nilz3ro/caspie-bot [INFO] finished tweaking git repo https://github.com/nilz3ro/caspie-bot [INFO] tweaked toml for git repo https://github.com/nilz3ro/caspie-bot written to /workspace/builds/worker-20/source/Cargo.toml [INFO] crate git repo https://github.com/nilz3ro/caspie-bot 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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded frunk_proc_macros_impl v0.1.0 [INFO] [stderr] Downloaded frunk_proc_macro_helpers v0.1.0 [INFO] [stderr] Downloaded frunk_proc_macros v0.1.0 [INFO] [stderr] Downloaded frunk_core v0.4.0 [INFO] [stderr] Downloaded frunk_derives v0.4.0 [INFO] [stderr] Downloaded redis v0.20.2 [INFO] [stderr] Downloaded teloxide-macros v0.4.1 [INFO] [stderr] Downloaded teloxide v0.5.1 [INFO] [stderr] Downloaded teloxide-core v0.3.3 [INFO] [stderr] Downloaded frunk v0.4.0 [INFO] [stderr] Downloaded vecrem v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 12157d0f39abfed30962b806ac59e1680fbef49a6a071908ad5cba3a16541f5b [INFO] running `Command { std: "docker" "start" "-a" "12157d0f39abfed30962b806ac59e1680fbef49a6a071908ad5cba3a16541f5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "12157d0f39abfed30962b806ac59e1680fbef49a6a071908ad5cba3a16541f5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12157d0f39abfed30962b806ac59e1680fbef49a6a071908ad5cba3a16541f5b", kill_on_drop: false }` [INFO] [stdout] 12157d0f39abfed30962b806ac59e1680fbef49a6a071908ad5cba3a16541f5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe2b4d6d973335087c4be9ad24a2b3f91b8557119ffe06e71dd703ab05599bec [INFO] running `Command { std: "docker" "start" "-a" "fe2b4d6d973335087c4be9ad24a2b3f91b8557119ffe06e71dd703ab05599bec", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling futures-sink v0.3.16 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling futures-io v0.3.16 [INFO] [stderr] Compiling serde_derive v1.0.128 [INFO] [stderr] Compiling serde v1.0.128 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling unicode-bidi v0.3.6 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling whoami v1.1.3 [INFO] [stderr] Compiling frunk_core v0.4.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling never v0.1.0 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling half v1.7.1 [INFO] [stderr] Compiling ahash v0.3.8 [INFO] [stderr] Compiling vecrem v0.1.0 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Compiling tokio v1.10.0 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling tinyvec v1.3.1 [INFO] [stderr] Compiling tracing-core v0.1.19 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling http-body v0.4.3 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling openssl-sys v0.9.66 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling libsqlite3-sys v0.22.2 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling socket2 v0.4.1 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling flurry v0.3.1 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling sqlformat v0.1.6 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling darling_core v0.13.0 [INFO] [stderr] Compiling frunk_proc_macro_helpers v0.1.0 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling frunk_proc_macros_impl v0.1.0 [INFO] [stderr] Compiling frunk_derives v0.4.0 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling teloxide-macros v0.4.1 [INFO] [stderr] Compiling darling_macro v0.13.0 [INFO] [stderr] Compiling frunk_proc_macros v0.1.0 [INFO] [stderr] Compiling frunk v0.4.0 [INFO] [stderr] Compiling darling v0.13.0 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling serde_with_macros v1.4.2 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling futures-executor v0.3.16 [INFO] [stderr] Compiling futures v0.3.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling tokio-stream v0.1.7 [INFO] [stderr] Compiling combine v4.6.0 [INFO] [stderr] Compiling sqlx-rt v0.5.7 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling sqlx-core v0.5.7 [INFO] [stderr] Compiling hyper v0.14.11 [INFO] [stderr] Compiling sqlx-macros v0.5.7 [INFO] [stderr] Compiling redis v0.20.2 [INFO] [stderr] Compiling hyper-rustls v0.22.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.4 [INFO] [stderr] Compiling teloxide-core v0.3.3 [INFO] [stderr] Compiling sqlx v0.5.7 [INFO] [stderr] Compiling teloxide v0.5.1 [INFO] [stderr] Compiling caspie-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `NodeStatusDetails` [INFO] [stdout] --> src/book_keeping.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use status::{NodeStatus, NodeStatusDetails, NodeSubscription}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | let (tx, mut rx) = mpsc::channel(64); [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 is never used: `HELP_TEXT` [INFO] [stdout] --> src/bot.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / const HELP_TEXT: &'static str = r#" [INFO] [stdout] 5 | | Hello! I'm Caspie Bot, here is a list of commands I respond to: [INFO] [stdout] 6 | | [INFO] [stdout] 7 | | /subscribe {url} - Get notifications for the node at {url} when it goes offline or comes back online. [INFO] [stdout] ... | [INFO] [stdout] 11 | | Note: {url} must be the full url of the status endpoint for a node: `http://mynode.mysite.com:8888/status`. [INFO] [stdout] 12 | | "#; [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `say_hi` [INFO] [stdout] --> src/bot.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 68 | pub async fn say_hi(b: AutoSend) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `send_help_text` [INFO] [stdout] --> src/bot.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 76 | pub async fn send_help_text(bot: AutoSend, chat_id: i64) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/status.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn new() -> NodeSubscription { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 51.71s [INFO] running `Command { std: "docker" "inspect" "fe2b4d6d973335087c4be9ad24a2b3f91b8557119ffe06e71dd703ab05599bec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe2b4d6d973335087c4be9ad24a2b3f91b8557119ffe06e71dd703ab05599bec", kill_on_drop: false }` [INFO] [stdout] fe2b4d6d973335087c4be9ad24a2b3f91b8557119ffe06e71dd703ab05599bec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dfbb4028aeaa96ee89ead9adaa20b3c6392c866166b70738c0ea5c2c1483f2c0 [INFO] running `Command { std: "docker" "start" "-a" "dfbb4028aeaa96ee89ead9adaa20b3c6392c866166b70738c0ea5c2c1483f2c0", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: unused import: `NodeStatusDetails` [INFO] [stdout] --> src/book_keeping.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use status::{NodeStatus, NodeStatusDetails, NodeSubscription}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | let (tx, mut rx) = mpsc::channel(64); [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 is never used: `HELP_TEXT` [INFO] [stdout] --> src/bot.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / const HELP_TEXT: &'static str = r#" [INFO] [stdout] 5 | | Hello! I'm Caspie Bot, here is a list of commands I respond to: [INFO] [stdout] 6 | | [INFO] [stdout] 7 | | /subscribe {url} - Get notifications for the node at {url} when it goes offline or comes back online. [INFO] [stdout] ... | [INFO] [stdout] 11 | | Note: {url} must be the full url of the status endpoint for a node: `http://mynode.mysite.com:8888/status`. [INFO] [stdout] 12 | | "#; [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `say_hi` [INFO] [stdout] --> src/bot.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 68 | pub async fn say_hi(b: AutoSend) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `send_help_text` [INFO] [stdout] --> src/bot.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 76 | pub async fn send_help_text(bot: AutoSend, chat_id: i64) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/status.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn new() -> NodeSubscription { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling caspie-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `NodeStatusDetails` [INFO] [stdout] --> src/book_keeping.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use status::{NodeStatus, NodeStatusDetails, NodeSubscription}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | let (tx, mut rx) = mpsc::channel(64); [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 is never used: `HELP_TEXT` [INFO] [stdout] --> src/bot.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / const HELP_TEXT: &'static str = r#" [INFO] [stdout] 5 | | Hello! I'm Caspie Bot, here is a list of commands I respond to: [INFO] [stdout] 6 | | [INFO] [stdout] 7 | | /subscribe {url} - Get notifications for the node at {url} when it goes offline or comes back online. [INFO] [stdout] ... | [INFO] [stdout] 11 | | Note: {url} must be the full url of the status endpoint for a node: `http://mynode.mysite.com:8888/status`. [INFO] [stdout] 12 | | "#; [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `say_hi` [INFO] [stdout] --> src/bot.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 68 | pub async fn say_hi(b: AutoSend) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `send_help_text` [INFO] [stdout] --> src/bot.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 76 | pub async fn send_help_text(bot: AutoSend, chat_id: i64) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/status.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn new() -> NodeSubscription { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.62s [INFO] running `Command { std: "docker" "inspect" "dfbb4028aeaa96ee89ead9adaa20b3c6392c866166b70738c0ea5c2c1483f2c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfbb4028aeaa96ee89ead9adaa20b3c6392c866166b70738c0ea5c2c1483f2c0", kill_on_drop: false }` [INFO] [stdout] dfbb4028aeaa96ee89ead9adaa20b3c6392c866166b70738c0ea5c2c1483f2c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 503dcf1ee2e0970a47d2e03cea3f861b8b8c78f8d611c3a850ada55b8a27dd29 [INFO] running `Command { std: "docker" "start" "-a" "503dcf1ee2e0970a47d2e03cea3f861b8b8c78f8d611c3a850ada55b8a27dd29", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: unused import: `NodeStatusDetails` [INFO] [stdout] running 0 tests [INFO] [stderr] --> src/book_keeping.rs:2:26 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 2 | use status::{NodeStatus, NodeStatusDetails, NodeSubscription}; [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:23:22 [INFO] [stderr] | [INFO] [stderr] 23 | let (tx, mut rx) = mpsc::channel(64); [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `HELP_TEXT` [INFO] [stderr] --> src/bot.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | / const HELP_TEXT: &'static str = r#" [INFO] [stderr] 5 | | Hello! I'm Caspie Bot, here is a list of commands I respond to: [INFO] [stderr] 6 | | [INFO] [stderr] 7 | | /subscribe {url} - Get notifications for the node at {url} when it goes offline or comes back online. [INFO] [stderr] ... | [INFO] [stderr] 11 | | Note: {url} must be the full url of the status endpoint for a node: `http://mynode.mysite.com:8888/status`. [INFO] [stderr] 12 | | "#; [INFO] [stderr] | |___^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `say_hi` [INFO] [stderr] --> src/bot.rs:68:14 [INFO] [stderr] | [INFO] [stderr] 68 | pub async fn say_hi(b: AutoSend) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `send_help_text` [INFO] [stderr] --> src/bot.rs:76:14 [INFO] [stderr] | [INFO] [stderr] 76 | pub async fn send_help_text(bot: AutoSend, chat_id: i64) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/status.rs:50:12 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn new() -> NodeSubscription { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `caspie-bot` (lib) generated 6 warnings [INFO] [stderr] warning: `caspie-bot` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/caspie_bot-0a47a6fe2414cb4b) [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/caspie_bot-945961de65c1b9fc) [INFO] [stderr] Doc-tests caspie-bot [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "503dcf1ee2e0970a47d2e03cea3f861b8b8c78f8d611c3a850ada55b8a27dd29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "503dcf1ee2e0970a47d2e03cea3f861b8b8c78f8d611c3a850ada55b8a27dd29", kill_on_drop: false }` [INFO] [stdout] 503dcf1ee2e0970a47d2e03cea3f861b8b8c78f8d611c3a850ada55b8a27dd29