[INFO] fetching crate rustisan-core 0.0.1... [INFO] testing rustisan-core-0.0.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate rustisan-core 0.0.1 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate rustisan-core 0.0.1 [INFO] finished tweaking crates.io crate rustisan-core 0.0.1 [INFO] tweaked toml for crates.io crate rustisan-core 0.0.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rustisan-core 0.0.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rustisan-core 0.0.1 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 430811ad6349b545e45cd5926d0c952e8ddce8a9d3d9aa1b7cd3160e396b5039 [INFO] running `Command { std: "docker" "start" "-a" "430811ad6349b545e45cd5926d0c952e8ddce8a9d3d9aa1b7cd3160e396b5039", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "430811ad6349b545e45cd5926d0c952e8ddce8a9d3d9aa1b7cd3160e396b5039", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "430811ad6349b545e45cd5926d0c952e8ddce8a9d3d9aa1b7cd3160e396b5039", kill_on_drop: false }` [INFO] [stdout] 430811ad6349b545e45cd5926d0c952e8ddce8a9d3d9aa1b7cd3160e396b5039 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 34e8c1854947492d40bd4357b4110576580c2250eff0fb5bb475d682a9fb7c7d [INFO] running `Command { std: "docker" "start" "-a" "34e8c1854947492d40bd4357b4110576580c2250eff0fb5bb475d682a9fb7c7d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling deunicode v1.6.2 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling yaml-rust2 v0.8.1 [INFO] [stderr] Compiling slug v0.1.6 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling rust-ini v0.20.0 [INFO] [stderr] Compiling blowfish v0.9.1 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling pem v3.0.5 [INFO] [stderr] Compiling hdrhistogram v7.5.4 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling http-range-header v0.4.2 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling bcrypt v0.15.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling axum-macros v0.4.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling tungstenite v0.24.0 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling validator_derive v0.18.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling validator v0.18.1 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling jsonwebtoken v9.3.1 [INFO] [stderr] Compiling tower-cookies v0.10.0 [INFO] [stderr] Compiling config v0.14.1 [INFO] [stderr] Compiling tera v1.20.0 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tower-sessions-core v0.11.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-tungstenite v0.24.0 [INFO] [stderr] Compiling async-compression v0.4.25 [INFO] [stderr] Compiling h2 v0.4.11 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling tower-sessions-memory-store v0.11.1 [INFO] [stderr] Compiling tower-sessions v0.11.1 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling rustisan-core v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `IntoResponse`, `Json`, `Path`, `Query`, `Response as AxumResponse`, and `State` [INFO] [stdout] --> src/routing.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | extract::{Path, Query, State}, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^ [INFO] [stdout] 14 | http::{Method, StatusCode}, [INFO] [stdout] 15 | response::{IntoResponse, Response as AxumResponse}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | Json, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `json` [INFO] [stdout] --> src/routing.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | use serde_json::{json, Value}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/utils.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/utils.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/utils.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Result` and `RustisanError` [INFO] [stdout] --> src/utils.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::errors::{Result, RustisanError}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_state` [INFO] [stdout] --> src/app.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let app_state = AppState { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/http.rs:45:28 [INFO] [stdout] | [INFO] [stdout] 45 | pub async fn from_axum(mut req: AxumRequest) -> Self { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/traits.rs:120:28 [INFO] [stdout] | [INFO] [stdout] 120 | async fn before(&self, request: &mut axum::extract::Request) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/traits.rs:125:27 [INFO] [stdout] | [INFO] [stdout] 125 | async fn after(&self, response: &mut axum::response::Response) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/traits.rs:317:26 [INFO] [stdout] | [INFO] [stdout] 317 | async fn view(&self, user: &Self::User, resource: &T) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resource` [INFO] [stdout] --> src/traits.rs:317:45 [INFO] [stdout] | [INFO] [stdout] 317 | async fn view(&self, user: &Self::User, resource: &T) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/traits.rs:322:28 [INFO] [stdout] | [INFO] [stdout] 322 | async fn create(&self, user: &Self::User) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/traits.rs:327:28 [INFO] [stdout] | [INFO] [stdout] 327 | async fn update(&self, user: &Self::User, resource: &T) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resource` [INFO] [stdout] --> src/traits.rs:327:47 [INFO] [stdout] | [INFO] [stdout] 327 | async fn update(&self, user: &Self::User, resource: &T) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/traits.rs:332:28 [INFO] [stdout] | [INFO] [stdout] 332 | async fn delete(&self, user: &Self::User, resource: &T) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resource` [INFO] [stdout] --> src/traits.rs:332:47 [INFO] [stdout] | [INFO] [stdout] 332 | async fn delete(&self, user: &Self::User, resource: &T) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `services` is never read [INFO] [stdout] --> src/lib.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Container { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 21 | services: HashMap>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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/lib.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | async fn run(&self) -> Result<()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = 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] 73 - async fn run(&self) -> Result<()>; [INFO] [stdout] 73 + fn run(&self) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 25s [INFO] running `Command { std: "docker" "inspect" "34e8c1854947492d40bd4357b4110576580c2250eff0fb5bb475d682a9fb7c7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34e8c1854947492d40bd4357b4110576580c2250eff0fb5bb475d682a9fb7c7d", kill_on_drop: false }` [INFO] [stdout] 34e8c1854947492d40bd4357b4110576580c2250eff0fb5bb475d682a9fb7c7d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f1782291a697660044f2cbd9f564cf2646830197d3951e541504b194e923e7c [INFO] running `Command { std: "docker" "start" "-a" "6f1782291a697660044f2cbd9f564cf2646830197d3951e541504b194e923e7c", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tower-sessions-core v0.11.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling async-compression v0.4.25 [INFO] [stderr] Compiling tokio-tungstenite v0.24.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling h2 v0.4.11 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tower-sessions-memory-store v0.11.1 [INFO] [stderr] Compiling tower-sessions v0.11.1 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling rustisan-core v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `IntoResponse`, `Json`, `Path`, `Query`, `Response as AxumResponse`, and `State` [INFO] [stdout] --> src/routing.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | extract::{Path, Query, State}, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^ [INFO] [stdout] 14 | http::{Method, StatusCode}, [INFO] [stdout] 15 | response::{IntoResponse, Response as AxumResponse}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | Json, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `json` [INFO] [stdout] --> src/routing.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | use serde_json::{json, Value}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/utils.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/utils.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/utils.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Result` and `RustisanError` [INFO] [stdout] --> src/utils.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::errors::{Result, RustisanError}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_state` [INFO] [stdout] --> src/app.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let app_state = AppState { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/http.rs:45:28 [INFO] [stdout] | [INFO] [stdout] 45 | pub async fn from_axum(mut req: AxumRequest) -> Self { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/traits.rs:120:28 [INFO] [stdout] | [INFO] [stdout] 120 | async fn before(&self, request: &mut axum::extract::Request) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/traits.rs:125:27 [INFO] [stdout] | [INFO] [stdout] 125 | async fn after(&self, response: &mut axum::response::Response) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/traits.rs:317:26 [INFO] [stdout] | [INFO] [stdout] 317 | async fn view(&self, user: &Self::User, resource: &T) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resource` [INFO] [stdout] --> src/traits.rs:317:45 [INFO] [stdout] | [INFO] [stdout] 317 | async fn view(&self, user: &Self::User, resource: &T) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/traits.rs:322:28 [INFO] [stdout] | [INFO] [stdout] 322 | async fn create(&self, user: &Self::User) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/traits.rs:327:28 [INFO] [stdout] | [INFO] [stdout] 327 | async fn update(&self, user: &Self::User, resource: &T) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resource` [INFO] [stdout] --> src/traits.rs:327:47 [INFO] [stdout] | [INFO] [stdout] 327 | async fn update(&self, user: &Self::User, resource: &T) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/traits.rs:332:28 [INFO] [stdout] | [INFO] [stdout] 332 | async fn delete(&self, user: &Self::User, resource: &T) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resource` [INFO] [stdout] --> src/traits.rs:332:47 [INFO] [stdout] | [INFO] [stdout] 332 | async fn delete(&self, user: &Self::User, resource: &T) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IntoResponse`, `Json`, `Path`, `Query`, `Response as AxumResponse`, and `State` [INFO] [stdout] --> src/routing.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | extract::{Path, Query, State}, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^ [INFO] [stdout] 14 | http::{Method, StatusCode}, [INFO] [stdout] 15 | response::{IntoResponse, Response as AxumResponse}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | Json, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/utils.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/utils.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/utils.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Result` and `RustisanError` [INFO] [stdout] --> src/utils.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::errors::{Result, RustisanError}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `services` is never read [INFO] [stdout] --> src/lib.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Container { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 21 | services: HashMap>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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/lib.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | async fn run(&self) -> Result<()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = 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] 73 - async fn run(&self) -> Result<()>; [INFO] [stdout] 73 + fn run(&self) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_state` [INFO] [stdout] --> src/app.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let app_state = AppState { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/http.rs:45:28 [INFO] [stdout] | [INFO] [stdout] 45 | pub async fn from_axum(mut req: AxumRequest) -> Self { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/traits.rs:120:28 [INFO] [stdout] | [INFO] [stdout] 120 | async fn before(&self, request: &mut axum::extract::Request) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/traits.rs:125:27 [INFO] [stdout] | [INFO] [stdout] 125 | async fn after(&self, response: &mut axum::response::Response) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/traits.rs:317:26 [INFO] [stdout] | [INFO] [stdout] 317 | async fn view(&self, user: &Self::User, resource: &T) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resource` [INFO] [stdout] --> src/traits.rs:317:45 [INFO] [stdout] | [INFO] [stdout] 317 | async fn view(&self, user: &Self::User, resource: &T) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/traits.rs:322:28 [INFO] [stdout] | [INFO] [stdout] 322 | async fn create(&self, user: &Self::User) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/traits.rs:327:28 [INFO] [stdout] | [INFO] [stdout] 327 | async fn update(&self, user: &Self::User, resource: &T) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resource` [INFO] [stdout] --> src/traits.rs:327:47 [INFO] [stdout] | [INFO] [stdout] 327 | async fn update(&self, user: &Self::User, resource: &T) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/traits.rs:332:28 [INFO] [stdout] | [INFO] [stdout] 332 | async fn delete(&self, user: &Self::User, resource: &T) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resource` [INFO] [stdout] --> src/traits.rs:332:47 [INFO] [stdout] | [INFO] [stdout] 332 | async fn delete(&self, user: &Self::User, resource: &T) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `services` is never read [INFO] [stdout] --> src/lib.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Container { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 21 | services: HashMap>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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/lib.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | async fn run(&self) -> Result<()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = 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] 73 - async fn run(&self) -> Result<()>; [INFO] [stdout] 73 + fn run(&self) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 27.95s [INFO] running `Command { std: "docker" "inspect" "6f1782291a697660044f2cbd9f564cf2646830197d3951e541504b194e923e7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f1782291a697660044f2cbd9f564cf2646830197d3951e541504b194e923e7c", kill_on_drop: false }` [INFO] [stdout] 6f1782291a697660044f2cbd9f564cf2646830197d3951e541504b194e923e7c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 06af87bc289441bc8f00601bc0a905a6c32a357c551817c003c902c4af0fe5d9 [INFO] running `Command { std: "docker" "start" "-a" "06af87bc289441bc8f00601bc0a905a6c32a357c551817c003c902c4af0fe5d9", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `IntoResponse`, `Json`, `Path`, `Query`, `Response as AxumResponse`, and `State` [INFO] [stderr] --> src/routing.rs:13:15 [INFO] [stderr] | [INFO] [stderr] 13 | extract::{Path, Query, State}, [INFO] [stderr] | ^^^^ ^^^^^ ^^^^^ [INFO] [stderr] 14 | http::{Method, StatusCode}, [INFO] [stderr] 15 | response::{IntoResponse, Response as AxumResponse}, [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 16 | Json, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `json` [INFO] [stderr] --> src/routing.rs:18:18 [INFO] [stderr] | [INFO] [stderr] 18 | use serde_json::{json, Value}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stderr] --> src/utils.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | use serde::{Deserialize, Serialize}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/utils.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fmt` [INFO] [stderr] --> src/utils.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use std::fmt; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Result` and `RustisanError` [INFO] [stderr] --> src/utils.rs:11:21 [INFO] [stderr] | [INFO] [stderr] 11 | use crate::errors::{Result, RustisanError}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app_state` [INFO] [stderr] --> src/app.rs:107:13 [INFO] [stderr] | [INFO] [stderr] 107 | let app_state = AppState { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_state` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/http.rs:45:28 [INFO] [stderr] | [INFO] [stderr] 45 | pub async fn from_axum(mut req: AxumRequest) -> Self { [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `request` [INFO] [stderr] --> src/traits.rs:120:28 [INFO] [stderr] | [INFO] [stderr] 120 | async fn before(&self, request: &mut axum::extract::Request) -> Result<()> { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `response` [INFO] [stderr] --> src/traits.rs:125:27 [INFO] [stderr] | [INFO] [stderr] 125 | async fn after(&self, response: &mut axum::response::Response) -> Result<()> { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user` [INFO] [stderr] --> src/traits.rs:317:26 [INFO] [stderr] | [INFO] [stderr] 317 | async fn view(&self, user: &Self::User, resource: &T) -> Result { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `resource` [INFO] [stderr] --> src/traits.rs:317:45 [INFO] [stderr] | [INFO] [stderr] 317 | async fn view(&self, user: &Self::User, resource: &T) -> Result { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resource` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user` [INFO] [stderr] --> src/traits.rs:322:28 [INFO] [stderr] | [INFO] [stderr] 322 | async fn create(&self, user: &Self::User) -> Result { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user` [INFO] [stderr] --> src/traits.rs:327:28 [INFO] [stderr] | [INFO] [stderr] 327 | async fn update(&self, user: &Self::User, resource: &T) -> Result { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `resource` [INFO] [stderr] --> src/traits.rs:327:47 [INFO] [stderr] | [INFO] [stderr] 327 | async fn update(&self, user: &Self::User, resource: &T) -> Result { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resource` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user` [INFO] [stderr] --> src/traits.rs:332:28 [INFO] [stderr] | [INFO] [stderr] 332 | async fn delete(&self, user: &Self::User, resource: &T) -> Result { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `resource` [INFO] [stderr] --> src/traits.rs:332:47 [INFO] [stderr] | [INFO] [stderr] 332 | async fn delete(&self, user: &Self::User, resource: &T) -> Result { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resource` [INFO] [stderr] [INFO] [stderr] warning: field `services` is never read [INFO] [stderr] --> src/lib.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 20 | pub struct Container { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] 21 | services: HashMap>, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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/lib.rs:73:5 [INFO] [stderr] | [INFO] [stderr] 73 | async fn run(&self) -> 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] 73 - async fn run(&self) -> Result<()>; [INFO] [stderr] 73 + fn run(&self) -> impl std::future::Future> + Send; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `rustisan-core` (lib) generated 19 warnings (run `cargo fix --lib -p rustisan-core` to apply 7 suggestions) [INFO] [stderr] warning: `rustisan-core` (lib test) generated 18 warnings (18 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.39s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rustisan_core-0e8a215c5ce26d53) [INFO] [stdout] [INFO] [stdout] running 35 tests [INFO] [stdout] test app::tests::test_application_state ... ok [INFO] [stdout] test config::tests::test_environment_modes ... ok [INFO] [stdout] test config::tests::test_default_config ... ok [INFO] [stdout] test config::tests::test_database_url_parsing ... ok [INFO] [stdout] test config::tests::test_server_address ... ok [INFO] [stdout] test errors::tests::test_error_conversion ... ok [INFO] [stdout] test errors::tests::test_error_creation ... ok [INFO] [stdout] test errors::tests::test_error_to_json ... ok [INFO] [stdout] test errors::tests::test_validation_errors ... ok [INFO] [stdout] test http::tests::test_error_responses ... ok [INFO] [stdout] test http::tests::test_response_creation ... ok [INFO] [stdout] test http::tests::test_response_with_message ... ok [INFO] [stdout] test errors::tests::test_error_macros ... ok [INFO] [stdout] test routing::tests::test_add_get_route ... ok [INFO] [stdout] test app::tests::test_application_build ... ok [INFO] [stdout] test errors::tests::test_application_error_with_details ... ok [INFO] [stdout] test routing::tests::test_helper_functions ... ok [INFO] [stdout] test routing::tests::test_named_routes ... ok [INFO] [stdout] test routing::tests::test_route_count ... ok [INFO] [stdout] test tests::test_create_app ... ok [INFO] [stdout] test utils::tests::test_pascal_to_snake ... ok [INFO] [stdout] test utils::tests::test_camel_to_snake ... ok [INFO] [stdout] test tests::test_create_app_with_config ... ok [INFO] [stdout] test utils::tests::test_slugify ... ok [INFO] [stdout] test utils::tests::test_random_string ... ok [INFO] [stdout] test app::tests::test_application_creation ... ok [INFO] [stdout] test tests::test_version ... ok [INFO] [stdout] test utils::tests::test_snake_to_pascal ... ok [INFO] [stdout] test routing::tests::test_route_group ... ok [INFO] [stdout] test utils::tests::test_uuid ... ok [INFO] [stdout] test app::tests::test_application_config ... ok [INFO] [stdout] test utils::tests::test_snake_to_camel ... ok [INFO] [stdout] test routing::tests::test_router_creation ... ok [INFO] [stdout] test routing::tests::test_route_with_parameters ... ok [INFO] [stdout] test config::tests::test_custom_config ... ok [INFO] [stderr] Doc-tests rustisan_core [INFO] [stdout] [INFO] [stdout] test result: ok. 35 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "06af87bc289441bc8f00601bc0a905a6c32a357c551817c003c902c4af0fe5d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06af87bc289441bc8f00601bc0a905a6c32a357c551817c003c902c4af0fe5d9", kill_on_drop: false }` [INFO] [stdout] 06af87bc289441bc8f00601bc0a905a6c32a357c551817c003c902c4af0fe5d9