[INFO] fetching crate ruskit 0.1.5... [INFO] testing ruskit-0.1.5 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate ruskit 0.1.5 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate ruskit 0.1.5 [INFO] finished tweaking crates.io crate ruskit 0.1.5 [INFO] tweaked toml for crates.io crate ruskit 0.1.5 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ruskit 0.1.5 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ruskit 0.1.5 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ts_export_derive v0.1.0 [INFO] [stderr] Downloaded validator_types v0.16.0 [INFO] [stderr] Downloaded validator v0.16.1 [INFO] [stderr] Downloaded ts-rs-macros v7.1.1 [INFO] [stderr] Downloaded ts-rs v7.1.1 [INFO] [stderr] Downloaded askama_escape v0.1.0 [INFO] [stderr] Downloaded swc_config_macro v0.1.1 [INFO] [stderr] Downloaded validator_derive v0.16.0 [INFO] [stderr] Downloaded maud v0.25.0 [INFO] [stderr] Downloaded text_lines v0.6.0 [INFO] [stderr] Downloaded dprint-core v0.62.1 [INFO] [stderr] Downloaded better_scoped_tls v0.1.2 [INFO] [stderr] Downloaded askama_axum v0.4.0 [INFO] [stderr] Downloaded rustavel_derive v0.1.0 [INFO] [stderr] Downloaded maud_macros v0.25.0 [INFO] [stderr] Downloaded axum-inertia v0.6.0 [INFO] [stderr] Downloaded askama_derive v0.12.5 [INFO] [stderr] Downloaded clap v4.5.30 [INFO] [stderr] Downloaded ctrlc v3.4.5 [INFO] [stderr] Downloaded basic-toml v0.1.9 [INFO] [stderr] Downloaded dummy v0.8.0 [INFO] [stderr] Downloaded inventory v0.3.19 [INFO] [stderr] Downloaded swc_atoms v0.5.6 [INFO] [stderr] Downloaded fake v2.10.0 [INFO] [stderr] Downloaded string_cache v0.8.8 [INFO] [stderr] Downloaded miniz_oxide v0.8.4 [INFO] [stderr] Downloaded dprint-plugin-typescript v0.85.1 [INFO] [stderr] Downloaded cc v1.2.14 [INFO] [stderr] Downloaded swc_ecma_parser v0.134.12 [INFO] [stderr] Downloaded dprint-swc-ext v0.10.0 [INFO] [stderr] Downloaded string_cache_codegen v0.5.3 [INFO] [stderr] Downloaded swc_visit_macros v0.5.7 [INFO] [stderr] Downloaded unicode-id v0.3.5 [INFO] [stderr] Downloaded clap_builder v4.5.30 [INFO] [stderr] Downloaded swc_eq_ignore_macros v0.1.1 [INFO] [stderr] Downloaded deno_ast v0.27.3 [INFO] [stderr] Downloaded console v0.15.10 [INFO] [stderr] Downloaded notify-debouncer-mini v0.4.1 [INFO] [stderr] Downloaded getopts v0.2.21 [INFO] [stderr] Downloaded askama_escape v0.10.3 [INFO] [stderr] Downloaded askama v0.12.1 [INFO] [stderr] Downloaded deno_media_type v0.1.4 [INFO] [stderr] Downloaded from_variant v0.1.5 [INFO] [stderr] Downloaded swc_visit v0.5.6 [INFO] [stderr] Downloaded pmutil v0.5.3 [INFO] [stderr] Downloaded ruskit_macros v0.1.1 [INFO] [stderr] Downloaded swc_config v0.1.5 [INFO] [stderr] Downloaded is-macro v0.2.2 [INFO] [stderr] Downloaded swc_macros_common v0.3.7 [INFO] [stderr] Downloaded string_enum v0.4.0 [INFO] [stderr] Downloaded stacker v0.1.18 [INFO] [stderr] Downloaded swc_common v0.31.12 [INFO] [stderr] Downloaded serde_json v1.0.138 [INFO] [stderr] Downloaded swc_ecma_ast v0.104.5 [INFO] [stderr] Downloaded kqueue v1.0.8 [INFO] [stderr] Downloaded askama_parser v0.2.1 [INFO] [stderr] Downloaded ast_node v0.9.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db196b8db7701636349852e9cf64870725962b494994c181b81412f45be8b869 [INFO] running `Command { std: "docker" "start" "-a" "db196b8db7701636349852e9cf64870725962b494994c181b81412f45be8b869", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db196b8db7701636349852e9cf64870725962b494994c181b81412f45be8b869", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db196b8db7701636349852e9cf64870725962b494994c181b81412f45be8b869", kill_on_drop: false }` [INFO] [stdout] db196b8db7701636349852e9cf64870725962b494994c181b81412f45be8b869 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f745c5a96ead4703b5f87ef8cf4c298a20afbf6a14d01f15bcc84ab02d208d7c [INFO] running `Command { std: "docker" "start" "-a" "f745c5a96ead4703b5f87ef8cf4c298a20afbf6a14d01f15bcc84ab02d208d7c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cc v1.2.14 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling lexical-util v0.8.5 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling string_cache_codegen v0.5.3 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling better_scoped_tls v0.1.2 [INFO] [stderr] Compiling psm v0.1.25 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling swc_atoms v0.5.6 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling lexical-parse-integer v0.8.6 [INFO] [stderr] Compiling lexical-write-integer v0.8.5 [INFO] [stderr] Compiling stacker v0.1.18 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling lexical-parse-float v0.8.5 [INFO] [stderr] Compiling lexical-write-float v0.8.5 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling unicode-id v0.3.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling lexical-core v0.8.5 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling lexical v6.1.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling pmutil v0.5.3 [INFO] [stderr] Compiling swc_macros_common v0.3.7 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling askama_parser v0.2.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling swc_visit_macros v0.5.7 [INFO] [stderr] Compiling ast_node v0.9.4 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling from_variant v0.1.5 [INFO] [stderr] Compiling swc_eq_ignore_macros v0.1.1 [INFO] [stderr] Compiling is-macro v0.2.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling string_enum v0.4.0 [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 tokio-macros v2.5.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling swc_config_macro v0.1.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling async-trait v0.1.86 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling askama_escape v0.10.3 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling triomphe v0.1.14 [INFO] [stderr] Compiling swc_visit v0.5.6 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling text_lines v0.6.0 [INFO] [stderr] Compiling string_cache v0.8.8 [INFO] [stderr] Compiling deno_media_type v0.1.4 [INFO] [stderr] Compiling dprint-core v0.62.1 [INFO] [stderr] Compiling basic-toml v0.1.9 [INFO] [stderr] Compiling swc_config v0.1.5 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling ts-rs-macros v7.1.1 [INFO] [stderr] Compiling tempfile v3.17.1 [INFO] [stderr] Compiling askama_derive v0.12.5 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling swc_common v0.31.12 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling inotify v0.9.6 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling swc_ecma_ast v0.104.5 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling sqlx-sqlite v0.7.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling maud_macros v0.25.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling axum-macros v0.4.2 [INFO] [stderr] Compiling validator_types v0.16.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.14 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling validator_derive v0.16.0 [INFO] [stderr] Compiling clap_builder v4.5.30 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling notify v6.1.1 [INFO] [stderr] Compiling clap_derive v4.5.28 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Compiling maud v0.25.0 [INFO] [stderr] Compiling dummy v0.8.0 [INFO] [stderr] Compiling askama v0.12.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling deunicode v1.6.0 [INFO] [stderr] Compiling inventory v0.3.19 [INFO] [stderr] Compiling ruskit v0.1.5 (/opt/rustwide/workdir) [INFO] [stderr] Compiling console v0.15.10 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling fake v2.10.0 [INFO] [stderr] Compiling swc_ecma_parser v0.134.12 [INFO] [stderr] Compiling axum-inertia v0.6.0 [INFO] [stderr] Compiling askama_axum v0.4.0 [INFO] [stderr] Compiling ruskit_macros v0.1.1 [INFO] [stderr] Compiling clap v4.5.30 [INFO] [stderr] Compiling ctrlc v3.4.5 [INFO] [stderr] Compiling sqlx v0.7.4 [INFO] [stderr] Compiling notify-debouncer-mini v0.4.1 [INFO] [stderr] Compiling validator v0.16.1 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling rustavel_derive v0.1.0 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling askama_escape v0.1.0 [INFO] [stderr] Compiling dprint-swc-ext v0.10.0 [INFO] [stderr] Compiling deno_ast v0.27.3 [INFO] [stderr] Compiling dprint-plugin-typescript v0.85.1 [INFO] [stderr] Compiling ts-rs v7.1.1 [INFO] [stderr] Compiling ts_export_derive v0.1.0 [INFO] [stdout] warning: unused import: `paste` [INFO] [stdout] --> src/framework/database/model.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use paste; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `user::*` [INFO] [stdout] --> src/app/models/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use user::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `post::*` [INFO] [stdout] --> src/app/models/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use post::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shutdown_tx` [INFO] [stdout] --> src/cli.rs:104:38 [INFO] [stdout] | [INFO] [stdout] 104 | async fn watch_directory(path: &str, shutdown_tx: broadcast::Sender<()>) [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shutdown_tx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/framework/database/model.rs:167:32 [INFO] [stdout] | [INFO] [stdout] 167 | pub async fn create(&self, mut model: Child) -> Result { [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: unused import: `Model` [INFO] [stdout] --> src/framework/database/migration.rs:7:41 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::framework::database::model::{Model, discover_and_register_models}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/framework/database/model.rs:255:24 [INFO] [stdout] | [INFO] [stdout] 255 | fn validate(&self, field: &str, value: &str) -> Result<(), ValidationError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `RouteBuilder` is more private than the item `RouteMiddlewareExt::with_middleware` [INFO] [stdout] --> src/framework/middleware/internal.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | fn with_middleware(self, middleware: Middleware) -> RouteBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `RouteMiddlewareExt::with_middleware` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `RouteBuilder` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/framework/middleware/internal.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct RouteBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `RouteBuilder` is more private than the item `RouteMiddlewareExt::with_middlewares` [INFO] [stdout] --> src/framework/middleware/internal.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | fn with_middlewares(self, middlewares: Vec) -> RouteBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `RouteMiddlewareExt::with_middlewares` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `RouteBuilder` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/framework/middleware/internal.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct RouteBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `RouteBuilder` is more private than the item `::with_middleware` [INFO] [stdout] --> src/framework/middleware/internal.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | fn with_middleware(self, middleware: Middleware) -> RouteBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `::with_middleware` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `RouteBuilder` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/framework/middleware/internal.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct RouteBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `RouteBuilder` is more private than the item `::with_middlewares` [INFO] [stdout] --> src/framework/middleware/internal.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | fn with_middlewares(self, middlewares: Vec) -> RouteBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `::with_middlewares` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `RouteBuilder` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/framework/middleware/internal.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct RouteBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cargo_subcommand_name` is never read [INFO] [stdout] --> src/cli.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Cli { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | cargo_subcommand_name: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/framework/database/model.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 289 | pub struct Field { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 290 | name: &'static str, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `discover_seeders` is never used [INFO] [stdout] --> src/framework/database/seeder.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl DatabaseSeeder { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | fn discover_seeders() -> Result<(), DatabaseError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/framework/database/config.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | CONFIG.clone().unwrap_or_else(DatabaseConfig::default) [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)]` on by default [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] --> src/framework/database/factory.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | async fn factory() -> 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] 6 ~ fn factory() -> impl std::future::Future> + Send {async { [INFO] [stdout] 7 | let instance = Self::definition(); [INFO] [stdout] 8 | println!("Creating factory instance..."); [INFO] [stdout] 9 | Self::create(instance).await [INFO] [stdout] 10~ } } [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] --> src/framework/database/factory.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | async fn create_many(count: i32) -> Result, DatabaseError> { [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] 12 ~ fn create_many(count: i32) -> impl std::future::Future, DatabaseError>> + Send {async { [INFO] [stdout] 13 | println!("Creating {} instances...", count); [INFO] [stdout] ... [INFO] [stdout] 48 | } [INFO] [stdout] 49 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `_AUTO_TS_EXPORT_AboutPageProps` should have an upper case name [INFO] [stdout] --> src/app/dtos/about.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct AboutPageProps { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `_AUTO_TS_EXPORT_ABOUT_PAGE_PROPS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_rollback` is never used [INFO] [stdout] --> src/bin/cargo-kit.rs:469:10 [INFO] [stdout] | [INFO] [stdout] 469 | async fn run_rollback() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 53s [INFO] running `Command { std: "docker" "inspect" "f745c5a96ead4703b5f87ef8cf4c298a20afbf6a14d01f15bcc84ab02d208d7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f745c5a96ead4703b5f87ef8cf4c298a20afbf6a14d01f15bcc84ab02d208d7c", kill_on_drop: false }` [INFO] [stdout] f745c5a96ead4703b5f87ef8cf4c298a20afbf6a14d01f15bcc84ab02d208d7c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1df8e85a9cb9dfa83bfde590e91eff1500e8f98dcf01cc7ac840e472ec252554 [INFO] running `Command { std: "docker" "start" "-a" "1df8e85a9cb9dfa83bfde590e91eff1500e8f98dcf01cc7ac840e472ec252554", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `paste` [INFO] [stdout] --> src/framework/database/model.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use paste; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `user::*` [INFO] [stdout] --> src/app/models/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use user::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `post::*` [INFO] [stdout] --> src/app/models/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use post::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shutdown_tx` [INFO] [stdout] --> src/cli.rs:104:38 [INFO] [stdout] | [INFO] [stdout] 104 | async fn watch_directory(path: &str, shutdown_tx: broadcast::Sender<()>) [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shutdown_tx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/framework/database/model.rs:167:32 [INFO] [stdout] | [INFO] [stdout] 167 | pub async fn create(&self, mut model: Child) -> Result { [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: unused import: `Model` [INFO] [stdout] --> src/framework/database/migration.rs:7:41 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::framework::database::model::{Model, discover_and_register_models}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/framework/database/model.rs:255:24 [INFO] [stdout] | [INFO] [stdout] 255 | fn validate(&self, field: &str, value: &str) -> Result<(), ValidationError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `RouteBuilder` is more private than the item `RouteMiddlewareExt::with_middleware` [INFO] [stdout] --> src/framework/middleware/internal.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | fn with_middleware(self, middleware: Middleware) -> RouteBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `RouteMiddlewareExt::with_middleware` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `RouteBuilder` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/framework/middleware/internal.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct RouteBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `RouteBuilder` is more private than the item `RouteMiddlewareExt::with_middlewares` [INFO] [stdout] --> src/framework/middleware/internal.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | fn with_middlewares(self, middlewares: Vec) -> RouteBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `RouteMiddlewareExt::with_middlewares` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `RouteBuilder` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/framework/middleware/internal.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct RouteBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `RouteBuilder` is more private than the item `::with_middleware` [INFO] [stdout] --> src/framework/middleware/internal.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | fn with_middleware(self, middleware: Middleware) -> RouteBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `::with_middleware` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `RouteBuilder` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/framework/middleware/internal.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct RouteBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `RouteBuilder` is more private than the item `::with_middlewares` [INFO] [stdout] --> src/framework/middleware/internal.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | fn with_middlewares(self, middlewares: Vec) -> RouteBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `::with_middlewares` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `RouteBuilder` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/framework/middleware/internal.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct RouteBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cargo_subcommand_name` is never read [INFO] [stdout] --> src/cli.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Cli { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | cargo_subcommand_name: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/framework/database/model.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 289 | pub struct Field { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 290 | name: &'static str, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `discover_seeders` is never used [INFO] [stdout] --> src/framework/database/seeder.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl DatabaseSeeder { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | fn discover_seeders() -> Result<(), DatabaseError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/framework/database/config.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | CONFIG.clone().unwrap_or_else(DatabaseConfig::default) [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)]` on by default [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] --> src/framework/database/factory.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | async fn factory() -> 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] 6 ~ fn factory() -> impl std::future::Future> + Send {async { [INFO] [stdout] 7 | let instance = Self::definition(); [INFO] [stdout] 8 | println!("Creating factory instance..."); [INFO] [stdout] 9 | Self::create(instance).await [INFO] [stdout] 10~ } } [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] --> src/framework/database/factory.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | async fn create_many(count: i32) -> Result, DatabaseError> { [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] 12 ~ fn create_many(count: i32) -> impl std::future::Future, DatabaseError>> + Send {async { [INFO] [stdout] 13 | println!("Creating {} instances...", count); [INFO] [stdout] ... [INFO] [stdout] 48 | } [INFO] [stdout] 49 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `_AUTO_TS_EXPORT_AboutPageProps` should have an upper case name [INFO] [stdout] --> src/app/dtos/about.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct AboutPageProps { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `_AUTO_TS_EXPORT_ABOUT_PAGE_PROPS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ruskit v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `paste` [INFO] [stdout] --> src/framework/database/model.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use paste; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `user::*` [INFO] [stdout] --> src/app/models/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use user::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `post::*` [INFO] [stdout] --> src/app/models/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use post::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shutdown_tx` [INFO] [stdout] --> src/cli.rs:104:38 [INFO] [stdout] | [INFO] [stdout] 104 | async fn watch_directory(path: &str, shutdown_tx: broadcast::Sender<()>) [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shutdown_tx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_rollback` is never used [INFO] [stdout] --> src/bin/cargo-kit.rs:469:10 [INFO] [stdout] | [INFO] [stdout] 469 | async fn run_rollback() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/framework/database/model.rs:167:32 [INFO] [stdout] | [INFO] [stdout] 167 | pub async fn create(&self, mut model: Child) -> Result { [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: unused import: `Model` [INFO] [stdout] --> src/framework/database/migration.rs:7:41 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::framework::database::model::{Model, discover_and_register_models}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/framework/database/model.rs:255:24 [INFO] [stdout] | [INFO] [stdout] 255 | fn validate(&self, field: &str, value: &str) -> Result<(), ValidationError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `RouteBuilder` is more private than the item `RouteMiddlewareExt::with_middleware` [INFO] [stdout] --> src/framework/middleware/internal.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | fn with_middleware(self, middleware: Middleware) -> RouteBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `RouteMiddlewareExt::with_middleware` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `RouteBuilder` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/framework/middleware/internal.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct RouteBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `RouteBuilder` is more private than the item `RouteMiddlewareExt::with_middlewares` [INFO] [stdout] --> src/framework/middleware/internal.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | fn with_middlewares(self, middlewares: Vec) -> RouteBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `RouteMiddlewareExt::with_middlewares` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `RouteBuilder` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/framework/middleware/internal.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct RouteBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `RouteBuilder` is more private than the item `::with_middleware` [INFO] [stdout] --> src/framework/middleware/internal.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | fn with_middleware(self, middleware: Middleware) -> RouteBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `::with_middleware` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `RouteBuilder` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/framework/middleware/internal.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct RouteBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `RouteBuilder` is more private than the item `::with_middlewares` [INFO] [stdout] --> src/framework/middleware/internal.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | fn with_middlewares(self, middlewares: Vec) -> RouteBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `::with_middlewares` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `RouteBuilder` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/framework/middleware/internal.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct RouteBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cargo_subcommand_name` is never read [INFO] [stdout] --> src/cli.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Cli { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | cargo_subcommand_name: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/framework/database/model.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 289 | pub struct Field { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 290 | name: &'static str, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `discover_seeders` is never used [INFO] [stdout] --> src/framework/database/seeder.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl DatabaseSeeder { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | fn discover_seeders() -> Result<(), DatabaseError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/framework/database/config.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | CONFIG.clone().unwrap_or_else(DatabaseConfig::default) [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)]` on by default [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] --> src/framework/database/factory.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | async fn factory() -> 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] 6 ~ fn factory() -> impl std::future::Future> + Send {async { [INFO] [stdout] 7 | let instance = Self::definition(); [INFO] [stdout] 8 | println!("Creating factory instance..."); [INFO] [stdout] 9 | Self::create(instance).await [INFO] [stdout] 10~ } } [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] --> src/framework/database/factory.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | async fn create_many(count: i32) -> Result, DatabaseError> { [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] 12 ~ fn create_many(count: i32) -> impl std::future::Future, DatabaseError>> + Send {async { [INFO] [stdout] 13 | println!("Creating {} instances...", count); [INFO] [stdout] ... [INFO] [stdout] 48 | } [INFO] [stdout] 49 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `_AUTO_TS_EXPORT_AboutPageProps` should have an upper case name [INFO] [stdout] --> src/app/dtos/about.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct AboutPageProps { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `_AUTO_TS_EXPORT_ABOUT_PAGE_PROPS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.09s [INFO] running `Command { std: "docker" "inspect" "1df8e85a9cb9dfa83bfde590e91eff1500e8f98dcf01cc7ac840e472ec252554", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1df8e85a9cb9dfa83bfde590e91eff1500e8f98dcf01cc7ac840e472ec252554", kill_on_drop: false }` [INFO] [stdout] 1df8e85a9cb9dfa83bfde590e91eff1500e8f98dcf01cc7ac840e472ec252554 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6d29e58701ff33bfd4bee5357975124f2808b8b2d4cedd5af1568afe4524e887 [INFO] running `Command { std: "docker" "start" "-a" "6d29e58701ff33bfd4bee5357975124f2808b8b2d4cedd5af1568afe4524e887", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `paste` [INFO] [stderr] --> src/framework/database/model.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use paste; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `user::*` [INFO] [stderr] --> src/app/models/mod.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 9 | pub use user::*; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `post::*` [INFO] [stderr] --> src/app/models/mod.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 10 | pub use post::*; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `shutdown_tx` [INFO] [stderr] --> src/cli.rs:104:38 [INFO] [stderr] | [INFO] [stderr] 104 | async fn watch_directory(path: &str, shutdown_tx: broadcast::Sender<()>) [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shutdown_tx` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/framework/database/model.rs:167:32 [INFO] [stderr] | [INFO] [stderr] 167 | pub async fn create(&self, mut model: Child) -> Result { [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Model` [INFO] [stderr] --> src/framework/database/migration.rs:7:41 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::framework::database::model::{Model, discover_and_register_models}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `field` [INFO] [stderr] --> src/framework/database/model.rs:255:24 [INFO] [stderr] | [INFO] [stderr] 255 | fn validate(&self, field: &str, value: &str) -> Result<(), ValidationError> { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stderr] [INFO] [stderr] warning: type `RouteBuilder` is more private than the item `RouteMiddlewareExt::with_middleware` [INFO] [stderr] --> src/framework/middleware/internal.rs:86:5 [INFO] [stderr] | [INFO] [stderr] 86 | fn with_middleware(self, middleware: Middleware) -> RouteBuilder; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `RouteMiddlewareExt::with_middleware` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `RouteBuilder` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/framework/middleware/internal.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | pub(crate) struct RouteBuilder { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(private_interfaces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type `RouteBuilder` is more private than the item `RouteMiddlewareExt::with_middlewares` [INFO] [stderr] --> src/framework/middleware/internal.rs:87:5 [INFO] [stderr] | [INFO] [stderr] 87 | fn with_middlewares(self, middlewares: Vec) -> RouteBuilder; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `RouteMiddlewareExt::with_middlewares` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `RouteBuilder` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/framework/middleware/internal.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | pub(crate) struct RouteBuilder { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `RouteBuilder` is more private than the item `::with_middleware` [INFO] [stderr] --> src/framework/middleware/internal.rs:91:5 [INFO] [stderr] | [INFO] [stderr] 91 | fn with_middleware(self, middleware: Middleware) -> RouteBuilder { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `::with_middleware` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `RouteBuilder` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/framework/middleware/internal.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | pub(crate) struct RouteBuilder { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `RouteBuilder` is more private than the item `::with_middlewares` [INFO] [stderr] --> src/framework/middleware/internal.rs:95:5 [INFO] [stderr] | [INFO] [stderr] 95 | fn with_middlewares(self, middlewares: Vec) -> RouteBuilder { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `::with_middlewares` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `RouteBuilder` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/framework/middleware/internal.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | pub(crate) struct RouteBuilder { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `cargo_subcommand_name` is never read [INFO] [stderr] --> src/cli.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct Cli { [INFO] [stderr] | --- field in this struct [INFO] [stderr] ... [INFO] [stderr] 20 | cargo_subcommand_name: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `name` is never read [INFO] [stderr] --> src/framework/database/model.rs:290:5 [INFO] [stderr] | [INFO] [stderr] 289 | pub struct Field { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 290 | name: &'static str, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `discover_seeders` is never used [INFO] [stderr] --> src/framework/database/seeder.rs:27:8 [INFO] [stderr] | [INFO] [stderr] 18 | impl DatabaseSeeder { [INFO] [stderr] | ------------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 27 | fn discover_seeders() -> Result<(), DatabaseError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/framework/database/config.rs:69:9 [INFO] [stderr] | [INFO] [stderr] 69 | CONFIG.clone().unwrap_or_else(DatabaseConfig::default) [INFO] [stderr] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/framework/database/factory.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | async fn factory() -> Result { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stderr] 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] [stderr] | [INFO] [stderr] 6 ~ fn factory() -> impl std::future::Future> + Send {async { [INFO] [stderr] 7 | let instance = Self::definition(); [INFO] [stderr] 8 | println!("Creating factory instance..."); [INFO] [stderr] 9 | Self::create(instance).await [INFO] [stderr] 10~ } } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/framework/database/factory.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | async fn create_many(count: i32) -> Result, DatabaseError> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] 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] [stderr] | [INFO] [stderr] 12 ~ fn create_many(count: i32) -> impl std::future::Future, DatabaseError>> + Send {async { [INFO] [stderr] 13 | println!("Creating {} instances...", count); [INFO] [stderr] ... [INFO] [stderr] 48 | } [INFO] [stderr] 49 ~ } } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: constant `_AUTO_TS_EXPORT_AboutPageProps` should have an upper case name [INFO] [stderr] --> src/app/dtos/about.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct AboutPageProps { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `_AUTO_TS_EXPORT_ABOUT_PAGE_PROPS` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `ruskit` (lib) generated 18 warnings (run `cargo fix --lib -p ruskit` to apply 5 suggestions) [INFO] [stderr] warning: `ruskit` (lib test) generated 18 warnings (18 duplicates) [INFO] [stderr] warning: function `run_rollback` is never used [INFO] [stderr] --> src/bin/cargo-kit.rs:469:10 [INFO] [stderr] | [INFO] [stderr] 469 | async fn run_rollback() -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `ruskit` (bin "cargo-kit" test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.55s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ruskit-22e78eed36f9fead) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test app::dtos::about::export_bindings_aboutpageprops ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- app::dtos::about::export_bindings_aboutpageprops stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'app::dtos::about::export_bindings_aboutpageprops' (18) panicked at src/app/dtos/about.rs:5:1: [INFO] [stdout] could not export type: Io(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55e8fe28a712 - std::backtrace_rs::backtrace::libunwind::trace::h0fb8082ca5562a61 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x55e8fe28a712 - std::backtrace_rs::backtrace::trace_unsynchronized::hfaa258994374a3cd [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x55e8fe28a712 - std::sys::backtrace::_print_fmt::h11496fe34963a885 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x55e8fe28a712 - ::fmt::hff1a9408d012ee89 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x55e8fe2af55f - core::fmt::rt::Argument::fmt::hf11195b61445f5d1 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x55e8fe2af55f - core::fmt::write::h2f1fc679f228cc52 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x55e8fe2760e3 - std::io::default_write_fmt::h12bd533187bc883d [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x55e8fe2760e3 - std::io::Write::write_fmt::h926a1fdfdcb90065 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x55e8fe28a562 - std::sys::backtrace::BacktraceLock::print::h28bfdbcac6d3828b [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x55e8fe2746ec - std::panicking::default_hook::{{closure}}::h1f968e3a24b0e3b4 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x55e8fe274569 - std::panicking::default_hook::h43da101644971931 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x55e8fdbc2a1e - as core::ops::function::Fn>::call::h4b2012949041da5d [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x55e8fdbc2a1e - test::test_main_with_exit_callback::{{closure}}::h53c9154cdc260357 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x55e8fe274cf3 - as core::ops::function::Fn>::call::h911f2e3e7e84b764 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x55e8fe274cf3 - std::panicking::panic_with_hook::hb4e916c3e65eccec [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x55e8fe28a0ea - std::panicking::panic_handler::{{closure}}::hbff715d0475cf1bd [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x55e8fe28a049 - std::sys::backtrace::__rust_end_short_backtrace::hd6f43484e45a4955 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x55e8fe27547d - __rustc[b29d3319de9a3146]::rust_begin_unwind [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x55e8fe2b7a10 - core::panicking::panic_fmt::h5f8d281875be5ff1 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x55e8fe2b8fe6 - core::result::unwrap_failed::hbb243a6a8b53218d [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/result.rs:1852:5 [INFO] [stdout] 20: 0x55e8fdbadd6a - core::result::Result::expect::h1c0826398462cfdf [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/result.rs:1175:23 [INFO] [stdout] 21: 0x55e8fdbb5197 - ruskit::app::dtos::about::export_bindings_aboutpageprops::hdd196bd75a4d9991 [INFO] [stdout] at /opt/rustwide/workdir/src/app/dtos/about.rs:5:1 [INFO] [stdout] 22: 0x55e8fdbb5157 - ruskit::app::dtos::about::export_bindings_aboutpageprops::{{closure}}::h8acb6b1b95b699bc [INFO] [stdout] at /opt/rustwide/workdir/src/app/dtos/about.rs:5:18 [INFO] [stdout] 23: 0x55e8fdbb8e66 - core::ops::function::FnOnce::call_once::h1ef4aab46e1031a4 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: 0x55e8fdbc7f5b - core::ops::function::FnOnce::call_once::haf4e03bb51ef1351 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x55e8fdbc7f5b - test::__rust_begin_short_backtrace::h50f5566ee84f2f21 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x55e8fdbcb155 - test::run_test_in_process::{{closure}}::heb3733b71d876eca [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x55e8fdbcb155 - as core::ops::function::FnOnce<()>>::call_once::he2fe41e1b161faa9 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x55e8fdbcb155 - std::panicking::catch_unwind::do_call::h00aa383d8fd97a09 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x55e8fdbcb155 - std::panicking::catch_unwind::he482e1914bc21641 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x55e8fdbcb155 - std::panic::catch_unwind::h86ac9705098f4f22 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x55e8fdbcb155 - test::run_test_in_process::h636a992821e3c6aa [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x55e8fdbcb155 - test::run_test::{{closure}}::he454cc9a192df79f [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x55e8fdbf0b04 - test::run_test::{{closure}}::haec47455908dff86 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x55e8fdbf0b04 - std::sys::backtrace::__rust_begin_short_backtrace::h230785972524cdc1 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x55e8fdbd771a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::haa5a562db4cde838 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x55e8fdbd771a - as core::ops::function::FnOnce<()>>::call_once::h89254f37a55d0a87 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x55e8fdbd771a - std::panicking::catch_unwind::do_call::h499f5a462f019d9d [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x55e8fdbd771a - std::panicking::catch_unwind::h6736fbbb1a264383 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x55e8fdbd771a - std::panic::catch_unwind::h49ea7bdd1cbee572 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x55e8fdbd771a - std::thread::Builder::spawn_unchecked_::{{closure}}::h653dfa62acf32f5a [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x55e8fdbd771a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h82582a626a045a45 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 42: 0x55e8fe25ec4f - as core::ops::function::FnOnce>::call_once::h4ab26c07513156cc [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 43: 0x55e8fe25ec4f - std::sys::pal::unix::thread::Thread::new::thread_start::h66ff1bba185a50cf [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 44: 0x795a298beaa4 - [INFO] [stdout] 45: 0x795a2994ba34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] app::dtos::about::export_bindings_aboutpageprops [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "6d29e58701ff33bfd4bee5357975124f2808b8b2d4cedd5af1568afe4524e887", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d29e58701ff33bfd4bee5357975124f2808b8b2d4cedd5af1568afe4524e887", kill_on_drop: false }` [INFO] [stdout] 6d29e58701ff33bfd4bee5357975124f2808b8b2d4cedd5af1568afe4524e887