[INFO] cloning repository https://github.com/PhotonQuantum/hithit_bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PhotonQuantum/hithit_bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPhotonQuantum%2Fhithit_bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPhotonQuantum%2Fhithit_bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a4b4966125d04b677450ddf8ad3b81eae826e496 [INFO] checking PhotonQuantum/hithit_bot against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPhotonQuantum%2Fhithit_bot" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PhotonQuantum/hithit_bot on toolchain 024378d9203a4009ed73d6db2681b88a8d74ce7a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/PhotonQuantum/hithit_bot [INFO] finished tweaking git repo https://github.com/PhotonQuantum/hithit_bot [INFO] tweaked toml for git repo https://github.com/PhotonQuantum/hithit_bot written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/PhotonQuantum/hithit_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" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cf3cb532d5ba87ddcaa26125fc38e20468af9e3f74ffefad526f8f932bbd6f19 [INFO] running `Command { std: "docker" "start" "-a" "cf3cb532d5ba87ddcaa26125fc38e20468af9e3f74ffefad526f8f932bbd6f19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf3cb532d5ba87ddcaa26125fc38e20468af9e3f74ffefad526f8f932bbd6f19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf3cb532d5ba87ddcaa26125fc38e20468af9e3f74ffefad526f8f932bbd6f19", kill_on_drop: false }` [INFO] [stdout] cf3cb532d5ba87ddcaa26125fc38e20468af9e3f74ffefad526f8f932bbd6f19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a2e03890623c527410d04b32ea4aa05c8979ef9fb8bb190e7c5fe5b07433b5c6 [INFO] running `Command { std: "docker" "start" "-a" "a2e03890623c527410d04b32ea4aa05c8979ef9fb8bb190e7c5fe5b07433b5c6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.52 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling quote v1.0.26 [INFO] [stderr] Compiling libc v0.2.141 [INFO] [stderr] Compiling syn v1.0.104 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling log v0.4.18 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling serde v1.0.163 [INFO] [stderr] Checking tracing-core v0.1.30 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling tokio v1.28.2 [INFO] [stderr] Compiling serde_json v1.0.96 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking aho-corasick v1.0.1 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Checking regex-syntax v0.7.1 [INFO] [stderr] Compiling syn v2.0.10 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking getrandom v0.2.5 [INFO] [stderr] Compiling rustls v0.20.7 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking time-core v0.1.0 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking regex v1.8.1 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking time v0.3.17 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling libz-sys v1.1.5 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling rustversion v1.0.11 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Compiling semver v1.0.6 [INFO] [stderr] Compiling anyhow v1.0.71 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling libgit2-sys v0.14.2+1.5.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking object v0.27.1 [INFO] [stderr] Compiling erasable v1.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling io-lifetimes v1.0.10 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Checking rustls-pemfile v0.2.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling darling_core v0.13.1 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking webpki-roots v0.22.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling serde_derive v1.0.163 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling rustix v0.37.13 [INFO] [stderr] Checking ipnet v2.4.0 [INFO] [stderr] Compiling vergen v7.5.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking tower-layer v0.3.1 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Compiling pest v2.6.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling tracing-attributes v0.1.23 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling darling_macro v0.13.1 [INFO] [stderr] Compiling enum-iterator-derive v1.1.0 [INFO] [stderr] Compiling darling v0.13.1 [INFO] [stderr] Compiling serde_with_macros v1.5.1 [INFO] [stderr] Checking futures-util v0.3.21 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking tracing-subscriber v0.3.17 [INFO] [stderr] Compiling enum-iterator v1.2.0 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking tokio-rustls v0.23.2 [INFO] [stderr] Checking tokio-util v0.7.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling getset v0.1.2 [INFO] [stderr] Compiling sentry-contexts v0.31.3 [INFO] [stderr] Checking rc-box v1.1.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking never v0.1.0 [INFO] [stderr] Checking takecell v0.1.1 [INFO] [stderr] Checking http-range-header v0.3.0 [INFO] [stderr] Compiling pest_meta v2.6.0 [INFO] [stderr] Checking flurry v0.3.1 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking tracing-error v0.2.0 [INFO] [stderr] Checking is-terminal v0.4.7 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Compiling aquamarine v0.1.11 [INFO] [stderr] Checking uname v0.1.1 [INFO] [stderr] Checking sync_wrapper v0.1.1 [INFO] [stderr] Checking matchit v0.4.6 [INFO] [stderr] Checking owo-colors v3.2.0 [INFO] [stderr] Checking h2 v0.3.12 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking tower v0.4.12 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking dptree v0.1.0 [INFO] [stderr] Checking axum-core v0.1.2 [INFO] [stderr] Checking tower-http v0.2.4 [INFO] [stderr] Compiling pest_generator v2.6.0 [INFO] [stderr] Checking color-spantrace v0.2.0 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking eyre v0.6.8 [INFO] [stderr] Compiling const_format_proc_macros v0.2.31 [INFO] [stderr] Checking ucd-trie v0.1.5 [INFO] [stderr] Checking uuid v1.0.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling pest_derive v2.6.0 [INFO] [stderr] Checking debugid v0.8.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking const_format v0.2.31 [INFO] [stderr] Checking color-eyre v0.6.2 [INFO] [stderr] Checking sentry-types v0.31.3 [INFO] [stderr] Checking pretty_env_logger v0.5.0 [INFO] [stderr] Checking ranges v0.3.3 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking hyper v0.14.17 [INFO] [stderr] Checking sentry-core v0.31.3 [INFO] [stderr] Checking sentry-backtrace v0.31.3 [INFO] [stderr] Checking sentry-panic v0.31.3 [INFO] [stderr] Checking sentry-tracing v0.31.3 [INFO] [stderr] Compiling git2 v0.16.1 [INFO] [stderr] Checking hyper-rustls v0.23.0 [INFO] [stderr] Checking axum v0.4.8 [INFO] [stderr] Checking reqwest v0.11.9 [INFO] [stderr] Checking teloxide-core v0.4.3 [INFO] [stderr] Checking sentry v0.31.3 [INFO] [stderr] Compiling hithit_bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking teloxide v0.7.2 [INFO] [stderr] Checking teloxide-listener v0.1.0-beta.1 [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&teloxide::prelude::Message` instead of borrowing the inner type [INFO] [stdout] --> src/memory.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | let msg = msg.borrow(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/memory.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | let msg = msg.borrow(); [INFO] [stdout] | ^^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `teloxide::prelude::Message` does not implement `Borrow`, so calling `borrow` on `&teloxide::prelude::Message` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hithit_bot` (bin "hithit_bot" test) due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&teloxide::prelude::Message` instead of borrowing the inner type [INFO] [stdout] --> src/memory.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | let msg = msg.borrow(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/memory.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | let msg = msg.borrow(); [INFO] [stdout] | ^^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `teloxide::prelude::Message` does not implement `Borrow`, so calling `borrow` on `&teloxide::prelude::Message` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hithit_bot` (bin "hithit_bot") due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "a2e03890623c527410d04b32ea4aa05c8979ef9fb8bb190e7c5fe5b07433b5c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2e03890623c527410d04b32ea4aa05c8979ef9fb8bb190e7c5fe5b07433b5c6", kill_on_drop: false }` [INFO] [stdout] a2e03890623c527410d04b32ea4aa05c8979ef9fb8bb190e7c5fe5b07433b5c6