[INFO] fetching crate dipper 0.3.3... [INFO] checking dipper-0.3.3 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] extracting crate dipper 0.3.3 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate dipper 0.3.3 on toolchain 65132f36b923285d5da381c2fbafee6ce899e841 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate dipper 0.3.3 [INFO] finished tweaking crates.io crate dipper 0.3.3 [INFO] tweaked toml for crates.io crate dipper 0.3.3 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "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 526 packages to latest compatible versions [INFO] [stderr] Adding opentelemetry-http v0.25.0 (available: v0.27.0) [INFO] [stderr] Adding quick-xml v0.36.2 (available: v0.37.1) [INFO] [stderr] Adding tokio v1.38.1 (available: v1.41.1) [INFO] [stderr] Adding tokio-macros v2.3.0 (available: v2.4.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 31d8a3ca9a65a3cbf138da5fc006856bb6a07ed8330244ced1c5dbe7319d4543 [INFO] running `Command { std: "docker" "start" "-a" "31d8a3ca9a65a3cbf138da5fc006856bb6a07ed8330244ced1c5dbe7319d4543", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31d8a3ca9a65a3cbf138da5fc006856bb6a07ed8330244ced1c5dbe7319d4543", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31d8a3ca9a65a3cbf138da5fc006856bb6a07ed8330244ced1c5dbe7319d4543", kill_on_drop: false }` [INFO] [stdout] 31d8a3ca9a65a3cbf138da5fc006856bb6a07ed8330244ced1c5dbe7319d4543 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed847a7d026fb40139532aa1fd8b3a30036486104a3264df40433ece6022e2e5 [INFO] running `Command { std: "docker" "start" "-a" "ed847a7d026fb40139532aa1fd8b3a30036486104a3264df40433ece6022e2e5", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling portable-atomic v1.10.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Checking bytes v1.8.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking itoa v1.0.13 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling cc v1.2.1 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking hashbrown v0.15.1 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking cpufeatures v0.2.16 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking rustls-pki-types v1.10.0 [INFO] [stderr] Checking litemap v0.7.4 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling rustls v0.23.18 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking block-padding v0.3.3 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking allocator-api2 v0.2.20 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Compiling unicase v2.8.0 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling rustix v0.38.41 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling mime-infer v3.0.0 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling pin-project-internal v1.1.7 [INFO] [stderr] Checking zerofrom v0.1.5 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Compiling salvo-serde-util v0.74.2 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking pin-project v1.1.7 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking fastrand v2.2.0 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Compiling thiserror v2.0.3 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.3 [INFO] [stderr] Compiling enumflags2_derive v0.7.10 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Checking headers-core v0.3.0 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking xml-rs v0.8.23 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Checking enumflags2 v0.7.10 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking headers v0.4.0 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Checking ulid v1.1.3 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling bigdecimal v0.4.6 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking tokio v1.38.1 [INFO] [stderr] Checking uuid v1.11.0 [INFO] [stderr] Compiling salvo_macros v0.74.2 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking multimap v0.10.0 [INFO] [stderr] Checking serde-xml-rs v0.6.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Compiling rust-embed-utils v8.5.0 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Checking tempfile v3.14.0 [INFO] [stderr] Checking hashlink v0.9.1 [INFO] [stderr] Checking opentelemetry v0.25.0 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking flate2 v1.0.35 [INFO] [stderr] Compiling rust-embed-impl v8.5.0 [INFO] [stderr] Checking tungstenite v0.24.0 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Checking simple_asn1 v0.6.2 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking rustls-native-certs v0.8.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Checking bytemuck v1.20.0 [INFO] [stderr] Checking xxhash-rust v0.8.12 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Checking str-buf v3.0.3 [INFO] [stderr] Checking parking v2.2.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking sqlformat v0.2.6 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Checking jsonwebtoken v9.3.0 [INFO] [stderr] Checking etag v4.0.0 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Checking rust-embed v8.5.0 [INFO] [stderr] Checking crc v3.2.1 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tokio-stream v0.1.16 [INFO] [stderr] Checking tokio-rustls v0.26.0 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking tokio-tungstenite v0.24.0 [INFO] [stderr] Checking pkcs1 v0.7.5 [INFO] [stderr] Checking h2 v0.4.7 [INFO] [stderr] Checking tower v0.5.1 [INFO] [stderr] Compiling salvo-oapi-macros v0.74.2 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Checking fdeflate v0.3.6 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking webpki-roots v0.26.7 [INFO] [stderr] Checking atoi v2.0.0 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Checking unicode-properties v0.1.3 [INFO] [stderr] Checking inventory v0.3.15 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking unicode-bidi v0.3.17 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Checking opentelemetry_sdk v0.25.0 [INFO] [stderr] Checking png v0.17.14 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling prost-derive v0.13.3 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking rsa v0.9.6 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking sqlx-core v0.8.2 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Compiling psm v0.1.24 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking whoami v1.5.2 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling mini-moka v0.10.3 [INFO] [stderr] Compiling slog-async v2.8.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Checking no-std-compat v0.4.1 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking term v0.7.0 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Checking hyper v1.5.1 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking prost v0.13.3 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking thin-vec v0.2.13 [INFO] [stderr] Compiling rhai_codegen v2.2.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Compiling inherent v1.0.11 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking sqlx-mysql v0.8.2 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Compiling stacker v0.1.17 [INFO] [stderr] Checking ordered-float v3.9.2 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking bstr v1.11.0 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking triomphe v0.1.14 [INFO] [stderr] Checking salvo_core v0.74.2 [INFO] [stderr] Checking hyper-rustls v0.27.3 [INFO] [stderr] Checking hyper-timeout v0.5.2 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking tagptr v0.2.0 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking globset v0.4.15 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking sqlx v0.8.2 [INFO] [stderr] Checking rhai v1.20.0 [INFO] [stderr] Checking slog-term v2.9.1 [INFO] [stderr] Compiling ouroboros_macro v0.18.4 [INFO] [stderr] Checking sea-query v0.32.0 [INFO] [stderr] Compiling serde_with_macros v3.11.0 [INFO] [stderr] Compiling sea-bae v0.2.1 [INFO] [stderr] Checking tonic v0.12.3 [INFO] [stderr] Compiling num_enum_derive v0.7.3 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking aliasable v0.1.3 [INFO] [stderr] Checking ip_network v0.4.1 [INFO] [stderr] Checking ouroboros v0.18.4 [INFO] [stderr] Checking image v0.25.5 [INFO] [stderr] Compiling sea-orm-macros v1.1.1 [INFO] [stderr] Checking serde_with v3.11.0 [INFO] [stderr] Checking salvo-jwt-auth v0.74.2 [INFO] [stderr] Checking salvo-oapi v0.74.2 [INFO] [stderr] Checking salvo_extra v0.74.2 [INFO] [stderr] Checking opentelemetry-proto v0.25.0 [INFO] [stderr] Checking num_enum v0.7.3 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking sea-query-binder v0.7.0 [INFO] [stderr] Checking rgb v0.8.50 [INFO] [stderr] Compiling getset2 v0.2.1 [INFO] [stderr] Checking opentelemetry-http v0.25.0 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking ordered-float v4.5.0 [INFO] [stderr] Checking simdutf8 v0.1.5 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking qrcodegen v1.8.0 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking qrcodegen-image v1.5.0 [INFO] [stderr] Checking faststr v0.2.23 [INFO] [stderr] Checking opentelemetry-stdout v0.25.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking lodepng v3.10.7 [INFO] [stderr] Checking chumsky v0.9.3 [INFO] [stderr] Checking opentelemetry-appender-tracing v0.25.0 [INFO] [stderr] Checking tracing-opentelemetry v0.26.0 [INFO] [stderr] Checking convert_traits v1.1.1 [INFO] [stderr] Checking sulid v0.6.2 [INFO] [stderr] Checking rustc-hash v2.0.0 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking sea-orm v1.1.1 [INFO] [stderr] Checking email-encoding v0.3.0 [INFO] [stderr] Checking opentelemetry-otlp v0.25.0 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking hostname v0.4.0 [INFO] [stderr] Checking email_address v0.2.9 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking constant_time_eq v0.2.6 [INFO] [stderr] Checking opentelemetry-semantic-conventions v0.25.0 [INFO] [stderr] Checking base32 v0.4.0 [INFO] [stderr] Checking hound v3.5.1 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking quoted_printable v0.5.1 [INFO] [stderr] Checking totp-rs v5.6.0 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking casbin v2.5.0 [INFO] [stderr] Checking captcha v0.0.9 [INFO] [stderr] Checking myotel v0.2.3 [INFO] [stderr] Checking metainfo v0.7.12 [INFO] [stderr] Checking lettre v0.11.10 [INFO] [stderr] Checking salvo v0.74.2 [INFO] [stderr] Compiling dipper_macros v0.3.3 [INFO] [stderr] Checking jwt-claims v1.0.2 [INFO] [stderr] Checking api-response v0.11.0 [INFO] [stderr] Checking quick-xml v0.36.2 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Checking cbc v0.1.2 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking anymap2 v0.13.0 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking cubix v0.7.0 [INFO] [stderr] Checking salvo-casbin v0.73.3 [INFO] [stderr] Checking sea-orm-adapter v0.4.0 [INFO] [stderr] Checking dipper v0.3.3 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `dipper` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/fnd/authn/default/mod.rs [INFO] [stderr] * src/fnd/authn/jwt_token.rs [INFO] [stderr] * src/fnd/authn/mfa.rs [INFO] [stderr] * src/fnd/authn/mod.rs [INFO] [stderr] * src/fnd/authn/signin.rs [INFO] [stderr] * src/fnd/authn/signup.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: expected item after attributes [INFO] [stderr] --> src/fnd/authn/default/mod.rs:56:1 [INFO] [stderr] | [INFO] [stderr] 56 | #[dipper] + use [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: expected item after attributes [INFO] [stderr] --> src/fnd/authn/jwt_token.rs:50:1 [INFO] [stderr] | [INFO] [stderr] 50 | #[dipper] + use

[INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: expected item after attributes [INFO] [stderr] --> src/fnd/authn/mfa.rs:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | #[dipper] + use [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `super::CaptchaPair`, `super::Factor`, `super::JwtTokenPair`, `super::TotpData` [INFO] [stderr] --> src/fnd/authn/signin.rs:4:20 [INFO] [stderr] | [INFO] [stderr] 4 | use super::{Authn, CaptchaPair, Factor, JwtTokenPair, TotpData, UserHandle}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^ no `TotpData` in `fnd::authn` [INFO] [stderr] | | | | [INFO] [stderr] | | | no `JwtTokenPair` in `fnd::authn` [INFO] [stderr] | | no `Factor` in `fnd::authn` [INFO] [stderr] | no `CaptchaPair` in `fnd::authn` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `super::CaptchaPair`, `super::TotpData` [INFO] [stderr] --> src/fnd/authn/signup.rs:4:40 [INFO] [stderr] | [INFO] [stderr] 4 | use super::{password::Password, Authn, CaptchaPair, TotpData, UserHandle}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^ no `TotpData` in `fnd::authn` [INFO] [stderr] | | [INFO] [stderr] | no `CaptchaPair` in `fnd::authn` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JwtAuthn` in this scope [INFO] [stderr] --> src/fnd/authn/mod.rs:29:14 [INFO] [stderr] | [INFO] [stderr] 29 | jwt: Arc>, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JwtAuthn` in this scope [INFO] [stderr] --> src/fnd/authn/mod.rs:55:30 [INFO] [stderr] | [INFO] [stderr] 55 | pub fn jwt(&self) -> Arc> { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JwtAuthn` in this scope [INFO] [stderr] --> src/fnd/authn/mod.rs:64:23 [INFO] [stderr] | [INFO] [stderr] 64 | type Target = Arc>; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `JwtAuthn` [INFO] [stderr] --> src/fnd/authn/mod.rs:108:23 [INFO] [stderr] | [INFO] [stderr] 108 | let mut jwt = JwtAuthn::new(self.user_handle.clone(), self.secret_refresh_interval, self.jwt_token_key).await?; [INFO] [stderr] | ^^^^^^^^ use of undeclared type `JwtAuthn` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `verify_captcha` found for reference `&Authn` in the current scope [INFO] [stderr] --> src/fnd/authn/signin.rs:46:26 [INFO] [stderr] | [INFO] [stderr] 46 | self.verify_captcha(&captcha).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `&Authn` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `verify_totp_token` found for reference `&Authn` in the current scope [INFO] [stderr] --> src/fnd/authn/signin.rs:51:40 [INFO] [stderr] | [INFO] [stderr] 51 | let matched = self.verify_totp_token(user_totp_info.totp_secret, TotpData::otp(&totp_token))?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ method not found in `&Authn` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `verify_captcha` found for reference `&Authn` in the current scope [INFO] [stderr] --> src/fnd/authn/signin.rs:63:30 [INFO] [stderr] | [INFO] [stderr] 63 | self.verify_captcha(&captcha).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `&Authn` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `verify_captcha` found for reference `&Authn` in the current scope [INFO] [stderr] --> src/fnd/authn/signin.rs:69:30 [INFO] [stderr] | [INFO] [stderr] 69 | self.verify_captcha(&captcha).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `&Authn` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `verify_user_totp_token` found for reference `&Authn` in the current scope [INFO] [stderr] --> src/fnd/authn/signin.rs:71:26 [INFO] [stderr] | [INFO] [stderr] 71 | self.verify_user_totp_token(depot, &UserIdentifier::email(email), TotpData::email(&totp_token)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: there is a method `signup_totp_token` with a similar name, but with different arguments [INFO] [stderr] --> src/fnd/authn/signup.rs:72:5 [INFO] [stderr] | [INFO] [stderr] 72 | pub async fn signup_totp_token(&self, args: TotpData<()>) -> anyhow::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `verify_captcha` found for reference `&Authn` in the current scope [INFO] [stderr] --> src/fnd/authn/signin.rs:78:30 [INFO] [stderr] | [INFO] [stderr] 78 | self.verify_captcha(&captcha).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `&Authn` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `verify_captcha` found for reference `&Authn` in the current scope [INFO] [stderr] --> src/fnd/authn/signin.rs:84:30 [INFO] [stderr] | [INFO] [stderr] 84 | self.verify_captcha(&captcha).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `&Authn` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `verify_user_totp_token` found for reference `&Authn` in the current scope [INFO] [stderr] --> src/fnd/authn/signin.rs:86:26 [INFO] [stderr] | [INFO] [stderr] 86 | self.verify_user_totp_token(depot, &UserIdentifier::phone(phone), TotpData::sms(&totp_token)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: there is a method `signup_totp_token` with a similar name, but with different arguments [INFO] [stderr] --> src/fnd/authn/signup.rs:72:5 [INFO] [stderr] | [INFO] [stderr] 72 | pub async fn signup_totp_token(&self, args: TotpData<()>) -> anyhow::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `new_jwt_token_pair` found for reference `&Authn` in the current scope [INFO] [stderr] --> src/fnd/authn/signin.rs:91:14 [INFO] [stderr] | [INFO] [stderr] 91 | self.new_jwt_token_pair(user_id, None).await [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ method not found in `&Authn` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `obtain_pub_totp_token` found for reference `&Authn` in the current scope [INFO] [stderr] --> src/fnd/authn/signup.rs:73:14 [INFO] [stderr] | [INFO] [stderr] 73 | self.obtain_pub_totp_token(args).await [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: there is a method `signup_totp_token` with a similar name [INFO] [stderr] | [INFO] [stderr] 73 | self.signup_totp_token(args).await [INFO] [stderr] | ~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `verify_captcha` found for reference `&Authn` in the current scope [INFO] [stderr] --> src/fnd/authn/signup.rs:81:22 [INFO] [stderr] | [INFO] [stderr] 81 | self.verify_captcha(&captcha).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `&Authn` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `verify_pub_totp_token` found for reference `&Authn` in the current scope [INFO] [stderr] --> src/fnd/authn/signup.rs:90:36 [INFO] [stderr] | [INFO] [stderr] 90 | let matched = self.verify_pub_totp_token(TotpData::sms(totp_token.as_str())).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: there is a method `signup_totp_token` with a similar name [INFO] [stderr] | [INFO] [stderr] 90 | let matched = self.signup_totp_token(TotpData::sms(totp_token.as_str())).await?; [INFO] [stderr] | ~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `verify_pub_totp_token` found for reference `&Authn` in the current scope [INFO] [stderr] --> src/fnd/authn/signup.rs:102:36 [INFO] [stderr] | [INFO] [stderr] 102 | let matched = self.verify_pub_totp_token(TotpData::email(totp_token.as_str())).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: there is a method `signup_totp_token` with a similar name [INFO] [stderr] | [INFO] [stderr] 102 | let matched = self.signup_totp_token(TotpData::email(totp_token.as_str())).await?; [INFO] [stderr] | ~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] error: aborting due to 22 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/dyn_mod/manifest.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | if let Some(old_manifest) = MANIFEST_LIST.insert(manifest.name().clone(), manifest.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/dyn_mod/manifest.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) unsafe fn reg_manifest(manifest: Arc) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/dyn_mod/manifest.rs:25:42 [INFO] [stdout] | [INFO] [stdout] 25 | static _X_: GlobalManifestMap = unsafe { &MANIFEST_LIST }; [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: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 25 | static _X_: GlobalManifestMap = unsafe { &raw const MANIFEST_LIST }; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/dyn_mod/manifest.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | if let Some(old_manifest) = MANIFEST_LIST.insert(manifest.name().clone(), manifest.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^--------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/dyn_mod/manifest.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 29 ~ match MANIFEST_LIST.insert(manifest.name().clone(), manifest.clone()) { Some(old_manifest) => { [INFO] [stdout] 30 | panic!( [INFO] [stdout] ... [INFO] [stdout] 34 | ) [INFO] [stdout] 35 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/dyn_mod/manifest.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | if let Some(old_manifest) = MANIFEST_LIST.insert(manifest.name().clone(), manifest.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl salvo::Handler` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/fnd/authn/default/mod.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | #[dipper] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/fnd/authn/default/mod.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | #[dipper] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the attribute macro `dipper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 56 | #[dipper] + use [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl salvo::Handler` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/fnd/authn/default/mod.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | #[dipper] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/fnd/authn/default/mod.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | #[dipper] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the attribute macro `dipper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 56 | #[dipper] + use [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl salvo::Handler` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/fnd/authn/default/mod.rs:109:44 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn get_user_totp_qr_goal(&self) -> impl Handler { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/fnd/authn/default/mod.rs:109:34 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn get_user_totp_qr_goal(&self) -> impl Handler { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 109 | pub fn get_user_totp_qr_goal(&self) -> impl Handler + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl salvo::Handler` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/fnd/authn/default/mod.rs:114:48 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn refresh_user_totp_qr_goal(&self) -> impl Handler { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/fnd/authn/default/mod.rs:114:38 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn refresh_user_totp_qr_goal(&self) -> impl Handler { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 114 | pub fn refresh_user_totp_qr_goal(&self) -> impl Handler + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl salvo::Handler` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/fnd/authn/default/mod.rs:119:41 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn jwt_verifying_hoop(&self) -> impl Handler { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/fnd/authn/default/mod.rs:119:31 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn jwt_verifying_hoop(&self) -> impl Handler { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 119 | pub fn jwt_verifying_hoop(&self) -> impl Handler + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl salvo::Handler` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/fnd/authn/default/mod.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | #[dipper] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/fnd/authn/default/mod.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | #[dipper] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the attribute macro `dipper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 56 | #[dipper] + use [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl salvo::Handler` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/fnd/authn/default/mod.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | #[dipper] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/fnd/authn/default/mod.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | #[dipper] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the attribute macro `dipper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 56 | #[dipper] + use [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl salvo::Handler` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/fnd/authn/default/mod.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | #[dipper] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/fnd/authn/default/mod.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | #[dipper] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the attribute macro `dipper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 56 | #[dipper] + use [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl salvo::Handler` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/fnd/authn/jwt_token.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | #[dipper] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/fnd/authn/jwt_token.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | #[dipper] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the attribute macro `dipper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 50 | #[dipper] + use

[INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl salvo::Handler` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/fnd/authn/mfa.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[dipper] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/fnd/authn/mfa.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[dipper] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the attribute macro `dipper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 17 | #[dipper] + use [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl salvo::Handler` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/fnd/authn/mfa.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[dipper] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/fnd/authn/mfa.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[dipper] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the attribute macro `dipper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 17 | #[dipper] + use [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl salvo::Handler` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/fnd/authn/mfa.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[dipper] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/fnd/authn/mfa.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[dipper] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the attribute macro `dipper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 17 | #[dipper] + use [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/fnd/secret_key.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | if let Some(join_handle) = &self.join_handle { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/fnd/secret_key.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 93 ~ match &self.join_handle { Some(join_handle) => { [INFO] [stdout] 94 | join_handle.abort(); [INFO] [stdout] 95 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/mw/metrics.rs:57:26 [INFO] [stdout] | [INFO] [stdout] 57 | let msg = if let ResBody::Error(body) = &res.body { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/mw/metrics.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 57 ~ let msg = match &res.body { ResBody::Error(body) => { [INFO] [stdout] 58 | body.to_string() [INFO] [stdout] 59 ~ } _ => { [INFO] [stdout] 60 | format!("ErrorCode: {}", status.as_u16()) [INFO] [stdout] 61 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/app.rs:277:26 [INFO] [stdout] | [INFO] [stdout] 277 | debug!("{}", MANIFEST_LIST.to_xml_string()); [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 is discouraged [INFO] [stdout] --> src/app.rs:305:51 [INFO] [stdout] | [INFO] [stdout] 305 | Arc::new(affix_state::inject(unsafe { &MANIFEST_LIST })), [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 305 | Arc::new(affix_state::inject(unsafe { &raw const MANIFEST_LIST })), [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/fnd/secret_key.rs:71:23 [INFO] [stdout] | [INFO] [stdout] 70 | sleep(refresh_interval).await; [INFO] [stdout] | ----------------------------- [INFO] [stdout] | | [INFO] [stdout] | `__awaitee` calls a custom destructor [INFO] [stdout] | `__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] 71 | match provide.secret_key_args() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#6` [INFO] [stdout] | up until Edition 2021 `#6` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | Err(err) => { [INFO] [stdout] | --- [INFO] [stdout] | | [INFO] [stdout] | `err` calls a custom destructor [INFO] [stdout] | `err` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 79 | Ok(new_args) => match Self::new_secret_key(&new_args) { [INFO] [stdout] | ------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] 80 | Ok(new_secret_key) => *secret_key.write().await = new_secret_key, [INFO] [stdout] | ------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#4` [INFO] [stdout] | | `#4` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | `#2` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | `#3` will be dropped later as of Edition 2024 [INFO] [stdout] 81 | Err(err) => { [INFO] [stdout] | --- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#5` [INFO] [stdout] | `#5` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 86 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] note: `#6` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anyhow-1.0.93/src/error.rs:597:1 [INFO] [stdout] | [INFO] [stdout] 597 | impl Drop for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `__awaitee` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.1/src/runtime/time/entry.rs:652:1 [INFO] [stdout] | [INFO] [stdout] 652 | impl Drop for TimerEntry { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `err` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anyhow-1.0.93/src/error.rs:597:1 [INFO] [stdout] | [INFO] [stdout] 597 | impl Drop for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anyhow-1.0.93/src/error.rs:597:1 [INFO] [stdout] | [INFO] [stdout] 597 | impl Drop for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.1/src/sync/rwlock/write_guard.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | impl<'a, T: ?Sized> Drop for RwLockWriteGuard<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#3` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.1/src/sync/batch_semaphore.rs:685:1 [INFO] [stdout] | [INFO] [stdout] 685 | impl Drop for Acquire<'_> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#4` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.1/src/sync/rwlock/write_guard.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | impl<'a, T: ?Sized> Drop for RwLockWriteGuard<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#5` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anyhow-1.0.93/src/error.rs:597:1 [INFO] [stdout] | [INFO] [stdout] 597 | impl Drop for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/mw/trace.rs:77:10 [INFO] [stdout] | [INFO] [stdout] 37 | let mut headers = HeaderMap::with_capacity(req.headers().len()); [INFO] [stdout] | ----------- [INFO] [stdout] | | [INFO] [stdout] | `headers` calls a custom destructor [INFO] [stdout] | `headers` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 44 | let parent_cx = get_text_map_propagator(|propagator| propagator.extract(&HeaderExtractor(&headers))); [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `parent_cx` calls a custom destructor [INFO] [stdout] | `parent_cx` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | .await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] 78 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: `#1` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `headers` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.8.0/src/bytes.rs:590:1 [INFO] [stdout] | [INFO] [stdout] 590 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `parent_cx` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `dipper` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/fnd/authn/default/mod.rs [INFO] [stderr] * src/fnd/authn/jwt_token.rs [INFO] [stderr] * src/fnd/authn/mfa.rs [INFO] [stderr] * src/fnd/authn/mod.rs [INFO] [stderr] * src/fnd/authn/signin.rs [INFO] [stderr] * src/fnd/authn/signup.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: expected item after attributes [INFO] [stderr] --> src/fnd/authn/default/mod.rs:56:1 [INFO] [stderr] | [INFO] [stderr] 56 | #[dipper] + use [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: expected item after attributes [INFO] [stderr] --> src/fnd/authn/jwt_token.rs:50:1 [INFO] [stderr] | [INFO] [stderr] 50 | #[dipper] + use

[INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: expected item after attributes [INFO] [stderr] --> src/fnd/authn/mfa.rs:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | #[dipper] + use [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/dyn_mod/manifest.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | if let Some(old_manifest) = MANIFEST_LIST.insert(manifest.name().clone(), manifest.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/dyn_mod/manifest.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) unsafe fn reg_manifest(manifest: Arc) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/fnd/authn/mod.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | env::set_var("DIPPER_SECRET_KEY", "123456"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: `--force-warn deprecated-safe-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 175 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 176 ~ unsafe { env::set_var("DIPPER_SECRET_KEY", "123456") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/fnd/authn/mod.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | env::set_var("DIPPER_SECRET_SATL", "x-mod"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 176 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 177 ~ unsafe { env::set_var("DIPPER_SECRET_SATL", "x-mod") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0432]: unresolved imports `super::CaptchaPair`, `super::Factor`, `super::JwtTokenPair`, `super::TotpData` [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/dyn_mod/manifest.rs:25:42 [INFO] [stdout] | [INFO] [stdout] 25 | static _X_: GlobalManifestMap = unsafe { &MANIFEST_LIST }; [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: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 25 | static _X_: GlobalManifestMap = unsafe { &raw const MANIFEST_LIST }; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/fnd/authn/signin.rs:4:20 [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/dyn_mod/manifest.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | if let Some(old_manifest) = MANIFEST_LIST.insert(manifest.name().clone(), manifest.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^--------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/dyn_mod/manifest.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 29 ~ match MANIFEST_LIST.insert(manifest.name().clone(), manifest.clone()) { Some(old_manifest) => { [INFO] [stdout] 30 | panic!( [INFO] [stdout] ... [INFO] [stdout] 34 | ) [INFO] [stdout] 35 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/dyn_mod/manifest.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | if let Some(old_manifest) = MANIFEST_LIST.insert(manifest.name().clone(), manifest.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 4 | use super::{Authn, CaptchaPair, Factor, JwtTokenPair, TotpData, UserHandle}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^ no `TotpData` in `fnd::authn` [INFO] [stderr] | | | | [INFO] [stderr] | | | no `JwtTokenPair` in `fnd::authn` [INFO] [stderr] | | no `Factor` in `fnd::authn` [INFO] [stderr] | no `CaptchaPair` in `fnd::authn` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `super::CaptchaPair`, `super::TotpData` [INFO] [stderr] --> src/fnd/authn/signup.rs:4:40 [INFO] [stderr] | [INFO] [stderr] 4 | use super::{password::Password, Authn, CaptchaPair, TotpData, UserHandle}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^ no `TotpData` in `fnd::authn` [INFO] [stderr] | | [INFO] [stderr] | no `CaptchaPair` in `fnd::authn` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JwtAuthn` in this scope [INFO] [stderr] --> src/fnd/authn/mod.rs:29:14 [INFO] [stderr] | [INFO] [stderr] 29 | jwt: Arc>, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JwtAuthn` in this scope [INFO] [stderr] --> src/fnd/authn/mod.rs:55:30 [INFO] [stderr] | [INFO] [stderr] 55 | pub fn jwt(&self) -> Arc> { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JwtAuthn` in this scope [INFO] [stderr] --> src/fnd/authn/mod.rs:64:23 [INFO] [stderr] | [INFO] [stderr] 64 | type Target = Arc>; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `CaptchaPair` in this scope [INFO] [stderr] --> src/fnd/authn/mod.rs:197:30 [INFO] [stderr] | [INFO] [stderr] 197 | .verify_captcha(&CaptchaPair { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `JwtAuthn` [INFO] [stderr] --> src/fnd/authn/mod.rs:108:23 [INFO] [stderr] | [INFO] [stderr] 108 | let mut jwt = JwtAuthn::new(self.user_handle.clone(), self.secret_refresh_interval, self.jwt_token_key).await?; [INFO] [stderr] | ^^^^^^^^ use of undeclared type `JwtAuthn` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `verify_captcha` found for reference `&authn::Authn` in the current scope [INFO] [stderr] --> src/fnd/authn/signin.rs:46:26 [INFO] [stderr] | [INFO] [stderr] 46 | self.verify_captcha(&captcha).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `&Authn` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `verify_totp_token` found for reference `&authn::Authn` in the current scope [INFO] [stderr] --> src/fnd/authn/signin.rs:51:40 [INFO] [stderr] | [INFO] [stderr] 51 | let matched = self.verify_totp_token(user_totp_info.totp_secret, TotpData::otp(&totp_token))?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ method not found in `&Authn` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `verify_captcha` found for reference `&authn::Authn` in the current scope [INFO] [stderr] --> src/fnd/authn/signin.rs:63:30 [INFO] [stderr] | [INFO] [stderr] 63 | self.verify_captcha(&captcha).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `&Authn` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `verify_captcha` found for reference `&authn::Authn` in the current scope [INFO] [stderr] --> src/fnd/authn/signin.rs:69:30 [INFO] [stderr] | [INFO] [stderr] 69 | self.verify_captcha(&captcha).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `&Authn` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `verify_user_totp_token` found for reference `&authn::Authn` in the current scope [INFO] [stderr] --> src/fnd/authn/signin.rs:71:26 [INFO] [stderr] | [INFO] [stderr] 71 | self.verify_user_totp_token(depot, &UserIdentifier::email(email), TotpData::email(&totp_token)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: there is a method `signup_totp_token` with a similar name, but with different arguments [INFO] [stderr] --> src/fnd/authn/signup.rs:72:5 [INFO] [stderr] | [INFO] [stderr] 72 | pub async fn signup_totp_token(&self, args: TotpData<()>) -> anyhow::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `verify_captcha` found for reference `&authn::Authn` in the current scope [INFO] [stderr] --> src/fnd/authn/signin.rs:78:30 [INFO] [stderr] | [INFO] [stderr] 78 | self.verify_captcha(&captcha).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `&Authn` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `verify_captcha` found for reference `&authn::Authn` in the current scope [INFO] [stderr] --> src/fnd/authn/signin.rs:84:30 [INFO] [stderr] | [INFO] [stderr] 84 | self.verify_captcha(&captcha).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `&Authn` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `verify_user_totp_token` found for reference `&authn::Authn` in the current scope [INFO] [stderr] --> src/fnd/authn/signin.rs:86:26 [INFO] [stderr] | [INFO] [stderr] 86 | self.verify_user_totp_token(depot, &UserIdentifier::phone(phone), TotpData::sms(&totp_token)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: there is a method `signup_totp_token` with a similar name, but with different arguments [INFO] [stderr] --> src/fnd/authn/signup.rs:72:5 [INFO] [stderr] | [INFO] [stderr] 72 | pub async fn signup_totp_token(&self, args: TotpData<()>) -> anyhow::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `new_jwt_token_pair` found for reference `&authn::Authn` in the current scope [INFO] [stderr] --> src/fnd/authn/signin.rs:91:14 [INFO] [stderr] | [INFO] [stderr] 91 | self.new_jwt_token_pair(user_id, None).await [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ method not found in `&Authn` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `obtain_pub_totp_token` found for reference `&authn::Authn` in the current scope [INFO] [stderr] --> src/fnd/authn/signup.rs:73:14 [INFO] [stderr] | [INFO] [stderr] 73 | self.obtain_pub_totp_token(args).await [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: there is a method `signup_totp_token` with a similar name [INFO] [stderr] | [INFO] [stderr] 73 | self.signup_totp_token(args).await [INFO] [stderr] | ~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `verify_captcha` found for reference `&authn::Authn` in the current scope [INFO] [stderr] --> src/fnd/authn/signup.rs:81:22 [INFO] [stderr] | [INFO] [stderr] 81 | self.verify_captcha(&captcha).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `&Authn` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `verify_pub_totp_token` found for reference `&authn::Authn` in the current scope [INFO] [stderr] --> src/fnd/authn/signup.rs:90:36 [INFO] [stderr] | [INFO] [stderr] 90 | let matched = self.verify_pub_totp_token(TotpData::sms(totp_token.as_str())).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: there is a method `signup_totp_token` with a similar name [INFO] [stderr] | [INFO] [stderr] 90 | let matched = self.signup_totp_token(TotpData::sms(totp_token.as_str())).await?; [INFO] [stderr] | ~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `verify_pub_totp_token` found for reference `&authn::Authn` in the current scope [INFO] [stderr] --> src/fnd/authn/signup.rs:102:36 [INFO] [stderr] | [INFO] [stderr] 102 | let matched = self.verify_pub_totp_token(TotpData::email(totp_token.as_str())).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: there is a method `signup_totp_token` with a similar name [INFO] [stderr] | [INFO] [stderr] 102 | let matched = self.signup_totp_token(TotpData::email(totp_token.as_str())).await?; [INFO] [stderr] | ~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `obtain_pub_totp_secret` found for struct `authn::Authn` in the current scope [INFO] [stderr] --> src/fnd/authn/mod.rs:185:33 [INFO] [stderr] | [INFO] [stderr] 26 | pub struct Authn { [INFO] [stderr] | ------------------------------- method `obtain_pub_totp_secret` not found for this struct [INFO] [stderr] ... [INFO] [stderr] 185 | let totp_secret = authn.obtain_pub_totp_secret().await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ method not found in `Authn` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `obtain_totp_token` found for struct `authn::Authn` in the current scope [INFO] [stderr] --> src/fnd/authn/mod.rs:186:32 [INFO] [stderr] | [INFO] [stderr] 26 | pub struct Authn { [INFO] [stderr] | ------------------------------- method `obtain_totp_token` not found for this struct [INFO] [stderr] ... [INFO] [stderr] 186 | let totp_token = authn.obtain_totp_token(TotpData::email(totp_secret.clone())).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ method not found in `Authn` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TotpData` [INFO] [stderr] --> src/fnd/authn/mod.rs:186:50 [INFO] [stderr] | [INFO] [stderr] 186 | let totp_token = authn.obtain_totp_token(TotpData::email(totp_secret.clone())).unwrap(); [INFO] [stderr] | ^^^^^^^^ use of undeclared type `TotpData` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `obtain_captcha` found for struct `authn::Authn` in the current scope [INFO] [stderr] --> src/fnd/authn/mod.rs:194:29 [INFO] [stderr] | [INFO] [stderr] 26 | pub struct Authn { [INFO] [stderr] | ------------------------------- method `obtain_captcha` not found for this struct [INFO] [stderr] ... [INFO] [stderr] 194 | let captcha = authn.obtain_captcha().await; [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `Authn` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `verify_captcha` found for struct `authn::Authn` in the current scope [INFO] [stderr] --> src/fnd/authn/mod.rs:197:14 [INFO] [stderr] | [INFO] [stderr] 26 | pub struct Authn { [INFO] [stderr] | ------------------------------- method `verify_captcha` not found for this struct [INFO] [stderr] ... [INFO] [stderr] 196 | let r = authn [INFO] [stderr] | _________________- [INFO] [stderr] 197 | | .verify_captcha(&CaptchaPair { [INFO] [stderr] | | -^^^^^^^^^^^^^^ method not found in `Authn` [INFO] [stderr] | |_____________| [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Factor` [INFO] [stderr] --> src/fnd/authn/mod.rs:220:21 [INFO] [stderr] | [INFO] [stdout] warning: `impl salvo::Handler` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/fnd/authn/default/mod.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | #[dipper] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/fnd/authn/default/mod.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | #[dipper] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the attribute macro `dipper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 56 | #[dipper] + use [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 220 | factor: Factor::totp_token { [INFO] [stdout] warning: `impl salvo::Handler` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/fnd/authn/default/mod.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | #[dipper] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/fnd/authn/default/mod.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | #[dipper] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the attribute macro `dipper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 56 | #[dipper] + use [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^ use of undeclared type `Factor` [INFO] [stdout] warning: `impl salvo::Handler` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/fnd/authn/default/mod.rs:109:44 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn get_user_totp_qr_goal(&self) -> impl Handler { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/fnd/authn/default/mod.rs:109:34 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn get_user_totp_qr_goal(&self) -> impl Handler { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 109 | pub fn get_user_totp_qr_goal(&self) -> impl Handler + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `impl salvo::Handler` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/fnd/authn/default/mod.rs:114:48 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn refresh_user_totp_qr_goal(&self) -> impl Handler { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/fnd/authn/default/mod.rs:114:38 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn refresh_user_totp_qr_goal(&self) -> impl Handler { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 114 | pub fn refresh_user_totp_qr_goal(&self) -> impl Handler + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: aborting due to 29 previous errors [INFO] [stdout] warning: `impl salvo::Handler` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/fnd/authn/default/mod.rs:119:41 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn jwt_verifying_hoop(&self) -> impl Handler { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/fnd/authn/default/mod.rs:119:31 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn jwt_verifying_hoop(&self) -> impl Handler { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 119 | pub fn jwt_verifying_hoop(&self) -> impl Handler + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `impl salvo::Handler` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/fnd/authn/default/mod.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | #[dipper] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/fnd/authn/default/mod.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | #[dipper] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the attribute macro `dipper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 56 | #[dipper] + use [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0432, E0433, E0599. [INFO] [stdout] warning: `impl salvo::Handler` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/fnd/authn/default/mod.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | #[dipper] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/fnd/authn/default/mod.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | #[dipper] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the attribute macro `dipper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 56 | #[dipper] + use [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] warning: `impl salvo::Handler` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/fnd/authn/default/mod.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | #[dipper] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/fnd/authn/default/mod.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | #[dipper] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the attribute macro `dipper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 56 | #[dipper] + use [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Original diagnostics will follow. [INFO] [stdout] warning: `impl salvo::Handler` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/fnd/authn/jwt_token.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | #[dipper] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/fnd/authn/jwt_token.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | #[dipper] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the attribute macro `dipper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 50 | #[dipper] + use

[INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `impl salvo::Handler` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/fnd/authn/mfa.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[dipper] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/fnd/authn/mfa.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[dipper] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the attribute macro `dipper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 17 | #[dipper] + use [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl salvo::Handler` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/fnd/authn/mfa.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[dipper] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/fnd/authn/mfa.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[dipper] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the attribute macro `dipper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 17 | #[dipper] + use [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl salvo::Handler` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/fnd/authn/mfa.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[dipper] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/fnd/authn/mfa.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[dipper] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the attribute macro `dipper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 17 | #[dipper] + use [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/fnd/secret_key.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | if let Some(join_handle) = &self.join_handle { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/fnd/secret_key.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 93 ~ match &self.join_handle { Some(join_handle) => { [INFO] [stdout] 94 | join_handle.abort(); [INFO] [stdout] 95 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/mw/metrics.rs:57:26 [INFO] [stdout] | [INFO] [stdout] 57 | let msg = if let ResBody::Error(body) = &res.body { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/mw/metrics.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 57 ~ let msg = match &res.body { ResBody::Error(body) => { [INFO] [stdout] 58 | body.to_string() [INFO] [stdout] 59 ~ } _ => { [INFO] [stdout] 60 | format!("ErrorCode: {}", status.as_u16()) [INFO] [stdout] 61 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/app.rs:277:26 [INFO] [stdout] | [INFO] [stdout] 277 | debug!("{}", MANIFEST_LIST.to_xml_string()); [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 is discouraged [INFO] [stdout] --> src/app.rs:305:51 [INFO] [stdout] | [INFO] [stdout] 305 | Arc::new(affix_state::inject(unsafe { &MANIFEST_LIST })), [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 305 | Arc::new(affix_state::inject(unsafe { &raw const MANIFEST_LIST })), [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 06s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking dipper v0.3.3 (/tmp/fixit) [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/fnd/authn/mod.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | env::set_var("DIPPER_SECRET_KEY", "123456"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/fnd/authn/mod.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | env::set_var("DIPPER_SECRET_SATL", "x-mod"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dipper` (lib test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "ed847a7d026fb40139532aa1fd8b3a30036486104a3264df40433ece6022e2e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed847a7d026fb40139532aa1fd8b3a30036486104a3264df40433ece6022e2e5", kill_on_drop: false }` [INFO] [stdout] ed847a7d026fb40139532aa1fd8b3a30036486104a3264df40433ece6022e2e5