[INFO] cloning repository https://github.com/K4RU3/ShiritoriV3 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/K4RU3/ShiritoriV3" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FK4RU3%2FShiritoriV3", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FK4RU3%2FShiritoriV3'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 39b95f86356e55f303a68a7a2c35f358ad6f853e [INFO] testing K4RU3/ShiritoriV3 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FK4RU3%2FShiritoriV3" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/K4RU3/ShiritoriV3 [INFO] finished tweaking git repo https://github.com/K4RU3/ShiritoriV3 [INFO] tweaked toml for git repo https://github.com/K4RU3/ShiritoriV3 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/K4RU3/ShiritoriV3 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/K4RU3/ShiritoriV3 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3b0e82d166c1f2ff4827ed36477daf41bd76e3f6bbbc0ee1849cf7d302f765ca [INFO] running `Command { std: "docker" "start" "-a" "3b0e82d166c1f2ff4827ed36477daf41bd76e3f6bbbc0ee1849cf7d302f765ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b0e82d166c1f2ff4827ed36477daf41bd76e3f6bbbc0ee1849cf7d302f765ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b0e82d166c1f2ff4827ed36477daf41bd76e3f6bbbc0ee1849cf7d302f765ca", kill_on_drop: false }` [INFO] [stdout] 3b0e82d166c1f2ff4827ed36477daf41bd76e3f6bbbc0ee1849cf7d302f765ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2878e5a7ca57916e6e1394fcd621b49c980f9a55da4a7dc9a3cfb7cb7088131b [INFO] running `Command { std: "docker" "start" "-a" "2878e5a7ca57916e6e1394fcd621b49c980f9a55da4a7dc9a3cfb7cb7088131b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling unicode-ident v1.0.20 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libsqlite3-sys v0.35.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling webpki-roots v1.0.3 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling serenity v0.12.4 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling typemap_rev v0.3.0 [INFO] [stderr] Compiling uwl v0.6.0 [INFO] [stderr] Compiling levenshtein v1.0.5 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling deranged v0.5.4 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling command_attr v0.5.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_cow v0.1.2 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling rusqlite v0.37.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling Shiritori v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `u64_to_i64_bitwise` [INFO] [stdout] --> src/database/repository.rs:10:43 [INFO] [stdout] | [INFO] [stdout] 10 | wrap_params::{i64_to_u64_bitwise, u64_to_i64_bitwise}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rusqlite::ffi` [INFO] [stdout] --> src/macros/error.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use rusqlite::ffi; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/database/repository.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | Ok(db_to_repo!(result, {})?) [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db_to_repo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rusqlite::ffi` [INFO] [stdout] --> src/macros/error.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use rusqlite::ffi; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/database/repository.rs:119:20 [INFO] [stdout] | [INFO] [stdout] 119 | let list = db_to_repo!(result, {})?; [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db_to_repo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rusqlite::ffi` [INFO] [stdout] --> src/macros/error.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use rusqlite::ffi; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/database/repository.rs:143:20 [INFO] [stdout] | [INFO] [stdout] 143 | let list = db_to_repo!(result, {})?; [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db_to_repo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 25 | / loop { [INFO] [stdout] 26 | | [INFO] [stdout] 27 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 28 | [INFO] [stdout] 29 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/main.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let config = match BotConfig::from_env() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `safe_shutdown` is never used [INFO] [stdout] --> src/main.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn safe_shutdown() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `shutdown` are never used [INFO] [stdout] --> src/bot/shiritori_bot.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 14 | impl Bot { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 15 | pub async fn new(config: BotConfig) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn shutdown(&self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_room_not_found` is never used [INFO] [stdout] --> src/macros/test.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn assert_room_not_found(result: Result) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 30s [INFO] running `Command { std: "docker" "inspect" "2878e5a7ca57916e6e1394fcd621b49c980f9a55da4a7dc9a3cfb7cb7088131b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2878e5a7ca57916e6e1394fcd621b49c980f9a55da4a7dc9a3cfb7cb7088131b", kill_on_drop: false }` [INFO] [stdout] 2878e5a7ca57916e6e1394fcd621b49c980f9a55da4a7dc9a3cfb7cb7088131b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f49e0a62bd7c2481de5f7de14447c5c9eff13ec9e8ee256be3566a5dc5647dd2 [INFO] running `Command { std: "docker" "start" "-a" "f49e0a62bd7c2481de5f7de14447c5c9eff13ec9e8ee256be3566a5dc5647dd2", kill_on_drop: false }` [INFO] [stderr] Compiling Shiritori v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `u64_to_i64_bitwise` [INFO] [stdout] --> src/database/repository.rs:10:43 [INFO] [stdout] | [INFO] [stdout] 10 | wrap_params::{i64_to_u64_bitwise, u64_to_i64_bitwise}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rusqlite::ffi` [INFO] [stdout] --> src/macros/error.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use rusqlite::ffi; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/database/repository.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | Ok(db_to_repo!(result, {})?) [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db_to_repo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rusqlite::ffi` [INFO] [stdout] --> src/macros/error.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use rusqlite::ffi; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/database/repository.rs:119:20 [INFO] [stdout] | [INFO] [stdout] 119 | let list = db_to_repo!(result, {})?; [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db_to_repo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rusqlite::ffi` [INFO] [stdout] --> src/macros/error.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use rusqlite::ffi; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/database/repository.rs:143:20 [INFO] [stdout] | [INFO] [stdout] 143 | let list = db_to_repo!(result, {})?; [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db_to_repo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 25 | / loop { [INFO] [stdout] 26 | | [INFO] [stdout] 27 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 28 | [INFO] [stdout] 29 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/main.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let config = match BotConfig::from_env() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `safe_shutdown` is never used [INFO] [stdout] --> src/main.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn safe_shutdown() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `shutdown` are never used [INFO] [stdout] --> src/bot/shiritori_bot.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 14 | impl Bot { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 15 | pub async fn new(config: BotConfig) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn shutdown(&self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_room_not_found` is never used [INFO] [stdout] --> src/macros/test.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn assert_room_not_found(result: Result) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.25s [INFO] running `Command { std: "docker" "inspect" "f49e0a62bd7c2481de5f7de14447c5c9eff13ec9e8ee256be3566a5dc5647dd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f49e0a62bd7c2481de5f7de14447c5c9eff13ec9e8ee256be3566a5dc5647dd2", kill_on_drop: false }` [INFO] [stdout] f49e0a62bd7c2481de5f7de14447c5c9eff13ec9e8ee256be3566a5dc5647dd2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 35acfc9258c527cfeefdb2dd21bbb784dfe47896d6e7f7128076d459eb0c1d93 [INFO] running `Command { std: "docker" "start" "-a" "35acfc9258c527cfeefdb2dd21bbb784dfe47896d6e7f7128076d459eb0c1d93", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `u64_to_i64_bitwise` [INFO] [stderr] --> src/database/repository.rs:10:43 [INFO] [stderr] | [INFO] [stderr] 10 | wrap_params::{i64_to_u64_bitwise, u64_to_i64_bitwise}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `rusqlite::ffi` [INFO] [stderr] --> src/macros/error.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | use rusqlite::ffi; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/database/repository.rs:85:12 [INFO] [stderr] | [INFO] [stderr] 85 | Ok(db_to_repo!(result, {})?) [INFO] [stderr] | ----------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `db_to_repo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `rusqlite::ffi` [INFO] [stderr] --> src/macros/error.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | use rusqlite::ffi; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/database/repository.rs:119:20 [INFO] [stderr] | [INFO] [stderr] 119 | let list = db_to_repo!(result, {})?; [INFO] [stderr] | ----------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `db_to_repo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `rusqlite::ffi` [INFO] [stderr] --> src/macros/error.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | use rusqlite::ffi; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/database/repository.rs:143:20 [INFO] [stderr] | [INFO] [stderr] 143 | let list = db_to_repo!(result, {})?; [INFO] [stderr] | ----------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `db_to_repo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/main.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 25 | / loop { [INFO] [stderr] 26 | | [INFO] [stderr] 27 | | } [INFO] [stderr] | |_____- any code following this expression is unreachable [INFO] [stderr] 28 | [INFO] [stderr] 29 | Ok(()) [INFO] [stderr] | ^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `config` [INFO] [stderr] --> src/main.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 17 | let config = match BotConfig::from_env() { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `safe_shutdown` is never used [INFO] [stderr] --> src/main.rs:32:4 [INFO] [stderr] | [INFO] [stderr] 32 | fn safe_shutdown() { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `shutdown` are never used [INFO] [stderr] --> src/bot/shiritori_bot.rs:15:18 [INFO] [stderr] | [INFO] [stderr] 14 | impl Bot { [INFO] [stderr] | -------- associated items in this implementation [INFO] [stderr] 15 | pub async fn new(config: BotConfig) -> Result { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 43 | fn shutdown(&self) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `assert_room_not_found` is never used [INFO] [stderr] --> src/macros/test.rs:55:8 [INFO] [stderr] | [INFO] [stderr] 55 | pub fn assert_room_not_found(result: Result) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `Shiritori` (bin "Shiritori" test) generated 9 warnings (run `cargo fix --bin "Shiritori" -p Shiritori --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/Shiritori-960141c96ba5ecfb) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test database::repository::tests::test_get_words ... ok [INFO] [stdout] test database::repository::tests::test_initial_repository ... ok [INFO] [stdout] test database::repository::tests::test_delete_room ... ok [INFO] [stdout] test database::repository::tests::test_get_rooms ... ok [INFO] [stdout] test database::repository::tests::test_create_room ... ok [INFO] [stdout] test database::repository::tests::test_insert_word ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "35acfc9258c527cfeefdb2dd21bbb784dfe47896d6e7f7128076d459eb0c1d93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35acfc9258c527cfeefdb2dd21bbb784dfe47896d6e7f7128076d459eb0c1d93", kill_on_drop: false }` [INFO] [stdout] 35acfc9258c527cfeefdb2dd21bbb784dfe47896d6e7f7128076d459eb0c1d93