Skip to content

Crash on init #196

Open
Open
@kevincox

Description

% rdedup -v
rdedup 3.1.1
...
% RUST_BACKTRACE=1 RDEDUP_PASSPHRASE=test rdedup -d ~/d init
Using passphrase set in RDEDUP_PASSPHRASE
thread 'main' panicked at 'attempted to leave type `linked_hash_map::Node<yaml_rust::yaml::Yaml, yaml_rust::yaml::Yaml>` uninitialized, which is invalid', /build/rustc-1.51.0-src/library/core/src/mem/mod.rs:671:9
stack backtrace:
   0: rust_begin_unwind
   1: core::panicking::panic_fmt
   2: core::panicking::panic
   3: linked_hash_map::LinkedHashMap<K,V,S>::insert
   4: <serde_yaml::ser::SerializeStruct as serde::ser::SerializeStruct>::serialize_field
   5: rdedup_lib::config::Repo::write
   6: rdedup::run
   7: rdedup::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions