[INFO] cloning repository https://github.com/DeusFerrariis/btcpay-ws [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DeusFerrariis/btcpay-ws" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeusFerrariis%2Fbtcpay-ws", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeusFerrariis%2Fbtcpay-ws'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0ecddcb1ef48a736e5f8129505e74f6d36534261 [INFO] testing DeusFerrariis/btcpay-ws against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeusFerrariis%2Fbtcpay-ws" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DeusFerrariis/btcpay-ws 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/DeusFerrariis/btcpay-ws [INFO] finished tweaking git repo https://github.com/DeusFerrariis/btcpay-ws [INFO] tweaked toml for git repo https://github.com/DeusFerrariis/btcpay-ws written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/DeusFerrariis/btcpay-ws 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 http-client v6.3.5 [INFO] [stderr] Downloaded redis v0.19.0 [INFO] [stderr] Downloaded async-tungstenite v0.10.0 [INFO] [stderr] Downloaded sha-1 v0.9.5 [INFO] [stderr] Downloaded tide-websockets v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] 2c022ccb399733f1b6d09603501b39dc4e18482be29eb87e83df529c23a2a49f [INFO] running `Command { std: "docker" "start" "-a" "2c022ccb399733f1b6d09603501b39dc4e18482be29eb87e83df529c23a2a49f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c022ccb399733f1b6d09603501b39dc4e18482be29eb87e83df529c23a2a49f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c022ccb399733f1b6d09603501b39dc4e18482be29eb87e83df529c23a2a49f", kill_on_drop: false }` [INFO] [stdout] 2c022ccb399733f1b6d09603501b39dc4e18482be29eb87e83df529c23a2a49f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] [stdout] b79bb9eb45fb98318ee5b376aa161df2b5068868966cea377105285de1a6bd45 [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" "b79bb9eb45fb98318ee5b376aa161df2b5068868966cea377105285de1a6bd45", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.6 [INFO] [stderr] Compiling sval v1.0.0-alpha.5 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling futures-io v0.3.14 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling fastrand v1.4.1 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling signal-hook v0.3.8 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling http-types v2.11.1 [INFO] [stderr] Compiling infer v0.2.3 [INFO] [stderr] Compiling route-recognizer v0.2.0 [INFO] [stderr] Compiling utils v0.1.0 (/opt/rustwide/workdir/log/utils) [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling time v0.2.26 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling blake3 v0.3.7 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling async-lock v2.4.0 [INFO] [stderr] Compiling simple-mutex v1.1.5 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling openssl-sys v0.9.63 [INFO] [stderr] Compiling async-dup v1.2.2 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling universal-hash v0.4.0 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling sha-1 v0.9.5 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling log v0.1.0 (/opt/rustwide/workdir/log) [INFO] [stderr] Compiling openssl v0.10.34 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling futures-lite v1.11.3 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling crossbeam-queue v0.3.1 [INFO] [stderr] Compiling byte-pool v0.2.3 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.14 [INFO] [stderr] Compiling polling v2.0.3 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling async-io v1.4.1 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling async-process v1.1.0 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling async-std v1.9.0 [INFO] [stderr] Compiling tokio-util v0.6.6 [INFO] [stderr] Compiling combine v4.5.2 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling serde_qs v0.7.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling tungstenite v0.11.1 [INFO] [stderr] Compiling async-native-tls v0.3.3 [INFO] [stderr] Compiling async-session v2.0.1 [INFO] [stderr] Compiling femme v2.1.1 [INFO] [stderr] Compiling async-tungstenite v0.10.0 [INFO] [stderr] Compiling async-sse v4.1.0 [INFO] [stderr] Compiling async-h1 v2.3.2 [INFO] [stderr] Compiling http-client v6.3.5 [INFO] [stderr] Compiling tide v0.16.0 [INFO] [stderr] Compiling redis v0.19.0 [INFO] [stderr] Compiling tide-websockets v0.3.0 [INFO] [stderr] Compiling btcpay-ws v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> src/btcpay.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InvoiceError` [INFO] [stdout] --> src/btcpay.rs:7:39 [INFO] [stdout] | [INFO] [stdout] 7 | use super::invoice::{InvoiceCommands, InvoiceError}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `future::Future` [INFO] [stdout] --> src/invoice.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{error::Error, fmt, future::Future}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `redis::Commands` [INFO] [stdout] --> src/websocket.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use redis::Commands; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/btcpay.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/database.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | Err(e) => Err(InvoiceError::DbAuthentication), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `invoice_status` [INFO] [stdout] --> src/database.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | Ok(invoice_status) => Ok(()), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_invoice_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/database.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | Err(e) => Err(InvoiceError::DbConnection), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Connection` [INFO] [stdout] --> src/btcpay.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | Connection, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `RedisError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/btcpay.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 94 | #[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: associated function is never used: `sync_update` [INFO] [stdout] --> src/btcpay.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | fn sync_update(&self, mut connection: redis::Connection) -> Result<(), RedisError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `port` [INFO] [stdout] --> src/database.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | port: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RedisDb` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/database.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `AlreadyExists` [INFO] [stdout] --> src/invoice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | AlreadyExists, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `InvoiceError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/invoice.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[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: variant is never constructed: `BadStatusUpdate` [INFO] [stdout] --> src/invoice.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | BadStatusUpdate, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `InvoiceError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/invoice.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[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: variant is never constructed: `BadStatus` [INFO] [stdout] --> src/invoice.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | BadStatus, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `InvoiceError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/invoice.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[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: variant is never constructed: `Created` [INFO] [stdout] --> src/invoice.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | Created, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PartiallyPayed` [INFO] [stdout] --> src/invoice.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | PartiallyPayed, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Payed` [INFO] [stdout] --> src/invoice.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | Payed, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Expired` [INFO] [stdout] --> src/invoice.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Expired, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_str` [INFO] [stdout] --> src/invoice.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | fn from_str(status: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 46s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: time-macros-impl v0.1.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 9` [INFO] running `Command { std: "docker" "inspect" "b79bb9eb45fb98318ee5b376aa161df2b5068868966cea377105285de1a6bd45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b79bb9eb45fb98318ee5b376aa161df2b5068868966cea377105285de1a6bd45", kill_on_drop: false }` [INFO] [stdout] b79bb9eb45fb98318ee5b376aa161df2b5068868966cea377105285de1a6bd45 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 503301cb60a204f20ea9dabc7cb1ba668501db8398acbe34c4f9a7ef99a66751 [INFO] running `Command { std: "docker" "start" "-a" "503301cb60a204f20ea9dabc7cb1ba668501db8398acbe34c4f9a7ef99a66751", kill_on_drop: false }` [INFO] [stderr] Compiling actix-macros v0.2.0 [INFO] [stderr] Compiling surf v2.2.0 [INFO] [stderr] Compiling tide-testing v0.1.3 [INFO] [stderr] Compiling actix-rt v2.2.0 [INFO] [stderr] Compiling btcpay-ws v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `future::Future` [INFO] [stdout] --> src/btcpay.rs:122:37 [INFO] [stdout] | [INFO] [stdout] 122 | use std::{collections::HashMap, future::Future}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `future::Future` [INFO] [stdout] --> src/invoice.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{error::Error, fmt, future::Future}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `redis::Commands` [INFO] [stdout] --> src/websocket.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use redis::Commands; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/btcpay.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/database.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | Err(e) => Err(InvoiceError::DbAuthentication), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `invoice_status` [INFO] [stdout] --> src/database.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | Ok(invoice_status) => Ok(()), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_invoice_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/database.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | Err(e) => Err(InvoiceError::DbConnection), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `invoice` [INFO] [stdout] --> src/btcpay.rs:145:22 [INFO] [stdout] | [INFO] [stdout] 145 | Some(invoice) => Ok(()), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_invoice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/btcpay.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | let mut state = State { [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: variant is never constructed: `Connection` [INFO] [stdout] --> src/btcpay.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | Connection, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `RedisError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/btcpay.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 94 | #[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: associated function is never used: `sync_update` [INFO] [stdout] --> src/btcpay.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | fn sync_update(&self, mut connection: redis::Connection) -> Result<(), RedisError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `port` [INFO] [stdout] --> src/database.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | port: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RedisDb` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/database.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `AlreadyExists` [INFO] [stdout] --> src/invoice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | AlreadyExists, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `InvoiceError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/invoice.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[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: variant is never constructed: `BadStatusUpdate` [INFO] [stdout] --> src/invoice.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | BadStatusUpdate, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `InvoiceError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/invoice.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[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: variant is never constructed: `BadStatus` [INFO] [stdout] --> src/invoice.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | BadStatus, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `InvoiceError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/invoice.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[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: variant is never constructed: `Created` [INFO] [stdout] --> src/invoice.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | Created, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PartiallyPayed` [INFO] [stdout] --> src/invoice.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | PartiallyPayed, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Payed` [INFO] [stdout] --> src/invoice.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | Payed, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Expired` [INFO] [stdout] --> src/invoice.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Expired, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_str` [INFO] [stdout] --> src/invoice.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | fn from_str(status: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 15.92s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: time-macros-impl v0.1.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 10` [INFO] running `Command { std: "docker" "inspect" "503301cb60a204f20ea9dabc7cb1ba668501db8398acbe34c4f9a7ef99a66751", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "503301cb60a204f20ea9dabc7cb1ba668501db8398acbe34c4f9a7ef99a66751", kill_on_drop: false }` [INFO] [stdout] 503301cb60a204f20ea9dabc7cb1ba668501db8398acbe34c4f9a7ef99a66751 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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", 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] 119954dd974f59119aef2f9804cca8cff4e84607fb8e6ad0bfe404caed8f9865 [INFO] running `Command { std: "docker" "start" "-a" "119954dd974f59119aef2f9804cca8cff4e84607fb8e6ad0bfe404caed8f9865", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `future::Future` [INFO] [stderr] --> src/btcpay.rs:122:37 [INFO] [stderr] | [INFO] [stderr] 122 | use std::{collections::HashMap, future::Future}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `future::Future` [INFO] [stderr] --> src/invoice.rs:2:30 [INFO] [stderr] | [INFO] [stderr] 2 | use std::{error::Error, fmt, future::Future}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `redis::Commands` [INFO] [stderr] --> src/websocket.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use redis::Commands; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/btcpay.rs:28:13 [INFO] [stderr] | [INFO] [stderr] 28 | Err(e) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/database.rs:43:17 [INFO] [stderr] | [INFO] [stderr] 43 | Err(e) => Err(InvoiceError::DbAuthentication), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `invoice_status` [INFO] [stderr] --> src/database.rs:55:24 [INFO] [stderr] | [INFO] [stderr] 55 | Ok(invoice_status) => Ok(()), [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_invoice_status` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/database.rs:59:17 [INFO] [stderr] | [INFO] [stderr] 59 | Err(e) => Err(InvoiceError::DbConnection), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `invoice` [INFO] [stderr] --> src/btcpay.rs:145:22 [INFO] [stderr] | [INFO] [stderr] 145 | Some(invoice) => Ok(()), [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_invoice` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/btcpay.rs:156:13 [INFO] [stderr] | [INFO] [stderr] 156 | let mut state = State { [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: variant is never constructed: `Connection` [INFO] [stderr] --> src/btcpay.rs:96:5 [INFO] [stderr] | [INFO] [stderr] 96 | Connection, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `RedisError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/btcpay.rs:94:10 [INFO] [stderr] | [INFO] [stderr] 94 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `sync_update` [INFO] [stderr] --> src/btcpay.rs:108:8 [INFO] [stderr] | [INFO] [stderr] 108 | fn sync_update(&self, mut connection: redis::Connection) -> Result<(), RedisError> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `port` [INFO] [stderr] --> src/database.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | port: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `RedisDb` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/database.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `AlreadyExists` [INFO] [stderr] --> src/invoice.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | AlreadyExists, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `InvoiceError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/invoice.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `BadStatusUpdate` [INFO] [stderr] --> src/invoice.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | BadStatusUpdate, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `InvoiceError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/invoice.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `BadStatus` [INFO] [stderr] --> src/invoice.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | BadStatus, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `InvoiceError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/invoice.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Created` [INFO] [stderr] --> src/invoice.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | Created, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `PartiallyPayed` [INFO] [stderr] --> src/invoice.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | PartiallyPayed, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Payed` [INFO] [stderr] --> src/invoice.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | Payed, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Expired` [INFO] [stderr] --> src/invoice.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | Expired, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `from_str` [INFO] [stderr] --> src/invoice.rs:41:8 [INFO] [stderr] | [INFO] [stderr] 41 | fn from_str(status: &str) -> Result { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `btcpay-ws` (bin "btcpay-ws" test) generated 20 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: time-macros-impl v0.1.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 11` [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/btcpay_ws-8721d65e5bc2d725) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test btcpay::tests::test_btcpay ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "119954dd974f59119aef2f9804cca8cff4e84607fb8e6ad0bfe404caed8f9865", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "119954dd974f59119aef2f9804cca8cff4e84607fb8e6ad0bfe404caed8f9865", kill_on_drop: false }` [INFO] [stdout] 119954dd974f59119aef2f9804cca8cff4e84607fb8e6ad0bfe404caed8f9865