[INFO] cloning repository https://github.com/RCALabs/mmogit [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RCALabs/mmogit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRCALabs%2Fmmogit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRCALabs%2Fmmogit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ee8a0d4e337809b236848cc7ddbf550ab034d8d8 [INFO] testing RCALabs/mmogit against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRCALabs%2Fmmogit" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/RCALabs/mmogit [INFO] finished tweaking git repo https://github.com/RCALabs/mmogit [INFO] tweaked toml for git repo https://github.com/RCALabs/mmogit written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/RCALabs/mmogit on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/RCALabs/mmogit already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitcoin-io v0.1.3 [INFO] [stderr] Downloaded nostr-zapper v0.35.0 [INFO] [stderr] Downloaded wit-bindgen v0.45.0 [INFO] [stderr] Downloaded base58ck v0.1.0 [INFO] [stderr] Downloaded bitcoin_hashes v0.14.0 [INFO] [stderr] Downloaded env_home v0.1.0 [INFO] [stderr] Downloaded tokio-socks v0.5.2 [INFO] [stderr] Downloaded clap_derive v4.5.45 [INFO] [stderr] Downloaded clap v4.5.46 [INFO] [stderr] Downloaded nostr-database v0.35.0 [INFO] [stderr] Downloaded ed25519-dalek v2.2.0 [INFO] [stderr] Downloaded quinn v0.11.9 [INFO] [stderr] Downloaded bip39 v2.2.0 [INFO] [stderr] Downloaded nostr v0.35.0 [INFO] [stderr] Downloaded clap_builder v4.5.46 [INFO] [stderr] Downloaded clearscreen v4.0.2 [INFO] [stderr] Downloaded git2 v0.20.2 [INFO] [stderr] Downloaded nostr-relay-pool v0.35.0 [INFO] [stderr] Downloaded bech32 v0.11.0 [INFO] [stderr] Downloaded quinn-proto v0.11.13 [INFO] [stderr] Downloaded terminfo v0.9.0 [INFO] [stderr] Downloaded async-wsocket v0.9.0 [INFO] [stderr] Downloaded bitcoin_hashes v0.13.0 [INFO] [stderr] Downloaded bitcoin-internals v0.3.0 [INFO] [stderr] Downloaded quinn-udp v0.5.14 [INFO] [stderr] Downloaded bitcoin v0.32.7 [INFO] [stderr] Downloaded which v8.0.0 [INFO] [stderr] Downloaded dialoguer v0.12.0 [INFO] [stderr] Downloaded hex-conservative v0.1.2 [INFO] [stderr] Downloaded bitcoin-units v0.1.2 [INFO] [stderr] Downloaded negentropy v0.3.1 [INFO] [stderr] Downloaded negentropy v0.4.3 [INFO] [stderr] Downloaded nostr-sdk v0.35.0 [INFO] [stderr] Downloaded wasi v0.14.3+wasi-0.2.4 [INFO] [stderr] Downloaded lnurl-pay v0.6.0 [INFO] [stderr] Downloaded nostr-signer v0.35.0 [INFO] [stderr] Downloaded libssh2-sys v0.3.1 [INFO] [stderr] Downloaded async-utility v0.2.0 [INFO] [stderr] Downloaded atomic-destructor v0.2.0 [INFO] [stderr] Downloaded bitcoin-internals v0.2.0 [INFO] [stderr] Downloaded hex_lit v0.1.1 [INFO] [stderr] Downloaded nwc v0.35.0 [INFO] [stderr] Downloaded hex-conservative v0.2.1 [INFO] [stderr] Downloaded libgit2-sys v0.18.2+1.9.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7d5967988ca4fe2647135f1217090801fe624a29ebf94d5135c8b65f1c278484 [INFO] running `Command { std: "docker" "start" "-a" "7d5967988ca4fe2647135f1217090801fe624a29ebf94d5135c8b65f1c278484", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d5967988ca4fe2647135f1217090801fe624a29ebf94d5135c8b65f1c278484", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d5967988ca4fe2647135f1217090801fe624a29ebf94d5135c8b65f1c278484", kill_on_drop: false }` [INFO] [stdout] 7d5967988ca4fe2647135f1217090801fe624a29ebf94d5135c8b65f1c278484 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 61cb479714107975d54c5be66a6b8243e14db0a937a35be6b0551354aca28118 [INFO] running `Command { std: "docker" "start" "-a" "61cb479714107975d54c5be66a6b8243e14db0a937a35be6b0551354aca28118", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Compiling block-padding v0.3.3 [INFO] [stderr] Compiling bitcoin-io v0.1.3 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling bitcoin-internals v0.3.0 [INFO] [stderr] Compiling hex-conservative v0.2.1 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling hex-conservative v0.1.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling bitcoin v0.32.7 [INFO] [stderr] Compiling bech32 v0.11.0 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling bitcoin_hashes v0.13.0 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling salsa20 v0.10.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling cbc v0.1.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling scrypt v0.11.0 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling negentropy v0.3.1 [INFO] [stderr] Compiling negentropy v0.4.3 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling env_home v0.1.0 [INFO] [stderr] Compiling terminfo v0.9.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling clap_builder v4.5.46 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling console v0.16.0 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling secp256k1-sys v0.10.1 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling libssh2-sys v0.3.1 [INFO] [stderr] Compiling libgit2-sys v0.18.2+1.9.1 [INFO] [stderr] Compiling which v8.0.0 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling dialoguer v0.12.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling clap_derive v4.5.45 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling atomic-destructor v0.2.0 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling clearscreen v4.0.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling ed25519-dalek v2.2.0 [INFO] [stderr] Compiling clap v4.5.46 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling tungstenite v0.24.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling bitcoin_hashes v0.14.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling bip39 v2.2.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling bitcoin-units v0.1.2 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling async-utility v0.2.0 [INFO] [stderr] Compiling tokio-socks v0.5.2 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-tungstenite v0.24.0 [INFO] [stderr] Compiling git2 v0.20.2 [INFO] [stderr] Compiling async-wsocket v0.9.0 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling base58ck v0.1.0 [INFO] [stderr] Compiling secp256k1 v0.29.1 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling lnurl-pay v0.6.0 [INFO] [stderr] Compiling nostr v0.35.0 [INFO] [stderr] Compiling nostr-database v0.35.0 [INFO] [stderr] Compiling nostr-zapper v0.35.0 [INFO] [stderr] Compiling nostr-relay-pool v0.35.0 [INFO] [stderr] Compiling nostr-signer v0.35.0 [INFO] [stderr] Compiling nwc v0.35.0 [INFO] [stderr] Compiling nostr-sdk v0.35.0 [INFO] [stderr] Compiling mmogit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/foundation/key_derivation.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/foundation/unique_id.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | let random: u32 = rand::thread_rng().gen(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/foundation/unique_id.rs:26:42 [INFO] [stdout] | [INFO] [stdout] 26 | let random: u32 = rand::thread_rng().gen(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crypto` [INFO] [stdout] --> src/main.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | use mmogit::foundation::{crypto, identity}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | use mmogit::network::{self, sync, nostr_discovery}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 18s [INFO] running `Command { std: "docker" "inspect" "61cb479714107975d54c5be66a6b8243e14db0a937a35be6b0551354aca28118", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61cb479714107975d54c5be66a6b8243e14db0a937a35be6b0551354aca28118", kill_on_drop: false }` [INFO] [stdout] 61cb479714107975d54c5be66a6b8243e14db0a937a35be6b0551354aca28118 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 444d029a42744851d4324e4728a50b676c24c069824b379c3c5229bea4b62c88 [INFO] running `Command { std: "docker" "start" "-a" "444d029a42744851d4324e4728a50b676c24c069824b379c3c5229bea4b62c88", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/foundation/key_derivation.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/foundation/unique_id.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | let random: u32 = rand::thread_rng().gen(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mmogit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/foundation/unique_id.rs:26:42 [INFO] [stdout] | [INFO] [stdout] 26 | let random: u32 = rand::thread_rng().gen(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crypto` [INFO] [stdout] --> src/main.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | use mmogit::foundation::{crypto, identity}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | use mmogit::network::{self, sync, nostr_discovery}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/foundation/key_derivation.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/interface/show.rs:799:9 [INFO] [stdout] | [INFO] [stdout] 799 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/network/sync.rs:355:9 [INFO] [stdout] | [INFO] [stdout] 355 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/foundation/unique_id.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | let random: u32 = rand::thread_rng().gen(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/foundation/unique_id.rs:26:42 [INFO] [stdout] | [INFO] [stdout] 26 | let random: u32 = rand::thread_rng().gen(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.73s [INFO] running `Command { std: "docker" "inspect" "444d029a42744851d4324e4728a50b676c24c069824b379c3c5229bea4b62c88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "444d029a42744851d4324e4728a50b676c24c069824b379c3c5229bea4b62c88", kill_on_drop: false }` [INFO] [stdout] 444d029a42744851d4324e4728a50b676c24c069824b379c3c5229bea4b62c88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cc9a8ed1fa12d270b056b581e24e53cf73cd987e2b29c5fdf06d52ef60291f10 [INFO] running `Command { std: "docker" "start" "-a" "cc9a8ed1fa12d270b056b581e24e53cf73cd987e2b29c5fdf06d52ef60291f10", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Context` [INFO] [stderr] --> src/foundation/key_derivation.rs:23:14 [INFO] [stderr] | [INFO] [stderr] 23 | use anyhow::{Context, Result}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stderr] --> src/foundation/unique_id.rs:26:29 [INFO] [stderr] | [INFO] [stderr] 26 | let random: u32 = rand::thread_rng().gen(); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stderr] --> src/foundation/unique_id.rs:26:42 [INFO] [stderr] | [INFO] [stderr] 26 | let random: u32 = rand::thread_rng().gen(); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::*` [INFO] [stderr] --> src/interface/show.rs:799:9 [INFO] [stderr] | [INFO] [stderr] 799 | use super::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::*` [INFO] [stderr] --> src/network/sync.rs:355:9 [INFO] [stderr] | [INFO] [stderr] 355 | use super::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `mmogit` (lib) generated 3 warnings (run `cargo fix --lib -p mmogit` to apply 1 suggestion) [INFO] [stderr] warning: `mmogit` (lib test) generated 5 warnings (3 duplicates) (run `cargo fix --lib -p mmogit --tests` to apply 2 suggestions) [INFO] [stderr] warning: unused import: `crypto` [INFO] [stderr] --> src/main.rs:35:26 [INFO] [stderr] | [INFO] [stderr] 35 | use mmogit::foundation::{crypto, identity}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/main.rs:38:23 [INFO] [stderr] | [INFO] [stderr] 38 | use mmogit::network::{self, sync, nostr_discovery}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: `mmogit` (bin "mmogit" test) generated 2 warnings (run `cargo fix --bin "mmogit" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mmogit-721b85e756d45890) [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test foundation::crypto::tests::test_envelope_roundtrip ... ok [INFO] [stdout] test foundation::crypto::tests::test_tamper_detection ... ok [INFO] [stdout] test foundation::key_derivation::tests::test_deterministic_derivation ... ok [INFO] [stdout] test foundation::key_derivation::tests::test_domain_separation ... ok [INFO] [stdout] test foundation::crypto::tests::test_wrong_key_fails ... ok [INFO] [stdout] test interface::show::tests::test_signature_verification ... ok [INFO] [stdout] test network::nostr_discovery::tests::test_relay_list ... ok [INFO] [stdout] test network::sync::tests::test_merge_conflict_resolution ... ok [INFO] [stdout] test network::sync::tests::test_sync_without_remotes ... ok [INFO] [stdout] test network::tests::test_message_serialization ... ok [INFO] [stdout] test protocol::memory::tests::test_memory_creation ... ok [INFO] [stdout] test protocol::memory::tests::test_memory_serialization ... ok [INFO] [stdout] test protocol::memory::tests::test_memory_search ... ok [INFO] [stdout] test foundation::key_derivation::tests::test_key_independence ... ok [INFO] [stdout] test foundation::unique_id::tests::test_uniqueness ... ok [INFO] [stdout] test foundation::unique_id::tests::test_concurrent_uniqueness ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.29s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/mmogit-1ce1d9cf94548fd8) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests mmogit [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/protocol/memory.rs - protocol::memory::StructuredMemory::observe (line 165) ... FAILED [INFO] [stdout] test src/interface/show.rs - interface::show::recall (line 666) ... FAILED [INFO] [stdout] test src/foundation/identity.rs - foundation::identity::init_with_phrase (line 168) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/protocol/memory.rs - protocol::memory::StructuredMemory::observe (line 165) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StructuredMemory` [INFO] [stdout] --> src/protocol/memory.rs:166:14 [INFO] [stdout] | [INFO] [stdout] 3 | let memory = StructuredMemory::observe( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `StructuredMemory` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use mmogit::StructuredMemory; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/interface/show.rs - interface::show::recall (line 666) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `recall` in this scope [INFO] [stdout] --> src/interface/show.rs:668:1 [INFO] [stdout] | [INFO] [stdout] 4 | recall(config_dir, Some("observation".to_string()), None, Some(24), Some(0.8))?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use mmogit::interface::show::recall; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `config_dir` in this scope [INFO] [stdout] --> src/interface/show.rs:668:8 [INFO] [stdout] | [INFO] [stdout] 4 | recall(config_dir, Some("observation".to_string()), None, Some(24), Some(0.8))?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use dirs::config_dir; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `recall` in this scope [INFO] [stdout] --> src/interface/show.rs:671:1 [INFO] [stdout] | [INFO] [stdout] 7 | recall(config_dir, Some("learning".to_string()), Some("rust".to_string()), None, None)?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use mmogit::interface::show::recall; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `config_dir` in this scope [INFO] [stdout] --> src/interface/show.rs:671:8 [INFO] [stdout] | [INFO] [stdout] 7 | recall(config_dir, Some("learning".to_string()), Some("rust".to_string()), None, None)?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use dirs::config_dir; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `recall` in this scope [INFO] [stdout] --> src/interface/show.rs:674:1 [INFO] [stdout] | [INFO] [stdout] 10 | recall(config_dir, Some("reflection".to_string()), None, Some(168), None)?; // Last week [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use mmogit::interface::show::recall; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `config_dir` in this scope [INFO] [stdout] --> src/interface/show.rs:674:8 [INFO] [stdout] | [INFO] [stdout] 10 | recall(config_dir, Some("reflection".to_string()), None, Some(168), None)?; // Last week [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use dirs::config_dir; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `recall` in this scope [INFO] [stdout] --> src/interface/show.rs:677:1 [INFO] [stdout] | [INFO] [stdout] 13 | recall(config_dir, Some("question".to_string()), None, None, None)?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use mmogit::interface::show::recall; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `config_dir` in this scope [INFO] [stdout] --> src/interface/show.rs:677:8 [INFO] [stdout] | [INFO] [stdout] 13 | recall(config_dir, Some("question".to_string()), None, None, None)?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use dirs::config_dir; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/foundation/identity.rs - foundation::identity::init_with_phrase (line 168) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `session_id` in this scope [INFO] [stdout] --> src/foundation/identity.rs:170:36 [INFO] [stdout] | [INFO] [stdout] 4 | let seed = format!("claude-{}-{}", session_id, timestamp); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `timestamp` in this scope [INFO] [stdout] --> src/foundation/identity.rs:170:48 [INFO] [stdout] | [INFO] [stdout] 4 | let seed = format!("claude-{}-{}", session_id, timestamp); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `init_with_phrase` in this scope [INFO] [stdout] --> src/foundation/identity.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 5 | init_with_phrase(&seed, true, config_dir)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use mmogit::foundation::identity::init_with_phrase; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `config_dir` in this scope [INFO] [stdout] --> src/foundation/identity.rs:171:31 [INFO] [stdout] | [INFO] [stdout] 5 | init_with_phrase(&seed, true, config_dir)?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use dirs::config_dir; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `model_name` in this scope [INFO] [stdout] --> src/foundation/identity.rs:174:32 [INFO] [stdout] | [INFO] [stdout] 8 | let seed = format!("{}-{}-{}", model_name, user_id, context_hash); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `user_id` in this scope [INFO] [stdout] --> src/foundation/identity.rs:174:44 [INFO] [stdout] | [INFO] [stdout] 8 | let seed = format!("{}-{}-{}", model_name, user_id, context_hash); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `context_hash` in this scope [INFO] [stdout] --> src/foundation/identity.rs:174:53 [INFO] [stdout] | [INFO] [stdout] 8 | let seed = format!("{}-{}-{}", model_name, user_id, context_hash); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `init_with_phrase` in this scope [INFO] [stdout] --> src/foundation/identity.rs:175:1 [INFO] [stdout] | [INFO] [stdout] 9 | init_with_phrase(&seed, true, config_dir)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use mmogit::foundation::identity::init_with_phrase; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `config_dir` in this scope [INFO] [stdout] --> src/foundation/identity.rs:175:31 [INFO] [stdout] | [INFO] [stdout] 9 | init_with_phrase(&seed, true, config_dir)?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use dirs::config_dir; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mnemonic` [INFO] [stdout] --> src/foundation/identity.rs:178:16 [INFO] [stdout] | [INFO] [stdout] 12 | let mnemonic = Mnemonic::generate(24)?; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Mnemonic` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use bip39::Mnemonic; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `init_with_phrase` in this scope [INFO] [stdout] --> src/foundation/identity.rs:179:1 [INFO] [stdout] | [INFO] [stdout] 13 | init_with_phrase(&mnemonic.to_string(), true, config_dir)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use mmogit::foundation::identity::init_with_phrase; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `config_dir` in this scope [INFO] [stdout] --> src/foundation/identity.rs:179:47 [INFO] [stdout] | [INFO] [stdout] 13 | init_with_phrase(&mnemonic.to_string(), true, config_dir)?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use dirs::config_dir; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/foundation/identity.rs - foundation::identity::init_with_phrase (line 168) [INFO] [stdout] src/interface/show.rs - interface::show::recall (line 666) [INFO] [stdout] src/protocol/memory.rs - protocol::memory::StructuredMemory::observe (line 165) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "cc9a8ed1fa12d270b056b581e24e53cf73cd987e2b29c5fdf06d52ef60291f10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc9a8ed1fa12d270b056b581e24e53cf73cd987e2b29c5fdf06d52ef60291f10", kill_on_drop: false }` [INFO] [stdout] cc9a8ed1fa12d270b056b581e24e53cf73cd987e2b29c5fdf06d52ef60291f10