Closed Deaponn closed 2 months ago
Same issue, on rust 1.79.0, on Ubuntu 24.04 (kernel: 5.15.153.1-microsoft-standard-WSL2)
Using rustc 1.80.1 seems to work just fine.
@Deaponn the issue has been resolved 17 hours ago See the following issue for further context:
Bug Description
When trying to run command
cargo run
, the compilation is terminated because oferror[E0425]: cannot find function 'size_of' in this scope
error. I am running an Actix server on FreeBSD version 14.1-RELEASE-p3.Details
While using
cargo run
on my development machine (Manjaro Linux 24.0.7) works as intended, I get the below error while running it on the server (FreeBSD version 14.1-RELEASE-p3):My workflow is as follows:
cargo run
to confirm everything works fineThe only difference between development machine and the server is the
.env
file, but its content is read only after compilation.Minimal Reproduction
Remember to do it on FreeBSD machine
git clone https://github.com/Deaponn/rybocheck.git
cd rybocheck/backend
mv example.env .env
(shouldn't be an issue, but for completeness sake)cargo run
Info
sqlx-postgres-0.8.1
though)rustc --version
: rustc 1.78.0 (9b00956e5 2024-04-29) (built from a source tarball)SELECT version();
on development machine: PostgreSQL 16.3 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 14.1.1 20240720, 64-bitSELECT version();
on the server: PostgreSQL 16.3 on amd64-portbld-freebsd14.1, compiled by clang version 15.0.7, 64-bit