[INFO] fetching crate synapse-admin-api 0.3.0... [INFO] testing synapse-admin-api-0.3.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate synapse-admin-api 0.3.0 into /workspace/builds/worker-15/source [INFO] validating manifest of crates.io crate synapse-admin-api 0.3.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate synapse-admin-api 0.3.0 [INFO] finished tweaking crates.io crate synapse-admin-api 0.3.0 [INFO] tweaked toml for crates.io crate synapse-admin-api 0.3.0 written to /workspace/builds/worker-15/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ee8e1789a4c21e95340bbdbea70a76575e9b668468e85f42e6e33e6e127e76e5 [INFO] running `Command { std: "docker" "start" "-a" "ee8e1789a4c21e95340bbdbea70a76575e9b668468e85f42e6e33e6e127e76e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee8e1789a4c21e95340bbdbea70a76575e9b668468e85f42e6e33e6e127e76e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee8e1789a4c21e95340bbdbea70a76575e9b668468e85f42e6e33e6e127e76e5", kill_on_drop: false }` [INFO] [stdout] ee8e1789a4c21e95340bbdbea70a76575e9b668468e85f42e6e33e6e127e76e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98062948ef6ab2225a68f78137a185f2450a276a76be1f9a0948b8f41afff1f6 [INFO] running `Command { std: "docker" "start" "-a" "98062948ef6ab2225a68f78137a185f2450a276a76be1f9a0948b8f41afff1f6", kill_on_drop: false }` [INFO] [stderr] Compiling unindent v0.1.8 [INFO] [stderr] Compiling wildmatch v2.1.0 [INFO] [stderr] Compiling assign v1.1.1 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling js_int v0.2.2 [INFO] [stderr] Compiling indoc v1.0.4 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling ruma-identifiers-validation v0.6.0 [INFO] [stderr] Compiling ruma-identifiers-validation v0.7.0 [INFO] [stderr] Compiling ruma-identifiers-macros v0.22.0 [INFO] [stderr] Compiling ruma-serde-macros v0.6.0 [INFO] [stderr] Compiling ruma-api-macros v0.20.0 [INFO] [stderr] Compiling ruma-events-macros v0.26.0 [INFO] [stderr] Compiling ruma-serde v0.6.0 [INFO] [stderr] Compiling ruma-identifiers v0.22.0 [INFO] [stderr] Compiling ruma-common v0.8.0 [INFO] [stderr] Compiling ruma-api v0.20.0 [INFO] [stderr] Compiling ruma-events v0.26.0 [INFO] [stderr] Compiling ruma v0.5.0 [INFO] [stderr] Compiling synapse-admin-api v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `expiration_ts` [INFO] [stdout] --> src/account_validity/renew_account/v1.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub expiration_ts: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `IncomingRequestBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/account_validity/renew_account/v1.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / ruma_api! { [INFO] [stdout] 6 | | metadata: { [INFO] [stdout] 7 | | description: "Extend the account validity.", [INFO] [stdout] 8 | | method: POST, [INFO] [stdout] ... | [INFO] [stdout] 33 | | } [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `enable_renewal_emails` [INFO] [stdout] --> src/account_validity/renew_account/v1.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub enable_renewal_emails: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IncomingRequestBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/account_validity/renew_account/v1.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / ruma_api! { [INFO] [stdout] 6 | | metadata: { [INFO] [stdout] 7 | | description: "Extend the account validity.", [INFO] [stdout] 8 | | method: POST, [INFO] [stdout] ... | [INFO] [stdout] 33 | | } [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `password` [INFO] [stdout] --> src/users/create_or_modify/v2.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub password: Option<&'a str>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IncomingRequestBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/users/create_or_modify/v2.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / ruma_api! { [INFO] [stdout] 7 | | metadata: { [INFO] [stdout] 8 | | description: "create or modify account endpoint", [INFO] [stdout] 9 | | method: PUT, [INFO] [stdout] ... | [INFO] [stdout] 73 | | // The redirect 300 area is Ok too. [INFO] [stdout] 74 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `displayname` [INFO] [stdout] --> src/users/create_or_modify/v2.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub displayname: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IncomingRequestBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/users/create_or_modify/v2.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / ruma_api! { [INFO] [stdout] 7 | | metadata: { [INFO] [stdout] 8 | | description: "create or modify account endpoint", [INFO] [stdout] 9 | | method: PUT, [INFO] [stdout] ... | [INFO] [stdout] 73 | | // The redirect 300 area is Ok too. [INFO] [stdout] 74 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `threepids` [INFO] [stdout] --> src/users/create_or_modify/v2.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub threepids: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IncomingRequestBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/users/create_or_modify/v2.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / ruma_api! { [INFO] [stdout] 7 | | metadata: { [INFO] [stdout] 8 | | description: "create or modify account endpoint", [INFO] [stdout] 9 | | method: PUT, [INFO] [stdout] ... | [INFO] [stdout] 73 | | // The redirect 300 area is Ok too. [INFO] [stdout] 74 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `external_ids` [INFO] [stdout] --> src/users/create_or_modify/v2.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub external_ids: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IncomingRequestBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/users/create_or_modify/v2.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / ruma_api! { [INFO] [stdout] 7 | | metadata: { [INFO] [stdout] 8 | | description: "create or modify account endpoint", [INFO] [stdout] 9 | | method: PUT, [INFO] [stdout] ... | [INFO] [stdout] 73 | | // The redirect 300 area is Ok too. [INFO] [stdout] 74 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `avatar_url` [INFO] [stdout] --> src/users/create_or_modify/v2.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub avatar_url: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IncomingRequestBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/users/create_or_modify/v2.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / ruma_api! { [INFO] [stdout] 7 | | metadata: { [INFO] [stdout] 8 | | description: "create or modify account endpoint", [INFO] [stdout] 9 | | method: PUT, [INFO] [stdout] ... | [INFO] [stdout] 73 | | // The redirect 300 area is Ok too. [INFO] [stdout] 74 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `admin` [INFO] [stdout] --> src/users/create_or_modify/v2.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub admin: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IncomingRequestBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/users/create_or_modify/v2.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / ruma_api! { [INFO] [stdout] 7 | | metadata: { [INFO] [stdout] 8 | | description: "create or modify account endpoint", [INFO] [stdout] 9 | | method: PUT, [INFO] [stdout] ... | [INFO] [stdout] 73 | | // The redirect 300 area is Ok too. [INFO] [stdout] 74 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `deactivated` [INFO] [stdout] --> src/users/create_or_modify/v2.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub deactivated: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IncomingRequestBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/users/create_or_modify/v2.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / ruma_api! { [INFO] [stdout] 7 | | metadata: { [INFO] [stdout] 8 | | description: "create or modify account endpoint", [INFO] [stdout] 9 | | method: PUT, [INFO] [stdout] ... | [INFO] [stdout] 73 | | // The redirect 300 area is Ok too. [INFO] [stdout] 74 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `from` [INFO] [stdout] --> src/users/list_users/v2.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub from: UInt, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IncomingRequestQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/users/list_users/v2.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / ruma_api! { [INFO] [stdout] 8 | | metadata: { [INFO] [stdout] 9 | | description: "list users endpoint", [INFO] [stdout] 10 | | method: GET, [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] 72 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `limit` [INFO] [stdout] --> src/users/list_users/v2.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub limit: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IncomingRequestQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/users/list_users/v2.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / ruma_api! { [INFO] [stdout] 8 | | metadata: { [INFO] [stdout] 9 | | description: "list users endpoint", [INFO] [stdout] 10 | | method: GET, [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] 72 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `user_id` [INFO] [stdout] --> src/users/list_users/v2.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub user_id: Option<&'a UserId>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IncomingRequestQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/users/list_users/v2.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / ruma_api! { [INFO] [stdout] 8 | | metadata: { [INFO] [stdout] 9 | | description: "list users endpoint", [INFO] [stdout] 10 | | method: GET, [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] 72 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/users/list_users/v2.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub name: Option<&'a str>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IncomingRequestQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/users/list_users/v2.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / ruma_api! { [INFO] [stdout] 8 | | metadata: { [INFO] [stdout] 9 | | description: "list users endpoint", [INFO] [stdout] 10 | | method: GET, [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] 72 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `guests` [INFO] [stdout] --> src/users/list_users/v2.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub guests: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IncomingRequestQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/users/list_users/v2.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / ruma_api! { [INFO] [stdout] 8 | | metadata: { [INFO] [stdout] 9 | | description: "list users endpoint", [INFO] [stdout] 10 | | method: GET, [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] 72 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `deactivated` [INFO] [stdout] --> src/users/list_users/v2.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | pub deactivated: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IncomingRequestQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/users/list_users/v2.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / ruma_api! { [INFO] [stdout] 8 | | metadata: { [INFO] [stdout] 9 | | description: "list users endpoint", [INFO] [stdout] 10 | | method: GET, [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] 72 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `logout_devices` [INFO] [stdout] --> src/users/reset_password/v1.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub logout_devices: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IncomingRequestBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/users/reset_password/v1.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / ruma_api! { [INFO] [stdout] 6 | | metadata: { [INFO] [stdout] 7 | | description: "password reset endpoint", [INFO] [stdout] 8 | | method: POST, [INFO] [stdout] ... | [INFO] [stdout] 30 | | response: {} [INFO] [stdout] 31 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 19.11s [INFO] running `Command { std: "docker" "inspect" "98062948ef6ab2225a68f78137a185f2450a276a76be1f9a0948b8f41afff1f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98062948ef6ab2225a68f78137a185f2450a276a76be1f9a0948b8f41afff1f6", kill_on_drop: false }` [INFO] [stdout] 98062948ef6ab2225a68f78137a185f2450a276a76be1f9a0948b8f41afff1f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 069b9c53bc7f9bf6949e8ad5b370669630cd6936f51ea8f3779f317faac61e9a [INFO] running `Command { std: "docker" "start" "-a" "069b9c53bc7f9bf6949e8ad5b370669630cd6936f51ea8f3779f317faac61e9a", kill_on_drop: false }` [INFO] [stdout] warning: field is never read: `expiration_ts` [INFO] [stdout] --> src/account_validity/renew_account/v1.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub expiration_ts: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `IncomingRequestBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/account_validity/renew_account/v1.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / ruma_api! { [INFO] [stdout] 6 | | metadata: { [INFO] [stdout] 7 | | description: "Extend the account validity.", [INFO] [stdout] 8 | | method: POST, [INFO] [stdout] ... | [INFO] [stdout] 33 | | } [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `enable_renewal_emails` [INFO] [stdout] --> src/account_validity/renew_account/v1.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub enable_renewal_emails: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IncomingRequestBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/account_validity/renew_account/v1.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / ruma_api! { [INFO] [stdout] 6 | | metadata: { [INFO] [stdout] 7 | | description: "Extend the account validity.", [INFO] [stdout] 8 | | method: POST, [INFO] [stdout] ... | [INFO] [stdout] 33 | | } [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `password` [INFO] [stdout] --> src/users/create_or_modify/v2.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub password: Option<&'a str>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IncomingRequestBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/users/create_or_modify/v2.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / ruma_api! { [INFO] [stdout] 7 | | metadata: { [INFO] [stdout] 8 | | description: "create or modify account endpoint", [INFO] [stdout] 9 | | method: PUT, [INFO] [stdout] ... | [INFO] [stdout] 73 | | // The redirect 300 area is Ok too. [INFO] [stdout] 74 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `displayname` [INFO] [stdout] --> src/users/create_or_modify/v2.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub displayname: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IncomingRequestBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/users/create_or_modify/v2.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / ruma_api! { [INFO] [stdout] 7 | | metadata: { [INFO] [stdout] 8 | | description: "create or modify account endpoint", [INFO] [stdout] 9 | | method: PUT, [INFO] [stdout] ... | [INFO] [stdout] 73 | | // The redirect 300 area is Ok too. [INFO] [stdout] 74 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `threepids` [INFO] [stdout] --> src/users/create_or_modify/v2.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub threepids: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IncomingRequestBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/users/create_or_modify/v2.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / ruma_api! { [INFO] [stdout] 7 | | metadata: { [INFO] [stdout] 8 | | description: "create or modify account endpoint", [INFO] [stdout] 9 | | method: PUT, [INFO] [stdout] ... | [INFO] [stdout] 73 | | // The redirect 300 area is Ok too. [INFO] [stdout] 74 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `external_ids` [INFO] [stdout] --> src/users/create_or_modify/v2.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub external_ids: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IncomingRequestBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/users/create_or_modify/v2.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / ruma_api! { [INFO] [stdout] 7 | | metadata: { [INFO] [stdout] 8 | | description: "create or modify account endpoint", [INFO] [stdout] 9 | | method: PUT, [INFO] [stdout] ... | [INFO] [stdout] 73 | | // The redirect 300 area is Ok too. [INFO] [stdout] 74 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `avatar_url` [INFO] [stdout] --> src/users/create_or_modify/v2.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub avatar_url: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IncomingRequestBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/users/create_or_modify/v2.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / ruma_api! { [INFO] [stdout] 7 | | metadata: { [INFO] [stdout] 8 | | description: "create or modify account endpoint", [INFO] [stdout] 9 | | method: PUT, [INFO] [stdout] ... | [INFO] [stdout] 73 | | // The redirect 300 area is Ok too. [INFO] [stdout] 74 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `admin` [INFO] [stdout] --> src/users/create_or_modify/v2.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub admin: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IncomingRequestBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/users/create_or_modify/v2.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / ruma_api! { [INFO] [stdout] 7 | | metadata: { [INFO] [stdout] 8 | | description: "create or modify account endpoint", [INFO] [stdout] 9 | | method: PUT, [INFO] [stdout] ... | [INFO] [stdout] 73 | | // The redirect 300 area is Ok too. [INFO] [stdout] 74 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `deactivated` [INFO] [stdout] --> src/users/create_or_modify/v2.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub deactivated: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IncomingRequestBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/users/create_or_modify/v2.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / ruma_api! { [INFO] [stdout] 7 | | metadata: { [INFO] [stdout] 8 | | description: "create or modify account endpoint", [INFO] [stdout] 9 | | method: PUT, [INFO] [stdout] ... | [INFO] [stdout] 73 | | // The redirect 300 area is Ok too. [INFO] [stdout] 74 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `from` [INFO] [stdout] --> src/users/list_users/v2.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub from: UInt, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IncomingRequestQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/users/list_users/v2.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / ruma_api! { [INFO] [stdout] 8 | | metadata: { [INFO] [stdout] 9 | | description: "list users endpoint", [INFO] [stdout] 10 | | method: GET, [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] 72 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `limit` [INFO] [stdout] --> src/users/list_users/v2.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub limit: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IncomingRequestQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/users/list_users/v2.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / ruma_api! { [INFO] [stdout] 8 | | metadata: { [INFO] [stdout] 9 | | description: "list users endpoint", [INFO] [stdout] 10 | | method: GET, [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] 72 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `user_id` [INFO] [stdout] --> src/users/list_users/v2.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub user_id: Option<&'a UserId>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IncomingRequestQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/users/list_users/v2.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / ruma_api! { [INFO] [stdout] 8 | | metadata: { [INFO] [stdout] 9 | | description: "list users endpoint", [INFO] [stdout] 10 | | method: GET, [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] 72 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/users/list_users/v2.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub name: Option<&'a str>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IncomingRequestQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/users/list_users/v2.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / ruma_api! { [INFO] [stdout] 8 | | metadata: { [INFO] [stdout] 9 | | description: "list users endpoint", [INFO] [stdout] 10 | | method: GET, [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] 72 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `guests` [INFO] [stdout] --> src/users/list_users/v2.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub guests: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IncomingRequestQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/users/list_users/v2.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / ruma_api! { [INFO] [stdout] 8 | | metadata: { [INFO] [stdout] 9 | | description: "list users endpoint", [INFO] [stdout] 10 | | method: GET, [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] 72 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `deactivated` [INFO] [stdout] --> src/users/list_users/v2.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | pub deactivated: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IncomingRequestQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/users/list_users/v2.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / ruma_api! { [INFO] [stdout] 8 | | metadata: { [INFO] [stdout] 9 | | description: "list users endpoint", [INFO] [stdout] 10 | | method: GET, [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] 72 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `logout_devices` [INFO] [stdout] --> src/users/reset_password/v1.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub logout_devices: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IncomingRequestBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/users/reset_password/v1.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / ruma_api! { [INFO] [stdout] 6 | | metadata: { [INFO] [stdout] 7 | | description: "password reset endpoint", [INFO] [stdout] 8 | | method: POST, [INFO] [stdout] ... | [INFO] [stdout] 30 | | response: {} [INFO] [stdout] 31 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling synapse-admin-api v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `expiration_ts` [INFO] [stdout] --> src/account_validity/renew_account/v1.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub expiration_ts: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `IncomingRequestBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/account_validity/renew_account/v1.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / ruma_api! { [INFO] [stdout] 6 | | metadata: { [INFO] [stdout] 7 | | description: "Extend the account validity.", [INFO] [stdout] 8 | | method: POST, [INFO] [stdout] ... | [INFO] [stdout] 33 | | } [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `enable_renewal_emails` [INFO] [stdout] --> src/account_validity/renew_account/v1.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub enable_renewal_emails: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IncomingRequestBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/account_validity/renew_account/v1.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / ruma_api! { [INFO] [stdout] 6 | | metadata: { [INFO] [stdout] 7 | | description: "Extend the account validity.", [INFO] [stdout] 8 | | method: POST, [INFO] [stdout] ... | [INFO] [stdout] 33 | | } [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `password` [INFO] [stdout] --> src/users/create_or_modify/v2.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub password: Option<&'a str>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IncomingRequestBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/users/create_or_modify/v2.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / ruma_api! { [INFO] [stdout] 7 | | metadata: { [INFO] [stdout] 8 | | description: "create or modify account endpoint", [INFO] [stdout] 9 | | method: PUT, [INFO] [stdout] ... | [INFO] [stdout] 73 | | // The redirect 300 area is Ok too. [INFO] [stdout] 74 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `displayname` [INFO] [stdout] --> src/users/create_or_modify/v2.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub displayname: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IncomingRequestBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/users/create_or_modify/v2.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / ruma_api! { [INFO] [stdout] 7 | | metadata: { [INFO] [stdout] 8 | | description: "create or modify account endpoint", [INFO] [stdout] 9 | | method: PUT, [INFO] [stdout] ... | [INFO] [stdout] 73 | | // The redirect 300 area is Ok too. [INFO] [stdout] 74 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `threepids` [INFO] [stdout] --> src/users/create_or_modify/v2.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub threepids: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IncomingRequestBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/users/create_or_modify/v2.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / ruma_api! { [INFO] [stdout] 7 | | metadata: { [INFO] [stdout] 8 | | description: "create or modify account endpoint", [INFO] [stdout] 9 | | method: PUT, [INFO] [stdout] ... | [INFO] [stdout] 73 | | // The redirect 300 area is Ok too. [INFO] [stdout] 74 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `external_ids` [INFO] [stdout] --> src/users/create_or_modify/v2.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub external_ids: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IncomingRequestBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/users/create_or_modify/v2.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / ruma_api! { [INFO] [stdout] 7 | | metadata: { [INFO] [stdout] 8 | | description: "create or modify account endpoint", [INFO] [stdout] 9 | | method: PUT, [INFO] [stdout] ... | [INFO] [stdout] 73 | | // The redirect 300 area is Ok too. [INFO] [stdout] 74 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `avatar_url` [INFO] [stdout] --> src/users/create_or_modify/v2.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub avatar_url: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IncomingRequestBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/users/create_or_modify/v2.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / ruma_api! { [INFO] [stdout] 7 | | metadata: { [INFO] [stdout] 8 | | description: "create or modify account endpoint", [INFO] [stdout] 9 | | method: PUT, [INFO] [stdout] ... | [INFO] [stdout] 73 | | // The redirect 300 area is Ok too. [INFO] [stdout] 74 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `admin` [INFO] [stdout] --> src/users/create_or_modify/v2.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub admin: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IncomingRequestBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/users/create_or_modify/v2.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / ruma_api! { [INFO] [stdout] 7 | | metadata: { [INFO] [stdout] 8 | | description: "create or modify account endpoint", [INFO] [stdout] 9 | | method: PUT, [INFO] [stdout] ... | [INFO] [stdout] 73 | | // The redirect 300 area is Ok too. [INFO] [stdout] 74 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `deactivated` [INFO] [stdout] --> src/users/create_or_modify/v2.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub deactivated: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IncomingRequestBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/users/create_or_modify/v2.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / ruma_api! { [INFO] [stdout] 7 | | metadata: { [INFO] [stdout] 8 | | description: "create or modify account endpoint", [INFO] [stdout] 9 | | method: PUT, [INFO] [stdout] ... | [INFO] [stdout] 73 | | // The redirect 300 area is Ok too. [INFO] [stdout] 74 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `from` [INFO] [stdout] --> src/users/list_users/v2.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub from: UInt, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IncomingRequestQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/users/list_users/v2.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / ruma_api! { [INFO] [stdout] 8 | | metadata: { [INFO] [stdout] 9 | | description: "list users endpoint", [INFO] [stdout] 10 | | method: GET, [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] 72 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `limit` [INFO] [stdout] --> src/users/list_users/v2.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub limit: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IncomingRequestQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/users/list_users/v2.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / ruma_api! { [INFO] [stdout] 8 | | metadata: { [INFO] [stdout] 9 | | description: "list users endpoint", [INFO] [stdout] 10 | | method: GET, [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] 72 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `user_id` [INFO] [stdout] --> src/users/list_users/v2.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub user_id: Option<&'a UserId>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IncomingRequestQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/users/list_users/v2.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / ruma_api! { [INFO] [stdout] 8 | | metadata: { [INFO] [stdout] 9 | | description: "list users endpoint", [INFO] [stdout] 10 | | method: GET, [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] 72 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/users/list_users/v2.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub name: Option<&'a str>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IncomingRequestQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/users/list_users/v2.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / ruma_api! { [INFO] [stdout] 8 | | metadata: { [INFO] [stdout] 9 | | description: "list users endpoint", [INFO] [stdout] 10 | | method: GET, [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] 72 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `guests` [INFO] [stdout] --> src/users/list_users/v2.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub guests: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IncomingRequestQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/users/list_users/v2.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / ruma_api! { [INFO] [stdout] 8 | | metadata: { [INFO] [stdout] 9 | | description: "list users endpoint", [INFO] [stdout] 10 | | method: GET, [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] 72 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `deactivated` [INFO] [stdout] --> src/users/list_users/v2.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | pub deactivated: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IncomingRequestQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/users/list_users/v2.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / ruma_api! { [INFO] [stdout] 8 | | metadata: { [INFO] [stdout] 9 | | description: "list users endpoint", [INFO] [stdout] 10 | | method: GET, [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] 72 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `logout_devices` [INFO] [stdout] --> src/users/reset_password/v1.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub logout_devices: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IncomingRequestBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/users/reset_password/v1.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / ruma_api! { [INFO] [stdout] 6 | | metadata: { [INFO] [stdout] 7 | | description: "password reset endpoint", [INFO] [stdout] 8 | | method: POST, [INFO] [stdout] ... | [INFO] [stdout] 30 | | response: {} [INFO] [stdout] 31 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.50s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/synapse_admin_api-25337f7998cff06f) [INFO] running `Command { std: "docker" "inspect" "069b9c53bc7f9bf6949e8ad5b370669630cd6936f51ea8f3779f317faac61e9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "069b9c53bc7f9bf6949e8ad5b370669630cd6936f51ea8f3779f317faac61e9a", kill_on_drop: false }` [INFO] [stdout] 069b9c53bc7f9bf6949e8ad5b370669630cd6936f51ea8f3779f317faac61e9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8fc5c5b1a350ef22702f8ad2281f15e548760ca84d44a2a34a75eed81ef6e964 [INFO] running `Command { std: "docker" "start" "-a" "8fc5c5b1a350ef22702f8ad2281f15e548760ca84d44a2a34a75eed81ef6e964", kill_on_drop: false }` [INFO] [stderr] warning: field is never read: `expiration_ts` [INFO] [stderr] --> src/account_validity/renew_account/v1.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 22 | pub expiration_ts: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `IncomingRequestBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/account_validity/renew_account/v1.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | / ruma_api! { [INFO] [stderr] 6 | | metadata: { [INFO] [stderr] 7 | | description: "Extend the account validity.", [INFO] [stderr] 8 | | method: POST, [INFO] [stderr] ... | [INFO] [stderr] 33 | | } [INFO] [stderr] 34 | | } [INFO] [stderr] | |_^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `enable_renewal_emails` [INFO] [stderr] --> src/account_validity/renew_account/v1.rs:27:9 [INFO] [stderr] | [INFO] [stderr] 27 | pub enable_renewal_emails: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `IncomingRequestBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/account_validity/renew_account/v1.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | / ruma_api! { [INFO] [stderr] 6 | | metadata: { [INFO] [stderr] 7 | | description: "Extend the account validity.", [INFO] [stderr] 8 | | method: POST, [INFO] [stderr] ... | [INFO] [stderr] 33 | | } [INFO] [stderr] 34 | | } [INFO] [stderr] | |_^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `password` [INFO] [stderr] --> src/users/create_or_modify/v2.rs:23:9 [INFO] [stderr] | [INFO] [stderr] 23 | pub password: Option<&'a str>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `IncomingRequestBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/users/create_or_modify/v2.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | / ruma_api! { [INFO] [stderr] 7 | | metadata: { [INFO] [stderr] 8 | | description: "create or modify account endpoint", [INFO] [stderr] 9 | | method: PUT, [INFO] [stderr] ... | [INFO] [stderr] 73 | | // The redirect 300 area is Ok too. [INFO] [stderr] 74 | | } [INFO] [stderr] | |_^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `displayname` [INFO] [stderr] --> src/users/create_or_modify/v2.rs:31:9 [INFO] [stderr] | [INFO] [stderr] 31 | pub displayname: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `IncomingRequestBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/users/create_or_modify/v2.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | / ruma_api! { [INFO] [stderr] 7 | | metadata: { [INFO] [stderr] 8 | | description: "create or modify account endpoint", [INFO] [stderr] 9 | | method: PUT, [INFO] [stderr] ... | [INFO] [stderr] 73 | | // The redirect 300 area is Ok too. [INFO] [stderr] 74 | | } [INFO] [stderr] | |_^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `threepids` [INFO] [stderr] --> src/users/create_or_modify/v2.rs:35:9 [INFO] [stderr] | [INFO] [stderr] 35 | pub threepids: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `IncomingRequestBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/users/create_or_modify/v2.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | / ruma_api! { [INFO] [stderr] 7 | | metadata: { [INFO] [stderr] 8 | | description: "create or modify account endpoint", [INFO] [stderr] 9 | | method: PUT, [INFO] [stderr] ... | [INFO] [stderr] 73 | | // The redirect 300 area is Ok too. [INFO] [stderr] 74 | | } [INFO] [stderr] | |_^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `external_ids` [INFO] [stderr] --> src/users/create_or_modify/v2.rs:39:9 [INFO] [stderr] | [INFO] [stderr] 39 | pub external_ids: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `IncomingRequestBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/users/create_or_modify/v2.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | / ruma_api! { [INFO] [stderr] 7 | | metadata: { [INFO] [stderr] 8 | | description: "create or modify account endpoint", [INFO] [stderr] 9 | | method: PUT, [INFO] [stderr] ... | [INFO] [stderr] 73 | | // The redirect 300 area is Ok too. [INFO] [stderr] 74 | | } [INFO] [stderr] | |_^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `avatar_url` [INFO] [stderr] --> src/users/create_or_modify/v2.rs:43:9 [INFO] [stderr] | [INFO] [stderr] 43 | pub avatar_url: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `IncomingRequestBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/users/create_or_modify/v2.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | / ruma_api! { [INFO] [stderr] 7 | | metadata: { [INFO] [stderr] 8 | | description: "create or modify account endpoint", [INFO] [stderr] 9 | | method: PUT, [INFO] [stderr] ... | [INFO] [stderr] 73 | | // The redirect 300 area is Ok too. [INFO] [stderr] 74 | | } [INFO] [stderr] | |_^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `admin` [INFO] [stderr] --> src/users/create_or_modify/v2.rs:48:9 [INFO] [stderr] | [INFO] [stderr] 48 | pub admin: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `IncomingRequestBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/users/create_or_modify/v2.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | / ruma_api! { [INFO] [stderr] 7 | | metadata: { [INFO] [stderr] 8 | | description: "create or modify account endpoint", [INFO] [stderr] 9 | | method: PUT, [INFO] [stderr] ... | [INFO] [stderr] 73 | | // The redirect 300 area is Ok too. [INFO] [stderr] 74 | | } [INFO] [stderr] | |_^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `deactivated` [INFO] [stderr] --> src/users/create_or_modify/v2.rs:53:9 [INFO] [stderr] | [INFO] [stderr] 53 | pub deactivated: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `IncomingRequestBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/users/create_or_modify/v2.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | / ruma_api! { [INFO] [stderr] 7 | | metadata: { [INFO] [stderr] 8 | | description: "create or modify account endpoint", [INFO] [stderr] 9 | | method: PUT, [INFO] [stderr] ... | [INFO] [stderr] 73 | | // The redirect 300 area is Ok too. [INFO] [stderr] 74 | | } [INFO] [stderr] | |_^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `from` [INFO] [stderr] --> src/users/list_users/v2.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 24 | pub from: UInt, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `IncomingRequestQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/users/list_users/v2.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | / ruma_api! { [INFO] [stderr] 8 | | metadata: { [INFO] [stderr] 9 | | description: "list users endpoint", [INFO] [stderr] 10 | | method: GET, [INFO] [stderr] ... | [INFO] [stderr] 71 | | } [INFO] [stderr] 72 | | } [INFO] [stderr] | |_^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `limit` [INFO] [stderr] --> src/users/list_users/v2.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | pub limit: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `IncomingRequestQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/users/list_users/v2.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | / ruma_api! { [INFO] [stderr] 8 | | metadata: { [INFO] [stderr] 9 | | description: "list users endpoint", [INFO] [stderr] 10 | | method: GET, [INFO] [stderr] ... | [INFO] [stderr] 71 | | } [INFO] [stderr] 72 | | } [INFO] [stderr] | |_^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `user_id` [INFO] [stderr] --> src/users/list_users/v2.rs:36:9 [INFO] [stderr] | [INFO] [stderr] 36 | pub user_id: Option<&'a UserId>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `IncomingRequestQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/users/list_users/v2.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | / ruma_api! { [INFO] [stderr] 8 | | metadata: { [INFO] [stderr] 9 | | description: "list users endpoint", [INFO] [stderr] 10 | | method: GET, [INFO] [stderr] ... | [INFO] [stderr] 71 | | } [INFO] [stderr] 72 | | } [INFO] [stderr] | |_^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `name` [INFO] [stderr] --> src/users/list_users/v2.rs:41:9 [INFO] [stderr] | [INFO] [stderr] 41 | pub name: Option<&'a str>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `IncomingRequestQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/users/list_users/v2.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | / ruma_api! { [INFO] [stderr] 8 | | metadata: { [INFO] [stderr] 9 | | description: "list users endpoint", [INFO] [stderr] 10 | | method: GET, [INFO] [stderr] ... | [INFO] [stderr] 71 | | } [INFO] [stderr] 72 | | } [INFO] [stderr] | |_^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `guests` [INFO] [stderr] --> src/users/list_users/v2.rs:48:9 [INFO] [stderr] | [INFO] [stderr] 48 | pub guests: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `IncomingRequestQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/users/list_users/v2.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | / ruma_api! { [INFO] [stderr] 8 | | metadata: { [INFO] [stderr] 9 | | description: "list users endpoint", [INFO] [stderr] 10 | | method: GET, [INFO] [stderr] ... | [INFO] [stderr] 71 | | } [INFO] [stderr] 72 | | } [INFO] [stderr] | |_^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `deactivated` [INFO] [stderr] --> src/users/list_users/v2.rs:55:9 [INFO] [stderr] | [INFO] [stderr] 55 | pub deactivated: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `IncomingRequestQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/users/list_users/v2.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | / ruma_api! { [INFO] [stderr] 8 | | metadata: { [INFO] [stderr] 9 | | description: "list users endpoint", [INFO] [stderr] 10 | | method: GET, [INFO] [stderr] ... | [INFO] [stderr] 71 | | } [INFO] [stderr] 72 | | } [INFO] [stderr] | |_^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `logout_devices` [INFO] [stderr] --> src/users/reset_password/v1.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | pub logout_devices: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `IncomingRequestBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/users/reset_password/v1.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | / ruma_api! { [INFO] [stderr] 6 | | metadata: { [INFO] [stderr] 7 | | description: "password reset endpoint", [INFO] [stderr] 8 | | method: POST, [INFO] [stderr] ... | [INFO] [stderr] 30 | | response: {} [INFO] [stderr] 31 | | } [INFO] [stderr] | |_^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `synapse-admin-api` (lib) generated 16 warnings [INFO] [stderr] warning: `synapse-admin-api` (lib test) generated 16 warnings (16 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/synapse_admin_api-25337f7998cff06f) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test serde::boolean_as_uint::tests::deserialize_true ... ok [INFO] [stdout] test serde::boolean_as_uint::tests::deserialize_false ... ok [INFO] [stdout] test serde::boolean_as_uint::tests::serialize_false ... ok [INFO] [stdout] test serde::boolean_as_uint::tests::serialize_true ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests synapse-admin-api [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" "8fc5c5b1a350ef22702f8ad2281f15e548760ca84d44a2a34a75eed81ef6e964", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fc5c5b1a350ef22702f8ad2281f15e548760ca84d44a2a34a75eed81ef6e964", kill_on_drop: false }` [INFO] [stdout] 8fc5c5b1a350ef22702f8ad2281f15e548760ca84d44a2a34a75eed81ef6e964