[INFO] cloning repository https://github.com/sahilagnihotri/synology-native-photos
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sahilagnihotri/synology-native-photos" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsahilagnihotri%2Fsynology-native-photos", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsahilagnihotri%2Fsynology-native-photos'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c562192863d352b48355a08fd8800d473e222a13
[INFO] checking sahilagnihotri/synology-native-photos against 615014f15745532730b9ce7a1d9309f8b4756f93 for pr-160491
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsahilagnihotri%2Fsynology-native-photos" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-4-tc2/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/sahilagnihotri/synology-native-photos
[INFO] finished tweaking git repo https://github.com/sahilagnihotri/synology-native-photos
[INFO] tweaked toml for git repo https://github.com/sahilagnihotri/synology-native-photos written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sahilagnihotri/synology-native-photos on toolchain 615014f15745532730b9ce7a1d9309f8b4756f93
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/sahilagnihotri/synology-native-photos 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" "+615014f15745532730b9ce7a1d9309f8b4756f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] ec6ba038e3d640a1695beb35801f0c54d4d7c36b73ddb57db09aaf8a7d8d51fe
[INFO] running `Command { std: "docker" "start" "ec6ba038e3d640a1695beb35801f0c54d4d7c36b73ddb57db09aaf8a7d8d51fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ec6ba038e3d640a1695beb35801f0c54d4d7c36b73ddb57db09aaf8a7d8d51fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ec6ba038e3d640a1695beb35801f0c54d4d7c36b73ddb57db09aaf8a7d8d51fe" "/opt/rustwide/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ec6ba038e3d640a1695beb35801f0c54d4d7c36b73ddb57db09aaf8a7d8d51fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ec6ba038e3d640a1695beb35801f0c54d4d7c36b73ddb57db09aaf8a7d8d51fe" "/opt/rustwide/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.189
[INFO] [stderr]     Checking smallvec v1.15.2
[INFO] [stderr]    Compiling serde_core v1.0.229
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]    Compiling syn v2.0.119
[INFO] [stderr]    Compiling syn v3.0.3
[INFO] [stderr]    Compiling cc v1.3.0
[INFO] [stderr]     Checking bitflags v2.13.1
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]    Compiling serde_json v1.0.151
[INFO] [stderr]    Compiling zerocopy v0.8.55
[INFO] [stderr]     Checking linux-raw-sys v0.12.1
[INFO] [stderr]     Checking anyhow v1.0.104
[INFO] [stderr]    Compiling fs-err v2.11.0
[INFO] [stderr]     Checking fastrand v2.5.0
[INFO] [stderr]     Checking http v1.4.2
[INFO] [stderr]    Compiling winnow v0.7.15
[INFO] [stderr]     Checking heck v0.5.0
[INFO] [stderr]     Checking log v0.4.33
[INFO] [stderr]    Compiling camino v1.2.4
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking zeroize v1.9.0
[INFO] [stderr]     Checking smawk v0.3.3
[INFO] [stderr]     Checking siphasher v0.3.11
[INFO] [stderr]     Checking textwrap v0.16.2
[INFO] [stderr]    Compiling time-macros v0.2.32
[INFO] [stderr]     Checking rustls-pki-types v1.15.1
[INFO] [stderr]     Checking time-core v0.1.9
[INFO] [stderr]     Checking futures-sink v0.3.33
[INFO] [stderr]     Checking num-conv v0.2.2
[INFO] [stderr]     Checking futures-task v0.3.33
[INFO] [stderr]     Checking clap_lex v1.1.0
[INFO] [stderr]     Checking deranged v0.5.8
[INFO] [stderr]     Checking http-body v1.1.0
[INFO] [stderr]     Checking anstyle v1.0.14
[INFO] [stderr]     Checking clap_builder v4.6.2
[INFO] [stderr]     Checking futures-util v0.3.33
[INFO] [stderr]    Compiling getrandom v0.4.3
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]     Checking weedle2 v5.0.0
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking mio v1.2.2
[INFO] [stderr]     Checking socket2 v0.6.5
[INFO] [stderr]     Checking tempfile v3.27.0
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking glob v0.3.4
[INFO] [stderr]     Checking semver v1.0.28
[INFO] [stderr]    Compiling rustls v0.23.42
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]     Checking time v0.3.54
[INFO] [stderr]     Checking rusticata-macros v4.1.0
[INFO] [stderr]    Compiling unicase v2.9.0
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]    Compiling oid-registry v0.8.1
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]     Checking http-body-util v0.1.4
[INFO] [stderr]     Checking webpki-roots v1.0.9
[INFO] [stderr]     Checking num-bigint v0.4.8
[INFO] [stderr]     Checking data-encoding v2.11.0
[INFO] [stderr]     Checking getrandom v0.3.4
[INFO] [stderr]     Checking aho-corasick v1.1.4
[INFO] [stderr]     Checking regex-syntax v0.8.11
[INFO] [stderr]     Checking pem v3.0.6
[INFO] [stderr]     Checking rand_core v0.9.5
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]     Checking colored v3.1.1
[INFO] [stderr]     Checking similar v2.7.0
[INFO] [stderr]    Compiling libsqlite3-sys v0.30.1
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]    Compiling serde_derive v1.0.229
[INFO] [stderr]    Compiling thiserror-impl v2.0.19
[INFO] [stderr]    Compiling clap_derive v4.6.4
[INFO] [stderr]    Compiling async-trait v0.1.91
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking ahash v0.8.12
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking thiserror v2.0.19
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking yasna v0.6.0
[INFO] [stderr]     Checking regex-automata v0.4.16
[INFO] [stderr]     Checking rand v0.9.5
[INFO] [stderr]     Checking hashlink v0.9.1
[INFO] [stderr]    Compiling tokio-macros v2.7.1
[INFO] [stderr]    Compiling zerofrom-derive v0.1.7
[INFO] [stderr]    Compiling displaydoc v0.2.6
[INFO] [stderr]    Compiling yoke-derive v0.8.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.3
[INFO] [stderr]    Compiling uniffi_internal_macros v0.29.5
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling scroll_derive v0.12.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling asn1-rs-impl v0.2.0
[INFO] [stderr]     Checking clap v4.6.4
[INFO] [stderr]    Compiling asn1-rs-derive v0.6.0
[INFO] [stderr]     Checking rustls-webpki v0.103.13
[INFO] [stderr]     Checking tokio v1.53.1
[INFO] [stderr]     Checking rcgen v0.14.8
[INFO] [stderr]     Checking scroll v0.12.0
[INFO] [stderr]     Checking uniffi_pipeline v0.29.5
[INFO] [stderr]     Checking uniffi_meta v0.29.5
[INFO] [stderr]     Checking goblin v0.8.2
[INFO] [stderr]     Checking asn1-rs v0.7.2
[INFO] [stderr]     Checking zerofrom v0.1.8
[INFO] [stderr]     Checking yoke v0.8.3
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking zerotrie v0.2.4
[INFO] [stderr]     Checking serde v1.0.229
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking zerovec v0.11.6
[INFO] [stderr]     Checking regex v1.13.1
[INFO] [stderr]     Checking uniffi_udl v0.29.5
[INFO] [stderr]     Checking der-parser v10.0.0
[INFO] [stderr]     Checking tinystr v0.8.3
[INFO] [stderr]     Checking potential_utf v0.1.5
[INFO] [stderr]     Checking cargo-platform v0.1.9
[INFO] [stderr]     Checking toml v0.5.11
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking assert-json-diff v2.0.2
[INFO] [stderr]     Checking cargo_metadata v0.19.2
[INFO] [stderr]     Checking icu_collections v2.2.0
[INFO] [stderr]    Compiling askama_parser v0.13.0
[INFO] [stderr]    Compiling basic-toml v0.1.10
[INFO] [stderr]     Checking icu_locale_core v2.2.0
[INFO] [stderr]     Checking x509-parser v0.18.1
[INFO] [stderr]     Checking icu_provider v2.2.0
[INFO] [stderr]    Compiling uniffi_macros v0.29.5
[INFO] [stderr]     Checking icu_properties v2.2.0
[INFO] [stderr]     Checking icu_normalizer v2.2.0
[INFO] [stderr]     Checking idna_adapter v1.2.2
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]    Compiling askama_derive v0.13.1
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking async-compat v0.2.5
[INFO] [stderr]     Checking tokio-util v0.7.19
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking tokio-rustls v0.26.4
[INFO] [stderr]     Checking uniffi_core v0.29.5
[INFO] [stderr]     Checking h2 v0.4.15
[INFO] [stderr]     Checking tower-http v0.6.11
[INFO] [stderr]     Checking askama v0.13.1
[INFO] [stderr]     Checking uniffi_bindgen v0.29.5
[INFO] [stderr]     Checking rusqlite v0.32.1
[INFO] [stderr]     Checking hyper v1.11.0
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking hyper-rustls v0.27.9
[INFO] [stderr]     Checking mockito v1.7.2
[INFO] [stderr]     Checking reqwest v0.12.28
[INFO] [stderr]     Checking uniffi v0.29.5
[INFO] [stderr]     Checking models v0.1.0 (/opt/rustwide/workdir/core/models)
[INFO] [stderr]     Checking synology-api v0.1.0 (/opt/rustwide/workdir/core/synology-api)
[INFO] [stderr]     Checking persistence v0.1.0 (/opt/rustwide/workdir/core/persistence)
[INFO] [stderr]     Checking sync-engine v0.1.0 (/opt/rustwide/workdir/core/sync-engine)
[INFO] [stderr]     Checking photoscore v0.1.0 (/opt/rustwide/workdir/core/photoscore)
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]   --> core/synology-api/src/lib.rs:42:30
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let _ = crate::login as usize;
[INFO] [stdout]    |                              ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(function_casts_as_integer)]` on by default
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let _ = crate::login as *const () as usize;
[INFO] [stdout]    |                              ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]   --> core/synology-api/src/lib.rs:43:31
[INFO] [stdout]    |
[INFO] [stdout] 43 |         let _ = crate::logout as usize;
[INFO] [stdout]    |                               ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 43 |         let _ = crate::logout as *const () as usize;
[INFO] [stdout]    |                               ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]   --> core/synology-api/src/lib.rs:44:43
[INFO] [stdout]    |
[INFO] [stdout] 44 |         let _ = crate::probe_capabilities as usize;
[INFO] [stdout]    |                                           ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 44 |         let _ = crate::probe_capabilities as *const () as usize;
[INFO] [stdout]    |                                           ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]   --> core/synology-api/src/lib.rs:45:36
[INFO] [stdout]    |
[INFO] [stdout] 45 |         let _ = crate::pin_version as usize;
[INFO] [stdout]    |                                    ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 45 |         let _ = crate::pin_version as *const () as usize;
[INFO] [stdout]    |                                    ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]   --> core/synology-api/src/lib.rs:46:35
[INFO] [stdout]    |
[INFO] [stdout] 46 |         let _ = crate::list_items as usize;
[INFO] [stdout]    |                                   ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 46 |         let _ = crate::list_items as *const () as usize;
[INFO] [stdout]    |                                   ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]   --> core/synology-api/src/lib.rs:47:44
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let _ = crate::list_items_filtered as usize;
[INFO] [stdout]    |                                            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let _ = crate::list_items_filtered as *const () as usize;
[INFO] [stdout]    |                                            ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]   --> core/synology-api/src/lib.rs:48:37
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let _ = crate::filter_items as usize;
[INFO] [stdout]    |                                     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let _ = crate::filter_items as *const () as usize;
[INFO] [stdout]    |                                     ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]   --> core/synology-api/src/lib.rs:49:36
[INFO] [stdout]    |
[INFO] [stdout] 49 |         let _ = crate::list_albums as usize;
[INFO] [stdout]    |                                    ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 49 |         let _ = crate::list_albums as *const () as usize;
[INFO] [stdout]    |                                    ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]   --> core/synology-api/src/lib.rs:50:37
[INFO] [stdout]    |
[INFO] [stdout] 50 |         let _ = crate::create_album as usize;
[INFO] [stdout]    |                                     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 50 |         let _ = crate::create_album as *const () as usize;
[INFO] [stdout]    |                                     ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]   --> core/synology-api/src/lib.rs:51:34
[INFO] [stdout]    |
[INFO] [stdout] 51 |         let _ = crate::add_items as usize;
[INFO] [stdout]    |                                  ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 51 |         let _ = crate::add_items as *const () as usize;
[INFO] [stdout]    |                                  ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]   --> core/synology-api/src/lib.rs:52:37
[INFO] [stdout]    |
[INFO] [stdout] 52 |         let _ = crate::remove_items as usize;
[INFO] [stdout]    |                                     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 52 |         let _ = crate::remove_items as *const () as usize;
[INFO] [stdout]    |                                     ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]   --> core/synology-api/src/lib.rs:53:37
[INFO] [stdout]    |
[INFO] [stdout] 53 |         let _ = crate::delete_album as usize;
[INFO] [stdout]    |                                     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 53 |         let _ = crate::delete_album as *const () as usize;
[INFO] [stdout]    |                                     ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]   --> core/synology-api/src/lib.rs:54:41
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let _ = crate::permanent_delete as usize;
[INFO] [stdout]    |                                         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let _ = crate::permanent_delete as *const () as usize;
[INFO] [stdout]    |                                         ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]   --> core/synology-api/src/lib.rs:55:44
[INFO] [stdout]    |
[INFO] [stdout] 55 |         let _ = crate::list_recycle_photos as usize;
[INFO] [stdout]    |                                            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 55 |         let _ = crate::list_recycle_photos as *const () as usize;
[INFO] [stdout]    |                                            ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]   --> core/synology-api/src/lib.rs:56:45
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let _ = crate::restore_recycle_item as usize;
[INFO] [stdout]    |                                             ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let _ = crate::restore_recycle_item as *const () as usize;
[INFO] [stdout]    |                                             ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]   --> core/synology-api/src/lib.rs:57:44
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let _ = crate::delete_recycle_item as usize;
[INFO] [stdout]    |                                            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let _ = crate::delete_recycle_item as *const () as usize;
[INFO] [stdout]    |                                            ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]   --> core/synology-api/src/lib.rs:58:42
[INFO] [stdout]    |
[INFO] [stdout] 58 |         let _ = crate::recycle_thumbnail as usize;
[INFO] [stdout]    |                                          ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 58 |         let _ = crate::recycle_thumbnail as *const () as usize;
[INFO] [stdout]    |                                          ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]   --> core/synology-api/src/lib.rs:59:40
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let _ = crate::trigger_reindex as usize;
[INFO] [stdout]    |                                        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let _ = crate::trigger_reindex as *const () as usize;
[INFO] [stdout]    |                                        ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]   --> core/synology-api/src/lib.rs:60:45
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let _ = crate::decode_write_success as usize;
[INFO] [stdout]    |                                             ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let _ = crate::decode_write_success as *const () as usize;
[INFO] [stdout]    |                                             ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]   --> core/synology-api/src/lib.rs:61:31
[INFO] [stdout]    |
[INFO] [stdout] 61 |         let _ = crate::search as usize;
[INFO] [stdout]    |                               ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 61 |         let _ = crate::search as *const () as usize;
[INFO] [stdout]    |                               ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]   --> core/synology-api/src/lib.rs:62:40
[INFO] [stdout]    |
[INFO] [stdout] 62 |         let _ = crate::search_filtered as usize;
[INFO] [stdout]    |                                        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 62 |         let _ = crate::search_filtered as *const () as usize;
[INFO] [stdout]    |                                        ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]   --> core/synology-api/src/lib.rs:63:38
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let _ = crate::search_facets as usize;
[INFO] [stdout]    |                                      ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let _ = crate::search_facets as *const () as usize;
[INFO] [stdout]    |                                      ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]   --> core/synology-api/src/lib.rs:64:36
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let _ = crate::list_people as usize;
[INFO] [stdout]    |                                    ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let _ = crate::list_people as *const () as usize;
[INFO] [stdout]    |                                    ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]   --> core/synology-api/src/lib.rs:65:36
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let _ = crate::list_places as usize;
[INFO] [stdout]    |                                    ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let _ = crate::list_places as *const () as usize;
[INFO] [stdout]    |                                    ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]   --> core/synology-api/src/lib.rs:66:38
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let _ = crate::list_subjects as usize;
[INFO] [stdout]    |                                      ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let _ = crate::list_subjects as *const () as usize;
[INFO] [stdout]    |                                      ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]   --> core/synology-api/src/lib.rs:67:34
[INFO] [stdout]    |
[INFO] [stdout] 67 |         let _ = crate::list_tags as usize;
[INFO] [stdout]    |                                  ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 67 |         let _ = crate::list_tags as *const () as usize;
[INFO] [stdout]    |                                  ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]   --> core/synology-api/src/lib.rs:68:40
[INFO] [stdout]    |
[INFO] [stdout] 68 |         let _ = crate::fetch_thumbnail as usize;
[INFO] [stdout]    |                                        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 68 |         let _ = crate::fetch_thumbnail as *const () as usize;
[INFO] [stdout]    |                                        ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]   --> core/synology-api/src/lib.rs:69:42
[INFO] [stdout]    |
[INFO] [stdout] 69 |         let _ = crate::download_original as usize;
[INFO] [stdout]    |                                          ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 69 |         let _ = crate::download_original as *const () as usize;
[INFO] [stdout]    |                                          ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]   --> core/synology-api/src/lib.rs:70:36
[INFO] [stdout]    |
[INFO] [stdout] 70 |         let _ = crate::upload_file as usize;
[INFO] [stdout]    |                                    ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 70 |         let _ = crate::upload_file as *const () as usize;
[INFO] [stdout]    |                                    ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]   --> core/synology-api/src/lib.rs:71:37
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let _ = crate::build_client as usize;
[INFO] [stdout]    |                                     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let _ = crate::build_client as *const () as usize;
[INFO] [stdout]    |                                     ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]   --> core/synology-api/src/lib.rs:72:46
[INFO] [stdout]    |
[INFO] [stdout] 72 |         let _ = crate::fetch_server_cert_der as usize;
[INFO] [stdout]    |                                              ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 72 |         let _ = crate::fetch_server_cert_der as *const () as usize;
[INFO] [stdout]    |                                              ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]   --> core/synology-api/src/lib.rs:73:61
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let _ = crate::decode_envelope::<serde_json::Value> as usize;
[INFO] [stdout]    |                                                             ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let _ = crate::decode_envelope::<serde_json::Value> as *const () as usize;
[INFO] [stdout]    |                                                             ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]   --> core/synology-api/src/lib.rs:74:39
[INFO] [stdout]    |
[INFO] [stdout] 74 |         let _ = crate::map_error_code as usize;
[INFO] [stdout]    |                                       ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 74 |         let _ = crate::map_error_code as *const () as usize;
[INFO] [stdout]    |                                       ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 40s
[INFO] running `Command { std: "docker" "inspect" "ec6ba038e3d640a1695beb35801f0c54d4d7c36b73ddb57db09aaf8a7d8d51fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ec6ba038e3d640a1695beb35801f0c54d4d7c36b73ddb57db09aaf8a7d8d51fe", kill_on_drop: false }`
[INFO] [stdout] ec6ba038e3d640a1695beb35801f0c54d4d7c36b73ddb57db09aaf8a7d8d51fe
