When attempting to build the backend from my own clone of this repo for use with self-hosting, the Rust build github workflow appears to fail from multiple migration steps:
test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.01s
--- STDERR: revolt-database models::channel_webhooks::model::tests::crud ---
thread 'models::channel_webhooks::model::tests::crud' panicked at crates/core/config/src/lib.rs:28:25:
called Result::unwrap() on an Err value: newline in string found at line 10 column 47
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s
--- STDERR: revolt-database models::channels::model::tests::permissions_group_channel ---
thread 'models::channels::model::tests::permissions_group_channel' panicked at crates/core/config/src/lib.rs:28:25:
called Result::unwrap() on an Err value: newline in string found at line 10 column 47
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
This has turned out to actually be a result of user error on our part. We were able to fix this by setting the repo based Revolt.toml back to the defaults. Apologizes for wasting your time.
What happened?
When attempting to build the backend from my own clone of this repo for use with self-hosting, the Rust build github workflow appears to fail from multiple migration steps:
` FAIL [ 0.017s] revolt-database models::channel_webhooks::model::tests::crud
--- STDOUT: revolt-database models::channel_webhooks::model::tests::crud ---
running 1 test test models::channel_webhooks::model::tests::crud ... FAILED
failures:
failures: models::channel_webhooks::model::tests::crud
test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.01s
--- STDERR: revolt-database models::channel_webhooks::model::tests::crud --- thread 'models::channel_webhooks::model::tests::crud' panicked at crates/core/config/src/lib.rs:28:25: called
Result::unwrap()
on anErr
value: newline in string found at line 10 column 47 note: run withRUST_BACKTRACE=1
environment variable to display a backtrace--- STDOUT: revolt-database models::channels::model::tests::permissions_group_channel ---
running 1 test test models::channels::model::tests::permissions_group_channel ... FAILED
failures:
failures: models::channels::model::tests::permissions_group_channel
test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s
--- STDERR: revolt-database models::channels::model::tests::permissions_group_channel --- thread 'models::channels::model::tests::permissions_group_channel' panicked at crates/core/config/src/lib.rs:28:25: called
Result::unwrap()
on anErr
value: newline in string found at line 10 column 47 note: run withRUST_BACKTRACE=1
environment variable to display a backtraceerror: test run failed`