[INFO] fetching crate hash_router 0.1.2... [INFO] testing hash_router-0.1.2 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate hash_router 0.1.2 into /workspace/builds/worker-2-tc2/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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate hash_router 0.1.2 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 69dc742ddef6159135ad3f430afb1fd6b139a3f36d74faebc36fa04ac90b61d0 [INFO] running `Command { std: "docker" "start" "-a" "69dc742ddef6159135ad3f430afb1fd6b139a3f36d74faebc36fa04ac90b61d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69dc742ddef6159135ad3f430afb1fd6b139a3f36d74faebc36fa04ac90b61d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69dc742ddef6159135ad3f430afb1fd6b139a3f36d74faebc36fa04ac90b61d0", kill_on_drop: false }` [INFO] [stdout] 69dc742ddef6159135ad3f430afb1fd6b139a3f36d74faebc36fa04ac90b61d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 218bfee1e2f6e32ae625d3977dff68a5ee10dbd32e7f8c0dc7e71c9a02f98ae0 [INFO] running `Command { std: "docker" "start" "-a" "218bfee1e2f6e32ae625d3977dff68a5ee10dbd32e7f8c0dc7e71c9a02f98ae0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling cc v1.0.96 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling openssl v0.10.64 [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 futures-channel v0.3.30 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rustls-pki-types v1.5.0 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling rand v0.8.5 [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 serde_json v1.0.116 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling pin-project v1.1.5 [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 53.40s [INFO] running `Command { std: "docker" "inspect" "218bfee1e2f6e32ae625d3977dff68a5ee10dbd32e7f8c0dc7e71c9a02f98ae0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "218bfee1e2f6e32ae625d3977dff68a5ee10dbd32e7f8c0dc7e71c9a02f98ae0", kill_on_drop: false }` [INFO] [stdout] 218bfee1e2f6e32ae625d3977dff68a5ee10dbd32e7f8c0dc7e71c9a02f98ae0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 484a345310992c8553428740a059dfddc7f331abea8b393004ed45f102d25880 [INFO] running `Command { std: "docker" "start" "-a" "484a345310992c8553428740a059dfddc7f331abea8b393004ed45f102d25880", 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.70s [INFO] running `Command { std: "docker" "inspect" "484a345310992c8553428740a059dfddc7f331abea8b393004ed45f102d25880", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "484a345310992c8553428740a059dfddc7f331abea8b393004ed45f102d25880", kill_on_drop: false }` [INFO] [stdout] 484a345310992c8553428740a059dfddc7f331abea8b393004ed45f102d25880 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c8a28d5c892afdc76b8dfae484bc902df6921004fac2198b95eddd5ca0a5eeb3 [INFO] running `Command { std: "docker" "start" "-a" "c8a28d5c892afdc76b8dfae484bc902df6921004fac2198b95eddd5ca0a5eeb3", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hash_router-8f9339b278b29b0f) [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-2b2885bc7ca0fb82) [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::Errors (line 107) ... 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::HashRoutingError (line 21) ... 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] test src/model.rs - model::DiscordMessage::new (line 28) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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::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::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/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] ---- 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] [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.54s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "c8a28d5c892afdc76b8dfae484bc902df6921004fac2198b95eddd5ca0a5eeb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8a28d5c892afdc76b8dfae484bc902df6921004fac2198b95eddd5ca0a5eeb3", kill_on_drop: false }` [INFO] [stdout] c8a28d5c892afdc76b8dfae484bc902df6921004fac2198b95eddd5ca0a5eeb3