[INFO] fetching crate qatrader_rs 0.3.0... [INFO] testing qatrader_rs-0.3.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate qatrader_rs 0.3.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate qatrader_rs 0.3.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate qatrader_rs 0.3.0 [INFO] finished tweaking crates.io crate qatrader_rs 0.3.0 [INFO] tweaked toml for crates.io crate qatrader_rs 0.3.0 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate crates.io crate qatrader_rs 0.3.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+beta-2022-04-10" "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] 805e65b91dd613b41d287f50c10bc7d509806c50b8675897132cfdc5fdd3b6cb [INFO] running `Command { std: "docker" "start" "-a" "805e65b91dd613b41d287f50c10bc7d509806c50b8675897132cfdc5fdd3b6cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "805e65b91dd613b41d287f50c10bc7d509806c50b8675897132cfdc5fdd3b6cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "805e65b91dd613b41d287f50c10bc7d509806c50b8675897132cfdc5fdd3b6cb", kill_on_drop: false }` [INFO] [stdout] 805e65b91dd613b41d287f50c10bc7d509806c50b8675897132cfdc5fdd3b6cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ae232cd02915d11f042a5e194dd5ab2ce1c829a8a4ae464dea3ea395a4f93903 [INFO] running `Command { std: "docker" "start" "-a" "ae232cd02915d11f042a5e194dd5ab2ce1c829a8a4ae464dea3ea395a4f93903", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling serde v1.0.103 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling smallvec v1.0.0 [INFO] [stderr] Compiling ucd-trie v0.1.2 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling same-file v1.0.5 [INFO] [stderr] Compiling arrayref v0.3.5 [INFO] [stderr] Compiling cookie-factory v0.2.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling constant_time_eq v0.1.4 [INFO] [stderr] Compiling ucd-util v0.1.5 [INFO] [stderr] Compiling openssl v0.10.26 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling doc-comment v0.3.1 [INFO] [stderr] Compiling rayon-core v1.6.1 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling ndarray v0.13.0 [INFO] [stderr] Compiling md5 v0.3.8 [INFO] [stderr] Compiling try_from v0.2.2 [INFO] [stderr] Compiling data-encoding v2.1.2 [INFO] [stderr] Compiling separator v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling semver v0.8.0 [INFO] [stderr] Compiling walkdir v2.2.9 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling block-buffer v0.3.3 [INFO] [stderr] Compiling unicode-normalization v0.1.11 [INFO] [stderr] Compiling pest v2.1.2 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling matrixmultiply v0.2.3 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling pest_meta v2.1.2 [INFO] [stderr] Compiling crossbeam-queue v0.2.0 [INFO] [stderr] Compiling crossbeam-channel v0.4.0 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Compiling jobserver v0.1.17 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling generic-array v0.9.0 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling cc v1.0.47 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.20 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling digest v0.7.6 [INFO] [stderr] Compiling crypto-mac v0.6.2 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling input_buffer v0.2.0 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling crossbeam v0.7.3 [INFO] [stderr] Compiling sha2 v0.7.1 [INFO] [stderr] Compiling sha-1 v0.7.0 [INFO] [stderr] Compiling md-5 v0.7.0 [INFO] [stderr] Compiling hmac v0.6.3 [INFO] [stderr] Compiling mio-extras v2.0.5 [INFO] [stderr] Compiling sha-1 v0.8.1 [INFO] [stderr] Compiling pest_generator v2.1.1 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling pbkdf2 v0.2.3 [INFO] [stderr] Compiling rayon v1.2.1 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling openssl-sys v0.9.53 [INFO] [stderr] Compiling libgit2-sys v0.9.2 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling scan_fmt v0.1.3 [INFO] [stderr] Compiling serde_derive v1.0.103 [INFO] [stderr] Compiling wsq v0.9.1 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling backtrace v0.3.40 [INFO] [stderr] Compiling snafu-derive v0.4.4 [INFO] [stderr] Compiling snafu v0.4.4 [INFO] [stderr] Compiling git2 v0.10.2 [INFO] [stderr] Compiling serde_json v1.0.42 [INFO] [stderr] Compiling chrono v0.4.10 [INFO] [stderr] Compiling toml v0.5.5 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling textnonce v0.6.5 [INFO] [stderr] Compiling amq-protocol-types v1.2.0 [INFO] [stderr] Compiling handlebars v1.1.0 [INFO] [stderr] Compiling bson v0.13.0 [INFO] [stderr] Compiling built v0.3.2 [INFO] [stderr] Compiling amiquip v0.3.2 [INFO] [stderr] Compiling mongodb v0.3.12 [INFO] [stderr] Compiling amq-protocol-codegen v1.4.0 [INFO] [stderr] Compiling amq-protocol v1.4.0 [INFO] [stderr] Compiling qatrader_rs v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/qawebsocket.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/qawebsocket.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `connect` [INFO] [stdout] --> src/qawebsocket.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use wsq::{connect, Handler, Handshake, Message, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Publish` [INFO] [stdout] --> src/qaeventmq.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | QueueDeclareOptions, Result, Publish [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ErrorKind`, `Error`, `connect` [INFO] [stdout] --> src/main.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use wsq::{connect, WebSocket, Error, ErrorKind}; [INFO] [stdout] | ^^^^^^^ ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crossbeam_utils::thread::scope` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crossbeam_utils::thread::scope; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserializer` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use serde::Deserializer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/qaeventmq.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 49 | let body = String::from_utf8_lossy(&delivery.body); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eventmq` [INFO] [stdout] --> src/qaeventmq.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn callback(eventmq: &QAEventMQ, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_eventmq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | let mut client = qaeventmq::QAEventMQ{ [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: struct is never constructed: `Qifiaccount` [INFO] [stdout] --> src/qamongo.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | struct Qifiaccount{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | ws.handler.run(ws.poll.borrow_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 19s [INFO] running `Command { std: "docker" "inspect" "ae232cd02915d11f042a5e194dd5ab2ce1c829a8a4ae464dea3ea395a4f93903", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae232cd02915d11f042a5e194dd5ab2ce1c829a8a4ae464dea3ea395a4f93903", kill_on_drop: false }` [INFO] [stdout] ae232cd02915d11f042a5e194dd5ab2ce1c829a8a4ae464dea3ea395a4f93903 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+beta-2022-04-10" "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] 07e1c9dea54cf27b44d682fefa97a80bc157a9d5438b615c43614a161af1fed0 [INFO] running `Command { std: "docker" "start" "-a" "07e1c9dea54cf27b44d682fefa97a80bc157a9d5438b615c43614a161af1fed0", kill_on_drop: false }` [INFO] [stderr] Compiling qatrader_rs v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/qawebsocket.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/qawebsocket.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `connect` [INFO] [stdout] --> src/qawebsocket.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use wsq::{connect, Handler, Handshake, Message, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Publish` [INFO] [stdout] --> src/qaeventmq.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | QueueDeclareOptions, Result, Publish [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ErrorKind`, `Error`, `connect` [INFO] [stdout] --> src/main.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use wsq::{connect, WebSocket, Error, ErrorKind}; [INFO] [stdout] | ^^^^^^^ ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crossbeam_utils::thread::scope` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crossbeam_utils::thread::scope; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserializer` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use serde::Deserializer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/qaeventmq.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 49 | let body = String::from_utf8_lossy(&delivery.body); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eventmq` [INFO] [stdout] --> src/qaeventmq.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn callback(eventmq: &QAEventMQ, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_eventmq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | let mut client = qaeventmq::QAEventMQ{ [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: struct is never constructed: `Qifiaccount` [INFO] [stdout] --> src/qamongo.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | struct Qifiaccount{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | ws.handler.run(ws.poll.borrow_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.01s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/qatrader_rs-bccbfd964ce008d0) [INFO] running `Command { std: "docker" "inspect" "07e1c9dea54cf27b44d682fefa97a80bc157a9d5438b615c43614a161af1fed0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07e1c9dea54cf27b44d682fefa97a80bc157a9d5438b615c43614a161af1fed0", kill_on_drop: false }` [INFO] [stdout] 07e1c9dea54cf27b44d682fefa97a80bc157a9d5438b615c43614a161af1fed0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d7a0bb0a5bef4da0b47749457982e678fb060dc63cf4060bc13516426b874567 [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" "d7a0bb0a5bef4da0b47749457982e678fb060dc63cf4060bc13516426b874567", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::time::Duration` [INFO] [stderr] --> src/qawebsocket.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::time::Duration; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::thread` [INFO] [stderr] --> src/qawebsocket.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::thread; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `connect` [INFO] [stderr] --> src/qawebsocket.rs:7:11 [INFO] [stderr] | [INFO] [stderr] 7 | use wsq::{connect, Handler, Handshake, Message, Result}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Publish` [INFO] [stderr] --> src/qaeventmq.rs:4:34 [INFO] [stderr] | [INFO] [stderr] 4 | QueueDeclareOptions, Result, Publish [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ErrorKind`, `Error`, `connect` [INFO] [stderr] --> src/main.rs:6:11 [INFO] [stderr] | [INFO] [stderr] 6 | use wsq::{connect, WebSocket, Error, ErrorKind}; [INFO] [stderr] | ^^^^^^^ ^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crossbeam_utils::thread::scope` [INFO] [stderr] --> src/main.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use crossbeam_utils::thread::scope; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `uuid::Uuid` [INFO] [stderr] --> src/main.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | use uuid::Uuid; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde::Deserializer` [INFO] [stderr] --> src/main.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | use serde::Deserializer; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `body` [INFO] [stderr] --> src/qaeventmq.rs:49:25 [INFO] [stderr] | [INFO] [stderr] 49 | let body = String::from_utf8_lossy(&delivery.body); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `eventmq` [INFO] [stderr] --> src/qaeventmq.rs:63:21 [INFO] [stderr] | [INFO] [stderr] 63 | pub fn callback(eventmq: &QAEventMQ, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_eventmq` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:34:17 [INFO] [stderr] | [INFO] [stderr] 34 | let mut client = qaeventmq::QAEventMQ{ [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: struct is never constructed: `Qifiaccount` [INFO] [stderr] --> src/qamongo.rs:37:8 [INFO] [stderr] | [INFO] [stderr] 37 | struct Qifiaccount{ [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:173:5 [INFO] [stderr] | [INFO] [stderr] 173 | ws.handler.run(ws.poll.borrow_mut()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `qatrader_rs` (bin "qatrader_rs" test) generated 13 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/qatrader_rs-bccbfd964ce008d0) [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" "d7a0bb0a5bef4da0b47749457982e678fb060dc63cf4060bc13516426b874567", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7a0bb0a5bef4da0b47749457982e678fb060dc63cf4060bc13516426b874567", kill_on_drop: false }` [INFO] [stdout] d7a0bb0a5bef4da0b47749457982e678fb060dc63cf4060bc13516426b874567