[INFO] fetching crate genius-core-client 0.5.0-rc.1... [INFO] testing genius-core-client-0.5.0-rc.1 against 1.90.0 for beta-1.91-3 [INFO] extracting crate genius-core-client 0.5.0-rc.1 into /workspace/builds/worker-0-tc1/source [INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config.toml [INFO] started tweaking crates.io crate genius-core-client 0.5.0-rc.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate genius-core-client 0.5.0-rc.1 [INFO] tweaked toml for crates.io crate genius-core-client 0.5.0-rc.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate genius-core-client 0.5.0-rc.1 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 330 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] [stderr] Adding jsonwebtoken v9.3.1 (available: v10.0.0) [INFO] [stderr] Adding kortex_gen_grpc v1.11.8 (available: v1.12.0) [INFO] [stderr] Adding napi v2.16.17 (available: v3.3.0) [INFO] [stderr] Adding napi-derive v2.16.13 (available: v3.2.5) [INFO] [stderr] Adding ndarray v0.15.6 (available: v0.16.1) [INFO] [stderr] Adding pyo3 v0.21.2 (available: v0.26.0) [INFO] [stderr] Adding pyo3-build-config v0.21.2 (available: v0.26.0) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.23) [INFO] [stderr] Adding tonic v0.10.2 (available: v0.14.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded drain_filter_polyfill v0.1.3 [INFO] [stderr] Downloaded rustls-pemfile v1.0.4 [INFO] [stderr] Downloaded tokio-io-timeout v1.2.1 [INFO] [stderr] Downloaded sct v0.7.1 [INFO] [stderr] Downloaded lazy-regex-proc_macros v3.4.1 [INFO] [stderr] Downloaded nanoid v0.4.0 [INFO] [stderr] Downloaded napi-build v2.2.3 [INFO] [stderr] Downloaded inflections v1.1.1 [INFO] [stderr] Downloaded pyo3-macros v0.21.2 [INFO] [stderr] Downloaded synthez-codegen v0.3.1 [INFO] [stderr] Downloaded smart-default v0.7.1 [INFO] [stderr] Downloaded async-once-cell v0.5.4 [INFO] [stderr] Downloaded synthez-core v0.3.1 [INFO] [stderr] Downloaded jsonwebtoken v9.3.1 [INFO] [stderr] Downloaded pyo3-macros-backend v0.21.2 [INFO] [stderr] Downloaded napi v2.16.17 [INFO] [stderr] Downloaded h2 v0.3.27 [INFO] [stderr] Downloaded rustls-webpki v0.101.7 [INFO] [stderr] Downloaded cucumber v0.21.1 [INFO] [stderr] Downloaded pyo3-ffi v0.21.2 [INFO] [stderr] Downloaded pyo3-asyncio-0-21 v0.21.0 [INFO] [stderr] Downloaded reqwest v0.11.27 [INFO] [stderr] Downloaded hyper-rustls v0.24.2 [INFO] [stderr] Downloaded rustls v0.21.12 [INFO] [stderr] Downloaded cucumber-expressions v0.3.0 [INFO] [stderr] Downloaded ndarray v0.15.6 [INFO] [stderr] Downloaded webpki-roots v0.25.4 [INFO] [stderr] Downloaded gherkin v0.14.0 [INFO] [stderr] Downloaded regex-syntax v0.7.5 [INFO] [stderr] Downloaded inventory v0.3.21 [INFO] [stderr] Downloaded simple_asn1 v0.6.3 [INFO] [stderr] Downloaded mockito v1.7.0 [INFO] [stderr] Downloaded target-lexicon v0.12.16 [INFO] [stderr] Downloaded pyo3-build-config v0.21.2 [INFO] [stderr] Downloaded terminal_size v0.4.3 [INFO] [stderr] Downloaded synthez v0.3.1 [INFO] [stderr] Downloaded bytecount v0.6.9 [INFO] [stderr] Downloaded pyo3 v0.21.2 [INFO] [stderr] Downloaded nom_locate v4.2.0 [INFO] [stderr] Downloaded peg-macros v0.6.3 [INFO] [stderr] Downloaded peg v0.6.3 [INFO] [stderr] Downloaded typed-builder-macro v0.15.2 [INFO] [stderr] Downloaded typed-builder v0.15.2 [INFO] [stderr] Downloaded sealed v0.5.0 [INFO] [stderr] Downloaded kortex_gen_grpc v1.11.8 [INFO] [stderr] Downloaded napi-derive-backend v1.0.75 [INFO] [stderr] Downloaded indoc v2.0.6 [INFO] [stderr] Downloaded memoffset v0.9.1 [INFO] [stderr] Downloaded pyo3-asyncio-macros-0-21 v0.21.0 [INFO] [stderr] Downloaded system-configuration v0.5.1 [INFO] [stderr] Downloaded assert-json-diff v2.0.2 [INFO] [stderr] Downloaded ctor v0.2.9 [INFO] [stderr] Downloaded cucumber-codegen v0.21.1 [INFO] [stderr] Downloaded peg-runtime v0.6.3 [INFO] [stderr] Downloaded lazy-regex v3.4.1 [INFO] [stderr] Downloaded pem v3.0.5 [INFO] [stderr] Downloaded convert_case v0.6.0 [INFO] [stderr] Downloaded napi-derive v2.16.13 [INFO] [stderr] Downloaded winreg v0.50.0 [INFO] [stderr] Downloaded tonic v0.10.2 [INFO] [stderr] Downloaded napi-sys v2.4.0 [INFO] [stderr] Downloaded system-configuration-sys v0.5.0 [INFO] [stderr] Downloaded encoding_rs v0.8.35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fe1fd7689a5d08afddc6d80df1ff5f3c642f5dfb4e8b9d8b6adad1a5719ce09d [INFO] running `Command { std: "docker" "start" "-a" "fe1fd7689a5d08afddc6d80df1ff5f3c642f5dfb4e8b9d8b6adad1a5719ce09d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe1fd7689a5d08afddc6d80df1ff5f3c642f5dfb4e8b9d8b6adad1a5719ce09d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe1fd7689a5d08afddc6d80df1ff5f3c642f5dfb4e8b9d8b6adad1a5719ce09d", kill_on_drop: false }` [INFO] [stdout] fe1fd7689a5d08afddc6d80df1ff5f3c642f5dfb4e8b9d8b6adad1a5719ce09d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1453d08dd2639d271a7c000d05d5bb5ebe4336a48333c99bacbf1c83bdc4b892 [INFO] running `Command { std: "docker" "start" "-a" "1453d08dd2639d271a7c000d05d5bb5ebe4336a48333c99bacbf1c83bdc4b892", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling pyo3-build-config v0.21.2 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling pyo3-ffi v0.21.2 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling deranged v0.5.4 [INFO] [stderr] Compiling pyo3 v0.21.2 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling pyo3-macros-backend v0.21.2 [INFO] [stderr] Compiling unindent v0.2.4 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling napi-build v2.2.3 [INFO] [stderr] Compiling pem v3.0.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling pyo3-macros v0.21.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-io-timeout v1.2.1 [INFO] [stderr] Compiling prost v0.12.6 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling napi-derive-backend v1.0.75 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling genius-core-client v0.5.0-rc.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling ctor v0.2.9 [INFO] [stderr] Compiling pyo3-asyncio-macros-0-21 v0.21.0 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling napi-sys v2.4.0 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling ndarray v0.15.6 [INFO] [stderr] Compiling napi v2.16.17 [INFO] [stderr] Compiling jsonwebtoken v9.3.1 [INFO] [stderr] Compiling napi-derive v2.16.13 [INFO] [stderr] Compiling nanoid v0.4.0 [INFO] [stderr] Compiling async-once-cell v0.5.4 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling pyo3-asyncio-0-21 v0.21.0 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling tonic v0.10.2 [INFO] [stderr] Compiling kortex_gen_grpc v1.11.8 [INFO] [stdout] warning: enum `Tensor` is never used [INFO] [stdout] --> src/client/inference.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) enum Tensor { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Factor` is never constructed [INFO] [stdout] --> src/client/inference.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) struct Factor { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HSMLAccessQueries` is never constructed [INFO] [stdout] --> src/types/access.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct HSMLAccessQueries { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `as_read` are never used [INFO] [stdout] --> src/types/access.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 139 | impl HSMLAccessQueries { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 140 | pub fn new() -> HSMLAccessQueries { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn as_read(&self) -> HashSet { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HSMLAccessSet` is never constructed [INFO] [stdout] --> src/types/access.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 188 | pub struct HSMLAccessSet { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `as_read` are never used [INFO] [stdout] --> src/types/access.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 192 | impl HSMLAccessSet { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 193 | pub fn new() -> HSMLAccessSet { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | pub fn as_read(&self) -> HashSet { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ENTITY_SCHEMA_NAME` is never used [INFO] [stdout] --> src/types/static_schema/entity_schema.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub static ENTITY_SCHEMA_NAME: &str = "entity"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserData` is never constructed [INFO] [stdout] --> src/types/user.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct UserData { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/python.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | py: Python, [INFO] [stdout] | ^^^^^^ the lifetime is hidden here [INFO] [stdout] ... [INFO] [stdout] 64 | ) -> PyResult> { [INFO] [stdout] | -- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 57 | py: Python<'_>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/python.rs:94:37 [INFO] [stdout] | [INFO] [stdout] 94 | inner: unsafe { CLIENT.as_ref().unwrap().clone() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/python.rs:155:39 [INFO] [stdout] | [INFO] [stdout] 155 | let mut client = unsafe { CLIENT.as_ref().unwrap().lock().await }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/python.rs:184:39 [INFO] [stdout] | [INFO] [stdout] 184 | let mut client = unsafe { CLIENT.as_ref().unwrap().lock().await }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/python.rs:211:18 [INFO] [stdout] | [INFO] [stdout] 211 | fn query(py: Python, query: String) -> PyResult> { [INFO] [stdout] | ^^^^^^ the lifetime is hidden here -- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 211 | fn query(py: Python<'_>, query: String) -> PyResult> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/python.rs:213:39 [INFO] [stdout] | [INFO] [stdout] 213 | let mut client = unsafe { CLIENT.as_ref().unwrap().lock().await }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/entity.rs:224:20 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn as_link(&self) -> Result { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 224 | pub fn as_link(&self) -> Result, HstpError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/entity.rs:229:24 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn as_link_mut(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 229 | pub fn as_link_mut(&mut self) -> Result, HstpError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/entity.rs:239:22 [INFO] [stdout] | [INFO] [stdout] 239 | pub fn as_schema(&self) -> Result { [INFO] [stdout] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 239 | pub fn as_schema(&self) -> Result, HstpError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/entity.rs:244:26 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn as_schema_mut(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 244 | pub fn as_schema_mut(&mut self) -> Result, HstpError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/entity.rs:254:21 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn as_oauth(&self) -> Result { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 254 | pub fn as_oauth(&self) -> Result, HstpError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/entity.rs:259:25 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn as_oauth_mut(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 259 | pub fn as_oauth_mut(&mut self) -> Result, HstpError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/entity.rs:269:22 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn as_access(&self) -> Result { [INFO] [stdout] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 269 | pub fn as_access(&self) -> Result, HstpError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/entity.rs:274:26 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn as_access_mut(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 274 | pub fn as_access_mut(&mut self) -> Result, HstpError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/entity.rs:284:20 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn as_user(&self) -> Result { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 284 | pub fn as_user(&self) -> Result, HstpError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 49s [INFO] running `Command { std: "docker" "inspect" "1453d08dd2639d271a7c000d05d5bb5ebe4336a48333c99bacbf1c83bdc4b892", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1453d08dd2639d271a7c000d05d5bb5ebe4336a48333c99bacbf1c83bdc4b892", kill_on_drop: false }` [INFO] [stdout] 1453d08dd2639d271a7c000d05d5bb5ebe4336a48333c99bacbf1c83bdc4b892 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af75584e0b9b35e54b62bf418d3b36771048da5b0d2d0b344058c9a940741b53 [INFO] running `Command { std: "docker" "start" "-a" "af75584e0b9b35e54b62bf418d3b36771048da5b0d2d0b344058c9a940741b53", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling bytecount v0.6.9 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling sealed v0.5.0 [INFO] [stderr] Compiling synthez-core v0.3.1 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling peg-runtime v0.6.3 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-io-timeout v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling nom_locate v4.2.0 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling peg-macros v0.6.3 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling gherkin v0.14.0 [INFO] [stderr] Compiling prost v0.12.6 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling synthez-codegen v0.3.1 [INFO] [stderr] Compiling terminal_size v0.4.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling typed-builder-macro v0.15.2 [INFO] [stderr] Compiling smawk v0.3.2 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling pyo3 v0.21.2 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling clap_builder v4.5.48 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling peg v0.6.3 [INFO] [stderr] Compiling napi-derive-backend v1.0.75 [INFO] [stderr] Compiling typed-builder v0.15.2 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Compiling synthez v0.3.1 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling cucumber-expressions v0.3.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling lazy-regex-proc_macros v3.4.1 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling inflections v1.1.1 [INFO] [stderr] Compiling napi v2.16.17 [INFO] [stderr] Compiling pyo3-asyncio-0-21 v0.21.0 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling lazy-regex v3.4.1 [INFO] [stderr] Compiling clap v4.5.48 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling napi-derive v2.16.13 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling cucumber-codegen v0.21.1 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling jsonwebtoken v9.3.1 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling smart-default v0.7.1 [INFO] [stderr] Compiling colored v3.0.0 [INFO] [stderr] Compiling inventory v0.3.21 [INFO] [stderr] Compiling drain_filter_polyfill v0.1.3 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling cucumber v0.21.1 [INFO] [stderr] Compiling mockito v1.7.0 [INFO] [stderr] Compiling tonic v0.10.2 [INFO] [stderr] Compiling kortex_gen_grpc v1.11.8 [INFO] [stderr] Compiling genius-core-client v0.5.0-rc.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: enum `Tensor` is never used [INFO] [stdout] --> src/client/inference.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) enum Tensor { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Factor` is never constructed [INFO] [stdout] --> src/client/inference.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) struct Factor { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HSMLAccessQueries` is never constructed [INFO] [stdout] --> src/types/access.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct HSMLAccessQueries { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `as_read` are never used [INFO] [stdout] --> src/types/access.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 139 | impl HSMLAccessQueries { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 140 | pub fn new() -> HSMLAccessQueries { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn as_read(&self) -> HashSet { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HSMLAccessSet` is never constructed [INFO] [stdout] --> src/types/access.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 188 | pub struct HSMLAccessSet { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `as_read` are never used [INFO] [stdout] --> src/types/access.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 192 | impl HSMLAccessSet { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 193 | pub fn new() -> HSMLAccessSet { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | pub fn as_read(&self) -> HashSet { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ENTITY_SCHEMA_NAME` is never used [INFO] [stdout] --> src/types/static_schema/entity_schema.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub static ENTITY_SCHEMA_NAME: &str = "entity"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserData` is never constructed [INFO] [stdout] --> src/types/user.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct UserData { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/python.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | py: Python, [INFO] [stdout] | ^^^^^^ the lifetime is hidden here [INFO] [stdout] ... [INFO] [stdout] 64 | ) -> PyResult> { [INFO] [stdout] | -- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 57 | py: Python<'_>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/python.rs:94:37 [INFO] [stdout] | [INFO] [stdout] 94 | inner: unsafe { CLIENT.as_ref().unwrap().clone() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/python.rs:155:39 [INFO] [stdout] | [INFO] [stdout] 155 | let mut client = unsafe { CLIENT.as_ref().unwrap().lock().await }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/python.rs:184:39 [INFO] [stdout] | [INFO] [stdout] 184 | let mut client = unsafe { CLIENT.as_ref().unwrap().lock().await }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/python.rs:211:18 [INFO] [stdout] | [INFO] [stdout] 211 | fn query(py: Python, query: String) -> PyResult> { [INFO] [stdout] | ^^^^^^ the lifetime is hidden here -- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 211 | fn query(py: Python<'_>, query: String) -> PyResult> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/python.rs:213:39 [INFO] [stdout] | [INFO] [stdout] 213 | let mut client = unsafe { CLIENT.as_ref().unwrap().lock().await }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/entity.rs:224:20 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn as_link(&self) -> Result { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 224 | pub fn as_link(&self) -> Result, HstpError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/entity.rs:229:24 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn as_link_mut(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 229 | pub fn as_link_mut(&mut self) -> Result, HstpError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/entity.rs:239:22 [INFO] [stdout] | [INFO] [stdout] 239 | pub fn as_schema(&self) -> Result { [INFO] [stdout] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 239 | pub fn as_schema(&self) -> Result, HstpError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/entity.rs:244:26 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn as_schema_mut(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 244 | pub fn as_schema_mut(&mut self) -> Result, HstpError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/entity.rs:254:21 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn as_oauth(&self) -> Result { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 254 | pub fn as_oauth(&self) -> Result, HstpError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/entity.rs:259:25 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn as_oauth_mut(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 259 | pub fn as_oauth_mut(&mut self) -> Result, HstpError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/entity.rs:269:22 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn as_access(&self) -> Result { [INFO] [stdout] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 269 | pub fn as_access(&self) -> Result, HstpError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/entity.rs:274:26 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn as_access_mut(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 274 | pub fn as_access_mut(&mut self) -> Result, HstpError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/entity.rs:284:20 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn as_user(&self) -> Result { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 284 | pub fn as_user(&self) -> Result, HstpError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Tensor` is never used [INFO] [stdout] --> src/client/inference.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) enum Tensor { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Factor` is never constructed [INFO] [stdout] --> src/client/inference.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) struct Factor { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HSMLAccessQueries` is never constructed [INFO] [stdout] --> src/types/access.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct HSMLAccessQueries { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `as_read` are never used [INFO] [stdout] --> src/types/access.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 139 | impl HSMLAccessQueries { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 140 | pub fn new() -> HSMLAccessQueries { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn as_read(&self) -> HashSet { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HSMLAccessSet` is never constructed [INFO] [stdout] --> src/types/access.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 188 | pub struct HSMLAccessSet { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `as_read` are never used [INFO] [stdout] --> src/types/access.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 192 | impl HSMLAccessSet { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 193 | pub fn new() -> HSMLAccessSet { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | pub fn as_read(&self) -> HashSet { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ENTITY_SCHEMA_NAME` is never used [INFO] [stdout] --> src/types/static_schema/entity_schema.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub static ENTITY_SCHEMA_NAME: &str = "entity"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserData` is never constructed [INFO] [stdout] --> src/types/user.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct UserData { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/python.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | py: Python, [INFO] [stdout] | ^^^^^^ the lifetime is hidden here [INFO] [stdout] ... [INFO] [stdout] 64 | ) -> PyResult> { [INFO] [stdout] | -- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 57 | py: Python<'_>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/python.rs:94:37 [INFO] [stdout] | [INFO] [stdout] 94 | inner: unsafe { CLIENT.as_ref().unwrap().clone() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/python.rs:155:39 [INFO] [stdout] | [INFO] [stdout] 155 | let mut client = unsafe { CLIENT.as_ref().unwrap().lock().await }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/python.rs:184:39 [INFO] [stdout] | [INFO] [stdout] 184 | let mut client = unsafe { CLIENT.as_ref().unwrap().lock().await }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/python.rs:211:18 [INFO] [stdout] | [INFO] [stdout] 211 | fn query(py: Python, query: String) -> PyResult> { [INFO] [stdout] | ^^^^^^ the lifetime is hidden here -- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 211 | fn query(py: Python<'_>, query: String) -> PyResult> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/python.rs:213:39 [INFO] [stdout] | [INFO] [stdout] 213 | let mut client = unsafe { CLIENT.as_ref().unwrap().lock().await }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/entity.rs:224:20 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn as_link(&self) -> Result { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 224 | pub fn as_link(&self) -> Result, HstpError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/entity.rs:229:24 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn as_link_mut(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 229 | pub fn as_link_mut(&mut self) -> Result, HstpError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/entity.rs:239:22 [INFO] [stdout] | [INFO] [stdout] 239 | pub fn as_schema(&self) -> Result { [INFO] [stdout] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 239 | pub fn as_schema(&self) -> Result, HstpError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/entity.rs:244:26 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn as_schema_mut(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 244 | pub fn as_schema_mut(&mut self) -> Result, HstpError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/entity.rs:254:21 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn as_oauth(&self) -> Result { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 254 | pub fn as_oauth(&self) -> Result, HstpError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/entity.rs:259:25 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn as_oauth_mut(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 259 | pub fn as_oauth_mut(&mut self) -> Result, HstpError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/entity.rs:269:22 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn as_access(&self) -> Result { [INFO] [stdout] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 269 | pub fn as_access(&self) -> Result, HstpError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/entity.rs:274:26 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn as_access_mut(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 274 | pub fn as_access_mut(&mut self) -> Result, HstpError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/entity.rs:284:20 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn as_user(&self) -> Result { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 284 | pub fn as_user(&self) -> Result, HstpError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2m 57s [INFO] running `Command { std: "docker" "inspect" "af75584e0b9b35e54b62bf418d3b36771048da5b0d2d0b344058c9a940741b53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af75584e0b9b35e54b62bf418d3b36771048da5b0d2d0b344058c9a940741b53", kill_on_drop: false }` [INFO] [stdout] af75584e0b9b35e54b62bf418d3b36771048da5b0d2d0b344058c9a940741b53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2e266cd5ae142000f86d5f15b88a3a3894a23471d320c4526fcbed6e36b8feb6 [INFO] running `Command { std: "docker" "start" "-a" "2e266cd5ae142000f86d5f15b88a3a3894a23471d320c4526fcbed6e36b8feb6", kill_on_drop: false }` [INFO] [stderr] warning: enum `Tensor` is never used [INFO] [stderr] --> src/client/inference.rs:11:17 [INFO] [stderr] | [INFO] [stderr] 11 | pub(crate) enum Tensor { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `Factor` is never constructed [INFO] [stderr] --> src/client/inference.rs:17:19 [INFO] [stderr] | [INFO] [stderr] 17 | pub(crate) struct Factor { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `HSMLAccessQueries` is never constructed [INFO] [stderr] --> src/types/access.rs:135:12 [INFO] [stderr] | [INFO] [stderr] 135 | pub struct HSMLAccessQueries { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `as_read` are never used [INFO] [stderr] --> src/types/access.rs:140:12 [INFO] [stderr] | [INFO] [stderr] 139 | impl HSMLAccessQueries { [INFO] [stderr] | ---------------------- associated items in this implementation [INFO] [stderr] 140 | pub fn new() -> HSMLAccessQueries { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 155 | pub fn as_read(&self) -> HashSet { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `HSMLAccessSet` is never constructed [INFO] [stderr] --> src/types/access.rs:188:12 [INFO] [stderr] | [INFO] [stderr] 188 | pub struct HSMLAccessSet { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `as_read` are never used [INFO] [stderr] --> src/types/access.rs:193:12 [INFO] [stderr] | [INFO] [stderr] 192 | impl HSMLAccessSet { [INFO] [stderr] | ------------------ associated items in this implementation [INFO] [stderr] 193 | pub fn new() -> HSMLAccessSet { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 208 | pub fn as_read(&self) -> HashSet { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: static `ENTITY_SCHEMA_NAME` is never used [INFO] [stderr] --> src/types/static_schema/entity_schema.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 8 | pub static ENTITY_SCHEMA_NAME: &str = "entity"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `UserData` is never constructed [INFO] [stderr] --> src/types/user.rs:36:12 [INFO] [stderr] | [INFO] [stderr] 36 | pub struct UserData { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/python.rs:57:9 [INFO] [stderr] | [INFO] [stderr] 57 | py: Python, [INFO] [stderr] | ^^^^^^ the lifetime is hidden here [INFO] [stderr] ... [INFO] [stderr] 64 | ) -> PyResult> { [INFO] [stderr] | -- the same lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: consistently use `'_` [INFO] [stderr] | [INFO] [stderr] 57 | py: Python<'_>, [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/python.rs:94:37 [INFO] [stderr] | [INFO] [stderr] 94 | inner: unsafe { CLIENT.as_ref().unwrap().clone() }, [INFO] [stderr] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/python.rs:155:39 [INFO] [stderr] | [INFO] [stderr] 155 | let mut client = unsafe { CLIENT.as_ref().unwrap().lock().await }; [INFO] [stderr] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/python.rs:184:39 [INFO] [stderr] | [INFO] [stderr] 184 | let mut client = unsafe { CLIENT.as_ref().unwrap().lock().await }; [INFO] [stderr] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/python.rs:211:18 [INFO] [stderr] | [INFO] [stderr] 211 | fn query(py: Python, query: String) -> PyResult> { [INFO] [stderr] | ^^^^^^ the lifetime is hidden here -- the same lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'_` [INFO] [stderr] | [INFO] [stderr] 211 | fn query(py: Python<'_>, query: String) -> PyResult> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/python.rs:213:39 [INFO] [stderr] | [INFO] [stderr] 213 | let mut client = unsafe { CLIENT.as_ref().unwrap().lock().await }; [INFO] [stderr] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/types/entity.rs:224:20 [INFO] [stderr] | [INFO] [stderr] 224 | pub fn as_link(&self) -> Result { [INFO] [stderr] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 224 | pub fn as_link(&self) -> Result, HstpError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/types/entity.rs:229:24 [INFO] [stderr] | [INFO] [stderr] 229 | pub fn as_link_mut(&mut self) -> Result { [INFO] [stderr] | ^^^^^^^^^ ----------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 229 | pub fn as_link_mut(&mut self) -> Result, HstpError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/types/entity.rs:239:22 [INFO] [stderr] | [INFO] [stderr] 239 | pub fn as_schema(&self) -> Result { [INFO] [stderr] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 239 | pub fn as_schema(&self) -> Result, HstpError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/types/entity.rs:244:26 [INFO] [stderr] | [INFO] [stderr] 244 | pub fn as_schema_mut(&mut self) -> Result { [INFO] [stderr] | ^^^^^^^^^ ------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 244 | pub fn as_schema_mut(&mut self) -> Result, HstpError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/types/entity.rs:254:21 [INFO] [stderr] | [INFO] [stderr] 254 | pub fn as_oauth(&self) -> Result { [INFO] [stderr] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 254 | pub fn as_oauth(&self) -> Result, HstpError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/types/entity.rs:259:25 [INFO] [stderr] | [INFO] [stderr] 259 | pub fn as_oauth_mut(&mut self) -> Result { [INFO] [stderr] | ^^^^^^^^^ ------------ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 259 | pub fn as_oauth_mut(&mut self) -> Result, HstpError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/types/entity.rs:269:22 [INFO] [stderr] | [INFO] [stderr] 269 | pub fn as_access(&self) -> Result { [INFO] [stderr] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 269 | pub fn as_access(&self) -> Result, HstpError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/types/entity.rs:274:26 [INFO] [stderr] | [INFO] [stderr] 274 | pub fn as_access_mut(&mut self) -> Result { [INFO] [stderr] | ^^^^^^^^^ ------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 274 | pub fn as_access_mut(&mut self) -> Result, HstpError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/types/entity.rs:284:20 [INFO] [stderr] | [INFO] [stderr] 284 | pub fn as_user(&self) -> Result { [INFO] [stderr] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 284 | pub fn as_user(&self) -> Result, HstpError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `genius-core-client` (lib) generated 23 warnings [INFO] [stderr] warning: `genius-core-client` (lib test) generated 23 warnings (23 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.53s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/genius_core_client-22b9a7687d2b8d24) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test client::inference::tests::test_get_marginal_no_messages ... ok [INFO] [stdout] test client::inference::tests::test_get_marginal_no_elements ... ok [INFO] [stdout] test client::inference::tests::test_get_marginal_unexpected_value_in_messages ... ok [INFO] [stdout] test auth::jwt::tests::test_decode_jwt_no_jwks ... ok [INFO] [stdout] test auth::jwt::tests::test_decode_jwt_key_not_found ... ok [INFO] [stdout] test auth::jwt::tests::test_decode_jwt_no_kid ... ok [INFO] [stdout] test utils::tests::test_value_to_hsml_non_arr ... ok [INFO] [stdout] test utils::tests::test_value_to_hsml ... ok [INFO] [stdout] test utils::tests::test_make_swid ... ok [INFO] [stdout] test client::inference::tests::test_get_marginal ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.26s [INFO] [stdout] [INFO] [stderr] Running tests/auth_utils.rs (/opt/rustwide/target/debug/deps/auth_utils-87719b5356e8d994) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test test_retrieve_auth_token_response_shape ... ok [INFO] [stdout] test test_retrieve_auth_token_audience ... ok [INFO] [stdout] test test_retrieve_auth_token_invalid_audience ... ok [INFO] [stdout] test test_retrieve_auth_token_success ... ok [INFO] [stdout] test test_retrieve_auth_token_scope ... ok [INFO] [stdout] test test_retrieve_auth_token_error ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Running tests/client.rs (/opt/rustwide/target/debug/deps/client-2127eb4ba09e3947) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/create_listener.rs (/opt/rustwide/target/debug/deps/create_listener-040b0a4f3f783c35) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_create_listener ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test_create_listener stdout ---- [INFO] [stdout] Error: HstpError(HstpError { code: UnhandledError, message: "environment variable not found", swid: "" }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test_create_listener [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test create_listener` [INFO] running `Command { std: "docker" "inspect" "2e266cd5ae142000f86d5f15b88a3a3894a23471d320c4526fcbed6e36b8feb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e266cd5ae142000f86d5f15b88a3a3894a23471d320c4526fcbed6e36b8feb6", kill_on_drop: false }` [INFO] [stdout] 2e266cd5ae142000f86d5f15b88a3a3894a23471d320c4526fcbed6e36b8feb6