[INFO] cloning repository https://github.com/ryanclanigan/charisma_check [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ryanclanigan/charisma_check" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryanclanigan%2Fcharisma_check", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryanclanigan%2Fcharisma_check'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 07da8ffbf31a219cc1b5de60d925f20bd772ab43 [INFO] testing ryanclanigan/charisma_check against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryanclanigan%2Fcharisma_check" "/workspace/builds/worker-16/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-16/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ryanclanigan/charisma_check 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 git repo https://github.com/ryanclanigan/charisma_check [INFO] finished tweaking git repo https://github.com/ryanclanigan/charisma_check [INFO] tweaked toml for git repo https://github.com/ryanclanigan/charisma_check written to /workspace/builds/worker-16/source/Cargo.toml [INFO] crate git repo https://github.com/ryanclanigan/charisma_check 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 14d86cdd96584ce32b6f176f1da49e2c946dfbf4fa113f9c9801c7624d835760 [INFO] running `Command { std: "docker" "start" "-a" "14d86cdd96584ce32b6f176f1da49e2c946dfbf4fa113f9c9801c7624d835760", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14d86cdd96584ce32b6f176f1da49e2c946dfbf4fa113f9c9801c7624d835760", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14d86cdd96584ce32b6f176f1da49e2c946dfbf4fa113f9c9801c7624d835760", kill_on_drop: false }` [INFO] [stdout] 14d86cdd96584ce32b6f176f1da49e2c946dfbf4fa113f9c9801c7624d835760 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f35aaf805204b0d537c4e402ce2c1b52a84ea67b803d9cc90ff563d9b0438b22 [INFO] running `Command { std: "docker" "start" "-a" "f35aaf805204b0d537c4e402ce2c1b52a84ea67b803d9cc90ff563d9b0438b22", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling proc-macro-nested v0.1.5 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling encoding_rs v0.8.23 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling serenity v0.8.6 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling base64 v0.12.1 [INFO] [stderr] Compiling uwl v0.6.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling miniz_oxide v0.3.6 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling ring v0.16.14 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling input_buffer v0.2.0 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling tungstenite v0.9.2 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling webpki v0.21.3 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling rustls v0.17.0 [INFO] [stderr] Compiling webpki-roots v0.19.0 [INFO] [stderr] Compiling webpki-roots v0.18.0 [INFO] [stderr] Compiling rustls v0.16.0 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Compiling pin-project-internal v0.4.20 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling command_attr v0.2.0 [INFO] [stderr] Compiling tokio-rustls v0.13.1 [INFO] [stderr] Compiling pin-project v0.4.20 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling hyper v0.13.6 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling bstr v0.2.13 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling csv v1.1.3 [INFO] [stderr] Compiling hyper-rustls v0.20.0 [INFO] [stderr] Compiling reqwest v0.10.6 [INFO] [stderr] Compiling saving_throw v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `serenity::model::channel::Message` [INFO] [stdout] --> src/processors/scorer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serenity::model::channel::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/processors/data_manager.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 111 | let result = serializer.write(&records_to_write); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/processors/scorer.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn score_message(message: String) -> u64 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_write` [INFO] [stdout] --> src/serializers/loot_serializer.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | fn write(&self, to_write: &Vec) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_to_write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*channel` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/processors/data_manager.rs:35:32 [INFO] [stdout] | [INFO] [stdout] 34 | Some(channel) => match channel.get(&new_record.id) { [INFO] [stdout] | --------------------------- immutable borrow occurs here [INFO] [stdout] 35 | Some(score) => channel.insert(new_record.id, score + new_record.score), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_score` [INFO] [stdout] --> src/datums/user_record.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn with_score(&self, score: u64) -> 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: `size_of_channel` [INFO] [stdout] --> src/processors/data_manager.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn size_of_channel(&self, channel_id: &ChannelId) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 39s [INFO] running `Command { std: "docker" "inspect" "f35aaf805204b0d537c4e402ce2c1b52a84ea67b803d9cc90ff563d9b0438b22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f35aaf805204b0d537c4e402ce2c1b52a84ea67b803d9cc90ff563d9b0438b22", kill_on_drop: false }` [INFO] [stdout] f35aaf805204b0d537c4e402ce2c1b52a84ea67b803d9cc90ff563d9b0438b22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6933f68e755ca07e34b56e7ab2f6563925993c0366b8180207d48e34a9d2c0a [INFO] running `Command { std: "docker" "start" "-a" "f6933f68e755ca07e34b56e7ab2f6563925993c0366b8180207d48e34a9d2c0a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling saving_throw v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `serenity::model::channel::Message` [INFO] [stdout] --> src/processors/scorer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serenity::model::channel::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/processors/data_manager.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 111 | let result = serializer.write(&records_to_write); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/processors/scorer.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn score_message(message: String) -> u64 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_write` [INFO] [stdout] --> src/serializers/loot_serializer.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | fn write(&self, to_write: &Vec) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_to_write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*channel` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/processors/data_manager.rs:35:32 [INFO] [stdout] | [INFO] [stdout] 34 | Some(channel) => match channel.get(&new_record.id) { [INFO] [stdout] | --------------------------- immutable borrow occurs here [INFO] [stdout] 35 | Some(score) => channel.insert(new_record.id, score + new_record.score), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_score` [INFO] [stdout] --> src/datums/user_record.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn with_score(&self, score: u64) -> 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: `size_of_channel` [INFO] [stdout] --> src/processors/data_manager.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn size_of_channel(&self, channel_id: &ChannelId) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.62s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/saving_throw-1d7f683e6c87fb96) [INFO] running `Command { std: "docker" "inspect" "f6933f68e755ca07e34b56e7ab2f6563925993c0366b8180207d48e34a9d2c0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6933f68e755ca07e34b56e7ab2f6563925993c0366b8180207d48e34a9d2c0a", kill_on_drop: false }` [INFO] [stdout] f6933f68e755ca07e34b56e7ab2f6563925993c0366b8180207d48e34a9d2c0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f9f214ac9237b955b862c113e21789ac3188250ea7ad0d87dbbd039856bd0a04 [INFO] running `Command { std: "docker" "start" "-a" "f9f214ac9237b955b862c113e21789ac3188250ea7ad0d87dbbd039856bd0a04", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `serenity::model::channel::Message` [INFO] [stderr] --> src/processors/scorer.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use serenity::model::channel::Message; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `result` [INFO] [stderr] --> src/processors/data_manager.rs:111:21 [INFO] [stderr] | [INFO] [stderr] 111 | let result = serializer.write(&records_to_write); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `message` [INFO] [stderr] --> src/processors/scorer.rs:6:26 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn score_message(message: String) -> u64 { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `to_write` [INFO] [stderr] --> src/serializers/loot_serializer.rs:22:21 [INFO] [stderr] | [INFO] [stderr] 22 | fn write(&self, to_write: &Vec) -> Result<()> { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_to_write` [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `*channel` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/processors/data_manager.rs:35:32 [INFO] [stderr] | [INFO] [stderr] 34 | Some(channel) => match channel.get(&new_record.id) { [INFO] [stderr] | --------------------------- immutable borrow occurs here [INFO] [stderr] 35 | Some(score) => channel.insert(new_record.id, score + new_record.score), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | immutable borrow later used here [INFO] [stderr] | mutable borrow occurs here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `with_score` [INFO] [stderr] --> src/datums/user_record.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 10 | pub fn with_score(&self, score: u64) -> Self { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `size_of_channel` [INFO] [stderr] --> src/processors/data_manager.rs:76:12 [INFO] [stderr] | [INFO] [stderr] 76 | pub fn size_of_channel(&self, channel_id: &ChannelId) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `saving_throw` (bin "saving_throw" test) generated 7 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.77s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/saving_throw-1d7f683e6c87fb96) [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" "f9f214ac9237b955b862c113e21789ac3188250ea7ad0d87dbbd039856bd0a04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9f214ac9237b955b862c113e21789ac3188250ea7ad0d87dbbd039856bd0a04", kill_on_drop: false }` [INFO] [stdout] f9f214ac9237b955b862c113e21789ac3188250ea7ad0d87dbbd039856bd0a04