We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have follwoing code
#[derive(serde_tuple::Deserialize_tuple)] struct CborTest { _single: String, } fn main() { println!("Hello, world!"); }
[package] name = "minimal" version = "0.1.0" edition = "2018" [dependencies] serde = { version = "1.0.130" , features = ["derive"] } serde_tuple = "0.5.0"
when I run cargo run command, I get following output:-
cargo run
Compiling minimal v0.1.0 (/home/smit/minimal) /home/smit/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-2d8919e595cbef4e.so(+0x52fca3)[0x7f1c494deca3] /usr/lib/libpthread.so.0(+0x13870)[0x7f1c48beb870] /home/smit/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-2d8919e595cbef4e.so(+0x1f4b63c)[0x7f1c4aefa63c] ... many errors like above error: could not compile `minimal` Caused by: process didn't exit successfully: `rustc --crate-name minimal --edition=2018 src/main.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 -C metadata=9d068310e5964450 -C extra-filename=-9d068310e5964450 --out-dir /home/smit/minimal/target/debug/deps -C incremental=/home/smit/minimal/target/debug/incremental -L dependency=/home/smit/minimal/target/debug/deps --extern serde=/home/smit/minimal/target/debug/deps/libserde-d7ce113a0997d25c.rlib --extern serde_tuple=/home/smit/minimal/target/debug/deps/libserde_tuple-3df00021877ea130.rlib` (signal: 11, SIGSEGV: invalid memory reference)
full output:- https://pastebin.com/raw/27Z2thYu
using rustc 1.55.0 (c8dfcfe04 2021-09-06) on ArchLinux
The text was updated successfully, but these errors were encountered:
This is a compiler bug: see #2 (comment) for more details.
Closing now, but please let me know if you have any new information.
Sorry, something went wrong.
No branches or pull requests
I have follwoing code
when I run
cargo run
command, I get following output:-full output:- https://pastebin.com/raw/27Z2thYu
using rustc 1.55.0 (c8dfcfe04 2021-09-06) on ArchLinux
The text was updated successfully, but these errors were encountered: