[INFO] fetching crate hash_router 0.1.2... [INFO] testing hash_router-0.1.2 against 1.90.0 for beta-1.91-3 [INFO] extracting crate hash_router 0.1.2 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate hash_router 0.1.2 [INFO] finished tweaking crates.io crate hash_router 0.1.2 [INFO] tweaked toml for crates.io crate hash_router 0.1.2 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hash_router 0.1.2 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate hash_router 0.1.2 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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded redox_syscall v0.5.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.81 [INFO] [stderr] Downloaded tokio-macros v2.2.0 [INFO] [stderr] Downloaded supabase_rs v0.2.7 [INFO] [stderr] Downloaded bitflags v2.5.0 [INFO] [stderr] Downloaded dotenv v0.15.0 [INFO] [stderr] Downloaded http-body-util v0.1.1 [INFO] [stderr] Downloaded getrandom v0.2.14 [INFO] [stderr] Downloaded hyper-util v0.1.3 [INFO] [stderr] Downloaded openssl-sys v0.9.102 [INFO] [stderr] Downloaded url v2.5.0 [INFO] [stderr] Downloaded memchr v2.7.2 [INFO] [stderr] Downloaded serde v1.0.200 [INFO] [stderr] Downloaded cc v1.0.96 [INFO] [stderr] Downloaded serde_json v1.0.116 [INFO] [stderr] Downloaded h2 v0.4.4 [INFO] [stderr] Downloaded reqwest v0.12.4 [INFO] [stderr] Downloaded serde_derive v1.0.200 [INFO] [stderr] Downloaded syn v2.0.60 [INFO] [stderr] Downloaded miniz_oxide v0.7.2 [INFO] [stderr] Downloaded openssl v0.10.64 [INFO] [stderr] Downloaded log v0.4.21 [INFO] [stderr] Downloaded rustc-demangle v0.1.23 [INFO] [stderr] Downloaded rustls-pki-types v1.5.0 [INFO] [stderr] Downloaded errno v0.3.8 [INFO] [stderr] Downloaded num_cpus v1.16.0 [INFO] [stderr] Downloaded parking_lot v0.12.2 [INFO] [stderr] Downloaded libc v0.2.154 [INFO] [stderr] Downloaded linux-raw-sys v0.4.13 [INFO] [stderr] Downloaded tokio v1.37.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 734ac78d6e736dd45ac268b9edcf380d4416bb0c49fd07b6a311afcef144f3db [INFO] running `Command { std: "docker" "start" "-a" "734ac78d6e736dd45ac268b9edcf380d4416bb0c49fd07b6a311afcef144f3db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "734ac78d6e736dd45ac268b9edcf380d4416bb0c49fd07b6a311afcef144f3db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "734ac78d6e736dd45ac268b9edcf380d4416bb0c49fd07b6a311afcef144f3db", kill_on_drop: false }` [INFO] [stdout] 734ac78d6e736dd45ac268b9edcf380d4416bb0c49fd07b6a311afcef144f3db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3662af7c744a28ddadef2477a74533daa99de7f5bfaeac31ef7e54b3e5f742f2 [INFO] running `Command { std: "docker" "start" "-a" "3662af7c744a28ddadef2477a74533daa99de7f5bfaeac31ef7e54b3e5f742f2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling cc v1.0.96 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling serde v1.0.200 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling rustls-pki-types v1.5.0 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.4.4 [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stderr] Compiling hyper-util v0.1.3 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.4 [INFO] [stderr] Compiling supabase_rs v0.2.7 [INFO] [stderr] Compiling hash_router v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 04s [INFO] running `Command { std: "docker" "inspect" "3662af7c744a28ddadef2477a74533daa99de7f5bfaeac31ef7e54b3e5f742f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3662af7c744a28ddadef2477a74533daa99de7f5bfaeac31ef7e54b3e5f742f2", kill_on_drop: false }` [INFO] [stdout] 3662af7c744a28ddadef2477a74533daa99de7f5bfaeac31ef7e54b3e5f742f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1784ea548a67ee763795d1abb5767f65a7339e0dde1c3fab611411f159e4d1e3 [INFO] running `Command { std: "docker" "start" "-a" "1784ea548a67ee763795d1abb5767f65a7339e0dde1c3fab611411f159e4d1e3", kill_on_drop: false }` [INFO] [stderr] Compiling hash_router v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.58s [INFO] running `Command { std: "docker" "inspect" "1784ea548a67ee763795d1abb5767f65a7339e0dde1c3fab611411f159e4d1e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1784ea548a67ee763795d1abb5767f65a7339e0dde1c3fab611411f159e4d1e3", kill_on_drop: false }` [INFO] [stdout] 1784ea548a67ee763795d1abb5767f65a7339e0dde1c3fab611411f159e4d1e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b838735ce59244ee54c320a5cc58313af5bdec831b73e073c3553973e89ae276 [INFO] running `Command { std: "docker" "start" "-a" "b838735ce59244ee54c320a5cc58313af5bdec831b73e073c3553973e89ae276", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hash_router-578343d9af839254) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/hash_router-936d9a640a4a134b) [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 hash_router [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/errors.rs - errors::HashRoutingError (line 21) ... FAILED [INFO] [stdout] test src/model.rs - model::DiscordMessage::new (line 28) ... FAILED [INFO] [stdout] test src/db/supabase/client.rs - db::supabase::client::DiscordMessage::add_new_message (line 94) ... FAILED [INFO] [stdout] test src/errors.rs - errors::Errors (line 107) ... FAILED [INFO] [stdout] test src/db/supabase/client.rs - db::supabase::client::DiscordMessage (line 63) ... FAILED [INFO] [stdout] test src/model.rs - model::DiscordMessage::construct_message_link (line 54) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/errors.rs - errors::HashRoutingError (line 21) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `HashRoutingError` in this scope [INFO] [stdout] --> src/errors.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 3 | let error = HashRoutingError { error: "Trade hash not found".to_string() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use hash_router::errors::HashRoutingError; [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 E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/model.rs - model::DiscordMessage::new (line 28) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DiscordMessage` [INFO] [stdout] --> src/model.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 3 | let message = DiscordMessage::new(channel_id, guild_id, message_id, trade_hash); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `DiscordMessage` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use hash_router::model::DiscordMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `channel_id` in this scope [INFO] [stdout] --> src/model.rs:29:35 [INFO] [stdout] | [INFO] [stdout] 3 | let message = DiscordMessage::new(channel_id, guild_id, message_id, trade_hash); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `guild_id` in this scope [INFO] [stdout] --> src/model.rs:29:47 [INFO] [stdout] | [INFO] [stdout] 3 | let message = DiscordMessage::new(channel_id, guild_id, message_id, trade_hash); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `message_id` in this scope [INFO] [stdout] --> src/model.rs:29:57 [INFO] [stdout] | [INFO] [stdout] 3 | let message = DiscordMessage::new(channel_id, guild_id, message_id, trade_hash); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `trade_hash` in this scope [INFO] [stdout] --> src/model.rs:29:69 [INFO] [stdout] | [INFO] [stdout] 3 | let message = DiscordMessage::new(channel_id, guild_id, message_id, trade_hash); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `channel_id` in this scope [INFO] [stdout] --> src/model.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(message.channel_id, channel_id); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `guild_id` in this scope [INFO] [stdout] --> src/model.rs:32:30 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(message.guild_id, guild_id); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `message_id` in this scope [INFO] [stdout] --> src/model.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(message.message_id, message_id); [INFO] [stdout] | ^^^^^^^^^^ help: a local variable with a similar name exists: `message` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `trade_hash` in this scope [INFO] [stdout] --> src/model.rs:34:32 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(message.trade_hash, trade_hash); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 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] ---- src/db/supabase/client.rs - db::supabase::client::DiscordMessage::add_new_message (line 94) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `xylex_hash_router` [INFO] [stdout] --> src/db/supabase/client.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 5 | use xylex_hash_router::db::supabase::client::add_new_message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `xylex_hash_router` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `xylex_hash_router`, use `cargo add xylex_hash_router` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `xylex_hash_router` [INFO] [stdout] --> src/db/supabase/client.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 6 | use xylex_hash_router::model::DiscordMessage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `xylex_hash_router` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `xylex_hash_router`, use `cargo add xylex_hash_router` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `message_id` in this scope [INFO] [stdout] --> src/db/supabase/client.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 10 | message_id, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `channel_id` in this scope [INFO] [stdout] --> src/db/supabase/client.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 11 | channel_id, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `guild_id` in this scope [INFO] [stdout] --> src/db/supabase/client.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 12 | guild_id, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `trade_hash` in this scope [INFO] [stdout] --> src/db/supabase/client.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 13 | trade_hash [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/db/supabase/client.rs:107:44 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_db_supabase_client_rs_94_0() { [INFO] [stdout] | ------------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 16 | let trade_hash = message.add_new_message().await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/errors.rs - errors::Errors (line 107) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Errors` [INFO] [stdout] --> src/errors.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 3 | let error = Errors::TradeHashNotFound; [INFO] [stdout] | ^^^^^^ use of undeclared type `Errors` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use hash_router::errors::Errors; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/errors.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_errors_rs_107_0() { [INFO] [stdout] | - help: try adding a return type: `-> &'static str` [INFO] [stdout] ... [INFO] [stdout] 7 | "Trade hash not found." [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `&str` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/db/supabase/client.rs - db::supabase::client::DiscordMessage (line 63) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `xylex_hash_router` [INFO] [stdout] --> src/db/supabase/client.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 5 | use xylex_hash_router::db::supabase::client::add_new_message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `xylex_hash_router` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `xylex_hash_router`, use `cargo add xylex_hash_router` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `xylex_hash_router` [INFO] [stdout] --> src/db/supabase/client.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 6 | use xylex_hash_router::model::DiscordMessage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `xylex_hash_router` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `xylex_hash_router`, use `cargo add xylex_hash_router` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `message_id` in this scope [INFO] [stdout] --> src/db/supabase/client.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 10 | message_id, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `channel_id` in this scope [INFO] [stdout] --> src/db/supabase/client.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 11 | channel_id, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `guild_id` in this scope [INFO] [stdout] --> src/db/supabase/client.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 12 | guild_id, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `trade_hash` in this scope [INFO] [stdout] --> src/db/supabase/client.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 13 | trade_hash [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/db/supabase/client.rs:76:44 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_db_supabase_client_rs_63_0() { [INFO] [stdout] | ------------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 16 | let trade_hash = message.add_new_message().await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/model.rs - model::DiscordMessage::construct_message_link (line 54) stdout ---- [INFO] [stdout] error: format argument must be a string literal [INFO] [stdout] --> src/model.rs:56:87 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(message.construct_message_link(), "https://discord.com/channels/{}/{}/{}", self.guild_id, self.channel_id, self.message_id); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might be missing a string literal to format with [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(message.construct_message_link(), "https://discord.com/channels/{}/{}/{}", "{} {} {}", self.guild_id, self.channel_id, self.message_id); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DiscordMessage` [INFO] [stdout] --> src/model.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 3 | let message = DiscordMessage::new(channel_id, guild_id, message_id, trade_hash); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `DiscordMessage` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use hash_router::model::DiscordMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `channel_id` in this scope [INFO] [stdout] --> src/model.rs:55:35 [INFO] [stdout] | [INFO] [stdout] 3 | let message = DiscordMessage::new(channel_id, guild_id, message_id, trade_hash); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `guild_id` in this scope [INFO] [stdout] --> src/model.rs:55:47 [INFO] [stdout] | [INFO] [stdout] 3 | let message = DiscordMessage::new(channel_id, guild_id, message_id, trade_hash); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `message_id` in this scope [INFO] [stdout] --> src/model.rs:55:57 [INFO] [stdout] | [INFO] [stdout] 3 | let message = DiscordMessage::new(channel_id, guild_id, message_id, trade_hash); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `trade_hash` in this scope [INFO] [stdout] --> src/model.rs:55:69 [INFO] [stdout] | [INFO] [stdout] 3 | let message = DiscordMessage::new(channel_id, guild_id, message_id, trade_hash); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 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/db/supabase/client.rs - db::supabase::client::DiscordMessage (line 63) [INFO] [stdout] src/db/supabase/client.rs - db::supabase::client::DiscordMessage::add_new_message (line 94) [INFO] [stdout] src/errors.rs - errors::Errors (line 107) [INFO] [stdout] src/errors.rs - errors::HashRoutingError (line 21) [INFO] [stdout] src/model.rs - model::DiscordMessage::construct_message_link (line 54) [INFO] [stdout] src/model.rs - model::DiscordMessage::new (line 28) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.35s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "b838735ce59244ee54c320a5cc58313af5bdec831b73e073c3553973e89ae276", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b838735ce59244ee54c320a5cc58313af5bdec831b73e073c3553973e89ae276", kill_on_drop: false }` [INFO] [stdout] b838735ce59244ee54c320a5cc58313af5bdec831b73e073c3553973e89ae276