[INFO] cloning repository https://github.com/prefer-social/sparrow [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/prefer-social/sparrow" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprefer-social%2Fsparrow", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprefer-social%2Fsparrow'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7fea82ec7b488869f5e0a0683228889e47c57887 [INFO] building prefer-social/sparrow against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprefer-social%2Fsparrow" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/prefer-social/sparrow on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/prefer-social/sparrow [INFO] finished tweaking git repo https://github.com/prefer-social/sparrow [INFO] tweaked toml for git repo https://github.com/prefer-social/sparrow written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/prefer-social/sparrow 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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/fermyon/spin-rust-sdk` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded validator v0.17.0 [INFO] [stderr] Downloaded validator_derive v0.17.0 [INFO] [stderr] Downloaded random-pick v1.2.16 [INFO] [stderr] Downloaded enum_delegate_lib v0.2.0 [INFO] [stderr] Downloaded random-number-macro-impl v0.1.7 [INFO] [stderr] Downloaded enum_delegate v0.2.0 [INFO] [stderr] Downloaded random-number v0.1.8 [INFO] [stderr] Downloaded passwords v3.1.16 [INFO] [stderr] Downloaded hybrid-array v0.2.0-rc.8 [INFO] [stderr] Downloaded activitystreams-kinds v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c41b74887007a9dd6511075bf851afe80b839720e01e06101f8159a9e5363ead [INFO] running `Command { std: "docker" "start" "-a" "c41b74887007a9dd6511075bf851afe80b839720e01e06101f8159a9e5363ead", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c41b74887007a9dd6511075bf851afe80b839720e01e06101f8159a9e5363ead", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c41b74887007a9dd6511075bf851afe80b839720e01e06101f8159a9e5363ead", kill_on_drop: false }` [INFO] [stdout] c41b74887007a9dd6511075bf851afe80b839720e01e06101f8159a9e5363ead [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3ec79f5c8ed1022237d5260af43ddb6bd0243c278726542a99f011ae059b490 [INFO] running `Command { std: "docker" "start" "-a" "f3ec79f5c8ed1022237d5260af43ddb6bd0243c278726542a99f011ae059b490", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling wasm-encoder v0.41.2 [INFO] [stderr] Compiling spdx v0.10.4 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling id-arena v2.2.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling wasm-encoder v0.38.1 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling der v0.7.8 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling wit-bindgen-rust v0.16.0 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling wasmparser v0.121.2 [INFO] [stderr] Compiling wasmparser v0.118.2 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling platforms v3.4.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling pest v2.7.8 [INFO] [stderr] Compiling async-trait v0.1.79 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling pest_meta v2.7.8 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling wit-parser v0.13.2 [INFO] [stderr] Compiling wasm-metadata v0.10.20 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling pest_generator v2.7.8 [INFO] [stderr] Compiling curve25519-dalek v4.1.2 [INFO] [stderr] Compiling random-number-macro-impl v0.1.7 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling hybrid-array v0.2.0-rc.8 [INFO] [stderr] Compiling wit-component v0.18.2 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling winnow v0.6.5 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling ordered-multimap v0.6.0 [INFO] [stderr] Compiling crypto-common v0.2.0-pre.5 [INFO] [stderr] Compiling num-iter v0.1.44 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling pest_derive v2.7.8 [INFO] [stderr] Compiling smartcow v0.2.1 [INFO] [stderr] Compiling random-number v0.1.8 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling toml_edit v0.22.9 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling derive_builder_core v0.20.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling wit-bindgen-core v0.16.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling spin-sdk v3.0.1 (https://github.com/fermyon/spin-rust-sdk?branch=main#184946fd) [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling ruzstd v0.6.0 [INFO] [stderr] Compiling toml v0.8.12 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling derive_builder_macro v0.20.0 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling enum_delegate_lib v0.2.0 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling validator_derive v0.17.0 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling random-pick v1.2.16 [INFO] [stderr] Compiling block-buffer v0.11.0-pre.5 [INFO] [stderr] Compiling routefinder v0.5.4 [INFO] [stderr] Compiling rust-ini v0.19.0 [INFO] [stderr] Compiling wit-bindgen-rust-macro v0.16.0 [INFO] [stderr] Compiling headers-core v0.3.0 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling spin-macro v3.0.1 (https://github.com/fermyon/spin-rust-sdk?branch=main#184946fd) [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling wit-bindgen v0.16.0 [INFO] [stderr] Compiling spin-executor v3.0.1 (https://github.com/fermyon/spin-rust-sdk?branch=main#184946fd) [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling pathdiff v0.2.1 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling time v0.3.34 [INFO] [stderr] Compiling uuid v1.8.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling headers v0.4.0 [INFO] [stderr] Compiling config v0.14.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling rsa v0.9.6 [INFO] [stderr] Compiling chrono v0.4.37 [INFO] [stderr] Compiling validator v0.17.0 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling digest v0.11.0-pre.8 [INFO] [stderr] Compiling passwords v3.1.16 [INFO] [stderr] Compiling object v0.34.0 [INFO] [stderr] Compiling enum_delegate v0.2.0 [INFO] [stderr] Compiling derive_builder v0.20.0 [INFO] [stderr] Compiling activitystreams-kinds v0.3.0 [INFO] [stderr] Compiling pem v3.0.3 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling base64 v0.22.0 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling hex-literal v0.4.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling dyn-clone v1.0.17 [INFO] [stderr] Compiling bech32 v0.9.1 [INFO] [stderr] Compiling sparrow v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::mastodon::strt::media::MediaType` [INFO] [stdout] --> src/apo.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::mastodon::strt::media::MediaType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/auth.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use tracing::{debug, info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FmtSubscriber` and `filter::EnvFilter` [INFO] [stdout] --> src/db.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing_subscriber::{filter::EnvFilter, FmtSubscriber}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IntoResponse`, `Params`, `Request`, and `Response` [INFO] [stdout] --> src/follow_request.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | self, IncomingResponse, IntoResponse, Method, Params, Request, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^ ^^^^^^^ [INFO] [stdout] 12 | RequestBuilder, Response, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/follow_request.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | use tracing::{debug, info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> src/keys.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{bail, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Engine as _`, `engine::general_purpose`, and `engine` [INFO] [stdout] --> src/keys.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use base64::{engine, engine::general_purpose, Engine as _}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Pkcs1v15Encrypt` [INFO] [stdout] --> src/keys.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use rsa::{Pkcs1v15Encrypt, RsaPrivateKey, RsaPublicKey}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DecodePrivateKey` [INFO] [stdout] --> src/keys.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | use ed25519_dalek::pkcs8::{DecodePrivateKey, EncodePrivateKey}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ed25519_dalek::Signature` [INFO] [stdout] --> src/keys.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use ed25519_dalek::Signature; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SecretKey` [INFO] [stdout] --> src/keys.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | use ed25519_dalek::{SecretKey, SigningKey, VerifyingKey}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KEYPAIR_LENGTH`, `PUBLIC_KEY_LENGTH`, `SECRET_KEY_LENGTH`, and `SIGNATURE_LENGTH` [INFO] [stdout] --> src/keys.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | use ed25519_dalek::{KEYPAIR_LENGTH, PUBLIC_KEY_LENGTH, SECRET_KEY_LENGTH, SIGNATURE_LENGTH}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pem::parse` [INFO] [stdout] --> src/keys.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use pem::parse; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/mastodon.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | use tracing::{debug, info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/mastodon/strt/account.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/mastodon/strt/application.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Row` [INFO] [stdout] --> src/mastodon/strt/media.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | use spin_sdk::sqlite::{QueryResult, Row, Value as SV}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/mastodon/strt/media.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/mastodon/strt/status.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/send.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `json` [INFO] [stdout] --> src/send.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | use serde_json::{json, Value}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IntoResponse`, `Params`, `Request`, and `Response` [INFO] [stdout] --> src/send.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | self, IncomingResponse, IntoResponse, Method, Params, Request, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^ ^^^^^^^ [INFO] [stdout] 16 | RequestBuilder, Response, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `spin_sdk::sqlite::Value as SV` [INFO] [stdout] --> src/send.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use spin_sdk::sqlite::Value as SV; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::clean_last_slash_from_url` [INFO] [stdout] --> src/send.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::utils::clean_last_slash_from_url; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::yield_now` [INFO] [stdout] --> src/storage.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::thread::yield_now; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/storage.rs:26:67 [INFO] [stdout] | [INFO] [stdout] 26 | pub async fn send_to_s3(file_name: String, file: &[u8]) -> Result<(String)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 26 - pub async fn send_to_s3(file_name: String, file: &[u8]) -> Result<(String)> { [INFO] [stdout] 26 + pub async fn send_to_s3(file_name: String, file: &[u8]) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/storage.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | Ok((public_url)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 123 - Ok((public_url)) [INFO] [stdout] 123 + Ok(public_url) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `turso_url` [INFO] [stdout] --> src/db.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | DbConf::Turso(turso_url, turso_auth_token) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_turso_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `turso_auth_token` [INFO] [stdout] --> src/db.rs:45:38 [INFO] [stdout] | [INFO] [stdout] 45 | DbConf::Turso(turso_url, turso_auth_token) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_turso_auth_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/follow_request.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let user = my_actor [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `priv_key_string` [INFO] [stdout] --> src/mastodon.rs:93:45 [INFO] [stdout] | [INFO] [stdout] 93 | pub async fn signing_request(req: &Request, priv_key_string: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_priv_key_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hostname` [INFO] [stdout] --> src/mastodon.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | let hostname = req.header("Host").unwrap().as_str().unwrap(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hostname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `date` [INFO] [stdout] --> src/mastodon.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let date = req.header("Date").unwrap().as_str().unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_date` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content_type` [INFO] [stdout] --> src/mastodon.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | let content_type = req.header("content-type").unwrap().as_str().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request_path` [INFO] [stdout] --> src/mastodon.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | let request_path = req.header("spin-path-info").unwrap().as_str().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request_method` [INFO] [stdout] --> src/mastodon.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | let request_method = req.method().to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor` [INFO] [stdout] --> src/send.rs:109:25 [INFO] [stdout] | [INFO] [stdout] 109 | async fn is_actor_local(actor: String) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_actor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EncodeRsaPublicKey` [INFO] [stdout] --> src/keys.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | use pkcs1::{EncodeRsaPrivateKey, EncodeRsaPublicKey}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_actor_local` is never used [INFO] [stdout] --> src/send.rs:109:10 [INFO] [stdout] | [INFO] [stdout] 109 | async fn is_actor_local(actor: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/follow_request.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | .unwrap() [INFO] [stdout] | __________________^ [INFO] [stdout] 46 | | .clone(); [INFO] [stdout] | |________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 48s [INFO] running `Command { std: "docker" "inspect" "f3ec79f5c8ed1022237d5260af43ddb6bd0243c278726542a99f011ae059b490", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3ec79f5c8ed1022237d5260af43ddb6bd0243c278726542a99f011ae059b490", kill_on_drop: false }` [INFO] [stdout] f3ec79f5c8ed1022237d5260af43ddb6bd0243c278726542a99f011ae059b490 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d8a2085e6ff3107cbc5c76ace550fe73ca6d53f2f8cc67516ef51b5f97095ad [INFO] running `Command { std: "docker" "start" "-a" "6d8a2085e6ff3107cbc5c76ace550fe73ca6d53f2f8cc67516ef51b5f97095ad", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ordered-multimap v0.6.0 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling rust-ini v0.19.0 [INFO] [stderr] Compiling config v0.14.0 [INFO] [stderr] Compiling enum_delegate_lib v0.2.0 [INFO] [stderr] Compiling random-number v0.1.8 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling uuid v1.8.0 [INFO] [stderr] Compiling random-pick v1.2.16 [INFO] [stderr] Compiling passwords v3.1.16 [INFO] [stderr] Compiling enum_delegate v0.2.0 [INFO] [stderr] Compiling rsa v0.9.6 [INFO] [stderr] Compiling sparrow v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::mastodon::strt::media::MediaType` [INFO] [stdout] --> src/apo.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::mastodon::strt::media::MediaType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/auth.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use tracing::{debug, info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FmtSubscriber` and `filter::EnvFilter` [INFO] [stdout] --> src/db.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing_subscriber::{filter::EnvFilter, FmtSubscriber}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IntoResponse`, `Params`, `Request`, and `Response` [INFO] [stdout] --> src/follow_request.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | self, IncomingResponse, IntoResponse, Method, Params, Request, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^ ^^^^^^^ [INFO] [stdout] 12 | RequestBuilder, Response, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/follow_request.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | use tracing::{debug, info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> src/keys.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{bail, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Engine as _`, `engine::general_purpose`, and `engine` [INFO] [stdout] --> src/keys.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use base64::{engine, engine::general_purpose, Engine as _}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Pkcs1v15Encrypt` [INFO] [stdout] --> src/keys.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use rsa::{Pkcs1v15Encrypt, RsaPrivateKey, RsaPublicKey}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DecodePrivateKey` [INFO] [stdout] --> src/keys.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | use ed25519_dalek::pkcs8::{DecodePrivateKey, EncodePrivateKey}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ed25519_dalek::Signature` [INFO] [stdout] --> src/keys.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use ed25519_dalek::Signature; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SecretKey` [INFO] [stdout] --> src/keys.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | use ed25519_dalek::{SecretKey, SigningKey, VerifyingKey}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KEYPAIR_LENGTH`, `PUBLIC_KEY_LENGTH`, `SECRET_KEY_LENGTH`, and `SIGNATURE_LENGTH` [INFO] [stdout] --> src/keys.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | use ed25519_dalek::{KEYPAIR_LENGTH, PUBLIC_KEY_LENGTH, SECRET_KEY_LENGTH, SIGNATURE_LENGTH}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pem::parse` [INFO] [stdout] --> src/keys.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use pem::parse; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/mastodon.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | use tracing::{debug, info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/mastodon/strt/account.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/mastodon/strt/application.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Row` [INFO] [stdout] --> src/mastodon/strt/media.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | use spin_sdk::sqlite::{QueryResult, Row, Value as SV}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/mastodon/strt/media.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/mastodon/strt/status.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/send.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `json` [INFO] [stdout] --> src/send.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | use serde_json::{json, Value}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IntoResponse`, `Params`, `Request`, and `Response` [INFO] [stdout] --> src/send.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | self, IncomingResponse, IntoResponse, Method, Params, Request, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^ ^^^^^^^ [INFO] [stdout] 16 | RequestBuilder, Response, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `spin_sdk::sqlite::Value as SV` [INFO] [stdout] --> src/send.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use spin_sdk::sqlite::Value as SV; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::clean_last_slash_from_url` [INFO] [stdout] --> src/send.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::utils::clean_last_slash_from_url; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::yield_now` [INFO] [stdout] --> src/storage.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::thread::yield_now; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/storage.rs:26:67 [INFO] [stdout] | [INFO] [stdout] 26 | pub async fn send_to_s3(file_name: String, file: &[u8]) -> Result<(String)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 26 - pub async fn send_to_s3(file_name: String, file: &[u8]) -> Result<(String)> { [INFO] [stdout] 26 + pub async fn send_to_s3(file_name: String, file: &[u8]) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/storage.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | Ok((public_url)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 123 - Ok((public_url)) [INFO] [stdout] 123 + Ok(public_url) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `turso_url` [INFO] [stdout] --> src/db.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | DbConf::Turso(turso_url, turso_auth_token) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_turso_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `turso_auth_token` [INFO] [stdout] --> src/db.rs:45:38 [INFO] [stdout] | [INFO] [stdout] 45 | DbConf::Turso(turso_url, turso_auth_token) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_turso_auth_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/follow_request.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let user = my_actor [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `priv_key_string` [INFO] [stdout] --> src/mastodon.rs:93:45 [INFO] [stdout] | [INFO] [stdout] 93 | pub async fn signing_request(req: &Request, priv_key_string: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_priv_key_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hostname` [INFO] [stdout] --> src/mastodon.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | let hostname = req.header("Host").unwrap().as_str().unwrap(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hostname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `date` [INFO] [stdout] --> src/mastodon.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let date = req.header("Date").unwrap().as_str().unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_date` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content_type` [INFO] [stdout] --> src/mastodon.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | let content_type = req.header("content-type").unwrap().as_str().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request_path` [INFO] [stdout] --> src/mastodon.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | let request_path = req.header("spin-path-info").unwrap().as_str().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request_method` [INFO] [stdout] --> src/mastodon.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | let request_method = req.method().to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor` [INFO] [stdout] --> src/send.rs:109:25 [INFO] [stdout] | [INFO] [stdout] 109 | async fn is_actor_local(actor: String) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_actor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EncodeRsaPublicKey` [INFO] [stdout] --> src/keys.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | use pkcs1::{EncodeRsaPrivateKey, EncodeRsaPublicKey}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_actor_local` is never used [INFO] [stdout] --> src/send.rs:109:10 [INFO] [stdout] | [INFO] [stdout] 109 | async fn is_actor_local(actor: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/follow_request.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | .unwrap() [INFO] [stdout] | __________________^ [INFO] [stdout] 46 | | .clone(); [INFO] [stdout] | |________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stdout] warning: unused import: `crate::mastodon::strt::media::MediaType` [INFO] [stdout] --> src/apo.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::mastodon::strt::media::MediaType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/auth.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use tracing::{debug, info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FmtSubscriber` and `filter::EnvFilter` [INFO] [stdout] --> src/db.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing_subscriber::{filter::EnvFilter, FmtSubscriber}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IntoResponse`, `Params`, `Request`, and `Response` [INFO] [stdout] --> src/follow_request.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | self, IncomingResponse, IntoResponse, Method, Params, Request, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^ ^^^^^^^ [INFO] [stdout] 12 | RequestBuilder, Response, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/follow_request.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | use tracing::{debug, info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> src/keys.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{bail, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Engine as _`, `engine::general_purpose`, and `engine` [INFO] [stdout] --> src/keys.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use base64::{engine, engine::general_purpose, Engine as _}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Pkcs1v15Encrypt` [INFO] [stdout] --> src/keys.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use rsa::{Pkcs1v15Encrypt, RsaPrivateKey, RsaPublicKey}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DecodePrivateKey` [INFO] [stdout] --> src/keys.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | use ed25519_dalek::pkcs8::{DecodePrivateKey, EncodePrivateKey}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ed25519_dalek::Signature` [INFO] [stdout] --> src/keys.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use ed25519_dalek::Signature; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SecretKey` [INFO] [stdout] --> src/keys.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | use ed25519_dalek::{SecretKey, SigningKey, VerifyingKey}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KEYPAIR_LENGTH`, `PUBLIC_KEY_LENGTH`, `SECRET_KEY_LENGTH`, and `SIGNATURE_LENGTH` [INFO] [stdout] --> src/keys.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | use ed25519_dalek::{KEYPAIR_LENGTH, PUBLIC_KEY_LENGTH, SECRET_KEY_LENGTH, SIGNATURE_LENGTH}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pem::parse` [INFO] [stdout] --> src/keys.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use pem::parse; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/mastodon.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | use tracing::{debug, info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/mastodon/strt/account.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/mastodon/strt/application.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Row` [INFO] [stdout] --> src/mastodon/strt/media.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | use spin_sdk::sqlite::{QueryResult, Row, Value as SV}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/mastodon/strt/media.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/mastodon/strt/status.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/send.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `json` [INFO] [stdout] --> src/send.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | use serde_json::{json, Value}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IntoResponse`, `Params`, `Request`, and `Response` [INFO] [stdout] --> src/send.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | self, IncomingResponse, IntoResponse, Method, Params, Request, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^ ^^^^^^^ [INFO] [stdout] 16 | RequestBuilder, Response, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `spin_sdk::sqlite::Value as SV` [INFO] [stdout] --> src/send.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use spin_sdk::sqlite::Value as SV; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::clean_last_slash_from_url` [INFO] [stdout] --> src/send.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::utils::clean_last_slash_from_url; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::yield_now` [INFO] [stdout] --> src/storage.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::thread::yield_now; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/storage.rs:26:67 [INFO] [stdout] | [INFO] [stdout] 26 | pub async fn send_to_s3(file_name: String, file: &[u8]) -> Result<(String)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 26 - pub async fn send_to_s3(file_name: String, file: &[u8]) -> Result<(String)> { [INFO] [stdout] 26 + pub async fn send_to_s3(file_name: String, file: &[u8]) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/storage.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | Ok((public_url)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 123 - Ok((public_url)) [INFO] [stdout] 123 + Ok(public_url) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `turso_url` [INFO] [stdout] --> src/db.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | DbConf::Turso(turso_url, turso_auth_token) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_turso_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `turso_auth_token` [INFO] [stdout] --> src/db.rs:45:38 [INFO] [stdout] | [INFO] [stdout] 45 | DbConf::Turso(turso_url, turso_auth_token) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_turso_auth_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/follow_request.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let user = my_actor [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `priv_key_string` [INFO] [stdout] --> src/mastodon.rs:93:45 [INFO] [stdout] | [INFO] [stdout] 93 | pub async fn signing_request(req: &Request, priv_key_string: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_priv_key_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hostname` [INFO] [stdout] --> src/mastodon.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | let hostname = req.header("Host").unwrap().as_str().unwrap(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hostname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `date` [INFO] [stdout] --> src/mastodon.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let date = req.header("Date").unwrap().as_str().unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_date` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content_type` [INFO] [stdout] --> src/mastodon.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | let content_type = req.header("content-type").unwrap().as_str().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request_path` [INFO] [stdout] --> src/mastodon.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | let request_path = req.header("spin-path-info").unwrap().as_str().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request_method` [INFO] [stdout] --> src/mastodon.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | let request_method = req.method().to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor` [INFO] [stdout] --> src/send.rs:109:25 [INFO] [stdout] | [INFO] [stdout] 109 | async fn is_actor_local(actor: String) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_actor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EncodeRsaPublicKey` [INFO] [stdout] --> src/keys.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | use pkcs1::{EncodeRsaPrivateKey, EncodeRsaPublicKey}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_actor_local` is never used [INFO] [stdout] --> src/send.rs:109:10 [INFO] [stdout] | [INFO] [stdout] 109 | async fn is_actor_local(actor: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/follow_request.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | .unwrap() [INFO] [stdout] | __________________^ [INFO] [stdout] 46 | | .clone(); [INFO] [stdout] | |________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 30.35s [INFO] running `Command { std: "docker" "inspect" "6d8a2085e6ff3107cbc5c76ace550fe73ca6d53f2f8cc67516ef51b5f97095ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d8a2085e6ff3107cbc5c76ace550fe73ca6d53f2f8cc67516ef51b5f97095ad", kill_on_drop: false }` [INFO] [stdout] 6d8a2085e6ff3107cbc5c76ace550fe73ca6d53f2f8cc67516ef51b5f97095ad