[INFO] cloning repository https://github.com/Napuu/gpsp-bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Napuu/gpsp-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNapuu%2Fgpsp-bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNapuu%2Fgpsp-bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e5fcbb4ab67733d4dd8e440f111be06ae91990a0 [INFO] testing Napuu/gpsp-bot against 1.79.0 for beta-1.80-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNapuu%2Fgpsp-bot" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Napuu/gpsp-bot on toolchain 1.79.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.79.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Napuu/gpsp-bot [INFO] finished tweaking git repo https://github.com/Napuu/gpsp-bot [INFO] tweaked toml for git repo https://github.com/Napuu/gpsp-bot written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Napuu/gpsp-bot already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.79.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uuid v1.3.3 [INFO] [stderr] Downloaded enum-iterator v1.4.1 [INFO] [stderr] Downloaded typemap_rev v0.1.5 [INFO] [stderr] Downloaded enum-iterator-derive v1.2.1 [INFO] [stderr] Downloaded log v0.4.18 [INFO] [stderr] Downloaded rustls-pemfile v1.0.3 [INFO] [stderr] Downloaded async-trait v0.1.69 [INFO] [stderr] Downloaded async-tungstenite v0.17.2 [INFO] [stderr] Downloaded openssl v0.10.54 [INFO] [stderr] Downloaded serenity v0.11.6 [INFO] [stderr] Downloaded rustls-webpki v0.101.4 [INFO] [stderr] Downloaded rustls v0.21.6 [INFO] [stderr] Downloaded hyper-rustls v0.24.1 [INFO] [stderr] Downloaded openssl-sys v0.9.88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7eaa75cabbdccc73cc1cd49d6eaeba8da3297efb97b79b1aa5ec702e680e7624 [INFO] running `Command { std: "docker" "start" "-a" "7eaa75cabbdccc73cc1cd49d6eaeba8da3297efb97b79b1aa5ec702e680e7624", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7eaa75cabbdccc73cc1cd49d6eaeba8da3297efb97b79b1aa5ec702e680e7624", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7eaa75cabbdccc73cc1cd49d6eaeba8da3297efb97b79b1aa5ec702e680e7624", kill_on_drop: false }` [INFO] [stdout] 7eaa75cabbdccc73cc1cd49d6eaeba8da3297efb97b79b1aa5ec702e680e7624 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a6e5e72932844da12b0ea3b43ff6578f1666af757ee89006a39a2d0f4d4bd01 [INFO] running `Command { std: "docker" "start" "-a" "4a6e5e72932844da12b0ea3b43ff6578f1666af757ee89006a39a2d0f4d4bd01", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling log v0.4.18 [INFO] [stderr] Compiling tokio v1.28.2 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling openssl-sys v0.9.88 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling openssl v0.10.54 [INFO] [stderr] Compiling rustls v0.20.8 [INFO] [stderr] Compiling rustls v0.21.6 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling rustix v0.37.19 [INFO] [stderr] Compiling serde_json v1.0.96 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling async-trait v0.1.69 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling rustls-pemfile v1.0.3 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.7.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling serenity v0.11.6 [INFO] [stderr] Compiling flate2 v1.0.27 [INFO] [stderr] Compiling typemap_rev v0.1.5 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling json v0.12.4 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ordered-float v2.10.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling is-terminal v0.4.7 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling rustls-webpki v0.101.4 [INFO] [stderr] Compiling uuid v1.3.3 [INFO] [stderr] Compiling regex v1.8.4 [INFO] [stderr] Compiling webpki-roots v0.22.6 [INFO] [stderr] Compiling env_logger v0.10.0 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling enum-iterator-derive v1.2.1 [INFO] [stderr] Compiling enum-iterator v1.4.1 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling h2 v0.3.19 [INFO] [stderr] Compiling url v2.4.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling deranged v0.3.8 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling tungstenite v0.17.3 [INFO] [stderr] Compiling time v0.3.28 [INFO] [stderr] Compiling async-tungstenite v0.17.2 [INFO] [stderr] Compiling hyper v0.14.26 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling hyper-rustls v0.24.1 [INFO] [stderr] Compiling reqwest v0.11.18 [INFO] [stderr] Compiling gpsp-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `delete_my_commands` is never used [INFO] [stdout] --> src/telegram_client.rs:85:14 [INFO] [stdout] | [INFO] [stdout] 85 | pub async fn delete_my_commands(token: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:300:93 [INFO] [stdout] | [INFO] [stdout] 300 | let send_chat_action_handle = task::spawn(chat_action_telegram_loop(done_receiver, token.clone().to_string(), chat_id.clone())); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/util.rs:306:63 [INFO] [stdout] | [INFO] [stdout] 306 | if let Ok(env_variable_value) = env::var(env_variable_name.clone()) { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 43s [INFO] running `Command { std: "docker" "inspect" "4a6e5e72932844da12b0ea3b43ff6578f1666af757ee89006a39a2d0f4d4bd01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a6e5e72932844da12b0ea3b43ff6578f1666af757ee89006a39a2d0f4d4bd01", kill_on_drop: false }` [INFO] [stdout] 4a6e5e72932844da12b0ea3b43ff6578f1666af757ee89006a39a2d0f4d4bd01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cec77a8a8b89f872f70ee178ed3a99552699a73fdad7d2742d719c680072834f [INFO] running `Command { std: "docker" "start" "-a" "cec77a8a8b89f872f70ee178ed3a99552699a73fdad7d2742d719c680072834f", kill_on_drop: false }` [INFO] [stderr] Compiling gpsp-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `delete_my_commands` is never used [INFO] [stdout] --> src/telegram_client.rs:85:14 [INFO] [stdout] | [INFO] [stdout] 85 | pub async fn delete_my_commands(token: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:300:93 [INFO] [stdout] | [INFO] [stdout] 300 | let send_chat_action_handle = task::spawn(chat_action_telegram_loop(done_receiver, token.clone().to_string(), chat_id.clone())); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/util.rs:306:63 [INFO] [stdout] | [INFO] [stdout] 306 | if let Ok(env_variable_value) = env::var(env_variable_name.clone()) { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.43s [INFO] running `Command { std: "docker" "inspect" "cec77a8a8b89f872f70ee178ed3a99552699a73fdad7d2742d719c680072834f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cec77a8a8b89f872f70ee178ed3a99552699a73fdad7d2742d719c680072834f", kill_on_drop: false }` [INFO] [stdout] cec77a8a8b89f872f70ee178ed3a99552699a73fdad7d2742d719c680072834f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1956b89445b7335453f8b2afa834274932473bcaf3aad3e1c3eeaafb39d87434 [INFO] running `Command { std: "docker" "start" "-a" "1956b89445b7335453f8b2afa834274932473bcaf3aad3e1c3eeaafb39d87434", kill_on_drop: false }` [INFO] [stderr] warning: function `delete_my_commands` is never used [INFO] [stderr] --> src/telegram_client.rs:85:14 [INFO] [stderr] | [INFO] [stderr] 85 | pub async fn delete_my_commands(token: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/main.rs:300:93 [INFO] [stderr] | [INFO] [stderr] 300 | let send_chat_action_handle = task::spawn(chat_action_telegram_loop(done_receiver, token.clone().to_string(), chat_id.clone())); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/util.rs:306:63 [INFO] [stderr] | [INFO] [stderr] 306 | if let Ok(env_variable_value) = env::var(env_variable_name.clone()) { [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: `gpsp-bot` (bin "gpsp-bot" test) generated 3 warnings (run `cargo fix --bin "gpsp-bot" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/gpsp_bot-52d9322af361d46b) [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" "1956b89445b7335453f8b2afa834274932473bcaf3aad3e1c3eeaafb39d87434", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1956b89445b7335453f8b2afa834274932473bcaf3aad3e1c3eeaafb39d87434", kill_on_drop: false }` [INFO] [stdout] 1956b89445b7335453f8b2afa834274932473bcaf3aad3e1c3eeaafb39d87434