[INFO] updating cached repository Polyrealm/PolyrealmBot [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/Polyrealm/PolyrealmBot [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/Polyrealm/PolyrealmBot" "work/ex/pr-57967/sources/master#c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54/gh/Polyrealm/PolyrealmBot"` [INFO] [stderr] Cloning into 'work/ex/pr-57967/sources/master#c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54/gh/Polyrealm/PolyrealmBot'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/Polyrealm/PolyrealmBot" "work/ex/pr-57967/sources/try#7fea0229842e79db1159ea58ad9a653b288efee9/gh/Polyrealm/PolyrealmBot"` [INFO] [stderr] Cloning into 'work/ex/pr-57967/sources/try#7fea0229842e79db1159ea58ad9a653b288efee9/gh/Polyrealm/PolyrealmBot'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] a3111a2cd4a28befcdbfc36f43121391f756a4a1 [INFO] sha for GitHub repo Polyrealm/PolyrealmBot: a3111a2cd4a28befcdbfc36f43121391f756a4a1 [INFO] validating manifest of Polyrealm/PolyrealmBot on toolchain master#c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of Polyrealm/PolyrealmBot on toolchain try#7fea0229842e79db1159ea58ad9a653b288efee9 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+7fea0229842e79db1159ea58ad9a653b288efee9-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing Polyrealm/PolyrealmBot [INFO] finished frobbing Polyrealm/PolyrealmBot [INFO] frobbed toml for Polyrealm/PolyrealmBot written to work/ex/pr-57967/sources/master#c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54/gh/Polyrealm/PolyrealmBot/Cargo.toml [INFO] started frobbing Polyrealm/PolyrealmBot [INFO] finished frobbing Polyrealm/PolyrealmBot [INFO] frobbed toml for Polyrealm/PolyrealmBot written to work/ex/pr-57967/sources/try#7fea0229842e79db1159ea58ad9a653b288efee9/gh/Polyrealm/PolyrealmBot/Cargo.toml [INFO] crate Polyrealm/PolyrealmBot has a lockfile. skipping [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+7fea0229842e79db1159ea58ad9a653b288efee9-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing Polyrealm/PolyrealmBot against master#c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54 for pr-57967 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-57967/worker-6/master#c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-57967/sources/master#c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54/gh/Polyrealm/PolyrealmBot:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54-alt" "build" "--frozen"` [INFO] [stdout] 4f6f1875d7ba5657f9adda97b8486fcaa7bd4ebe3f76452892a766db642e6719 [INFO] running `"docker" "start" "-a" "4f6f1875d7ba5657f9adda97b8486fcaa7bd4ebe3f76452892a766db642e6719"` [INFO] [stderr] Compiling parking_lot_core v0.2.14 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling openssl v0.9.24 [INFO] [stderr] Compiling uuid v0.5.1 [INFO] [stderr] Compiling multipart v0.13.6 [INFO] [stderr] Compiling parking_lot v0.5.5 [INFO] [stderr] Compiling native-tls v0.1.5 [INFO] [stderr] Compiling evzht9h3nznqzwl v0.0.3 [INFO] [stderr] Compiling hyper-native-tls v0.2.4 [INFO] [stderr] Compiling serenity v0.5.11 [INFO] [stderr] Compiling SykoosBot v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused import: `prelude::*` [INFO] [stderr] --> src/main.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | prelude::*, [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/main.rs:132:13 [INFO] [stderr] | [INFO] [stderr] 132 | let mut msg_split = content.split(" "); [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: crate `SykoosBot` should have a snake case name [INFO] [stderr] | [INFO] [stderr] = note: #[warn(non_snake_case)] on by default [INFO] [stderr] = help: convert the identifier to snake case: `sykoos_bot` [INFO] [stderr] [INFO] [stderr] warning: function `readCommandFile` should have a snake case name [INFO] [stderr] --> src/main.rs:36:4 [INFO] [stderr] | [INFO] [stderr] 36 | fn readCommandFile() -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `read_command_file` [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/main.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | file.read_to_string(&mut contents); [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: function `addJsonCommand` should have a snake case name [INFO] [stderr] --> src/main.rs:43:4 [INFO] [stderr] | [INFO] [stderr] 43 | fn addJsonCommand(cmd: &mut json::JsonValue, cmd_array: &mut json::object::Object) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `add_json_command` [INFO] [stderr] [INFO] [stderr] warning: function `processJsonScript` should have a snake case name [INFO] [stderr] --> src/main.rs:100:4 [INFO] [stderr] | [INFO] [stderr] 100 | fn processJsonScript(scr: &json::JsonValue) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `process_json_script` [INFO] [stderr] [INFO] [stderr] warning: function `jsonCommand` should have a snake case name [INFO] [stderr] --> src/main.rs:117:4 [INFO] [stderr] | [INFO] [stderr] 117 | fn jsonCommand(context: &mut Context, message: &Message, args: Args) -> Result<(), CommandError> { [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `json_command` [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 09s [INFO] running `"docker" "inspect" "4f6f1875d7ba5657f9adda97b8486fcaa7bd4ebe3f76452892a766db642e6719"` [INFO] running `"docker" "rm" "-f" "4f6f1875d7ba5657f9adda97b8486fcaa7bd4ebe3f76452892a766db642e6719"` [INFO] [stdout] 4f6f1875d7ba5657f9adda97b8486fcaa7bd4ebe3f76452892a766db642e6719 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-57967/worker-6/master#c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-57967/sources/master#c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54/gh/Polyrealm/PolyrealmBot:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54-alt" "test" "--frozen" "--no-run"` [INFO] [stdout] 92c886d2d5c2946af8461034d599bf38b6e66f388f7e52e5f0b322777e794da9 [INFO] running `"docker" "start" "-a" "92c886d2d5c2946af8461034d599bf38b6e66f388f7e52e5f0b322777e794da9"` [INFO] [stderr] Compiling SykoosBot v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused import: `prelude::*` [INFO] [stderr] --> src/main.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | prelude::*, [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/main.rs:132:13 [INFO] [stderr] | [INFO] [stderr] 132 | let mut msg_split = content.split(" "); [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: crate `SykoosBot` should have a snake case name [INFO] [stderr] | [INFO] [stderr] = note: #[warn(non_snake_case)] on by default [INFO] [stderr] = help: convert the identifier to snake case: `sykoos_bot` [INFO] [stderr] [INFO] [stderr] warning: function `readCommandFile` should have a snake case name [INFO] [stderr] --> src/main.rs:36:4 [INFO] [stderr] | [INFO] [stderr] 36 | fn readCommandFile() -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `read_command_file` [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/main.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | file.read_to_string(&mut contents); [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: function `addJsonCommand` should have a snake case name [INFO] [stderr] --> src/main.rs:43:4 [INFO] [stderr] | [INFO] [stderr] 43 | fn addJsonCommand(cmd: &mut json::JsonValue, cmd_array: &mut json::object::Object) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `add_json_command` [INFO] [stderr] [INFO] [stderr] warning: function `processJsonScript` should have a snake case name [INFO] [stderr] --> src/main.rs:100:4 [INFO] [stderr] | [INFO] [stderr] 100 | fn processJsonScript(scr: &json::JsonValue) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `process_json_script` [INFO] [stderr] [INFO] [stderr] warning: function `jsonCommand` should have a snake case name [INFO] [stderr] --> src/main.rs:117:4 [INFO] [stderr] | [INFO] [stderr] 117 | fn jsonCommand(context: &mut Context, message: &Message, args: Args) -> Result<(), CommandError> { [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `json_command` [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.20s [INFO] running `"docker" "inspect" "92c886d2d5c2946af8461034d599bf38b6e66f388f7e52e5f0b322777e794da9"` [INFO] running `"docker" "rm" "-f" "92c886d2d5c2946af8461034d599bf38b6e66f388f7e52e5f0b322777e794da9"` [INFO] [stdout] 92c886d2d5c2946af8461034d599bf38b6e66f388f7e52e5f0b322777e794da9 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-57967/worker-6/master#c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-57967/sources/master#c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54/gh/Polyrealm/PolyrealmBot:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54-alt" "test" "--frozen"` [INFO] [stdout] e882353f9fefad4fb1ec3c2fc30c7f6e3470907bbcf7e9d148c0fc152000c115 [INFO] running `"docker" "start" "-a" "e882353f9fefad4fb1ec3c2fc30c7f6e3470907bbcf7e9d148c0fc152000c115"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running /opt/crater/target/debug/deps/SykoosBot-a0ffb4a2a6fce5db [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 [INFO] [stdout] [INFO] running `"docker" "inspect" "e882353f9fefad4fb1ec3c2fc30c7f6e3470907bbcf7e9d148c0fc152000c115"` [INFO] running `"docker" "rm" "-f" "e882353f9fefad4fb1ec3c2fc30c7f6e3470907bbcf7e9d148c0fc152000c115"` [INFO] [stdout] e882353f9fefad4fb1ec3c2fc30c7f6e3470907bbcf7e9d148c0fc152000c115