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

error[E0658]: use of unstable library feature 'error_in_core' #3

Open
nadilas opened this issue Dec 7, 2024 · 4 comments
Open

error[E0658]: use of unstable library feature 'error_in_core' #3

nadilas opened this issue Dec 7, 2024 · 4 comments

Comments

@nadilas
Copy link

nadilas commented Dec 7, 2024

I tried starting up the project with docker compose up and rust is getting the better of the me.

Do you have any pointers how to get around this error?
47.37 error[E0658]: use of unstable library feature 'error_in_core'
47.37 --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/idna-1.0.3/src/lib.rs:78:6
47.37 |
47.37 78 | impl core::error::Error for Errors {}
47.37 | ^^^^^^^^^^^^^^^^^^
47.37 |
47.37 = note: see issue #103765 rust-lang/rust#103765 for more information

I went down this rabbithole, but don't fully understand it, since I don't know any rust: servo/rust-url#992

Full build log in case it helps:

 => [server internal] load .dockerignore                                                                                                                                                                                                                                           0.0s
[+] Building 72.1s (17/20)                                                                                                                                                                                                                                               docker:default
 => [server internal] load .dockerignore                                                                                                                                                                                                                                           0.0s
 => => transferring context: 52B                                                                                                                                                                                                                                                   0.0s
 => [server internal] load build definition from Dockerfile                                                                                                                                                                                                                        0.0s
 => => transferring dockerfile: 972B                                                                                                                                                                                                                                               0.0s
 => [server internal] load metadata for docker.io/library/debian:trixie-slim                                                                                                                                                                                                      15.6s
 => [server internal] load metadata for docker.io/lukemathwalker/cargo-chef:0.1.66-rust-slim-bookworm                                                                                                                                                                             15.1s
 => [server runtime 1/5] FROM docker.io/library/debian:trixie-slim@sha256:ea037584ebc42a1144ff5ca16add337920cd4cad175431ea0ee3310a0133c0ba                                                                                                                                         0.0s
 => [server chef 1/2] FROM docker.io/lukemathwalker/cargo-chef:0.1.66-rust-slim-bookworm@sha256:2ca0f1f2e81dff0ab84bddca351d55561916e8cc1c23bfa7d99e7eebd8daa3e1                                                                                                                   0.0s
 => [server internal] load build context                                                                                                                                                                                                                                           0.0s
 => => transferring context: 3.96kB                                                                                                                                                                                                                                                0.0s
 => CACHED [server runtime 2/5] WORKDIR app                                                                                                                                                                                                                                        0.0s
 => CACHED [server runtime 3/5] RUN apt-get update                                                                                                                                                                                                                                 0.0s
 => CACHED [server runtime 4/5] RUN apt-get -y install openssl libssl-dev ca-certificates curl                                                                                                                                                                                     0.0s
 => CACHED [server chef 2/2] WORKDIR app                                                                                                                                                                                                                                           0.0s
 => CACHED [server planner 1/2] COPY . .                                                                                                                                                                                                                                           0.0s
 => CACHED [server planner 2/2] RUN cargo chef prepare --recipe-path recipe.json                                                                                                                                                                                                   0.0s
 => CACHED [server builder 1/6] COPY --from=planner /app/recipe.json recipe.json                                                                                                                                                                                                   0.0s
 => CACHED [server builder 2/6] RUN apt-get update                                                                                                                                                                                                                                 0.0s
 => CACHED [server builder 3/6] RUN apt-get -y install libssl-dev pkg-config libpkgconf3 pkgconf pkgconf-bin                                                                                                                                                                       0.0s
 => ERROR [server builder 4/6] RUN cargo chef cook --release --recipe-path recipe.json                                                                                                                                                                                            56.4s
------
 > [server builder 4/6] RUN cargo chef cook --release --recipe-path recipe.json:
0.592     Updating crates.io index
5.316  Downloading crates ...
5.449   Downloaded axum-core v0.4.5
5.460   Downloaded base64ct v1.6.0
5.485   Downloaded futures-executor v0.3.31
5.491   Downloaded cpufeatures v0.2.16
5.501   Downloaded ahash v0.8.11
5.521   Downloaded aho-corasick v1.1.3
5.541   Downloaded write16 v1.0.0
5.551   Downloaded tower-cookies v0.10.0
5.562   Downloaded zerofrom-derive v0.1.5
5.574   Downloaded md-5 v0.10.6
5.604   Downloaded stable_deref_trait v1.2.0
5.623   Downloaded tracing v0.1.41
5.641   Downloaded libm v0.2.11
5.665   Downloaded futures-task v0.3.31
5.689   Downloaded matchers v0.1.0
5.701   Downloaded httparse v1.9.5
5.718   Downloaded zerofrom v0.1.5
5.723   Downloaded mime v0.3.17
5.731   Downloaded icu_provider v1.5.0
5.750   Downloaded mime_guess v2.0.5
5.762   Downloaded overload v0.1.1
5.766   Downloaded rustls-pemfile v1.0.4
5.772   Downloaded rustversion v1.0.18
5.788   Downloaded idna_adapter v1.2.0
5.792   Downloaded ryu v1.0.18
5.822   Downloaded rustls-webpki v0.101.7
5.861   Downloaded num-conv v0.1.0
5.863   Downloaded num-iter v0.1.45
5.865   Downloaded num-integer v0.1.46
5.872   Downloaded rust-ini v0.20.0
5.887   Downloaded sea-query-derive v0.4.2
5.907   Downloaded nu-ansi-term v0.46.0
5.923   Downloaded native-tls v0.2.12
5.935   Downloaded multer v3.1.0
5.939   Downloaded openssl-probe v0.1.5
5.957   Downloaded openssl-macros v0.1.1
5.961   Downloaded sharded-slab v0.1.7
5.993   Downloaded once_cell v1.20.2
6.007   Downloaded percent-encoding v2.3.1
6.017   Downloaded pem-rfc7468 v0.7.0
6.038   Downloaded quote v1.0.37
6.062   Downloaded proc-macro2 v1.0.92
6.085   Downloaded nom v7.1.3
6.108   Downloaded rand v0.8.5
6.126   Downloaded pest v2.7.15
6.149   Downloaded sea-query v0.30.7
6.194   Downloaded openssl v0.10.68
6.230   Downloaded regex-automata v0.4.9
6.289   Downloaded libc v0.2.167
6.395   Downloaded encoding_rs v0.8.35
6.435   Downloaded tokio v1.42.0
6.497   Downloaded rustls v0.21.12
6.519   Downloaded rustix v0.38.41
6.565   Downloaded regex-syntax v0.8.5
6.579   Downloaded linux-raw-sys v0.4.14
6.646   Downloaded regex-syntax v0.6.29
6.656   Downloaded regex v1.11.1
6.679   Downloaded reqwest v0.11.27
6.693   Downloaded vcpkg v0.2.15
6.751   Downloaded syn v2.0.90
6.768   Downloaded syn v1.0.109
6.784   Downloaded serde_json v1.0.133
6.795   Downloaded tracing-subscriber v0.3.19
6.812   Downloaded pest_meta v2.7.15
6.818   Downloaded pest_derive v2.7.15
6.822   Downloaded pkcs8 v0.10.2
6.829   Downloaded regex-automata v0.1.10
6.837   Downloaded winnow v0.6.20
6.854   Downloaded ring v0.17.8
6.964   Downloaded pem v3.0.4
6.968   Downloaded pathdiff v0.2.3
6.970   Downloaded libsqlite3-sys v0.27.0
7.089   Downloaded ppv-lite86 v0.2.20
7.091   Downloaded powerfmt v0.2.0
7.093   Downloaded pkg-config v0.3.31
7.096   Downloaded pkcs1 v0.7.5
7.100   Downloaded pin-utils v0.1.0
7.103   Downloaded pin-project-lite v0.2.15
7.115   Downloaded pest_generator v2.7.15
7.119   Downloaded zerovec v0.10.4
7.130   Downloaded yaml-rust2 v0.8.1
7.157   Downloaded tower-http v0.5.2
7.171   Downloaded tower v0.5.1
7.195   Downloaded tower v0.4.13
7.227   Downloaded toml_edit v0.22.22
7.263   Downloaded tokio-util v0.7.13
7.278   Downloaded num-bigint-dig v0.8.4
7.287   Downloaded serde v1.0.215
7.293   Downloaded memchr v2.7.4
7.305   Downloaded unicode-normalization v0.1.24
7.313   Downloaded time v0.3.37
7.328   Downloaded ron v0.8.1
7.336   Downloaded url v2.5.4
7.340   Downloaded indexmap v2.7.0
7.348   Downloaded unicode_categories v0.1.1
7.352   Downloaded rsa v0.9.7
7.360   Downloaded sqlx v0.7.4
7.390   Downloaded sct v0.7.1
7.396   Downloaded tracing-core v0.1.33
7.401   Downloaded serde_derive v1.0.215
7.405   Downloaded log v0.4.22
7.409   Downloaded jsonwebtoken v9.3.0
7.416   Downloaded unicode-properties v0.1.3
7.419   Downloaded unicode-bidi v0.3.17
7.423   Downloaded modql-macros v0.3.10
7.425   Downloaded smallvec v1.13.2
7.430   Downloaded slab v0.4.9
7.433   Downloaded simple_asn1 v0.6.2
7.436   Downloaded signature v2.2.0
7.438   Downloaded signal-hook-registry v1.4.2
7.441   Downloaded sha2 v0.10.8
7.448   Downloaded uuid v1.11.0
7.452   Downloaded unicode-ident v1.0.14
7.457   Downloaded ucd-trie v0.1.7
7.459   Downloaded typenum v1.17.0
7.462   Downloaded toml v0.8.19
7.467   Downloaded tinyvec v1.8.0
7.472   Downloaded zerocopy-derive v0.7.35
7.480   Downloaded shlex v1.3.0
7.484   Downloaded sea-query-binder v0.5.0
7.486   Downloaded sea-query-attr v0.1.3
7.491   Downloaded mio v1.0.3
7.505   Downloaded minimal-lexical v0.2.1
7.514   Downloaded sqlx-mysql v0.7.4
7.523   Downloaded sqlx-macros-core v0.7.4
7.527   Downloaded sqlx-macros v0.7.4
7.529   Downloaded scopeguard v1.2.0
7.532   Downloaded parking_lot v0.12.3
7.536   Downloaded matchit v0.7.3
7.539   Downloaded lock_api v0.4.12
7.541   Downloaded litemap v0.7.4
7.547   Downloaded itoa v1.0.14
7.552   Downloaded ipnet v2.10.1
7.555   Downloaded yoke-derive v0.7.5
7.557   Downloaded yoke v0.7.5
7.560   Downloaded whoami v1.5.2
7.564   Downloaded tracing-attributes v0.1.28
7.568   Downloaded thiserror-impl v1.0.69
7.571   Downloaded thiserror v2.0.4
7.582   Downloaded tempfile v3.14.0
7.588   Downloaded sha1 v0.10.6
7.592   Downloaded serde_urlencoded v0.7.1
7.596   Downloaded serde_spanned v0.6.8
7.598   Downloaded serde_path_to_error v0.1.16
7.602   Downloaded modql v0.3.10
7.606   Downloaded sqlformat v0.2.6
7.608   Downloaded spki v0.7.3
7.612   Downloaded spin v0.9.8
7.616   Downloaded parking_lot_core v0.9.10
7.619   Downloaded webpki-roots v0.25.4
7.625   Downloaded tokio-macros v2.4.0
7.627   Downloaded tinystr v0.7.6
7.631   Downloaded time-macros v0.2.19
7.635   Downloaded thiserror-impl v2.0.4
7.637   Downloaded hkdf v0.12.4
7.643   Downloaded tokio-native-tls v0.3.1
7.647   Downloaded thread_local v1.1.8
7.650   Downloaded thiserror v1.0.69
7.658   Downloaded synstructure v0.13.1
7.660   Downloaded icu_properties_data v1.5.0
7.673   Downloaded hyper v0.14.31
7.688   Downloaded version_check v0.9.5
7.691   Downloaded utf8_iter v1.0.4
7.693   Downloaded utf16_iter v1.0.5
7.694   Downloaded unicase v2.8.0
7.697   Downloaded tracing-serde v0.2.0
7.699   Downloaded tracing-log v0.2.0
7.702   Downloaded sqlx-core v0.7.4
7.716   Downloaded hyper v1.5.1
7.727   Downloaded hashbrown v0.15.2
7.736   Downloaded h2 v0.4.7
7.750   Downloaded zerovec-derive v0.10.3
7.752   Downloaded untrusted v0.9.0
7.756   Downloaded hashbrown v0.14.5
7.766   Downloaded num-bigint v0.4.6
7.774   Downloaded zeroize v1.8.1
7.782   Downloaded h2 v0.3.26
7.795   Downloaded futures-util v0.3.31
7.819   Downloaded rand_core v0.6.4
7.823   Downloaded rand_chacha v0.3.1
7.825   Downloaded paste v1.0.15
7.830   Downloaded openssl-sys v0.9.104
7.837   Downloaded inherent v1.0.11
7.841   Downloaded writeable v0.5.5
7.845   Downloaded ordered-multimap v0.7.3
7.850   Downloaded num-traits v0.2.19
7.854   Downloaded lazy_static v1.5.0
7.858   Downloaded json5 v0.4.1
7.861   Downloaded tower-service v0.3.3
7.863   Downloaded tinyvec_macros v0.1.1
7.865   Downloaded time-core v0.1.2
7.866   Downloaded sync_wrapper v1.0.2
7.868   Downloaded sync_wrapper v0.1.2
7.869   Downloaded socket2 v0.5.8
7.873   Downloaded icu_collections v1.5.0
7.887   Downloaded hyper-util v0.1.10
7.894   Downloaded http v1.2.0
7.899   Downloaded http v0.2.12
7.905   Downloaded futures-intrusive v0.5.0
7.911   Downloaded icu_properties v1.5.1
7.916   Downloaded icu_locid_transform_data v1.5.0
7.919   Downloaded icu_locid v1.5.0
7.924   Downloaded hmac v0.12.1
7.927   Downloaded want v0.3.1
7.928   Downloaded urlencoding v2.1.3
7.929   Downloaded try-lock v0.2.5
7.930   Downloaded tower-layer v0.3.3
7.932   Downloaded icu_normalizer_data v1.5.0
7.936   Downloaded icu_normalizer v1.5.0
7.941   Downloaded icu_locid_transform v1.5.0
7.951   Downloaded heck v0.4.1
7.954   Downloaded hashlink v0.8.4
7.957   Downloaded http-range-header v0.4.2
7.959   Downloaded dlv-list v0.5.2
7.963   Downloaded ident_case v1.0.1
7.964   Downloaded icu_provider_macros v1.5.0
7.965   Downloaded hyper-tls v0.5.0
7.967   Downloaded httpdate v1.0.3
7.968   Downloaded http-body-util v0.1.2
7.970   Downloaded http-body v1.0.1
7.971   Downloaded http-body v0.4.6
7.973   Downloaded home v0.5.9
7.975   Downloaded hex v0.4.3
7.984   Downloaded heck v0.5.0
7.985   Downloaded getrandom v0.2.15
7.990   Downloaded generic-array v0.14.7
7.992   Downloaded futures-sink v0.3.31
7.993   Downloaded futures-macro v0.3.31
7.995   Downloaded futures-io v0.3.31
7.996   Downloaded futures-core v0.3.31
7.999   Downloaded futures-channel v0.3.31
8.003   Downloaded form_urlencoded v1.2.1
8.004   Downloaded foreign-types-shared v0.1.1
8.006   Downloaded fnv v1.0.7
8.007   Downloaded foreign-types v0.3.2
8.009   Downloaded zerocopy v0.7.35
8.032   Downloaded unicode-segmentation v1.12.0
8.037   Downloaded idna v1.0.3
8.043   Downloaded flume v0.11.1
8.050   Downloaded fastrand v2.2.0
8.053   Downloaded event-listener v2.5.3
8.056   Downloaded errno v0.3.10
8.059   Downloaded equivalent v1.0.1
8.060   Downloaded either v1.13.0
8.062   Downloaded dotenvy v0.15.7
8.066   Downloaded displaydoc v0.2.5
8.072   Downloaded digest v0.10.7
8.077   Downloaded deranged v0.3.11
8.084   Downloaded subtle v2.6.1
8.087   Downloaded strum_macros v0.26.4
8.091   Downloaded strum v0.26.3
8.092   Downloaded strsim v0.11.1
8.095   Downloaded stringprep v0.1.5
8.100   Downloaded sqlx-postgres v0.7.4
8.112   Downloaded der v0.7.9
8.122   Downloaded darling_macro v0.20.10
8.124   Downloaded darling_core v0.20.10
8.131   Downloaded darling v0.20.10
8.137   Downloaded crypto-common v0.1.6
8.138   Downloaded crunchy v0.2.2
8.140   Downloaded crossbeam-utils v0.8.20
8.148   Downloaded crossbeam-queue v0.3.11
8.150   Downloaded const-random-macro v0.1.16
8.152   Downloaded const-random v0.1.18
8.154   Downloaded config v0.14.1
8.165   Downloaded cfg-if v1.0.0
8.167   Downloaded cc v1.2.3
8.172   Downloaded bytes v1.9.0
8.180   Downloaded byteorder v1.5.0
8.183   Downloaded base64 v0.21.7
8.188   Downloaded axum v0.7.9
8.201   Downloaded autocfg v1.4.0
8.203   Downloaded crc-catalog v2.4.0
8.206   Downloaded crc v3.2.1
8.213   Downloaded cookie v0.18.1
8.217   Downloaded convert_case v0.6.0
8.220   Downloaded const-oid v0.9.6
8.223   Downloaded block-buffer v0.10.4
8.225   Downloaded axum-extra v0.9.6
8.232   Downloaded atoi v2.0.0
8.235   Downloaded arraydeque v0.5.1
8.238   Downloaded tokio-stream v0.1.17
8.243   Downloaded bitflags v2.6.0
8.248   Downloaded base64 v0.22.1
8.259   Downloaded axum-macros v0.4.2
8.278   Downloaded atomic-waker v1.1.2
8.285   Downloaded toml_datetime v0.6.8
8.287   Downloaded tiny-keccak v2.0.2
8.291   Downloaded sqlx-sqlite v0.7.4
8.297   Downloaded async-trait v0.1.83
8.301   Downloaded anyhow v1.0.94
8.306   Downloaded allocator-api2 v0.2.21
8.365  Downloading crates ...
8.394   Downloaded httpc-test v0.1.10
8.407  Downloading crates ...
8.441   Downloaded pretty_assertions v1.4.1
8.455  Downloading crates ...
8.491   Downloaded testcontainers-modules v0.4.3
8.646    Compiling proc-macro2 v1.0.92
8.646    Compiling unicode-ident v1.0.14
8.646    Compiling libc v0.2.167
8.646    Compiling autocfg v1.4.0
8.648    Compiling cfg-if v1.0.0
8.651    Compiling version_check v0.9.5
8.653    Compiling serde v1.0.215
8.657    Compiling shlex v1.3.0
8.823    Compiling itoa v1.0.14
8.948    Compiling cc v1.2.3
8.970    Compiling once_cell v1.20.2
9.053    Compiling parking_lot_core v0.9.10
9.233    Compiling memchr v2.7.4
9.454    Compiling typenum v1.17.0
9.466    Compiling pin-project-lite v0.2.15
9.526    Compiling lock_api v0.4.12
9.680    Compiling slab v0.4.9
9.829    Compiling smallvec v1.13.2
9.965    Compiling generic-array v0.14.7
10.22    Compiling bytes v1.9.0
10.32    Compiling futures-core v0.3.31
10.43    Compiling quote v1.0.37
10.80    Compiling syn v2.0.90
10.82    Compiling getrandom v0.2.15
10.95    Compiling scopeguard v1.2.0
11.09    Compiling futures-sink v0.3.31
11.26    Compiling ahash v0.8.11
11.33    Compiling log v0.4.22
11.48    Compiling parking_lot v0.12.3
11.51    Compiling serde_json v1.0.133
11.80    Compiling tracing-core v0.1.33
11.87    Compiling futures-task v0.3.31
12.02    Compiling thiserror v1.0.69
12.08    Compiling futures-io v0.3.31
12.23    Compiling pin-utils v0.1.0
12.27    Compiling socket2 v0.5.8
12.32    Compiling signal-hook-registry v1.4.2
12.34    Compiling mio v1.0.3
12.34    Compiling stable_deref_trait v1.2.0
12.40    Compiling fnv v1.0.7
12.56    Compiling byteorder v1.5.0
12.93    Compiling num-conv v0.1.0
13.10    Compiling time-core v0.1.2
13.21    Compiling time-macros v0.2.19
13.60    Compiling ryu v1.0.18
13.77    Compiling crossbeam-utils v0.8.20
13.80    Compiling litemap v0.7.4
14.07    Compiling writeable v0.5.5
14.59    Compiling percent-encoding v2.3.1
14.80    Compiling ring v0.17.8
14.96    Compiling equivalent v1.0.1
15.07    Compiling icu_locid_transform_data v1.5.0
15.12    Compiling rustls v0.21.12
15.16    Compiling hashbrown v0.15.2
15.45    Compiling crypto-common v0.1.6
15.50    Compiling block-buffer v0.10.4
15.58    Compiling futures-channel v0.3.31
15.63    Compiling num-traits v0.2.19
15.83    Compiling spin v0.9.8
15.95    Compiling icu_properties_data v1.5.0
15.97    Compiling thiserror v2.0.4
16.13    Compiling subtle v2.6.1
16.14    Compiling tower-service v0.3.3
16.27    Compiling digest v0.10.7
16.40    Compiling indexmap v2.7.0
16.46    Compiling http v1.2.0
16.63    Compiling utf16_iter v1.0.5
16.71    Compiling paste v1.0.15
16.72    Compiling unicode-segmentation v1.12.0
17.05    Compiling pkg-config v0.3.31
17.14    Compiling utf8_iter v1.0.4
17.29    Compiling vcpkg v0.2.15
17.63    Compiling allocator-api2 v0.2.21
17.65    Compiling powerfmt v0.2.0
17.93    Compiling ident_case v1.0.1
18.01    Compiling write16 v1.0.0
18.04    Compiling httparse v1.9.5
18.06    Compiling untrusted v0.9.0
18.16    Compiling synstructure v0.13.1
18.32    Compiling icu_normalizer_data v1.5.0
18.39    Compiling darling_core v0.20.10
18.59    Compiling heck v0.4.1
18.70    Compiling openssl-sys v0.9.104
19.32    Compiling form_urlencoded v1.2.1
20.06    Compiling base64 v0.21.7
20.25    Compiling crunchy v0.2.2
21.14    Compiling http-body v1.0.1
22.04    Compiling httpdate v1.0.3
22.28    Compiling mime v0.3.17
22.35    Compiling minimal-lexical v0.2.1
22.73    Compiling tiny-keccak v2.0.2
22.92    Compiling tinyvec_macros v0.1.1
22.98    Compiling serde_derive v1.0.215
22.99    Compiling zerofrom-derive v0.1.5
23.11    Compiling yoke-derive v0.7.5
23.19    Compiling zerovec-derive v0.10.3
23.31    Compiling displaydoc v0.2.5
23.57    Compiling zerocopy-derive v0.7.35
24.05    Compiling icu_provider_macros v1.5.0
24.92    Compiling tracing-attributes v0.1.28
25.34    Compiling futures-macro v0.3.31
25.80    Compiling tokio-macros v2.4.0
26.15    Compiling thiserror-impl v1.0.69
26.58    Compiling zerocopy v0.7.35
27.31    Compiling zerofrom v0.1.5
27.34    Compiling tokio v1.42.0
27.47    Compiling yoke v0.7.5
27.70    Compiling futures-util v0.3.31
28.34    Compiling zerovec v0.10.4
29.09    Compiling tracing v0.1.41
30.23    Compiling tinystr v0.7.6
30.42    Compiling icu_collections v1.5.0
30.46    Compiling icu_locid v1.5.0
32.79    Compiling icu_provider v1.5.0
33.98    Compiling icu_locid_transform v1.5.0
35.18    Compiling hashbrown v0.14.5
35.36    Compiling thiserror-impl v2.0.4
36.20    Compiling icu_properties v1.5.1
39.25    Compiling bitflags v2.6.0
39.75    Compiling deranged v0.3.11
41.02    Compiling icu_normalizer v1.5.0
42.42    Compiling time v0.3.37
43.43    Compiling idna_adapter v1.2.0
44.82    Compiling darling_macro v0.20.10
47.02    Compiling darling v0.20.10
47.24    Compiling idna v1.0.3
47.37 error[E0658]: use of unstable library feature 'error_in_core'
47.37   --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/idna-1.0.3/src/lib.rs:78:6
47.37    |
47.37 78 | impl core::error::Error for Errors {}
47.37    |      ^^^^^^^^^^^^^^^^^^
47.37    |
47.37    = note: see issue #103765 <https://github.com/rust-lang/rust/issues/103765> for more information
47.37
47.73 For more information about this error, try `rustc --explain E0658`.
47.73 error: could not compile `idna` (lib) due to 1 previous error
47.73 warning: build failed, waiting for other jobs to finish...
56.04 thread 'main' panicked at /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/cargo-chef-0.1.66/src/recipe.rs:218:27:
56.04 Exited with status code: 101
[+] Running 0/1 with `RUST_BACKTRACE=1` environment variable to display a backtrace
 - Service server  Building                                                                                                                                                                                                                                                       72.8s
failed to solve: process "/bin/sh -c cargo chef cook --release --recipe-path recipe.json" did not complete successfully: exit code: 101
@iostreamer-X
Copy link
Member

Hey @nadilas thank you for reporting!

This seems like i missed setting proper rust version in docker. Lemme look into it, hopefully should be solved by day after tomorrow.

@nadilas
Copy link
Author

nadilas commented Dec 7, 2024

Thanks for the pointer @iostreamer-X! In the meantime based on your prompt, I'll use lukemathwalker/cargo-chef:latest-rust-slim-bookworm seems to do the trick for new.

@nadilas
Copy link
Author

nadilas commented Dec 7, 2024

Sorry for spamming... this product is one of the greatest ideas in the last few years. 🤯 🧠

@antonengelhardt
Copy link

rust 1.83 works for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants