[INFO] cloning repository https://github.com/badrazizi/ruqyah_telegram_bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/badrazizi/ruqyah_telegram_bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbadrazizi%2Fruqyah_telegram_bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbadrazizi%2Fruqyah_telegram_bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b229b04ecbcf0def0fc7fd3ed574efe772016d23 [INFO] building badrazizi/ruqyah_telegram_bot against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbadrazizi%2Fruqyah_telegram_bot" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/badrazizi/ruqyah_telegram_bot [INFO] finished tweaking git repo https://github.com/badrazizi/ruqyah_telegram_bot [INFO] tweaked toml for git repo https://github.com/badrazizi/ruqyah_telegram_bot written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/badrazizi/ruqyah_telegram_bot on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/badrazizi/ruqyah_telegram_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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded yoke-derive v0.7.4 [INFO] [stderr] Downloaded zerofrom v0.1.4 [INFO] [stderr] Downloaded litemap v0.7.3 [INFO] [stderr] Downloaded thiserror v1.0.68 [INFO] [stderr] Downloaded infer v0.16.0 [INFO] [stderr] Downloaded notify-types v1.0.0 [INFO] [stderr] Downloaded dptree v0.3.0 [INFO] [stderr] Downloaded cfb v0.7.3 [INFO] [stderr] Downloaded url v2.5.3 [INFO] [stderr] Downloaded cc v1.1.34 [INFO] [stderr] Downloaded uuid v1.11.0 [INFO] [stderr] Downloaded notify v7.0.0 [INFO] [stderr] Downloaded unicase v2.8.0 [INFO] [stderr] Downloaded teloxide-macros v0.8.0 [INFO] [stderr] Downloaded teloxide v0.13.0 [INFO] [stderr] Downloaded inotify v0.10.2 [INFO] [stderr] Downloaded erasable v1.2.1 [INFO] [stderr] Downloaded rc-box v1.2.0 [INFO] [stderr] Downloaded takecell v0.1.1 [INFO] [stderr] Downloaded thiserror-impl v1.0.68 [INFO] [stderr] Downloaded teloxide-core v0.10.1 [INFO] [stderr] Downloaded yoke v0.7.4 [INFO] [stderr] Downloaded zerofrom-derive v0.1.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6cc340ac6042af6b2f93e566513d1c0b3b9640f35c4ec8873ea822c8d1b63f5d [INFO] running `Command { std: "docker" "start" "-a" "6cc340ac6042af6b2f93e566513d1c0b3b9640f35c4ec8873ea822c8d1b63f5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6cc340ac6042af6b2f93e566513d1c0b3b9640f35c4ec8873ea822c8d1b63f5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cc340ac6042af6b2f93e566513d1c0b3b9640f35c4ec8873ea822c8d1b63f5d", kill_on_drop: false }` [INFO] [stdout] 6cc340ac6042af6b2f93e566513d1c0b3b9640f35c4ec8873ea822c8d1b63f5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 95720cfc28865d8125fa2976afd8444f9f2dcf3d5dfb1ea6a8476321cf2fde84 [INFO] running `Command { std: "docker" "start" "-a" "95720cfc28865d8125fa2976afd8444f9f2dcf3d5dfb1ea6a8476321cf2fde84", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling cc v1.1.34 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling litemap v0.7.3 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling hashbrown v0.15.1 [INFO] [stderr] Compiling unicase v2.8.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling erasable v1.2.1 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling thiserror v1.0.68 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Compiling include_dir v0.7.4 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling rc-box v1.2.0 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling takecell v0.1.1 [INFO] [stderr] Compiling cfb v0.7.3 [INFO] [stderr] Compiling notify-types v1.0.0 [INFO] [stderr] Compiling inotify v0.10.2 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling notify v7.0.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling infer v0.16.0 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling teloxide-macros v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Compiling thiserror-impl v1.0.68 [INFO] [stderr] Compiling pin-project-internal v1.1.7 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling aquamarine v0.5.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.4 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Compiling tokio v1.41.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling pin-project v1.1.7 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling zerofrom v0.1.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling yoke v0.7.4 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling dptree v0.3.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_with v1.14.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling rusqlite v0.32.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.3 [INFO] [stderr] Compiling hyper v0.14.31 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling teloxide-core v0.10.1 [INFO] [stderr] Compiling teloxide v0.13.0 [INFO] [stderr] Compiling ruqyah_telegram_bot v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `write` is never used [INFO] [stdout] --> src/cmd/json.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 73 | impl JSON { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn write(&self, path: &str) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update` and `delete` are never used [INFO] [stdout] --> src/database/table.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Table { [INFO] [stdout] | ----- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 7 | fn update(&self, conn: &Connection) -> Result<(), rusqlite::Error>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | fn delete(&self, conn: &Connection) -> Result<(), rusqlite::Error>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cmd/json.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 75 | unsafe { JSON_FILE.clone() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cmd/json.rs:90:33 [INFO] [stdout] | [INFO] [stdout] 90 | let mut j = JSON_FILE.write().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 25s [INFO] running `Command { std: "docker" "inspect" "95720cfc28865d8125fa2976afd8444f9f2dcf3d5dfb1ea6a8476321cf2fde84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95720cfc28865d8125fa2976afd8444f9f2dcf3d5dfb1ea6a8476321cf2fde84", kill_on_drop: false }` [INFO] [stdout] 95720cfc28865d8125fa2976afd8444f9f2dcf3d5dfb1ea6a8476321cf2fde84 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7cf83c22f27faa1809f49f59422e0aa4e39807999b882ad45027c8e597eb74da [INFO] running `Command { std: "docker" "start" "-a" "7cf83c22f27faa1809f49f59422e0aa4e39807999b882ad45027c8e597eb74da", kill_on_drop: false }` [INFO] [stderr] Compiling ruqyah_telegram_bot v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `write` is never used [INFO] [stdout] --> src/cmd/json.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 73 | impl JSON { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn write(&self, path: &str) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update` and `delete` are never used [INFO] [stdout] --> src/database/table.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Table { [INFO] [stdout] | ----- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 7 | fn update(&self, conn: &Connection) -> Result<(), rusqlite::Error>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | fn delete(&self, conn: &Connection) -> Result<(), rusqlite::Error>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cmd/json.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 75 | unsafe { JSON_FILE.clone() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/cmd/json.rs:90:33 [INFO] [stdout] | [INFO] [stdout] 90 | let mut j = JSON_FILE.write().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.92s [INFO] running `Command { std: "docker" "inspect" "7cf83c22f27faa1809f49f59422e0aa4e39807999b882ad45027c8e597eb74da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cf83c22f27faa1809f49f59422e0aa4e39807999b882ad45027c8e597eb74da", kill_on_drop: false }` [INFO] [stdout] 7cf83c22f27faa1809f49f59422e0aa4e39807999b882ad45027c8e597eb74da