[INFO] cloning repository https://github.com/tunamaguro/mozu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tunamaguro/mozu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftunamaguro%2Fmozu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftunamaguro%2Fmozu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 565631bfc55a01be89991ba6f526e2031baecff0 [INFO] testing tunamaguro/mozu/565631bfc55a01be89991ba6f526e2031baecff0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftunamaguro%2Fmozu" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tunamaguro/mozu [INFO] finished tweaking git repo https://github.com/tunamaguro/mozu [INFO] tweaked toml for git repo https://github.com/tunamaguro/mozu written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tunamaguro/mozu on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tunamaguro/mozu 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded postgres-derive v0.4.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e0fe8c89950a715749e9483fbaa2f36ec480b1716bbb1fad89010dfb81864a80 [INFO] running `Command { std: "docker" "start" "-a" "e0fe8c89950a715749e9483fbaa2f36ec480b1716bbb1fad89010dfb81864a80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e0fe8c89950a715749e9483fbaa2f36ec480b1716bbb1fad89010dfb81864a80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0fe8c89950a715749e9483fbaa2f36ec480b1716bbb1fad89010dfb81864a80", kill_on_drop: false }` [INFO] [stdout] e0fe8c89950a715749e9483fbaa2f36ec480b1716bbb1fad89010dfb81864a80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a4bace36dd70241c74603d1d3a2b524c821f6237c7839c9b2bdb587828f3ce4b [INFO] running `Command { std: "docker" "start" "-a" "a4bace36dd70241c74603d1d3a2b524c821f6237c7839c9b2bdb587828f3ce4b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling postgres-protocol v0.6.8 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling postgres-derive v0.4.6 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling strum_macros v0.27.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Compiling typed-builder-macro v0.21.0 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling typed-builder v0.21.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling tower-http v0.6.2 [INFO] [stderr] Compiling strum v0.27.1 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling deadpool-runtime v0.1.4 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling deadpool v0.12.2 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling postgres-types v0.2.9 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling axum v0.8.3 [INFO] [stderr] Compiling tokio-postgres v0.7.13 [INFO] [stderr] Compiling deadpool-postgres v0.14.1 [INFO] [stderr] Compiling mozu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `find_by_id` is never used [INFO] [stdout] --> src/domain/account/adapter.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait AccountRepository: Send + Sync + 'static { [INFO] [stdout] | ----------------- method in this trait [INFO] [stdout] 15 | async fn create(&self, account: Account) -> Result; [INFO] [stdout] 16 | async fn find_by_id(&self, id: &AccountId) -> Result, FindAccountError>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create_remote_actor` and `create_remote_note` are never used [INFO] [stdout] --> src/domain/ap/adapter.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait ApService: Send + Sync + 'static { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 19 | async fn create_remote_actor( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | async fn create_remote_note( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_remote_actor` is never used [INFO] [stdout] --> src/domain/ap/adapter.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 36 | pub trait ActorRepository: Send + Sync + 'static { [INFO] [stdout] | --------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 39 | async fn find_remote_actor( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create_remote_note` is never used [INFO] [stdout] --> src/domain/ap/adapter.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 46 | pub trait NoteRepository: Send + Sync + 'static { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 49 | async fn create_remote_note( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateRemoteActorRequest` is never constructed [INFO] [stdout] --> src/domain/ap/model/actor.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 197 | pub struct CreateRemoteActorRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateRemoteActorRequest` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FindRemoteActorRequest` is never constructed [INFO] [stdout] --> src/domain/ap/model/actor.rs:224:12 [INFO] [stdout] | [INFO] [stdout] 224 | pub struct FindRemoteActorRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FindRemoteActorRequest` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FindRemoteActorError` is never used [INFO] [stdout] --> src/domain/ap/model/actor.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 230 | pub enum FindRemoteActorError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FindRemoteActorError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Local` and `Remote` are never constructed [INFO] [stdout] --> src/domain/ap/model/note.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Note { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 9 | Local(LocalNote), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | Remote(RemoteNote), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Note` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateRemoteNoteRequest` is never constructed [INFO] [stdout] --> src/domain/ap/model/note.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct CreateRemoteNoteRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateRemoteNoteRequest` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `actor_id`, `content`, and `note_url` are never read [INFO] [stdout] --> src/domain/ap/model/note.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct RemoteNote { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 61 | /// note id [INFO] [stdout] 62 | pub(crate) id: NoteId, [INFO] [stdout] | ^^ [INFO] [stdout] 63 | pub(crate) actor_id: ActorId, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 64 | /// content [INFO] [stdout] 65 | pub(crate) content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 66 | /// note url [INFO] [stdout] 67 | pub(crate) note_url: HttpUrl, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RemoteNote` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FIND_ACCOUNT_BY_ID` is never used [INFO] [stdout] --> src/infrastructure/postgres/queries.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | pub const FIND_ACCOUNT_BY_ID: &str = r#"-- name: FindAccountById :one [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FindAccountByIdRow` is never constructed [INFO] [stdout] --> src/infrastructure/postgres/queries.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct FindAccountByIdRow { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FindAccountByIdRow` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_account_by_id` is never used [INFO] [stdout] --> src/infrastructure/postgres/queries.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | pub async fn find_account_by_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GET_ACTOR_BY_NAME_AND_HOST` is never used [INFO] [stdout] --> src/infrastructure/postgres/queries.rs:129:11 [INFO] [stdout] | [INFO] [stdout] 129 | pub const GET_ACTOR_BY_NAME_AND_HOST: &str = r#"-- name: GetActorByNameAndHost :one [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GetActorByNameAndHostRow` is never constructed [INFO] [stdout] --> src/infrastructure/postgres/queries.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | pub struct GetActorByNameAndHostRow { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GetActorByNameAndHostRow` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_actor_by_name_and_host` is never used [INFO] [stdout] --> src/infrastructure/postgres/queries.rs:152:14 [INFO] [stdout] | [INFO] [stdout] 152 | pub async fn get_actor_by_name_and_host( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INSERT_ACCOUNT_KEY` is never used [INFO] [stdout] --> src/infrastructure/postgres/queries.rs:237:11 [INFO] [stdout] | [INFO] [stdout] 237 | pub const INSERT_ACCOUNT_KEY: &str = r#"-- name: InsertAccountKey :exec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert_account_key` is never used [INFO] [stdout] --> src/infrastructure/postgres/queries.rs:245:14 [INFO] [stdout] | [INFO] [stdout] 245 | pub async fn insert_account_key( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GET_ACCOUNT_KEYS` is never used [INFO] [stdout] --> src/infrastructure/postgres/queries.rs:264:11 [INFO] [stdout] | [INFO] [stdout] 264 | pub const GET_ACCOUNT_KEYS: &str = r#"-- name: GetAccountKeys :many [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GetAccountKeysRow` is never constructed [INFO] [stdout] --> src/infrastructure/postgres/queries.rs:272:12 [INFO] [stdout] | [INFO] [stdout] 272 | pub struct GetAccountKeysRow { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GetAccountKeysRow` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_account_keys` is never used [INFO] [stdout] --> src/infrastructure/postgres/queries.rs:277:14 [INFO] [stdout] | [INFO] [stdout] 277 | pub async fn get_account_keys( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/infrastructure/postgres.rs:68:34 [INFO] [stdout] | [INFO] [stdout] 68 | async fn get_transaction(client: &mut Object) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 68 | async fn get_transaction(client: &mut Object) -> Result, anyhow::Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 05s [INFO] running `Command { std: "docker" "inspect" "a4bace36dd70241c74603d1d3a2b524c821f6237c7839c9b2bdb587828f3ce4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4bace36dd70241c74603d1d3a2b524c821f6237c7839c9b2bdb587828f3ce4b", kill_on_drop: false }` [INFO] [stdout] a4bace36dd70241c74603d1d3a2b524c821f6237c7839c9b2bdb587828f3ce4b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 2796888213df9a29505ddddb05bc51c9fb4493504034c64c5c3c870c4ef1d07f [INFO] running `Command { std: "docker" "start" "-a" "2796888213df9a29505ddddb05bc51c9fb4493504034c64c5c3c870c4ef1d07f", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling winnow v0.7.4 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stdout] warning: method `find_by_id` is never used [INFO] [stdout] --> src/domain/account/adapter.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait AccountRepository: Send + Sync + 'static { [INFO] [stdout] | ----------------- method in this trait [INFO] [stdout] 15 | async fn create(&self, account: Account) -> Result; [INFO] [stdout] 16 | async fn find_by_id(&self, id: &AccountId) -> Result, FindAccountError>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create_remote_actor` and `create_remote_note` are never used [INFO] [stdout] --> src/domain/ap/adapter.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait ApService: Send + Sync + 'static { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 19 | async fn create_remote_actor( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | async fn create_remote_note( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_remote_actor` is never used [INFO] [stdout] --> src/domain/ap/adapter.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 36 | pub trait ActorRepository: Send + Sync + 'static { [INFO] [stdout] | --------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 39 | async fn find_remote_actor( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create_remote_note` is never used [INFO] [stdout] --> src/domain/ap/adapter.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 46 | pub trait NoteRepository: Send + Sync + 'static { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 49 | async fn create_remote_note( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateRemoteActorRequest` is never constructed [INFO] [stdout] --> src/domain/ap/model/actor.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 197 | pub struct CreateRemoteActorRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateRemoteActorRequest` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FindRemoteActorRequest` is never constructed [INFO] [stdout] --> src/domain/ap/model/actor.rs:224:12 [INFO] [stdout] | [INFO] [stdout] 224 | pub struct FindRemoteActorRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FindRemoteActorRequest` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FindRemoteActorError` is never used [INFO] [stdout] --> src/domain/ap/model/actor.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 230 | pub enum FindRemoteActorError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FindRemoteActorError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Local` and `Remote` are never constructed [INFO] [stdout] --> src/domain/ap/model/note.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Note { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 9 | Local(LocalNote), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | Remote(RemoteNote), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Note` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateRemoteNoteRequest` is never constructed [INFO] [stdout] --> src/domain/ap/model/note.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct CreateRemoteNoteRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateRemoteNoteRequest` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `actor_id`, `content`, and `note_url` are never read [INFO] [stdout] --> src/domain/ap/model/note.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct RemoteNote { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 61 | /// note id [INFO] [stdout] 62 | pub(crate) id: NoteId, [INFO] [stdout] | ^^ [INFO] [stdout] 63 | pub(crate) actor_id: ActorId, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 64 | /// content [INFO] [stdout] 65 | pub(crate) content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 66 | /// note url [INFO] [stdout] 67 | pub(crate) note_url: HttpUrl, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RemoteNote` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FIND_ACCOUNT_BY_ID` is never used [INFO] [stdout] --> src/infrastructure/postgres/queries.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | pub const FIND_ACCOUNT_BY_ID: &str = r#"-- name: FindAccountById :one [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FindAccountByIdRow` is never constructed [INFO] [stdout] --> src/infrastructure/postgres/queries.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct FindAccountByIdRow { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FindAccountByIdRow` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_account_by_id` is never used [INFO] [stdout] --> src/infrastructure/postgres/queries.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | pub async fn find_account_by_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GET_ACTOR_BY_NAME_AND_HOST` is never used [INFO] [stdout] --> src/infrastructure/postgres/queries.rs:129:11 [INFO] [stdout] | [INFO] [stdout] 129 | pub const GET_ACTOR_BY_NAME_AND_HOST: &str = r#"-- name: GetActorByNameAndHost :one [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GetActorByNameAndHostRow` is never constructed [INFO] [stdout] --> src/infrastructure/postgres/queries.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | pub struct GetActorByNameAndHostRow { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GetActorByNameAndHostRow` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_actor_by_name_and_host` is never used [INFO] [stdout] --> src/infrastructure/postgres/queries.rs:152:14 [INFO] [stdout] | [INFO] [stdout] 152 | pub async fn get_actor_by_name_and_host( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INSERT_ACCOUNT_KEY` is never used [INFO] [stdout] --> src/infrastructure/postgres/queries.rs:237:11 [INFO] [stdout] | [INFO] [stdout] 237 | pub const INSERT_ACCOUNT_KEY: &str = r#"-- name: InsertAccountKey :exec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert_account_key` is never used [INFO] [stdout] --> src/infrastructure/postgres/queries.rs:245:14 [INFO] [stdout] | [INFO] [stdout] 245 | pub async fn insert_account_key( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GET_ACCOUNT_KEYS` is never used [INFO] [stdout] --> src/infrastructure/postgres/queries.rs:264:11 [INFO] [stdout] | [INFO] [stdout] 264 | pub const GET_ACCOUNT_KEYS: &str = r#"-- name: GetAccountKeys :many [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GetAccountKeysRow` is never constructed [INFO] [stdout] --> src/infrastructure/postgres/queries.rs:272:12 [INFO] [stdout] | [INFO] [stdout] 272 | pub struct GetAccountKeysRow { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GetAccountKeysRow` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_account_keys` is never used [INFO] [stdout] --> src/infrastructure/postgres/queries.rs:277:14 [INFO] [stdout] | [INFO] [stdout] 277 | pub async fn get_account_keys( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/infrastructure/postgres.rs:68:34 [INFO] [stdout] | [INFO] [stdout] 68 | async fn get_transaction(client: &mut Object) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 68 | async fn get_transaction(client: &mut Object) -> Result, anyhow::Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling rstest_macros v0.25.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling rstest v0.25.0 [INFO] [stderr] Compiling mozu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `find_by_id` is never used [INFO] [stdout] --> src/domain/account/adapter.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait AccountRepository: Send + Sync + 'static { [INFO] [stdout] | ----------------- method in this trait [INFO] [stdout] 15 | async fn create(&self, account: Account) -> Result; [INFO] [stdout] 16 | async fn find_by_id(&self, id: &AccountId) -> Result, FindAccountError>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create_remote_actor` and `create_remote_note` are never used [INFO] [stdout] --> src/domain/ap/adapter.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait ApService: Send + Sync + 'static { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 19 | async fn create_remote_actor( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | async fn create_remote_note( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_remote_actor` is never used [INFO] [stdout] --> src/domain/ap/adapter.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 36 | pub trait ActorRepository: Send + Sync + 'static { [INFO] [stdout] | --------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 39 | async fn find_remote_actor( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create_remote_note` is never used [INFO] [stdout] --> src/domain/ap/adapter.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 46 | pub trait NoteRepository: Send + Sync + 'static { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 49 | async fn create_remote_note( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateRemoteActorRequest` is never constructed [INFO] [stdout] --> src/domain/ap/model/actor.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 197 | pub struct CreateRemoteActorRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateRemoteActorRequest` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FindRemoteActorRequest` is never constructed [INFO] [stdout] --> src/domain/ap/model/actor.rs:224:12 [INFO] [stdout] | [INFO] [stdout] 224 | pub struct FindRemoteActorRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FindRemoteActorRequest` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FindRemoteActorError` is never used [INFO] [stdout] --> src/domain/ap/model/actor.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 230 | pub enum FindRemoteActorError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FindRemoteActorError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Local` and `Remote` are never constructed [INFO] [stdout] --> src/domain/ap/model/note.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Note { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 9 | Local(LocalNote), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | Remote(RemoteNote), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Note` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateRemoteNoteRequest` is never constructed [INFO] [stdout] --> src/domain/ap/model/note.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct CreateRemoteNoteRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateRemoteNoteRequest` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `actor_id`, `content`, and `note_url` are never read [INFO] [stdout] --> src/domain/ap/model/note.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct RemoteNote { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 61 | /// note id [INFO] [stdout] 62 | pub(crate) id: NoteId, [INFO] [stdout] | ^^ [INFO] [stdout] 63 | pub(crate) actor_id: ActorId, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 64 | /// content [INFO] [stdout] 65 | pub(crate) content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 66 | /// note url [INFO] [stdout] 67 | pub(crate) note_url: HttpUrl, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RemoteNote` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FIND_ACCOUNT_BY_ID` is never used [INFO] [stdout] --> src/infrastructure/postgres/queries.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | pub const FIND_ACCOUNT_BY_ID: &str = r#"-- name: FindAccountById :one [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FindAccountByIdRow` is never constructed [INFO] [stdout] --> src/infrastructure/postgres/queries.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct FindAccountByIdRow { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FindAccountByIdRow` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_account_by_id` is never used [INFO] [stdout] --> src/infrastructure/postgres/queries.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | pub async fn find_account_by_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GET_ACTOR_BY_NAME_AND_HOST` is never used [INFO] [stdout] --> src/infrastructure/postgres/queries.rs:129:11 [INFO] [stdout] | [INFO] [stdout] 129 | pub const GET_ACTOR_BY_NAME_AND_HOST: &str = r#"-- name: GetActorByNameAndHost :one [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GetActorByNameAndHostRow` is never constructed [INFO] [stdout] --> src/infrastructure/postgres/queries.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | pub struct GetActorByNameAndHostRow { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GetActorByNameAndHostRow` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_actor_by_name_and_host` is never used [INFO] [stdout] --> src/infrastructure/postgres/queries.rs:152:14 [INFO] [stdout] | [INFO] [stdout] 152 | pub async fn get_actor_by_name_and_host( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INSERT_ACCOUNT_KEY` is never used [INFO] [stdout] --> src/infrastructure/postgres/queries.rs:237:11 [INFO] [stdout] | [INFO] [stdout] 237 | pub const INSERT_ACCOUNT_KEY: &str = r#"-- name: InsertAccountKey :exec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert_account_key` is never used [INFO] [stdout] --> src/infrastructure/postgres/queries.rs:245:14 [INFO] [stdout] | [INFO] [stdout] 245 | pub async fn insert_account_key( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GET_ACCOUNT_KEYS` is never used [INFO] [stdout] --> src/infrastructure/postgres/queries.rs:264:11 [INFO] [stdout] | [INFO] [stdout] 264 | pub const GET_ACCOUNT_KEYS: &str = r#"-- name: GetAccountKeys :many [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GetAccountKeysRow` is never constructed [INFO] [stdout] --> src/infrastructure/postgres/queries.rs:272:12 [INFO] [stdout] | [INFO] [stdout] 272 | pub struct GetAccountKeysRow { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GetAccountKeysRow` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_account_keys` is never used [INFO] [stdout] --> src/infrastructure/postgres/queries.rs:277:14 [INFO] [stdout] | [INFO] [stdout] 277 | pub async fn get_account_keys( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/infrastructure/postgres.rs:68:34 [INFO] [stdout] | [INFO] [stdout] 68 | async fn get_transaction(client: &mut Object) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 68 | async fn get_transaction(client: &mut Object) -> Result, anyhow::Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 15.93s [INFO] running `Command { std: "docker" "inspect" "2796888213df9a29505ddddb05bc51c9fb4493504034c64c5c3c870c4ef1d07f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2796888213df9a29505ddddb05bc51c9fb4493504034c64c5c3c870c4ef1d07f", kill_on_drop: false }` [INFO] [stdout] 2796888213df9a29505ddddb05bc51c9fb4493504034c64c5c3c870c4ef1d07f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 0702ec763920900c44e58a107cacb882a3e76cf2bec6bfafd2f847cbf0425ac8 [INFO] running `Command { std: "docker" "start" "-a" "0702ec763920900c44e58a107cacb882a3e76cf2bec6bfafd2f847cbf0425ac8", kill_on_drop: false }` [INFO] [stderr] warning: method `find_by_id` is never used [INFO] [stderr] --> src/domain/account/adapter.rs:16:14 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait AccountRepository: Send + Sync + 'static { [INFO] [stderr] | ----------------- method in this trait [INFO] [stderr] 15 | async fn create(&self, account: Account) -> Result; [INFO] [stderr] 16 | async fn find_by_id(&self, id: &AccountId) -> Result, FindAccountError>; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: methods `create_remote_actor` and `create_remote_note` are never used [INFO] [stderr] --> src/domain/ap/adapter.rs:19:14 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait ApService: Send + Sync + 'static { [INFO] [stderr] | --------- methods in this trait [INFO] [stderr] ... [INFO] [stderr] 19 | async fn create_remote_actor( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 29 | async fn create_remote_note( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `find_remote_actor` is never used [INFO] [stderr] --> src/domain/ap/adapter.rs:39:14 [INFO] [stderr] | [INFO] [stderr] 36 | pub trait ActorRepository: Send + Sync + 'static { [INFO] [stderr] | --------------- method in this trait [INFO] [stderr] ... [INFO] [stderr] 39 | async fn find_remote_actor( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `create_remote_note` is never used [INFO] [stderr] --> src/domain/ap/adapter.rs:49:14 [INFO] [stderr] | [INFO] [stderr] 46 | pub trait NoteRepository: Send + Sync + 'static { [INFO] [stderr] | -------------- method in this trait [INFO] [stderr] ... [INFO] [stderr] 49 | async fn create_remote_note( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `CreateRemoteActorRequest` is never constructed [INFO] [stderr] --> src/domain/ap/model/actor.rs:197:12 [INFO] [stderr] | [INFO] [stderr] 197 | pub struct CreateRemoteActorRequest { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CreateRemoteActorRequest` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `FindRemoteActorRequest` is never constructed [INFO] [stderr] --> src/domain/ap/model/actor.rs:224:12 [INFO] [stderr] | [INFO] [stderr] 224 | pub struct FindRemoteActorRequest { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `FindRemoteActorRequest` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: enum `FindRemoteActorError` is never used [INFO] [stderr] --> src/domain/ap/model/actor.rs:230:10 [INFO] [stderr] | [INFO] [stderr] 230 | pub enum FindRemoteActorError { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `FindRemoteActorError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variants `Local` and `Remote` are never constructed [INFO] [stderr] --> src/domain/ap/model/note.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 8 | pub enum Note { [INFO] [stderr] | ---- variants in this enum [INFO] [stderr] 9 | Local(LocalNote), [INFO] [stderr] | ^^^^^ [INFO] [stderr] 10 | Remote(RemoteNote), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Note` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `CreateRemoteNoteRequest` is never constructed [INFO] [stderr] --> src/domain/ap/model/note.rs:52:12 [INFO] [stderr] | [INFO] [stderr] 52 | pub struct CreateRemoteNoteRequest { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CreateRemoteNoteRequest` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `id`, `actor_id`, `content`, and `note_url` are never read [INFO] [stderr] --> src/domain/ap/model/note.rs:62:16 [INFO] [stderr] | [INFO] [stderr] 60 | pub struct RemoteNote { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 61 | /// note id [INFO] [stderr] 62 | pub(crate) id: NoteId, [INFO] [stderr] | ^^ [INFO] [stderr] 63 | pub(crate) actor_id: ActorId, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 64 | /// content [INFO] [stderr] 65 | pub(crate) content: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 66 | /// note url [INFO] [stderr] 67 | pub(crate) note_url: HttpUrl, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RemoteNote` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: constant `FIND_ACCOUNT_BY_ID` is never used [INFO] [stderr] --> src/infrastructure/postgres/queries.rs:30:11 [INFO] [stderr] | [INFO] [stderr] 30 | pub const FIND_ACCOUNT_BY_ID: &str = r#"-- name: FindAccountById :one [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `FindAccountByIdRow` is never constructed [INFO] [stderr] --> src/infrastructure/postgres/queries.rs:37:12 [INFO] [stderr] | [INFO] [stderr] 37 | pub struct FindAccountByIdRow { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `FindAccountByIdRow` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `find_account_by_id` is never used [INFO] [stderr] --> src/infrastructure/postgres/queries.rs:41:14 [INFO] [stderr] | [INFO] [stderr] 41 | pub async fn find_account_by_id( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `GET_ACTOR_BY_NAME_AND_HOST` is never used [INFO] [stderr] --> src/infrastructure/postgres/queries.rs:129:11 [INFO] [stderr] | [INFO] [stderr] 129 | pub const GET_ACTOR_BY_NAME_AND_HOST: &str = r#"-- name: GetActorByNameAndHost :one [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `GetActorByNameAndHostRow` is never constructed [INFO] [stderr] --> src/infrastructure/postgres/queries.rs:142:12 [INFO] [stderr] | [INFO] [stderr] 142 | pub struct GetActorByNameAndHostRow { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `GetActorByNameAndHostRow` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `get_actor_by_name_and_host` is never used [INFO] [stderr] --> src/infrastructure/postgres/queries.rs:152:14 [INFO] [stderr] | [INFO] [stderr] 152 | pub async fn get_actor_by_name_and_host( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `INSERT_ACCOUNT_KEY` is never used [INFO] [stderr] --> src/infrastructure/postgres/queries.rs:237:11 [INFO] [stderr] | [INFO] [stderr] 237 | pub const INSERT_ACCOUNT_KEY: &str = r#"-- name: InsertAccountKey :exec [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `insert_account_key` is never used [INFO] [stderr] --> src/infrastructure/postgres/queries.rs:245:14 [INFO] [stderr] | [INFO] [stderr] 245 | pub async fn insert_account_key( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `GET_ACCOUNT_KEYS` is never used [INFO] [stderr] --> src/infrastructure/postgres/queries.rs:264:11 [INFO] [stderr] | [INFO] [stderr] 264 | pub const GET_ACCOUNT_KEYS: &str = r#"-- name: GetAccountKeys :many [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `GetAccountKeysRow` is never constructed [INFO] [stderr] --> src/infrastructure/postgres/queries.rs:272:12 [INFO] [stderr] | [INFO] [stderr] 272 | pub struct GetAccountKeysRow { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `GetAccountKeysRow` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `get_account_keys` is never used [INFO] [stderr] --> src/infrastructure/postgres/queries.rs:277:14 [INFO] [stderr] | [INFO] [stderr] 277 | pub async fn get_account_keys( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/infrastructure/postgres.rs:68:34 [INFO] [stderr] | [INFO] [stderr] 68 | async fn get_transaction(client: &mut Object) -> Result { [INFO] [stderr] | ^^^^^^^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 68 | async fn get_transaction(client: &mut Object) -> Result, anyhow::Error> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `mozu` (lib) generated 22 warnings (run `cargo fix --lib -p mozu` to apply 1 suggestion) [INFO] [stderr] warning: `mozu` (lib test) generated 22 warnings (22 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/mozu-e34141e6296be010) [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/mozu-c69a9fcd8a2cbf8b) [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" "0702ec763920900c44e58a107cacb882a3e76cf2bec6bfafd2f847cbf0425ac8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0702ec763920900c44e58a107cacb882a3e76cf2bec6bfafd2f847cbf0425ac8", kill_on_drop: false }` [INFO] [stdout] 0702ec763920900c44e58a107cacb882a3e76cf2bec6bfafd2f847cbf0425ac8