Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] docker compilation error #146

Closed
aaronleopold opened this issue Jul 22, 2023 · 1 comment · Fixed by #147
Closed

[BUG] docker compilation error #146

aaronleopold opened this issue Jul 22, 2023 · 1 comment · Fixed by #147
Labels
bug Something isn't working

Comments

@aaronleopold
Copy link
Collaborator

aaronleopold commented Jul 22, 2023

Describe the bug

Strange how it all of the sudden popped up since the last merge to main.

Show full error stack
 => ERROR [arm64-backend 13/13] RUN set -ex;     ./scripts/release/build-utils.sh -p;     cargo build --package stump_server --bin stump_serve  150.7s
------
 > [arm64-backend 13/13] RUN set -ex;     ./scripts/release/build-utils.sh -p;     cargo build --package stump_server --bin stump_server --release --target aarch64-unknown-linux-musl;     cp target/aarch64-unknown-linux-musl/release/stump_server ./stump:
#0 0.130 + ./scripts/release/build-utils.sh -p
#0 0.281 + sed -i 's|\/.*\/core\/prisma\/schema.prisma|\/app\/core\/prisma\/schema.prisma|g' core/src/prisma.rs
#0 0.365 + sed -i 's|\/.*\/core\/prisma\/migrations|\/app\/core\/prisma\/migrations|g' core/src/prisma.rs
#0 0.434 + getopts pwd: opt
#0 0.436 + shift 1
#0 0.440 + cargo build --package stump_server --bin stump_server --release --target aarch64-unknown-linux-musl
#0 1.358     Updating crates.io index
#0 2.455     Updating git repository `https://github.com/prisma/graphql-parser`
#0 4.443 From https://github.com/prisma/graphql-parser
#0 4.443  * [new ref]         6a3f58bd879065588e710cb02b5bd30c1ce182c3 -> refs/commit/6a3f58bd879065588e710cb02b5bd30c1ce182c3
#0 4.591  * [new tag]         v0.1.0     -> v0.1.0
#0 4.591  * [new tag]         v0.2.0     -> v0.2.0
#0 4.591  * [new tag]         v0.2.2     -> v0.2.2
#0 4.592  * [new tag]         v0.2.3     -> v0.2.3
#0 8.328    Compiling num-traits v0.2.15
#0 8.333    Compiling num-integer v0.1.45
#0 8.341    Compiling time v0.1.43
#0 8.343    Compiling iana-time-zone v0.1.53
#0 8.360    Compiling stump_core v0.0.0 (/app/core)
#0 22.60 warning: unused import: `debug`
#0 22.60  --> core/src/db/migration.rs:1:15
#0 22.60   |
#0 22.60 1 | use tracing::{debug, info};
#0 22.60   |               ^^^^^
#0 22.60   |
#0 22.60   = note: `#[warn(unused_imports)]` on by default
#0 22.60
#0 32.11    Compiling chrono v0.4.23
#0 45.95    Compiling stump_server v0.0.0 (/app/apps/server)
#0 149.6 error[E0275]: overflow evaluating the requirement `alloc::raw_vec::RawVec<prisma::user_preferences::WithParam>: Unpin`
#0 149.6       |
#0 149.6       = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`stump_core`)
#0 149.6 note: required because it appears within the type `Vec<WithParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/alloc/src/vec/mod.rs:396:12
#0 149.6 note: required because it appears within the type `UniqueArgs<Types>`
#0 149.6      --> /root/.cargo/git/checkouts/prisma-client-rust-fa967aa5ad0ec391/f71ad91/src/queries/find_unique.rs:109:12
#0 149.6       |
#0 149.6 109   | pub struct UniqueArgs<Actions>
#0 149.6       |            ^^^^^^^^^^
#0 149.6 note: required because it appears within the type `WithParam`
#0 149.6      --> core/src/prisma.rs:1450:11
#0 149.6       |
#0 149.6 1450  |     pub enum WithParam {
#0 149.6       |              ^^^^^^^^^
#0 149.6 note: required because it appears within the type `PhantomData<WithParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/core/src/marker.rs:774:12
#0 149.6 note: required because it appears within the type `Unique<WithParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/core/src/ptr/unique.rs:35:12
#0 149.6 note: required because it appears within the type `RawVec<WithParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/alloc/src/raw_vec.rs:51:19
#0 149.6 note: required because it appears within the type `Vec<WithParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/alloc/src/vec/mod.rs:396:12
#0 149.6 note: required because it appears within the type `UniqueArgs<Types>`
#0 149.6      --> /root/.cargo/git/checkouts/prisma-client-rust-fa967aa5ad0ec391/f71ad91/src/queries/find_unique.rs:109:12
#0 149.6       |
#0 149.6 109   | pub struct UniqueArgs<Actions>
#0 149.6       |            ^^^^^^^^^^
#0 149.6 note: required because it appears within the type `WithParam`
#0 149.6      --> core/src/prisma.rs:12647:11
#0 149.6       |
#0 149.6 12647 |     pub enum WithParam {
#0 149.6       |              ^^^^^^^^^
#0 149.6 note: required because it appears within the type `PhantomData<WithParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/core/src/marker.rs:774:12
#0 149.6 note: required because it appears within the type `Unique<WithParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/core/src/ptr/unique.rs:35:12
#0 149.6 note: required because it appears within the type `RawVec<WithParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/alloc/src/raw_vec.rs:51:19
#0 149.6 note: required because it appears within the type `Vec<WithParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/alloc/src/vec/mod.rs:396:12
#0 149.6 note: required because it appears within the type `ManyArgs<Types>`
#0 149.6      --> /root/.cargo/git/checkouts/prisma-client-rust-fa967aa5ad0ec391/f71ad91/src/queries/find_many.rs:226:12
#0 149.6       |
#0 149.6 226   | pub struct ManyArgs<Actions: ModelTypes> {
#0 149.6       |            ^^^^^^^^
#0 149.6 note: required because it appears within the type `WithParam`
#0 149.6      --> core/src/prisma.rs:9003:11
#0 149.6       |
#0 149.6 9003  |     pub enum WithParam {
#0 149.6       |              ^^^^^^^^^
#0 149.6 note: required because it appears within the type `PhantomData<WithParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/core/src/marker.rs:774:12
#0 149.6 note: required because it appears within the type `Unique<WithParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/core/src/ptr/unique.rs:35:12
#0 149.6 note: required because it appears within the type `RawVec<WithParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/alloc/src/raw_vec.rs:51:19
#0 149.6 note: required because it appears within the type `Vec<WithParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/alloc/src/vec/mod.rs:396:12
#0 149.6 note: required because it appears within the type `UniqueArgs<Types>`
#0 149.6      --> /root/.cargo/git/checkouts/prisma-client-rust-fa967aa5ad0ec391/f71ad91/src/queries/find_unique.rs:109:12
#0 149.6       |
#0 149.6 109   | pub struct UniqueArgs<Actions>
#0 149.6       |            ^^^^^^^^^^
#0 149.6 note: required because it appears within the type `WithParam`
#0 149.6      --> core/src/prisma.rs:14962:11
#0 149.6       |
#0 149.6 14962 |     pub enum WithParam {
#0 149.6       |              ^^^^^^^^^
#0 149.6 note: required because it appears within the type `PhantomData<WithParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/core/src/marker.rs:774:12
#0 149.6 note: required because it appears within the type `Unique<WithParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/core/src/ptr/unique.rs:35:12
#0 149.6 note: required because it appears within the type `RawVec<WithParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/alloc/src/raw_vec.rs:51:19
#0 149.6 note: required because it appears within the type `Vec<WithParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/alloc/src/vec/mod.rs:396:12
#0 149.6 note: required because it appears within the type `ManyArgs<Types>`
#0 149.6      --> /root/.cargo/git/checkouts/prisma-client-rust-fa967aa5ad0ec391/f71ad91/src/queries/find_many.rs:226:12
#0 149.6       |
#0 149.6 226   | pub struct ManyArgs<Actions: ModelTypes> {
#0 149.6       |            ^^^^^^^^
#0 149.6 note: required because it appears within the type `WithParam`
#0 149.6      --> core/src/prisma.rs:16277:11
#0 149.6       |
#0 149.6 16277 |     pub enum WithParam {
#0 149.6       |              ^^^^^^^^^
#0 149.6 note: required because it appears within the type `PhantomData<WithParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/core/src/marker.rs:774:12
#0 149.6 note: required because it appears within the type `Unique<WithParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/core/src/ptr/unique.rs:35:12
#0 149.6 note: required because it appears within the type `RawVec<WithParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/alloc/src/raw_vec.rs:51:19
#0 149.6 note: required because it appears within the type `Vec<WithParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/alloc/src/vec/mod.rs:396:12
#0 149.6 note: required because it appears within the type `UniqueArgs<Types>`
#0 149.6      --> /root/.cargo/git/checkouts/prisma-client-rust-fa967aa5ad0ec391/f71ad91/src/queries/find_unique.rs:109:12
#0 149.6       |
#0 149.6 109   | pub struct UniqueArgs<Actions>
#0 149.6       |            ^^^^^^^^^^
#0 149.6 note: required because it appears within the type `WithParam`
#0 149.6      --> core/src/prisma.rs:14191:11
#0 149.6       |
#0 149.6 14191 |     pub enum WithParam {
#0 149.6       |              ^^^^^^^^^
#0 149.6 note: required because it appears within the type `PhantomData<WithParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/core/src/marker.rs:774:12
#0 149.6 note: required because it appears within the type `Unique<WithParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/core/src/ptr/unique.rs:35:12
#0 149.6 note: required because it appears within the type `RawVec<WithParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/alloc/src/raw_vec.rs:51:19
#0 149.6 note: required because it appears within the type `Vec<WithParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/alloc/src/vec/mod.rs:396:12
#0 149.6 note: required because it appears within the type `ManyArgs<Types>`
#0 149.6      --> /root/.cargo/git/checkouts/prisma-client-rust-fa967aa5ad0ec391/f71ad91/src/queries/find_many.rs:226:12
#0 149.6       |
#0 149.6 226   | pub struct ManyArgs<Actions: ModelTypes> {
#0 149.6       |            ^^^^^^^^
#0 149.6 note: required because it appears within the type `Select`
#0 149.6      --> core/src/prisma.rs:15798:12
#0 149.6       |
#0 149.6 15798 |         pub enum Select {
#0 149.6       |                  ^^^^^^
#0 149.6 note: required because it appears within the type `SelectParam`
#0 149.6      --> core/src/prisma.rs:16153:11
#0 149.6       |
#0 149.6 16153 |     pub enum SelectParam {
#0 149.6       |              ^^^^^^^^^^^
#0 149.6 note: required because it appears within the type `PhantomData<SelectParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/core/src/marker.rs:774:12
#0 149.6 note: required because it appears within the type `Unique<SelectParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/core/src/ptr/unique.rs:35:12
#0 149.6 note: required because it appears within the type `RawVec<SelectParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/alloc/src/raw_vec.rs:51:19
#0 149.6 note: required because it appears within the type `Vec<SelectParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/alloc/src/vec/mod.rs:396:12
#0 149.6 note: required because it appears within the type `Include`
#0 149.6      --> core/src/prisma.rs:894:12
#0 149.6       |
#0 149.6 894   |         pub enum Include {
#0 149.6       |                  ^^^^^^^
#0 149.6 note: required because it appears within the type `IncludeParam`
#0 149.6      --> core/src/prisma.rs:1317:11
#0 149.6       |
#0 149.6 1317  |     pub enum IncludeParam {
#0 149.6       |              ^^^^^^^^^^^^
#0 149.6 note: required because it appears within the type `PhantomData<IncludeParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/core/src/marker.rs:774:12
#0 149.6 note: required because it appears within the type `Unique<IncludeParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/core/src/ptr/unique.rs:35:12
#0 149.6 note: required because it appears within the type `RawVec<IncludeParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/alloc/src/raw_vec.rs:51:19
#0 149.6 note: required because it appears within the type `Vec<IncludeParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/alloc/src/vec/mod.rs:396:12
#0 149.6 note: required because it appears within the type `Include`
#0 149.6      --> core/src/prisma.rs:18107:12
#0 149.6       |
#0 149.6 18107 |         pub enum Include {
#0 149.6       |                  ^^^^^^^
#0 149.6 note: required because it appears within the type `IncludeParam`
#0 149.6      --> core/src/prisma.rs:18215:11
#0 149.6       |
#0 149.6 18215 |     pub enum IncludeParam {
#0 149.6       |              ^^^^^^^^^^^^
#0 149.6 note: required because it appears within the type `PhantomData<IncludeParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/core/src/marker.rs:774:12
#0 149.6 note: required because it appears within the type `Unique<IncludeParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/core/src/ptr/unique.rs:35:12
#0 149.6 note: required because it appears within the type `RawVec<IncludeParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/alloc/src/raw_vec.rs:51:19
#0 149.6 note: required because it appears within the type `Vec<IncludeParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/alloc/src/vec/mod.rs:396:12
#0 149.6 note: required because it appears within the type `Select`
#0 149.6      --> core/src/prisma.rs:800:12
#0 149.6       |
#0 149.6 800   |         pub enum Select {
#0 149.6       |                  ^^^^^^
#0 149.6 note: required because it appears within the type `SelectParam`
#0 149.6      --> core/src/prisma.rs:1280:11
#0 149.6       |
#0 149.6 1280  |     pub enum SelectParam {
#0 149.6       |              ^^^^^^^^^^^
#0 149.6 note: required because it appears within the type `PhantomData<SelectParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/core/src/marker.rs:774:12
#0 149.6 note: required because it appears within the type `Unique<SelectParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/core/src/ptr/unique.rs:35:12
#0 149.6 note: required because it appears within the type `RawVec<SelectParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/alloc/src/raw_vec.rs:51:19
#0 149.6 note: required because it appears within the type `Vec<SelectParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/alloc/src/vec/mod.rs:396:12
#0 149.6 note: required because it appears within the type `Select`
#0 149.6      --> core/src/prisma.rs:18129:12
#0 149.6       |
#0 149.6 18129 |         pub enum Select {
#0 149.6       |                  ^^^^^^
#0 149.6 note: required because it appears within the type `SelectParam`
#0 149.6      --> core/src/prisma.rs:18182:11
#0 149.6       |
#0 149.6 18182 |     pub enum SelectParam {
#0 149.6       |              ^^^^^^^^^^^
#0 149.6 note: required because it appears within the type `PhantomData<SelectParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/core/src/marker.rs:774:12
#0 149.6 note: required because it appears within the type `Unique<SelectParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/core/src/ptr/unique.rs:35:12
#0 149.6 note: required because it appears within the type `RawVec<SelectParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/alloc/src/raw_vec.rs:51:19
#0 149.6 note: required because it appears within the type `Vec<SelectParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/alloc/src/vec/mod.rs:396:12
#0 149.6 note: required because it appears within the type `Include`
#0 149.6      --> core/src/prisma.rs:8303:12
#0 149.6       |
#0 149.6 8303  |         pub enum Include {
#0 149.6       |                  ^^^^^^^
#0 149.6 note: required because it appears within the type `IncludeParam`
#0 149.6      --> core/src/prisma.rs:8824:11
#0 149.6       |
#0 149.6 8824  |     pub enum IncludeParam {
#0 149.6       |              ^^^^^^^^^^^^
#0 149.6 note: required because it appears within the type `PhantomData<IncludeParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/core/src/marker.rs:774:12
#0 149.6 note: required because it appears within the type `Unique<IncludeParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/core/src/ptr/unique.rs:35:12
#0 149.6 note: required because it appears within the type `RawVec<IncludeParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/alloc/src/raw_vec.rs:51:19
#0 149.6 note: required because it appears within the type `Vec<IncludeParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/alloc/src/vec/mod.rs:396:12
#0 149.6 note: required because it appears within the type `Select`
#0 149.6      --> core/src/prisma.rs:11175:12
#0 149.6       |
#0 149.6 11175 |         pub enum Select {
#0 149.6       |                  ^^^^^^
#0 149.6 note: required because it appears within the type `SelectParam`
#0 149.6      --> core/src/prisma.rs:11276:11
#0 149.6       |
#0 149.6 11276 |     pub enum SelectParam {
#0 149.6       |              ^^^^^^^^^^^
#0 149.6 note: required because it appears within the type `PhantomData<SelectParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/core/src/marker.rs:774:12
#0 149.6 note: required because it appears within the type `Unique<SelectParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/core/src/ptr/unique.rs:35:12
#0 149.6 note: required because it appears within the type `RawVec<SelectParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/alloc/src/raw_vec.rs:51:19
#0 149.6 note: required because it appears within the type `Vec<SelectParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/alloc/src/vec/mod.rs:396:12
#0 149.6 note: required because it appears within the type `Select`
#0 149.6      --> core/src/prisma.rs:8057:12
#0 149.6       |
#0 149.6 8057  |         pub enum Select {
#0 149.6       |                  ^^^^^^
#0 149.6 note: required because it appears within the type `SelectParam`
#0 149.6      --> core/src/prisma.rs:8777:11
#0 149.6       |
#0 149.6 8777  |     pub enum SelectParam {
#0 149.6       |              ^^^^^^^^^^^
#0 149.6 note: required because it appears within the type `PhantomData<SelectParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/core/src/marker.rs:774:12
#0 149.6 note: required because it appears within the type `Unique<SelectParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/core/src/ptr/unique.rs:35:12
#0 149.6 note: required because it appears within the type `RawVec<SelectParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/alloc/src/raw_vec.rs:51:19
#0 149.6 note: required because it appears within the type `Vec<SelectParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/alloc/src/vec/mod.rs:396:12
#0 149.6 note: required because it appears within the type `Select`
#0 149.6      --> core/src/prisma.rs:13170:12
#0 149.6       |
#0 149.6 13170 |         pub enum Select {
#0 149.6       |                  ^^^^^^
#0 149.6 note: required because it appears within the type `SelectParam`
#0 149.6      --> core/src/prisma.rs:13451:11
#0 149.6       |
#0 149.6 13451 |     pub enum SelectParam {
#0 149.6       |              ^^^^^^^^^^^
#0 149.6 note: required because it appears within the type `PhantomData<SelectParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/core/src/marker.rs:774:12
#0 149.6 note: required because it appears within the type `Unique<SelectParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/core/src/ptr/unique.rs:35:12
#0 149.6 note: required because it appears within the type `RawVec<SelectParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/alloc/src/raw_vec.rs:51:19
#0 149.6 note: required because it appears within the type `Vec<SelectParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/alloc/src/vec/mod.rs:396:12
#0 149.6 note: required because it appears within the type `Include`
#0 149.6      --> core/src/prisma.rs:2785:12
#0 149.6       |
#0 149.6 2785  |         pub enum Include {
#0 149.6       |                  ^^^^^^^
#0 149.6 note: required because it appears within the type `IncludeParam`
#0 149.6      --> core/src/prisma.rs:2899:11
#0 149.6       |
#0 149.6 2899  |     pub enum IncludeParam {
#0 149.6       |              ^^^^^^^^^^^^
#0 149.6 note: required because it appears within the type `PhantomData<IncludeParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/core/src/marker.rs:774:12
#0 149.6 note: required because it appears within the type `Unique<IncludeParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/core/src/ptr/unique.rs:35:12
#0 149.6 note: required because it appears within the type `RawVec<IncludeParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/alloc/src/raw_vec.rs:51:19
#0 149.6 note: required because it appears within the type `Vec<IncludeParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/alloc/src/vec/mod.rs:396:12
#0 149.6 note: required because it appears within the type `Include`
#0 149.6      --> core/src/prisma.rs:4971:12
#0 149.6       |
#0 149.6 4971  |         pub enum Include {
#0 149.6       |                  ^^^^^^^
#0 149.6 note: required because it appears within the type `IncludeParam`
#0 149.6      --> core/src/prisma.rs:5308:11
#0 149.6       |
#0 149.6 5308  |     pub enum IncludeParam {
#0 149.6       |              ^^^^^^^^^^^^
#0 149.6 note: required because it appears within the type `PhantomData<IncludeParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/core/src/marker.rs:774:12
#0 149.6 note: required because it appears within the type `Unique<IncludeParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/core/src/ptr/unique.rs:35:12
#0 149.6 note: required because it appears within the type `RawVec<IncludeParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/alloc/src/raw_vec.rs:51:19
#0 149.6 note: required because it appears within the type `Vec<IncludeParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/alloc/src/vec/mod.rs:396:12
#0 149.6 note: required because it appears within the type `Select`
#0 149.6      --> core/src/prisma.rs:6620:12
#0 149.6       |
#0 149.6 6620  |         pub enum Select {
#0 149.6       |                  ^^^^^^
#0 149.6 note: required because it appears within the type `SelectParam`
#0 149.6      --> core/src/prisma.rs:6660:11
#0 149.6       |
#0 149.6 6660  |     pub enum SelectParam {
#0 149.6       |              ^^^^^^^^^^^
#0 149.6 note: required because it appears within the type `PhantomData<SelectParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/core/src/marker.rs:774:12
#0 149.6 note: required because it appears within the type `Unique<SelectParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/core/src/ptr/unique.rs:35:12
#0 149.6 note: required because it appears within the type `RawVec<SelectParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/alloc/src/raw_vec.rs:51:19
#0 149.6 note: required because it appears within the type `Vec<SelectParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/alloc/src/vec/mod.rs:396:12
#0 149.6 note: required because it appears within the type `Select`
#0 149.6      --> core/src/prisma.rs:4833:12
#0 149.6       |
#0 149.6 4833  |         pub enum Select {
#0 149.6       |                  ^^^^^^
#0 149.6 note: required because it appears within the type `SelectParam`
#0 149.6      --> core/src/prisma.rs:5273:11
#0 149.6       |
#0 149.6 5273  |     pub enum SelectParam {
#0 149.6       |              ^^^^^^^^^^^
#0 149.6 note: required because it appears within the type `PhantomData<SelectParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/core/src/marker.rs:774:12
#0 149.6 note: required because it appears within the type `Unique<SelectParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/core/src/ptr/unique.rs:35:12
#0 149.6 note: required because it appears within the type `RawVec<SelectParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/alloc/src/raw_vec.rs:51:19
#0 149.6 note: required because it appears within the type `Vec<SelectParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/alloc/src/vec/mod.rs:396:12
#0 149.6 note: required because it appears within the type `Select`
#0 149.6      --> core/src/prisma.rs:2529:12
#0 149.6       |
#0 149.6 2529  |         pub enum Select {
#0 149.6       |                  ^^^^^^
#0 149.6 note: required because it appears within the type `SelectParam`
#0 149.6      --> core/src/prisma.rs:2866:11
#0 149.6       |
#0 149.6 2866  |     pub enum SelectParam {
#0 149.6       |              ^^^^^^^^^^^
#0 149.6 note: required because it appears within the type `PhantomData<SelectParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/core/src/marker.rs:774:12
#0 149.6 note: required because it appears within the type `Unique<SelectParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/core/src/ptr/unique.rs:35:12
#0 149.6 note: required because it appears within the type `RawVec<SelectParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/alloc/src/raw_vec.rs:51:19
#0 149.6 note: required because it appears within the type `Vec<SelectParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/alloc/src/vec/mod.rs:396:12
#0 149.6 note: required because it appears within the type `Include`
#0 149.6      --> core/src/prisma.rs:3803:12
#0 149.6       |
#0 149.6 3803  |         pub enum Include {
#0 149.6       |                  ^^^^^^^
#0 149.6 note: required because it appears within the type `IncludeParam`
#0 149.6      --> core/src/prisma.rs:3882:11
#0 149.6       |
#0 149.6 3882  |     pub enum IncludeParam {
#0 149.6       |              ^^^^^^^^^^^^
#0 149.6 note: required because it appears within the type `PhantomData<IncludeParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/core/src/marker.rs:774:12
#0 149.6 note: required because it appears within the type `Unique<IncludeParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/core/src/ptr/unique.rs:35:12
#0 149.6 note: required because it appears within the type `RawVec<IncludeParam>`
#0 149.6      --> /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/alloc/src/raw_vec.rs:51:19
#0 149.6
#0 150.4 For more information about this error, try `rustc --explain E0275`.
#0 150.5 warning: `stump_core` (lib) generated 1 warning
#0 150.5 error: could not compile `stump_core` (lib) due to previous error; 1 warning emitted
------
Dockerfile:66
--------------------
  65 |
  66 | >>> RUN set -ex; \
  67 | >>>     ./scripts/release/build-utils.sh -p; \
  68 | >>>     cargo build --package stump_server --bin stump_server --release --target aarch64-unknown-linux-musl; \
  69 | >>>     cp target/aarch64-unknown-linux-musl/release/stump_server ./stump
  70 |
--------------------
ERROR: failed to solve: process "/bin/sh -c set -ex;     ./scripts/release/build-utils.sh -p;     cargo build --package stump_server --bin stump_server --release --target aarch64-unknown-linux-musl;     cp target/aarch64-unknown-linux-musl/release/stump_server ./stump" did not complete successfully: exit code: 101
**To Reproduce** Steps to reproduce the behavior:
  1. Go to project root
  2. Run docker buildx build -f ./scripts/release/Dockerfile --platform=linux/arm64 -t aaronleopold/stump .
  3. See error (after time)

Expected behavior

It should compile without error

Additional context

linux (native) doesn't fail, macOS doesn't fail, and windows doesn't fail, which is rather annoying. I assume something within these changes is problematic for arm.

@aaronleopold aaronleopold added the bug Something isn't working label Jul 22, 2023
@aaronleopold aaronleopold changed the title [BUG] arm64 docker compilation error [BUG] docker compilation error Jul 23, 2023
@aaronleopold
Copy link
Collaborator Author

It seems to affect both linux/amd64 and linux/arm64, which isn't ideal but does make debugging much faster. The trouble commit that breaks my docker builds with the same error locally as it did during CI is from this PR #141. The weird thing is for this PR, and a few following it, successful PR runs occurred. Which makes me feel like something else is happening that is causing the failure than actual code changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant