[INFO] cloning repository https://github.com/mztlive/rs-backend-tpl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mztlive/rs-backend-tpl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmztlive%2Frs-backend-tpl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmztlive%2Frs-backend-tpl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 87d887b7f6faa5f0a759adab84d3afdb8396c8e2 [INFO] testing mztlive/rs-backend-tpl against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmztlive%2Frs-backend-tpl" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mztlive/rs-backend-tpl [INFO] finished tweaking git repo https://github.com/mztlive/rs-backend-tpl [INFO] tweaked toml for git repo https://github.com/mztlive/rs-backend-tpl written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mztlive/rs-backend-tpl on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mztlive/rs-backend-tpl 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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 697b6018d86ce8fda0e687b06da5524953f0095c95e20c9e3819c2221c4747cf [INFO] running `Command { std: "docker" "start" "-a" "697b6018d86ce8fda0e687b06da5524953f0095c95e20c9e3819c2221c4747cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "697b6018d86ce8fda0e687b06da5524953f0095c95e20c9e3819c2221c4747cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "697b6018d86ce8fda0e687b06da5524953f0095c95e20c9e3819c2221c4747cf", kill_on_drop: false }` [INFO] [stdout] 697b6018d86ce8fda0e687b06da5524953f0095c95e20c9e3819c2221c4747cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48a7d48b3f3882f72d0837f36bccb19b86104c7df3d20db020de30dbb04362a8 [INFO] running `Command { std: "docker" "start" "-a" "48a7d48b3f3882f72d0837f36bccb19b86104c7df3d20db020de30dbb04362a8", kill_on_drop: false }` [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling subtle v2.6.0 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling rustc_version_runtime v0.3.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling zstd-sys v2.0.11+zstd.1.5.6 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling unicode-properties v0.1.1 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling env_filter v0.1.2 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling md5 v0.8.0 [INFO] [stderr] Compiling zstd-safe v7.1.0 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling rs-snowflake v0.6.0 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling clap_builder v4.5.41 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling toml_writer v1.0.2 [INFO] [stderr] Compiling brotli-decompressor v4.0.1 [INFO] [stderr] Compiling local_ipaddress v0.1.3 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling tokio-cron-scheduler v0.14.0 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.9 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling toml_parser v1.0.1 [INFO] [stderr] Compiling brotli v6.0.0 [INFO] [stderr] Compiling croner v2.1.0 [INFO] [stderr] Compiling iri-string v0.7.2 [INFO] [stderr] Compiling http-range-header v0.4.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rhai_codegen v2.1.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling macro_magic_core v0.5.1 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling prost-derive v0.13.3 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Compiling derive-where v1.5.0 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling macro_magic_macros v0.5.1 [INFO] [stderr] Compiling darling_macro v0.20.9 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling darling v0.20.9 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling serde_with_macros v3.11.0 [INFO] [stderr] Compiling validator_derive v0.20.0 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Compiling mongodb-internal-macros v3.2.4 [INFO] [stderr] Compiling nacos-macro v0.1.1 [INFO] [stderr] Compiling clap_derive v4.5.41 [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 prost v0.13.3 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling prost-types v0.13.3 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling clap v4.5.41 [INFO] [stderr] Compiling zstd v0.13.1 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Compiling thin-vec v0.2.13 [INFO] [stderr] Compiling serde_bytes v0.11.14 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling entity-core v0.1.0 (/opt/rustwide/workdir/crates/entity-core) [INFO] [stderr] Compiling serde_with v3.11.0 [INFO] [stderr] Compiling toml_datetime v0.7.0 [INFO] [stderr] Compiling serde_spanned v1.0.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling toml v0.9.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling rhai v1.18.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling entity-macros v0.1.0 (/opt/rustwide/workdir/crates/entity-macros) [INFO] [stderr] Compiling tokio v1.47.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling bson v2.15.0 [INFO] [stderr] Compiling jwt v0.16.0 [INFO] [stderr] Compiling validator v0.20.0 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling hickory-proto v0.24.4 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling libs v0.1.0 (/opt/rustwide/workdir/crates/libs) [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling async-compression v0.4.11 [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> crates/libs/src/cache/memory.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling h2 v0.4.6 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling casbin v2.10.1 [INFO] [stderr] Compiling hickory-resolver v0.24.4 [INFO] [stderr] Compiling hyper v1.5.1 [INFO] [stderr] Compiling mongodb v3.2.4 [INFO] [stderr] Compiling rbac v0.1.0 (/opt/rustwide/workdir/crates/rbac) [INFO] [stderr] Compiling entities v0.1.0 (/opt/rustwide/workdir/entities) [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper-timeout v0.5.2 [INFO] [stderr] Compiling reqwest v0.12.9 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling tonic v0.12.3 [INFO] [stderr] Compiling nacos-sdk v0.4.2 [INFO] [stderr] Compiling storage v0.1.0 (/opt/rustwide/workdir/crates/storage) [INFO] [stderr] Compiling config v0.1.0 (/opt/rustwide/workdir/config) [INFO] [stdout] warning: unused import: `command` [INFO] [stdout] --> config/src/command.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::{command, Parser}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling database v0.1.0 (/opt/rustwide/workdir/database) [INFO] [stderr] Compiling services v0.1.0 (/opt/rustwide/workdir/services) [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> services/src/admin/repository.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | async fn create(&self, admin: &Admin) -> Result<()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 7 - async fn create(&self, admin: &Admin) -> Result<()>; [INFO] [stdout] 7 + fn create(&self, admin: &Admin) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> services/src/admin/repository.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | async fn update(&self, admin: &Admin) -> Result<()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 8 - async fn update(&self, admin: &Admin) -> Result<()>; [INFO] [stdout] 8 + fn update(&self, admin: &Admin) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> services/src/admin/repository.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | async fn find_by_id(&self, id: &str) -> Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 9 - async fn find_by_id(&self, id: &str) -> Result>; [INFO] [stdout] 9 + fn find_by_id(&self, id: &str) -> impl std::future::Future>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> services/src/admin/repository.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | async fn find_by_account(&self, account: &str) -> Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 10 - async fn find_by_account(&self, account: &str) -> Result>; [INFO] [stdout] 10 + fn find_by_account(&self, account: &str) -> impl std::future::Future>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> services/src/admin/repository.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | async fn find_all(&self) -> Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 11 - async fn find_all(&self) -> Result>; [INFO] [stdout] 11 + fn find_all(&self) -> impl std::future::Future>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> services/src/admin/repository.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | async fn create(&self, role: &entities::Role) -> Result<()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 15 - async fn create(&self, role: &entities::Role) -> Result<()>; [INFO] [stdout] 15 + fn create(&self, role: &entities::Role) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> services/src/admin/repository.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | async fn update(&self, role: &entities::Role) -> Result<()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 16 - async fn update(&self, role: &entities::Role) -> Result<()>; [INFO] [stdout] 16 + fn update(&self, role: &entities::Role) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> services/src/admin/repository.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | async fn find_by_id(&self, id: &str) -> Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 17 - async fn find_by_id(&self, id: &str) -> Result>; [INFO] [stdout] 17 + fn find_by_id(&self, id: &str) -> impl std::future::Future>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> services/src/admin/repository.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | async fn find_all(&self) -> Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 18 - async fn find_all(&self) -> Result>; [INFO] [stdout] 18 + fn find_all(&self) -> impl std::future::Future>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> services/src/admin/repository.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | async fn exists(&self, name: &str) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 19 - async fn exists(&self, name: &str) -> Result; [INFO] [stdout] 19 + fn exists(&self, name: &str) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling container v0.1.0 (/opt/rustwide/workdir/container) [INFO] [stderr] Compiling scheduler v0.1.0 (/opt/rustwide/workdir/apps/scheduler) [INFO] [stderr] Compiling web-api v0.1.0 (/opt/rustwide/workdir/apps/web-api) [INFO] [stdout] warning: unused variable: `service_factory` [INFO] [stdout] --> apps/scheduler/src/main.rs:29:54 [INFO] [stdout] | [INFO] [stdout] 29 | async fn add_tasks(scheduler: &'static JobScheduler, service_factory: &'static ServiceFactory) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_service_factory` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> apps/web-api/src/core/auth/jwt.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl TokenPayload { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 35 | pub fn new(id: String, account: String, role: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserInfo` is never constructed [INFO] [stdout] --> apps/web-api/src/core/handler/login/types.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct UserInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ListResponse` is never constructed [INFO] [stdout] --> apps/web-api/src/core/response.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ListResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 16s [INFO] running `Command { std: "docker" "inspect" "48a7d48b3f3882f72d0837f36bccb19b86104c7df3d20db020de30dbb04362a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48a7d48b3f3882f72d0837f36bccb19b86104c7df3d20db020de30dbb04362a8", kill_on_drop: false }` [INFO] [stdout] 48a7d48b3f3882f72d0837f36bccb19b86104c7df3d20db020de30dbb04362a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 743c24d910939fcb433b7188aea04408687bb39b8bae2046f70d086304ed62ea [INFO] running `Command { std: "docker" "start" "-a" "743c24d910939fcb433b7188aea04408687bb39b8bae2046f70d086304ed62ea", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling tokio v1.47.0 [INFO] [stderr] Compiling entity-macros v0.1.0 (/opt/rustwide/workdir/crates/entity-macros) [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling fastrand v2.2.0 [INFO] [stderr] Compiling entity-core v0.1.0 (/opt/rustwide/workdir/crates/entity-core) [INFO] [stderr] Compiling rhai v1.18.0 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling hickory-proto v0.24.4 [INFO] [stderr] Compiling libs v0.1.0 (/opt/rustwide/workdir/crates/libs) [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling async-compression v0.4.11 [INFO] [stderr] Compiling tokio-cron-scheduler v0.14.0 [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> crates/libs/src/cache/memory.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling h2 v0.4.6 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling casbin v2.10.1 [INFO] [stderr] Compiling hickory-resolver v0.24.4 [INFO] [stderr] error: could not compile `rhai` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/db823df02fd0c2cf67b43025ac3fef3f2d743245/bin/rustc --crate-name rhai --edition=2018 /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rhai-1.18.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="no_closure"' --cfg 'feature="no_float"' --cfg 'feature="no_function"' --cfg 'feature="no_module"' --cfg 'feature="no_optimize"' --cfg 'feature="only_i32"' --cfg 'feature="serde"' --cfg 'feature="std"' --cfg 'feature="sync"' --cfg 'feature="unchecked"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("arbitrary", "bin-features", "core-error", "debugging", "decimal", "default", "document-features", "f32_float", "fuzz", "getrandom", "hashbrown", "internals", "libm", "metadata", "no-std-compat", "no_closure", "no_custom_syntax", "no_float", "no_function", "no_index", "no_module", "no_object", "no_optimize", "no_position", "no_std", "no_time", "only_i32", "only_i64", "rust_decimal", "rustyline", "serde", "serde_json", "std", "stdweb", "sync", "testing-environ", "unchecked", "unicode-xid", "unicode-xid-ident", "unstable", "wasm-bindgen"))' -C metadata=24f2af45d401dad8 -C extra-filename=-89a7220697f9c8f9 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern ahash=/opt/rustwide/target/debug/deps/libahash-ba37fb1e4d7b278e.rmeta --extern bitflags=/opt/rustwide/target/debug/deps/libbitflags-2dca024d43a0c2f6.rmeta --extern num_traits=/opt/rustwide/target/debug/deps/libnum_traits-d43ac97882999dbc.rmeta --extern once_cell=/opt/rustwide/target/debug/deps/libonce_cell-24c5d665b6879050.rmeta --extern rhai_codegen=/opt/rustwide/target/debug/deps/librhai_codegen-f86efef28ec11bca.so --extern serde=/opt/rustwide/target/debug/deps/libserde-563d18f618525893.rmeta --extern smallvec=/opt/rustwide/target/debug/deps/libsmallvec-0d9883cf686313d9.rmeta --extern smartstring=/opt/rustwide/target/debug/deps/libsmartstring-01f83d5a99864ba7.rmeta --extern thin_vec=/opt/rustwide/target/debug/deps/libthin_vec-c4314a9318f54144.rmeta --cap-lints allow --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "743c24d910939fcb433b7188aea04408687bb39b8bae2046f70d086304ed62ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "743c24d910939fcb433b7188aea04408687bb39b8bae2046f70d086304ed62ea", kill_on_drop: false }` [INFO] [stdout] 743c24d910939fcb433b7188aea04408687bb39b8bae2046f70d086304ed62ea