[INFO] fetching crate ruskit 0.1.5... [INFO] testing ruskit-0.1.5 against try#17092ad00ed8fe1e7f81a7e38238ff70779034b1 for pr-140985 [INFO] extracting crate ruskit 0.1.5 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate ruskit 0.1.5 on toolchain 17092ad00ed8fe1e7f81a7e38238ff70779034b1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2-tc2/source/Cargo.toml [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" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5cea4435a5bbbd91515b37183ad1f65e49f4ce5452f0cdd9807e3d76bcb8c8e4 [INFO] running `Command { std: "docker" "start" "-a" "5cea4435a5bbbd91515b37183ad1f65e49f4ce5452f0cdd9807e3d76bcb8c8e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5cea4435a5bbbd91515b37183ad1f65e49f4ce5452f0cdd9807e3d76bcb8c8e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cea4435a5bbbd91515b37183ad1f65e49f4ce5452f0cdd9807e3d76bcb8c8e4", kill_on_drop: false }` [INFO] [stdout] 5cea4435a5bbbd91515b37183ad1f65e49f4ce5452f0cdd9807e3d76bcb8c8e4 [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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9fdbbb16f59ca51dd6f5fe2a452c59ae98fa75a2ecabdbfb0a053106b4cacfc [INFO] running `Command { std: "docker" "start" "-a" "b9fdbbb16f59ca51dd6f5fe2a452c59ae98fa75a2ecabdbfb0a053106b4cacfc", 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 once_cell v1.20.3 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling cc v1.2.14 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling lexical-util v0.8.5 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling string_cache_codegen v0.5.3 [INFO] [stderr] Compiling swc_atoms v0.5.6 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling better_scoped_tls v0.1.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling psm v0.1.25 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling nom v7.1.3 [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 ahash v0.8.11 [INFO] [stderr] Compiling lexical-write-float v0.8.5 [INFO] [stderr] Compiling lexical-parse-float v0.8.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling unicode-id v0.3.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling lexical-core v0.8.5 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.8 [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 indexmap v2.7.1 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling Inflector v0.11.4 [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 cpufeatures v0.2.17 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.217 [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 displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling from_variant v0.1.5 [INFO] [stderr] Compiling swc_eq_ignore_macros v0.1.1 [INFO] [stderr] Compiling ast_node v0.9.4 [INFO] [stderr] Compiling string_enum v0.4.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling swc_visit_macros v0.5.7 [INFO] [stderr] Compiling is-macro v0.2.2 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling swc_config_macro v0.1.1 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [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 idna_adapter v1.2.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling string_cache v0.8.8 [INFO] [stderr] Compiling text_lines v0.6.0 [INFO] [stderr] Compiling swc_common v0.31.12 [INFO] [stderr] Compiling swc_config v0.1.5 [INFO] [stderr] Compiling deno_media_type v0.1.4 [INFO] [stderr] Compiling dprint-core v0.62.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling basic-toml v0.1.9 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling swc_ecma_ast v0.104.5 [INFO] [stderr] Compiling askama_parser v0.2.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling askama_derive v0.12.5 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling async-trait v0.1.86 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling askama_escape v0.10.3 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling tinyvec v1.8.1 [INFO] [stderr] Compiling ts-rs-macros v7.1.1 [INFO] [stderr] Compiling tempfile v3.17.1 [INFO] [stderr] Compiling sqlx-sqlite v0.7.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling colorchoice v1.0.3 [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 sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling maud_macros v0.25.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling swc_ecma_parser v0.134.12 [INFO] [stderr] Compiling axum-macros v0.4.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.14 [INFO] [stderr] Compiling validator_types v0.16.0 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling clap_builder v4.5.30 [INFO] [stderr] Compiling clap_derive v4.5.28 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling validator_derive v0.16.0 [INFO] [stderr] Compiling notify v6.1.1 [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 iana-time-zone v0.1.61 [INFO] [stderr] Compiling ruskit v0.1.5 (/opt/rustwide/workdir) [INFO] [stderr] Compiling indoc v2.0.5 [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 console v0.15.10 [INFO] [stderr] Compiling fake v2.10.0 [INFO] [stderr] Compiling ctrlc v3.4.5 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling ruskit_macros v0.1.1 [INFO] [stderr] Compiling askama_axum v0.4.0 [INFO] [stderr] Compiling sqlx v0.7.4 [INFO] [stderr] Compiling axum-inertia v0.6.0 [INFO] [stderr] Compiling clap v4.5.30 [INFO] [stderr] Compiling validator v0.16.1 [INFO] [stderr] Compiling notify-debouncer-mini v0.4.1 [INFO] [stderr] Compiling dprint-swc-ext v0.10.0 [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 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 5m 22s [INFO] running `Command { std: "docker" "inspect" "b9fdbbb16f59ca51dd6f5fe2a452c59ae98fa75a2ecabdbfb0a053106b4cacfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9fdbbb16f59ca51dd6f5fe2a452c59ae98fa75a2ecabdbfb0a053106b4cacfc", kill_on_drop: false }` [INFO] [stdout] b9fdbbb16f59ca51dd6f5fe2a452c59ae98fa75a2ecabdbfb0a053106b4cacfc [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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29a9d65d91d5efeef76c3f55683a4ea464dc09617bca79da8e33c5b6c28f5ad8 [INFO] running `Command { std: "docker" "start" "-a" "29a9d65d91d5efeef76c3f55683a4ea464dc09617bca79da8e33c5b6c28f5ad8", 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] [stderr] Compiling ruskit v0.1.5 (/opt/rustwide/workdir) [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] [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] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.83s [INFO] running `Command { std: "docker" "inspect" "29a9d65d91d5efeef76c3f55683a4ea464dc09617bca79da8e33c5b6c28f5ad8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29a9d65d91d5efeef76c3f55683a4ea464dc09617bca79da8e33c5b6c28f5ad8", kill_on_drop: false }` [INFO] [stdout] 29a9d65d91d5efeef76c3f55683a4ea464dc09617bca79da8e33c5b6c28f5ad8 [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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 60d9f8baad69ba67c296e4eae19517732a93d74c3edb2cb6a083447749c7e614 [INFO] running `Command { std: "docker" "start" "-a" "60d9f8baad69ba67c296e4eae19517732a93d74c3edb2cb6a083447749c7e614", 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 4 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.40s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ruskit-da067e64795d3686) [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' 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: 0x64e3219930f2 - std::backtrace_rs::backtrace::libunwind::trace::h2bdbdb423cc746ad [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64e3219930f2 - std::backtrace_rs::backtrace::trace_unsynchronized::h876081fa48c0856a [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64e3219930f2 - std::sys::backtrace::_print_fmt::h744638bebbff2806 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64e3219930f2 - ::fmt::he6e74fa9d0076b5d [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64e3219b9fe3 - core::fmt::rt::Argument::fmt::hf88a3177e76af877 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64e3219b9fe3 - core::fmt::write::h6442196e41589522 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/fmt/mod.rs:1446:25 [INFO] [stdout] 6: 0x64e32198f823 - std::io::default_write_fmt::h19b804dc75596022 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64e32198f823 - std::io::Write::write_fmt::h561df7c669043671 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/io/mod.rs:1914:13 [INFO] [stdout] 8: 0x64e321992f42 - std::sys::backtrace::BacktraceLock::print::h25e1ce4c29150054 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64e32199467c - std::panicking::default_hook::{{closure}}::h36663bdaae83f2bb [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panicking.rs:300:22 [INFO] [stdout] 10: 0x64e3219944d2 - std::panicking::default_hook::hb9d7c40580cf1835 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x64e321310604 - as core::ops::function::Fn>::call::h53bdf3f1ac68020f [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x64e321310604 - test::test_main_with_exit_callback::{{closure}}::h3ae9af1665ff5b7d [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64e321995173 - as core::ops::function::Fn>::call::ha3a705c6ebc0f8fb [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x64e321995173 - std::panicking::rust_panic_with_hook::h2d703857e4ba629f [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x64e321994e2a - std::panicking::begin_panic_handler::{{closure}}::h53dd12a17ad784b1 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x64e3219935f9 - std::sys::backtrace::__rust_end_short_backtrace::hf54a874920d38937 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x64e321994abd - __rustc[22d03d94d4da23d0]::rust_begin_unwind [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x64e3219b7e10 - core::panicking::panic_fmt::hb74c170c8276d1d6 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x64e3219b8276 - core::result::unwrap_failed::hc1dbbc53e2530a6b [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/result.rs:1732:5 [INFO] [stdout] 20: 0x64e3212d0a9a - core::result::Result::expect::hd0c0149c2a0b24d5 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/result.rs:1089:23 [INFO] [stdout] 21: 0x64e3212cebf7 - ruskit::app::dtos::about::export_bindings_aboutpageprops::hdf026664be0a6505 [INFO] [stdout] at /opt/rustwide/workdir/src/app/dtos/about.rs:5:1 [INFO] [stdout] 22: 0x64e3212cebb7 - ruskit::app::dtos::about::export_bindings_aboutpageprops::{{closure}}::had383bf68af99e72 [INFO] [stdout] at /opt/rustwide/workdir/src/app/dtos/about.rs:5:18 [INFO] [stdout] 23: 0x64e3212cc066 - core::ops::function::FnOnce::call_once::h0328cb8f87759d12 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x64e321315dfb - core::ops::function::FnOnce::call_once::h0c81d2c7e362685a [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x64e321315dfb - test::__rust_begin_short_backtrace::hc62049913de4b9c6 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x64e321315012 - test::run_test_in_process::{{closure}}::h906d61461feea06d [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/test/src/lib.rs:671:60 [INFO] [stdout] 27: 0x64e321315012 - as core::ops::function::FnOnce<()>>::call_once::h962d8c24a3ec06f1 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x64e321315012 - std::panicking::try::do_call::h88e304055018b07f [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x64e321315012 - std::panicking::try::h34046f0780b49f58 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x64e321315012 - std::panic::catch_unwind::h7d7ad4d133a51a76 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x64e321315012 - test::run_test_in_process::h0871d7f888d1f41c [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x64e321315012 - test::run_test::{{closure}}::h696f8114d8bae20e [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x64e3212d8404 - test::run_test::{{closure}}::h632082d0bd36bde1 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x64e3212d8404 - std::sys::backtrace::__rust_begin_short_backtrace::hf4db03c672d46ea2 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 35: 0x64e3212dbeda - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h571ce7b4ea6fba0e [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x64e3212dbeda - as core::ops::function::FnOnce<()>>::call_once::h79478c2f2b0b4ed6 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x64e3212dbeda - std::panicking::try::do_call::hdfb524d8b1c5ea5d [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x64e3212dbeda - std::panicking::try::hb57ee69084fa6c6a [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x64e3212dbeda - std::panic::catch_unwind::h1fcc7dadd90dd47c [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x64e3212dbeda - std::thread::Builder::spawn_unchecked_::{{closure}}::h7201710e36d47c29 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x64e3212dbeda - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha75b12b48ae5b3d2 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x64e321996d7b - as core::ops::function::FnOnce>::call_once::h02517bb8c2b8e279 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 43: 0x64e321996d7b - as core::ops::function::FnOnce>::call_once::h760bb73d54d4c118 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 44: 0x64e321996d7b - std::sys::pal::unix::thread::Thread::new::thread_start::h91ff250566269b77 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] 45: 0x768588743aa4 - [INFO] [stdout] 46: 0x7685887d0a34 - clone [INFO] [stdout] 47: 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.22s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "60d9f8baad69ba67c296e4eae19517732a93d74c3edb2cb6a083447749c7e614", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60d9f8baad69ba67c296e4eae19517732a93d74c3edb2cb6a083447749c7e614", kill_on_drop: false }` [INFO] [stdout] 60d9f8baad69ba67c296e4eae19517732a93d74c3edb2cb6a083447749c7e614