You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I cannot include sqlx in a blank rust project due to "use of unstable library feature 'error_in_core'", unless I pick a really old version namely sqlx=0.3.5.
Info
SQLx version: 0.8.2 (amonst other versions)
SQLx features enabled: None, just sqlx = "0.8.2"
Database server and version: none, I couldn't get that far. It cannot even import
For more information about this error, try rustc --explain E0658.
error: could not compile idna (lib) due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
Error: Cargo invocation failed.
at t.Cargo.getCargoArtifacts (c:\Users\flem1.vscode\extensions\vadimcn.vscode-lldb-1.11.1\extension.js:1:10993)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Object.open (c:\Users\flem1.vscode\extensions\vadimcn.vscode-lldb-1.11.1\extension.js:1:9296)
Caused by: Error: exit code: 101.
at ChildProcess. (c:\Users\flem1.vscode\extensions\vadimcn.vscode-lldb-1.11.1\extension.js:1:12660)
at ChildProcess.emit (node:events:518:28)
at maybeClose (node:internal/child_process:1104:16)
at ChildProcess._handle.onexit (node:internal/child_process:304:5)
The terminal process terminated with exit code: 1.
Terminal will be reused by tasks, press any key to close it.
The text was updated successfully, but these errors were encountered:
Bug Description
I cannot include sqlx in a blank rust project due to "use of unstable library feature 'error_in_core'", unless I pick a really old version namely sqlx=0.3.5.
Info
rustc --version
: rustc 1.77.2 (25ef9e3d8 2024-04-09)Minimal Reproduction
run
cargo new --lib project_name
and addsqlx = "0.8.2"
to dependencies. Upon saving the toml, then you should get an error. Here is my toml.Here is the error message.
Running
cargo test --no-run --lib --package=liber --message-format=json --color=always
...Blocking waiting for file lock on package cache
Blocking waiting for file lock on package cache
Blocking waiting for file lock on package cache
Blocking waiting for file lock on package cache
Blocking waiting for file lock on build directory
Compiling stable_deref_trait v1.2.0
Compiling cfg-if v1.0.0
Compiling writeable v0.5.5
Compiling litemap v0.7.4
Compiling smallvec v1.13.2
Compiling icu_locid_transform_data v1.5.0
Compiling once_cell v1.20.2
Compiling icu_properties_data v1.5.0
Compiling utf8_iter v1.0.4
Compiling icu_normalizer_data v1.5.0
Compiling memchr v2.7.4
Compiling write16 v1.0.0
Compiling utf16_iter v1.0.5
Compiling typenum v1.17.0
Compiling windows_x86_64_msvc v0.52.6
Compiling crossbeam-utils v0.8.20
Compiling zerofrom v0.1.5
Compiling scopeguard v1.2.0
Compiling zerocopy v0.7.35
Compiling pin-project-lite v0.2.15
Compiling windows-targets v0.52.6
Compiling futures-core v0.3.31
Compiling serde v1.0.216
Compiling lock_api v0.4.12
Compiling minimal-lexical v0.2.1
Compiling yoke v0.7.5
Compiling cpufeatures v0.2.16
Compiling futures-sink v0.3.31
Compiling percent-encoding v2.3.1
Compiling parking_lot_core v0.9.10
Compiling allocator-api2 v0.2.21
Compiling tracing-core v0.1.33
Compiling slab v0.4.9
Compiling num-traits v0.2.19
Compiling log v0.4.22
Compiling equivalent v1.0.1
Compiling unicode_categories v0.1.1
Compiling futures-io v0.3.31
Compiling zerovec v0.10.4
Compiling form_urlencoded v1.2.1
Compiling ahash v0.8.11
Compiling parking_lot v0.12.3
Compiling parking v2.2.1
Compiling concurrent-queue v2.5.0
Compiling hashbrown v0.15.2
Compiling crc-catalog v2.4.0
Compiling nom v7.1.3
Compiling futures-task v0.3.31
Compiling hashbrown v0.14.5
Compiling pin-utils v0.1.0
Compiling futures-intrusive v0.5.0
Compiling tracing v0.1.41
Compiling event-listener v5.3.1
Compiling futures-util v0.3.31
Compiling crc v3.2.1
Compiling generic-array v0.14.7
Compiling crossbeam-queue v0.3.11
Compiling thiserror v1.0.69
Compiling futures-channel v0.3.31
Compiling byteorder v1.5.0
Compiling bytes v1.9.0
Compiling hex v0.4.3
Compiling windows-sys v0.59.0
Compiling atoi v2.0.0
Compiling indexmap v2.7.0
Compiling hashlink v0.9.1
Compiling block-buffer v0.10.4
Compiling crypto-common v0.1.6
Compiling tinystr v0.7.6
Compiling icu_collections v1.5.0
Compiling digest v0.10.7
Compiling icu_locid v1.5.0
Compiling sha2 v0.10.8
Compiling tempfile v3.14.0
Compiling icu_provider v1.5.0
Compiling sqlformat v0.2.6
Compiling icu_locid_transform v1.5.0
Compiling icu_properties v1.5.1
Compiling either v1.13.0
Compiling serde_json v1.0.133
Compiling icu_normalizer v1.5.0
Compiling idna_adapter v1.2.0
Compiling idna v1.0.3
error[E0658]: use of unstable library feature 'error_in_core'
--> C:\Users\flem1.cargo\registry\src\index.crates.io-6f17d22bba15001f\idna-1.0.3\src/lib.rs:78:6
|
78 | impl core::error::Error for Errors {}
| ^^^^^^^^^^^^^^^^^^
|
= note: see issue #103765 rust-lang/rust#103765 for more information
error: aborting due to 1 previous error
For more information about this error, try
rustc --explain E0658
.error: could not compile
idna
(lib) due to 2 previous errorswarning: build failed, waiting for other jobs to finish...
Error: Cargo invocation failed.
at t.Cargo.getCargoArtifacts (c:\Users\flem1.vscode\extensions\vadimcn.vscode-lldb-1.11.1\extension.js:1:10993)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Object.open (c:\Users\flem1.vscode\extensions\vadimcn.vscode-lldb-1.11.1\extension.js:1:9296)
Caused by: Error: exit code: 101.
at ChildProcess. (c:\Users\flem1.vscode\extensions\vadimcn.vscode-lldb-1.11.1\extension.js:1:12660)
at ChildProcess.emit (node:events:518:28)
at maybeClose (node:internal/child_process:1104:16)
at ChildProcess._handle.onexit (node:internal/child_process:304:5)
The text was updated successfully, but these errors were encountered: