[INFO] cloning repository https://github.com/joeyahines/HypeBot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/joeyahines/HypeBot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoeyahines%2FHypeBot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoeyahines%2FHypeBot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fbee8708a288d35d46edf87bd2f325d833b18083 [INFO] checking joeyahines/HypeBot against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoeyahines%2FHypeBot" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/joeyahines/HypeBot on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/joeyahines/HypeBot [INFO] finished tweaking git repo https://github.com/joeyahines/HypeBot [INFO] tweaked toml for git repo https://github.com/joeyahines/HypeBot written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/joeyahines/HypeBot 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded threadpool v1.7.1 [INFO] [stderr] Downloaded futures-macro v0.3.4 [INFO] [stderr] Downloaded migrations_internals v1.4.1 [INFO] [stderr] Downloaded diesel_migrations v1.4.0 [INFO] [stderr] Downloaded tower-service v0.3.0 [INFO] [stderr] Downloaded openssl-probe v0.1.2 [INFO] [stderr] Downloaded serde_test v0.8.23 [INFO] [stderr] Downloaded proc-macro-nested v0.1.4 [INFO] [stderr] Downloaded utf-8 v0.7.5 [INFO] [stderr] Downloaded white_rabbit v0.1.1 [INFO] [stderr] Downloaded bumpalo v3.2.1 [INFO] [stderr] Downloaded tokio v0.2.18 [INFO] [stderr] Downloaded encoding_rs v0.8.22 [INFO] [stderr] Downloaded web-sys v0.3.37 [INFO] [stderr] Downloaded ring v0.16.12 [INFO] [stderr] Downloaded serenity v0.8.6 [INFO] [stderr] Downloaded webpki-roots v0.18.0 [INFO] [stderr] Downloaded chrono-tz v0.4.1 [INFO] [stderr] Downloaded rustls v0.16.0 [INFO] [stderr] Downloaded parking_lot_core v0.7.2 [INFO] [stderr] Downloaded webpki v0.21.2 [INFO] [stderr] Downloaded rustls v0.17.0 [INFO] [stderr] Downloaded futures-util v0.3.4 [INFO] [stderr] Downloaded tungstenite v0.9.2 [INFO] [stderr] Downloaded diesel v1.4.4 [INFO] [stderr] Downloaded security-framework v0.4.2 [INFO] [stderr] Downloaded bytes v0.5.4 [INFO] [stderr] Downloaded cc v1.0.50 [INFO] [stderr] Downloaded js-sys v0.3.37 [INFO] [stderr] Downloaded miniz_oxide v0.3.6 [INFO] [stderr] Downloaded schannel v0.1.18 [INFO] [stderr] Downloaded log4rs v0.11.0 [INFO] [stderr] Downloaded reqwest v0.10.4 [INFO] [stderr] Downloaded wasm-bindgen v0.2.60 [INFO] [stderr] Downloaded hyper v0.13.5 [INFO] [stderr] Downloaded h2 v0.2.4 [INFO] [stderr] Downloaded flate2 v1.0.14 [INFO] [stderr] Downloaded time v0.1.43 [INFO] [stderr] Downloaded chrono v0.4.11 [INFO] [stderr] Downloaded addr2line v0.12.1 [INFO] [stderr] Downloaded mime_guess v2.0.3 [INFO] [stderr] Downloaded futures-channel v0.3.4 [INFO] [stderr] Downloaded config v0.9.3 [INFO] [stderr] Downloaded futures-sink v0.3.4 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.60 [INFO] [stderr] Downloaded ucd-util v0.1.8 [INFO] [stderr] Downloaded strfmt v0.1.6 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.60 [INFO] [stderr] Downloaded untrusted v0.7.0 [INFO] [stderr] Downloaded serde-value v0.6.0 [INFO] [stderr] Downloaded core-foundation v0.7.0 [INFO] [stderr] Downloaded hyper-rustls v0.20.0 [INFO] [stderr] Downloaded proc-macro-hack v0.5.15 [INFO] [stderr] Downloaded parse-zoneinfo v0.1.1 [INFO] [stderr] Downloaded pin-project-internal v0.4.9 [INFO] [stderr] Downloaded rust-ini v0.13.0 [INFO] [stderr] Downloaded pin-project v0.4.9 [INFO] [stderr] Downloaded rustls-native-certs v0.3.0 [INFO] [stderr] Downloaded core-foundation-sys v0.7.0 [INFO] [stderr] Downloaded arc-swap v0.4.6 [INFO] [stderr] Downloaded security-framework-sys v0.4.2 [INFO] [stderr] Downloaded vcpkg v0.2.8 [INFO] [stderr] Downloaded utf8-ranges v1.0.4 [INFO] [stderr] Downloaded serde-hjson v0.8.2 [INFO] [stderr] Downloaded pin-project-lite v0.1.4 [INFO] [stderr] Downloaded linked-hash-map v0.3.0 [INFO] [stderr] Downloaded serde v0.8.23 [INFO] [stderr] Downloaded mysqlclient-sys v0.2.4 [INFO] [stderr] Downloaded serde_urlencoded v0.6.1 [INFO] [stderr] Downloaded smallvec v1.3.0 [INFO] [stderr] Downloaded command_attr v0.2.0 [INFO] [stderr] Downloaded tokio-rustls v0.13.0 [INFO] [stderr] Downloaded parking_lot v0.10.2 [INFO] [stderr] Downloaded sct v0.6.0 [INFO] [stderr] Downloaded ct-logs v0.6.0 [INFO] [stderr] Downloaded http v0.2.1 [INFO] [stderr] Downloaded pin-utils v0.1.0-alpha.4 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.10 [INFO] [stderr] Downloaded futures-io v0.3.4 [INFO] [stderr] Downloaded futures-task v0.3.4 [INFO] [stderr] Downloaded futures-core v0.3.4 [INFO] [stderr] Downloaded hermit-abi v0.1.11 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.60 [INFO] [stderr] Downloaded uwl v0.6.0 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.60 [INFO] [stderr] Downloaded migrations_macros v1.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9289f31fa718d58850d5015a574b66a6671d9dacdbaa2a813f04322f58a5eff5 [INFO] running `Command { std: "docker" "start" "-a" "9289f31fa718d58850d5015a574b66a6671d9dacdbaa2a813f04322f58a5eff5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9289f31fa718d58850d5015a574b66a6671d9dacdbaa2a813f04322f58a5eff5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9289f31fa718d58850d5015a574b66a6671d9dacdbaa2a813f04322f58a5eff5", kill_on_drop: false }` [INFO] [stdout] 9289f31fa718d58850d5015a574b66a6671d9dacdbaa2a813f04322f58a5eff5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d6f0e38b0dd8d692150b0a1ef1d67bf108655db0c563b935ae6b8ac8304dfb3 [INFO] running `Command { std: "docker" "start" "-a" "9d6f0e38b0dd8d692150b0a1ef1d67bf108655db0c563b935ae6b8ac8304dfb3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking smallvec v1.3.0 [INFO] [stderr] Checking untrusted v0.7.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking futures-core v0.3.4 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Compiling mysqlclient-sys v0.2.4 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling ring v0.16.12 [INFO] [stderr] Checking num-integer v0.1.42 [INFO] [stderr] Checking pin-project-lite v0.1.4 [INFO] [stderr] Compiling addr2line v0.12.1 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling backtrace v0.3.48 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking futures-task v0.3.4 [INFO] [stderr] Checking futures-io v0.3.4 [INFO] [stderr] Checking futures-sink v0.3.4 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Checking dtoa v0.4.5 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Checking webpki v0.21.2 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking serde v0.8.23 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking miniz_oxide v0.3.6 [INFO] [stderr] Checking ct-logs v0.6.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking flate2 v1.0.14 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking webpki-roots v0.18.0 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking input_buffer v0.2.0 [INFO] [stderr] Compiling parse-zoneinfo v0.1.1 [INFO] [stderr] Checking serde_test v0.8.23 [INFO] [stderr] Checking linked-hash-map v0.3.0 [INFO] [stderr] Checking lock_api v0.2.0 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking threadpool v1.7.1 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Checking utf-8 v0.7.5 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Compiling serenity v0.8.6 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking uwl v0.6.0 [INFO] [stderr] Checking rust-ini v0.13.0 [INFO] [stderr] Checking arc-swap v0.4.6 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking strfmt v0.1.6 [INFO] [stderr] Compiling chrono-tz v0.4.1 [INFO] [stderr] Checking serde-hjson v0.8.2 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling pin-project-internal v0.4.9 [INFO] [stderr] Compiling command_attr v0.2.0 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking pin-project v0.4.9 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling serde_json v1.0.51 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking serde_yaml v0.8.11 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking rustls v0.17.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling diesel v1.4.4 [INFO] [stderr] Checking tokio v0.2.18 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Compiling cargo_metadata v0.6.4 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking tungstenite v0.9.2 [INFO] [stderr] Compiling skeptic v0.13.4 [INFO] [stderr] Checking rustls v0.16.0 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking serde-value v0.6.0 [INFO] [stderr] Checking rustls-native-certs v0.3.0 [INFO] [stderr] Checking log4rs v0.11.0 [INFO] [stderr] Compiling white_rabbit v0.1.1 [INFO] [stderr] Checking config v0.9.3 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-rustls v0.13.0 [INFO] [stderr] Checking h2 v0.2.4 [INFO] [stderr] Checking hyper v0.13.5 [INFO] [stderr] Checking hyper-rustls v0.20.0 [INFO] [stderr] Checking reqwest v0.10.4 [INFO] [stderr] Checking migrations_internals v1.4.1 [INFO] [stderr] Compiling migrations_macros v1.4.2 [INFO] [stderr] Checking diesel_migrations v1.4.0 [INFO] [stderr] Checking hype_bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/discord/mod.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | let mut draft_event = data [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: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:222:49 [INFO] [stdout] | [INFO] [stdout] 222 | c.prefix(cfg.prefix.as_str().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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/discord/mod.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | let mut draft_event = data [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: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:222:49 [INFO] [stdout] | [INFO] [stdout] 222 | c.prefix(cfg.prefix.as_str().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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 54s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3, traitobject v0.1.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "9d6f0e38b0dd8d692150b0a1ef1d67bf108655db0c563b935ae6b8ac8304dfb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d6f0e38b0dd8d692150b0a1ef1d67bf108655db0c563b935ae6b8ac8304dfb3", kill_on_drop: false }` [INFO] [stdout] 9d6f0e38b0dd8d692150b0a1ef1d67bf108655db0c563b935ae6b8ac8304dfb3 [INFO] checking joeyahines/HypeBot against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoeyahines%2FHypeBot" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/joeyahines/HypeBot on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/joeyahines/HypeBot [INFO] finished tweaking git repo https://github.com/joeyahines/HypeBot [INFO] tweaked toml for git repo https://github.com/joeyahines/HypeBot written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/joeyahines/HypeBot 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 343ef1e4195c654a4c8243794369fe2e7fef98ea733b71c93df3a14924c272f0 [INFO] running `Command { std: "docker" "start" "-a" "343ef1e4195c654a4c8243794369fe2e7fef98ea733b71c93df3a14924c272f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "343ef1e4195c654a4c8243794369fe2e7fef98ea733b71c93df3a14924c272f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "343ef1e4195c654a4c8243794369fe2e7fef98ea733b71c93df3a14924c272f0", kill_on_drop: false }` [INFO] [stdout] 343ef1e4195c654a4c8243794369fe2e7fef98ea733b71c93df3a14924c272f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 09e4cdcf2ea882a24db2f32fe2f8d5c2d2b16cb8b02b883d83103b0e82a46d49 [INFO] running `Command { std: "docker" "start" "-a" "09e4cdcf2ea882a24db2f32fe2f8d5c2d2b16cb8b02b883d83103b0e82a46d49", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking smallvec v1.3.0 [INFO] [stderr] Checking untrusted v0.7.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking futures-core v0.3.4 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Compiling mysqlclient-sys v0.2.4 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling ring v0.16.12 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking num-integer v0.1.42 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Checking pin-project-lite v0.1.4 [INFO] [stderr] Compiling addr2line v0.12.1 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling backtrace v0.3.48 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking futures-sink v0.3.4 [INFO] [stderr] Checking futures-io v0.3.4 [INFO] [stderr] Checking futures-task v0.3.4 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking dtoa v0.4.5 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking webpki v0.21.2 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking serde v0.8.23 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking miniz_oxide v0.3.6 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling parse-zoneinfo v0.1.1 [INFO] [stderr] Checking ct-logs v0.6.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking flate2 v1.0.14 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking webpki-roots v0.18.0 [INFO] [stderr] Checking input_buffer v0.2.0 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking lock_api v0.2.0 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking serde_test v0.8.23 [INFO] [stderr] Checking threadpool v1.7.1 [INFO] [stderr] Compiling chrono-tz v0.4.1 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Compiling serenity v0.8.6 [INFO] [stderr] Checking linked-hash-map v0.3.0 [INFO] [stderr] Checking utf-8 v0.7.5 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking rust-ini v0.13.0 [INFO] [stderr] Checking uwl v0.6.0 [INFO] [stderr] Checking arc-swap v0.4.6 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking strfmt v0.1.6 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling pin-project-internal v0.4.9 [INFO] [stderr] Compiling command_attr v0.2.0 [INFO] [stderr] Checking serde-hjson v0.8.2 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking pin-project v0.4.9 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking serde_json v1.0.51 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking serde-value v0.6.0 [INFO] [stderr] Checking serde_yaml v0.8.11 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking rustls v0.17.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Checking tokio v0.2.18 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Checking diesel v1.4.4 [INFO] [stderr] Checking tungstenite v0.9.2 [INFO] [stderr] Checking rustls v0.16.0 [INFO] [stderr] Compiling cargo_metadata v0.6.4 [INFO] [stderr] Checking log4rs v0.11.0 [INFO] [stderr] Checking rustls-native-certs v0.3.0 [INFO] [stderr] Compiling skeptic v0.13.4 [INFO] [stderr] Checking config v0.9.3 [INFO] [stderr] Compiling white_rabbit v0.1.1 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-rustls v0.13.0 [INFO] [stderr] Checking h2 v0.2.4 [INFO] [stderr] Checking hyper v0.13.5 [INFO] [stderr] Checking hyper-rustls v0.20.0 [INFO] [stderr] Checking reqwest v0.10.4 [INFO] [stderr] Checking migrations_internals v1.4.1 [INFO] [stderr] Compiling migrations_macros v1.4.2 [INFO] [stderr] Checking diesel_migrations v1.4.0 [INFO] [stderr] Checking hype_bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/discord/mod.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | let mut draft_event = data [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: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:222:49 [INFO] [stdout] | [INFO] [stdout] 222 | c.prefix(cfg.prefix.as_str().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] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/database/models.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Queryable, Clone, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_queryable_for_event` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/database/models.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Insertable, Clone, Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_insertable_for_newevent` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/database/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | events (id) { [INFO] [stdout] 3 | | id -> Integer, [INFO] [stdout] 4 | | event_name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 12 | | } [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_table` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/database/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | events (id) { [INFO] [stdout] 3 | | id -> Integer, [INFO] [stdout] 4 | | event_name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 12 | | } [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_id` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/database/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | events (id) { [INFO] [stdout] 3 | | id -> Integer, [INFO] [stdout] 4 | | event_name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 12 | | } [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_event_name` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/database/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | events (id) { [INFO] [stdout] 3 | | id -> Integer, [INFO] [stdout] 4 | | event_name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 12 | | } [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_event_desc` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/database/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | events (id) { [INFO] [stdout] 3 | | id -> Integer, [INFO] [stdout] 4 | | event_name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 12 | | } [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_event_loc` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/database/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | events (id) { [INFO] [stdout] 3 | | id -> Integer, [INFO] [stdout] 4 | | event_name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 12 | | } [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_organizer` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/discord/mod.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | let mut draft_event = data [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] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/database/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | events (id) { [INFO] [stdout] 3 | | id -> Integer, [INFO] [stdout] 4 | | event_name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 12 | | } [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_event_time` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/database/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | events (id) { [INFO] [stdout] 3 | | id -> Integer, [INFO] [stdout] 4 | | event_name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 12 | | } [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_message_id` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/database/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | events (id) { [INFO] [stdout] 3 | | id -> Integer, [INFO] [stdout] 4 | | event_name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 12 | | } [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_thumbnail_link` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/database/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | events (id) { [INFO] [stdout] 3 | | id -> Integer, [INFO] [stdout] 4 | | event_name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 12 | | } [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_reminder_sent` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/hypebot_config.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_HypeBotConfig` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hype_bot` (bin "hype_bot" test) due to 14 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:222:49 [INFO] [stdout] | [INFO] [stdout] 222 | c.prefix(cfg.prefix.as_str().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] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/database/models.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Queryable, Clone, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_queryable_for_event` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/database/models.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Insertable, Clone, Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_insertable_for_newevent` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/database/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | events (id) { [INFO] [stdout] 3 | | id -> Integer, [INFO] [stdout] 4 | | event_name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 12 | | } [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_table` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/database/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | events (id) { [INFO] [stdout] 3 | | id -> Integer, [INFO] [stdout] 4 | | event_name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 12 | | } [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_id` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/database/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | events (id) { [INFO] [stdout] 3 | | id -> Integer, [INFO] [stdout] 4 | | event_name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 12 | | } [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_event_name` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/database/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | events (id) { [INFO] [stdout] 3 | | id -> Integer, [INFO] [stdout] 4 | | event_name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 12 | | } [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_event_desc` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/database/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | events (id) { [INFO] [stdout] 3 | | id -> Integer, [INFO] [stdout] 4 | | event_name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 12 | | } [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_event_loc` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/database/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | events (id) { [INFO] [stdout] 3 | | id -> Integer, [INFO] [stdout] 4 | | event_name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 12 | | } [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_organizer` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/database/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | events (id) { [INFO] [stdout] 3 | | id -> Integer, [INFO] [stdout] 4 | | event_name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 12 | | } [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_event_time` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/database/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | events (id) { [INFO] [stdout] 3 | | id -> Integer, [INFO] [stdout] 4 | | event_name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 12 | | } [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_message_id` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/database/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | events (id) { [INFO] [stdout] 3 | | id -> Integer, [INFO] [stdout] 4 | | event_name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 12 | | } [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_thumbnail_link` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/database/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | events (id) { [INFO] [stdout] 3 | | id -> Integer, [INFO] [stdout] 4 | | event_name -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 12 | | } [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `_impl_query_id_for_reminder_sent` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/hypebot_config.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_HypeBotConfig` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hype_bot` (bin "hype_bot") due to 14 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "09e4cdcf2ea882a24db2f32fe2f8d5c2d2b16cb8b02b883d83103b0e82a46d49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09e4cdcf2ea882a24db2f32fe2f8d5c2d2b16cb8b02b883d83103b0e82a46d49", kill_on_drop: false }` [INFO] [stdout] 09e4cdcf2ea882a24db2f32fe2f8d5c2d2b16cb8b02b883d83103b0e82a46d49