mathall / rim Goto Github PK
View Code? Open in Web Editor NEWAspiring vim-like text editor
License: Mozilla Public License 2.0
Aspiring vim-like text editor
License: Mozilla Public License 2.0
I'd like to be able to open files from the command line.
I've found two libraries for command line parsing.
Please check which one you like better.
http://rustbyexample.com/std_misc/arg/getopts.html
https://github.com/tailhook/rust-argparse
At first I'd implement only --version and --help, other than the filename to edit.
Please tell me your thoughts.
It's got this nice object->verb pattern instead of verb->object and it highlights the object as you're typing the object selection keywords, so you can see if the verb you're about to apply will have the effect you intended. And it eliminates a lot of cases where one might need to undo and try again.
A friend sent me a link to this yesterday evening and I thought it was pretty interesting: http://kakoune.org/why-kakoune/why-kakoune.html
Would be cool to have the option to work in either way... I'm currently investigating adding kak-like functionality to neovim with a plugin, and hopefully that's fruitful.
In vim we have three commands for "exiting":
:qa - quits the program (Cmd::Quit)
:clo - close current window, if it isn't the last (Cmd::CloseWindow)
:q - close current window, and quits program if it's the last (Not yet implemented?)
I'd like to offer to implement the ":q" in rim. (I'd be starting with something easy)
What do you think?
I'm trying to compile, but I'm having problems:
» cargo run
Compiling termkey v0.17.5 (git://github.com/mathall/termkey-rs.git#20009a4c)
Compiling uuid v0.1.17
/home/vini/.cargo/git/checkouts/termkey-rs-d0636d9b250f3b81/master/src/lib.rs:195:52: 195:69 error: use of unstable library feature 'slice_chars': may have yet to prove its worth
/home/vini/.cargo/git/checkouts/termkey-rs-d0636d9b250f3b81/master/src/lib.rs:195 ::std::str::from_utf8_unchecked(bytes).slice_chars(0, 1)
^~~~~~~~~~~~~~~~~
/home/vini/.cargo/git/checkouts/termkey-rs-d0636d9b250f3b81/master/src/lib.rs:195:52: 195:69 help: add #![feature(slice_chars)] to the crate attributes to enable
error: aborting due to previous error
Build failed, waiting for other jobs to finish...
Could not compile `termkey`.
If I try to update:
cargo update vini@archdiogo
Updating registry `https://github.com/rust-lang/crates.io-index`
Updating git repository `https://github.com/mathall/termkey-rs.git`
------------------------------------------------------------
~/github/rim(branch:github*) » cargo run vini@archdiogo
Compiling termkey v0.17.5 (https://github.com/mathall/termkey-rs.git#75403501)
Compiling uuid v0.1.17
Compiling rim v0.0.1 (file:///home/vini/github/rim)
src/screen.rs:247:17: 247:50 error: wrong number of type arguments: expected 0, found 1 [E0244]
src/screen.rs:247 terminal: Box<term::Terminal<::std::io::Stdout> + Send>,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/screen.rs:247:17: 247:50 help: run `rustc --explain E0244` to see a detailed explanation
src/screen.rs:247:17: 247:57 error: the value of the associated type `Output` (from the trait `term::Terminal`) must be specified [E0191]
src/screen.rs:247 terminal: Box<term::Terminal<::std::io::Stdout> + Send>,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: aborting due to 2 previous errors
Could not compile `rim`.
rim@stitny (github)$ RUST_BACKTRACE=1 cargo run -v
Compiling libc v0.2.36
Compiling cfg-if v0.1.2
Compiling unicode-xid v0.0.4
Compiling void v1.0.2
Compiling quote v0.3.15
Compiling slab v0.3.0
Compiling byteorder v1.2.1
Compiling futures v0.1.18
Running `rustc --crate-name libc /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.36/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="use_std"' -C metadata=51f2adca85c28c30 -C extra-filename=-51f2adca85c28c30 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --cap-lints allow`
Running `rustc --crate-name cfg_if /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/cfg-if-0.1.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=949acc113fb2fa42 -C extra-filename=-949acc113fb2fa42 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --cap-lints allow`
Running `rustc --crate-name void /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/void-1.0.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=7e828011a7a4dfe2 -C extra-filename=-7e828011a7a4dfe2 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --cap-lints allow`
Running `rustc --crate-name unicode_xid /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/unicode-xid-0.0.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' -C metadata=c54f041e3818a1e0 -C extra-filename=-c54f041e3818a1e0 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --cap-lints allow`
Running `rustc --crate-name quote /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/quote-0.3.15/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=962b1ed417002d01 -C extra-filename=-962b1ed417002d01 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --cap-lints allow`
Running `rustc --crate-name slab /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/slab-0.3.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=856a8ca78598f130 -C extra-filename=-856a8ca78598f130 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --cap-lints allow`
Running `rustc --crate-name byteorder /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.2.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=a2d9e2fd9e8a3e2b -C extra-filename=-a2d9e2fd9e8a3e2b --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --cap-lints allow`
Running `rustc --crate-name futures /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.18/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' -C metadata=87269fb860aa9370 -C extra-filename=-87269fb860aa9370 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --cap-lints allow`
Compiling lazy_static v1.0.0
Running `rustc --crate-name lazy_static /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/lazy_static-1.0.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=ecff4316c4748b54 -C extra-filename=-ecff4316c4748b54 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --cap-lints allow`
Compiling termkey-rs v0.17.0 (git://github.com/mathall/termkey-rs.git#604a310b)
Running `rustc --crate-name build_script_build /home/matej/.cargo/git/checkouts/termkey-rs-f0bd9c68d915c604/604a310/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 -C metadata=92335833a1bfa211 -C extra-filename=-92335833a1bfa211 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/build/termkey-rs-92335833a1bfa211 -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --cap-lints allow`
Compiling utf8-ranges v1.0.0
Running `rustc --crate-name utf8_ranges /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/utf8-ranges-1.0.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=0c5181e77282f922 -C extra-filename=-0c5181e77282f922 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --cap-lints allow`
Compiling lazycell v0.6.0
Running `rustc --crate-name lazycell /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/lazycell-0.6.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=663adc702a7880f3 -C extra-filename=-663adc702a7880f3 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --cap-lints allow`
Compiling regex-syntax v0.4.2
Running `rustc --crate-name regex_syntax /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/regex-syntax-0.4.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=1eb387de24553362 -C extra-filename=-1eb387de24553362 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --cap-lints allow`
Compiling slab v0.4.0
Running `rustc --crate-name slab /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/slab-0.4.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=b7bef2c79dd6524c -C extra-filename=-b7bef2c79dd6524c --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --cap-lints allow`
Compiling scoped-tls v0.1.0
Running `rustc --crate-name scoped_tls /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/scoped-tls-0.1.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=a4ee3761c50f2e05 -C extra-filename=-a4ee3761c50f2e05 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --cap-lints allow`
Compiling strsim v0.6.0
Running `rustc --crate-name strsim /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/strsim-0.6.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=b83d34ae8dacb88d -C extra-filename=-b83d34ae8dacb88d --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --cap-lints allow`
Compiling bitflags v0.5.0
Running `rustc --crate-name bitflags /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/bitflags-0.5.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=cf9faf29cc51e389 -C extra-filename=-cf9faf29cc51e389 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --cap-lints allow`
Compiling serde v1.0.27
Running `rustc --crate-name serde /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.27/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=eaaa36f21bdf2927 -C extra-filename=-eaaa36f21bdf2927 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --cap-lints allow`
Compiling vec_map v0.8.0
Running `rustc --crate-name vec_map /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/vec_map-0.8.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=4418fb7d467aa148 -C extra-filename=-4418fb7d467aa148 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --cap-lints allow`
Compiling unicode-width v0.1.4
Running `rustc --crate-name unicode_width /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/unicode-width-0.1.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' -C metadata=8d1fb24dc1b8a6d0 -C extra-filename=-8d1fb24dc1b8a6d0 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --cap-lints allow`
Compiling term v0.4.6
Running `rustc --crate-name term /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/term-0.4.6/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' -C metadata=0d2c1ea9b2b154d2 -C extra-filename=-0d2c1ea9b2b154d2 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --cap-lints allow`
Compiling bitflags v1.0.1
Running `rustc --crate-name bitflags /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/bitflags-1.0.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="example_generated"' -C metadata=a64879c5d1422838 -C extra-filename=-a64879c5d1422838 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --cap-lints allow`
Compiling log v0.4.1
Running `rustc --crate-name log /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/log-0.4.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="std"' -C metadata=30fe4fd8c0ea0438 -C extra-filename=-30fe4fd8c0ea0438 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --extern cfg_if=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libcfg_if-949acc113fb2fa42.rmeta --cap-lints allow`
Compiling unreachable v1.0.0
Running `rustc --crate-name unreachable /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/unreachable-1.0.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=78fa5edefa3ddeae -C extra-filename=-78fa5edefa3ddeae --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --extern void=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libvoid-7e828011a7a4dfe2.rmeta --cap-lints allow`
Compiling synom v0.11.3
Running `rustc --crate-name synom /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/synom-0.11.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=111cd58408bf16ff -C extra-filename=-111cd58408bf16ff --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --extern unicode_xid=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libunicode_xid-c54f041e3818a1e0.rmeta --cap-lints allow`
Running `/home/matej/archiv/knihovna/repos/rim/target/debug/build/termkey-rs-92335833a1bfa211/build-script-build`
Compiling iovec v0.1.2
Running `rustc --crate-name iovec /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/iovec-0.1.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=93864d41c1629d0e -C extra-filename=-93864d41c1629d0e --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --extern libc=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/liblibc-51f2adca85c28c30.rmeta --cap-lints allow`
Compiling memchr v2.0.1
Running `rustc --crate-name memchr /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/memchr-2.0.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="libc"' --cfg 'feature="use_std"' -C metadata=8f5ff63a0a5527e2 -C extra-filename=-8f5ff63a0a5527e2 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --extern libc=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/liblibc-51f2adca85c28c30.rmeta --cap-lints allow`
Compiling net2 v0.2.31
Running `rustc --crate-name net2 /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.31/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="duration"' -C metadata=d0434709cbe7c4cf -C extra-filename=-d0434709cbe7c4cf --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --extern cfg_if=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libcfg_if-949acc113fb2fa42.rmeta --extern libc=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/liblibc-51f2adca85c28c30.rmeta --cap-lints allow`
Compiling rand v0.4.2
Running `rustc --crate-name rand /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.4.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="libc"' --cfg 'feature="std"' -C metadata=d99caaf6aa5a8c17 -C extra-filename=-d99caaf6aa5a8c17 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --extern libc=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/liblibc-51f2adca85c28c30.rmeta --cap-lints allow`
Compiling thread_local v0.3.5
Running `rustc --crate-name thread_local /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/thread_local-0.3.5/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=e27d068d7a7acf6f -C extra-filename=-e27d068d7a7acf6f --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --extern lazy_static=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/liblazy_static-ecff4316c4748b54.rmeta --extern unreachable=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libunreachable-78fa5edefa3ddeae.rmeta --cap-lints allow`
Running `rustc --crate-name termkey /home/matej/.cargo/git/checkouts/termkey-rs-f0bd9c68d915c604/604a310/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=fe8e4b34c366f20b -C extra-filename=-fe8e4b34c366f20b --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --extern bitflags=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libbitflags-cf9faf29cc51e389.rmeta --extern libc=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/liblibc-51f2adca85c28c30.rmeta --cap-lints allow -L /home/matej/.cargo/git/checkouts/termkey-rs-f0bd9c68d915c604/604a310/termkey-c/v0.17/.libs -l termkey`
Compiling syn v0.11.11
Running `rustc --crate-name syn /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/syn-0.11.11/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="quote"' --cfg 'feature="synom"' --cfg 'feature="unicode-xid"' --cfg 'feature="visit"' -C metadata=55bdc1435ef853dc -C extra-filename=-55bdc1435ef853dc --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --extern quote=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libquote-962b1ed417002d01.rmeta --extern synom=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libsynom-111cd58408bf16ff.rmeta --extern unicode_xid=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libunicode_xid-c54f041e3818a1e0.rmeta --cap-lints allow`
Compiling log v0.3.9
Running `rustc --crate-name log /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/log-0.3.9/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="use_std"' -C metadata=f693bdd1d04e6c84 -C extra-filename=-f693bdd1d04e6c84 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --extern log=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/liblog-30fe4fd8c0ea0438.rmeta --cap-lints allow`
Compiling bytes v0.4.6
Running `rustc --crate-name bytes /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/bytes-0.4.6/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=35c35578d46cbb48 -C extra-filename=-35c35578d46cbb48 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --extern byteorder=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libbyteorder-a2d9e2fd9e8a3e2b.rmeta --extern iovec=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libiovec-93864d41c1629d0e.rmeta --cap-lints allow`
Compiling aho-corasick v0.6.4
Running `rustc --crate-name aho_corasick /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/aho-corasick-0.6.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=df093b02fa91e12c -C extra-filename=-df093b02fa91e12c --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --extern memchr=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libmemchr-8f5ff63a0a5527e2.rmeta --cap-lints allow`
Compiling mio v0.6.13
Running `rustc --crate-name mio /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.6.13/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="with-deprecated"' -C metadata=694963adb8542a66 -C extra-filename=-694963adb8542a66 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --extern iovec=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libiovec-93864d41c1629d0e.rmeta --extern lazycell=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/liblazycell-663adc702a7880f3.rmeta --extern libc=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/liblibc-51f2adca85c28c30.rmeta --extern log=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/liblog-f693bdd1d04e6c84.rmeta --extern net2=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libnet2-d0434709cbe7c4cf.rmeta --extern slab=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libslab-856a8ca78598f130.rmeta --cap-lints allow`
Compiling rand v0.3.22
Running `rustc --crate-name rand /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.3.22/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=9e8d2eae4c87ff2b -C extra-filename=-9e8d2eae4c87ff2b --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --extern libc=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/liblibc-51f2adca85c28c30.rmeta --extern rand=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/librand-d99caaf6aa5a8c17.rmeta --cap-lints allow`
Compiling tokio-timer v0.1.2
Running `rustc --crate-name tokio_timer /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-timer-0.1.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=e99c7d933209a196 -C extra-filename=-e99c7d933209a196 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --extern futures=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libfutures-87269fb860aa9370.rmeta --extern slab=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libslab-856a8ca78598f130.rmeta --cap-lints allow`
Compiling regex v0.2.6
Running `rustc --crate-name regex /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/regex-0.2.6/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=3b681d36eedfebf3 -C extra-filename=-3b681d36eedfebf3 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --extern aho_corasick=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libaho_corasick-df093b02fa91e12c.rmeta --extern memchr=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libmemchr-8f5ff63a0a5527e2.rmeta --extern regex_syntax=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libregex_syntax-1eb387de24553362.rmeta --extern thread_local=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libthread_local-e27d068d7a7acf6f.rmeta --extern utf8_ranges=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libutf8_ranges-0c5181e77282f922.rmeta --cap-lints allow`
Compiling tokio-io v0.1.5
Running `rustc --crate-name tokio_io /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-io-0.1.5/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=7654ee705f02c1b9 -C extra-filename=-7654ee705f02c1b9 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --extern bytes=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libbytes-35c35578d46cbb48.rmeta --extern futures=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libfutures-87269fb860aa9370.rmeta --extern log=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/liblog-30fe4fd8c0ea0438.rmeta --cap-lints allow`
Compiling uuid v0.5.1
Running `rustc --crate-name uuid /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/uuid-0.5.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="rand"' --cfg 'feature="v4"' -C metadata=04f3570e3024b4ae -C extra-filename=-04f3570e3024b4ae --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --extern rand=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/librand-9e8d2eae4c87ff2b.rmeta --cap-lints allow`
Compiling serde_derive_internals v0.19.0
Running `rustc --crate-name serde_derive_internals /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/serde_derive_internals-0.19.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=50c7b66dbb494b0b -C extra-filename=-50c7b66dbb494b0b --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --extern syn=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libsyn-55bdc1435ef853dc.rmeta --extern synom=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libsynom-111cd58408bf16ff.rmeta --cap-lints allow`
Compiling tokio-core v0.1.12
Running `rustc --crate-name tokio_core /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-core-0.1.12/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=08f6bc181406f741 -C extra-filename=-08f6bc181406f741 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --extern bytes=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libbytes-35c35578d46cbb48.rmeta --extern futures=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libfutures-87269fb860aa9370.rmeta --extern iovec=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libiovec-93864d41c1629d0e.rmeta --extern log=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/liblog-30fe4fd8c0ea0438.rmeta --extern mio=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libmio-694963adb8542a66.rmeta --extern scoped_tls=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libscoped_tls-a4ee3761c50f2e05.rmeta --extern slab=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libslab-b7bef2c79dd6524c.rmeta --extern tokio_io=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libtokio_io-7654ee705f02c1b9.rmeta --cap-lints allow`
Compiling serde_derive v1.0.27
Running `rustc --crate-name serde_derive /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/serde_derive-1.0.27/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' -C metadata=3cdb0e3db75cf097 -C extra-filename=-3cdb0e3db75cf097 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --extern quote=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libquote-962b1ed417002d01.rlib --extern serde_derive_internals=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libserde_derive_internals-50c7b66dbb494b0b.rlib --extern syn=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libsyn-55bdc1435ef853dc.rlib --extern proc_macro --cap-lints allow`
Compiling docopt v0.8.3
Running `rustc --crate-name docopt /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/docopt-0.8.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=c9b4a32634dd2e7f -C extra-filename=-c9b4a32634dd2e7f --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --extern lazy_static=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/liblazy_static-ecff4316c4748b54.rmeta --extern regex=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libregex-3b681d36eedfebf3.rmeta --extern serde=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libserde-eaaa36f21bdf2927.rmeta --extern serde_derive=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libserde_derive-3cdb0e3db75cf097.so --extern strsim=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libstrsim-b83d34ae8dacb88d.rmeta --cap-lints allow`
Compiling rim v0.1.0 (/home/matej/archiv/knihovna/repos/rim)
Running `rustc --crate-name rim 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=82049c9ce5b8c62b -C extra-filename=-82049c9ce5b8c62b --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -C incremental=/home/matej/archiv/knihovna/repos/rim/target/debug/incremental -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --extern bitflags=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libbitflags-a64879c5d1422838.rlib --extern docopt=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libdocopt-c9b4a32634dd2e7f.rlib --extern futures=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libfutures-87269fb860aa9370.rlib --extern libc=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/liblibc-51f2adca85c28c30.rlib --extern rand=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/librand-d99caaf6aa5a8c17.rlib --extern serde=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libserde-eaaa36f21bdf2927.rlib --extern serde_derive=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libserde_derive-3cdb0e3db75cf097.so --extern term=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libterm-0d2c1ea9b2b154d2.rlib --extern termkey=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libtermkey-fe8e4b34c366f20b.rlib --extern tokio_core=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libtokio_core-08f6bc181406f741.rlib --extern tokio_timer=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libtokio_timer-e99c7d933209a196.rlib --extern unicode_width=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libunicode_width-8d1fb24dc1b8a6d0.rlib --extern uuid=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libuuid-04f3570e3024b4ae.rlib --extern vec_map=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libvec_map-4418fb7d467aa148.rlib -L /home/matej/.cargo/git/checkouts/termkey-rs-f0bd9c68d915c604/604a310/termkey-c/v0.17/.libs`
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/buffer.rs:754:7
|
754 | try!(self.file.seek(SeekFrom::Current(-(num_truncated_bytes as i64))));
| ^^^
|
= note: `#[warn(deprecated)]` on by default
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/keymap.rs:104:1
|
104 | / bitflags! {
105 | | pub struct KeyMod: u8 {
106 | | const MOD_NONE = 0;
107 | | const MOD_SHIFT = 1 << 0;
... |
110 | | }
111 | | }
| |_^
|
= note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/keymap.rs:104:1
|
104 | / bitflags! {
105 | | pub struct KeyMod: u8 {
106 | | const MOD_NONE = 0;
107 | | const MOD_SHIFT = 1 << 0;
... |
110 | | }
111 | | }
| |_^
|
= note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/keymap.rs:104:1
|
104 | / bitflags! {
105 | | pub struct KeyMod: u8 {
106 | | const MOD_NONE = 0;
107 | | const MOD_SHIFT = 1 << 0;
... |
110 | | }
111 | | }
| |_^
|
= note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
--> src/buffer.rs:780:34
|
780 | Error::IoError(ref err) => error::Error::description(err),
| ^^^^^^^^^^^^^^^^^^^^^^^^^
warning: 5 warnings emitted
Finished dev [unoptimized + debuginfo] target(s) in 13.72s
Running `target/debug/rim`
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: "Failed creating a terminal for stdout."', src/main.rs:620:36
stack backtrace:
0: rust_begin_unwind
1: core::panicking::panic_fmt
2: core::result::unwrap_failed
3: core::result::Result<T,E>::unwrap
at /home/abuild/rpmbuild/BUILD/rustc-1.47.0-src/library/core/src/result.rs:973
4: rim::main
at ./src/main.rs:620
5: core::ops::function::FnOnce::call_once
at /home/abuild/rpmbuild/BUILD/rustc-1.47.0-src/library/core/src/ops/function.rs:227
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
rim@stitny (github *)$ rustc --version
rustc 1.47.0
rim@stitny (github *)$
❯ cargo run Finished dev [unoptimized + debuginfo] target(s) in 0.13s Running
target/debug/rimdyld[58957]: Library not loaded: /usr/local/lib/libtermkey.1.dylib Referenced from: /Users/chenzhang/data/rim/target/debug/rim Reason: tried: '/usr/local/lib/libtermkey.1.dylib' (no such file), '/Users/chenzhang/data/rim/target/debug/deps/libtermkey.1.dylib' (no such file), '/Users/chenzhang/data/rim/target/debug/libtermkey.1.dylib' (no such file), '/Users/chenzhang/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libtermkey.1.dylib' (no such file), '/Users/chenzhang/.rustup/toolchains/stable-x86_64-apple-darwin/lib/libtermkey.1.dylib' (no such file), '/Users/chenzhang/lib/libtermkey.1.dylib' (no such file), '/usr/lib/libtermkey.1.dylib' (no such file) [1] 58957 abort cargo run
After i clone this repo, and run 'cargo run', a dependency problem acurred, what should i do ?
If you open a file which your user has read permission, but no write permission, and then try to save it (:w
) rim exists with code 101 and no explanation.
I think rim should show a message to the user and should not exit when failing to write in file.
In the case of vim there's a line at the bottom that's "reserved" for showing warnings and erros, as well as the "vim prompt".
I think I'd be nice for rim to have this "message bar" as well.
What do you think?
This project don't run or compile with cargo (cargo 0.15.0-nightly (298a012 2016-12-20) ) and rustc (rustc 1.14.0 (e8a012324 2016-12-16) )
We receive that message below:
Compiling rim v0.0.1 (file:///home/flavio/bin/rim)
error[E0554]: #[feature] may not be used on the stable release channel
--> src/rim.rs:9:1
|
9 | #![feature(mpsc_select)]
| ^^^^^^^^^^^^^^^^^^^^^^^^
error[E0554]: #[feature] may not be used on the stable release channel
--> src/rim.rs:10:1
|
10 | #![feature(slice_patterns)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to 2 previous errors
error: Could not compile `rim`.
To learn more, run the command again with --verbose.
rim(github)$ cargo run
Updating registry `https://github.com/rust-lang/crates.io-index`
Updating git repository `git://github.com/mathall/termkey-rs.git`
Downloading gcc v0.1.7
Downloading libc v0.1.1
Downloading time v0.1.15
Downloading rustc-serialize v0.2.11
Downloading uuid v0.1.9
Downloading bitflags v0.1.0
Compiling termkey v0.17.5 (git://github.com/mathall/termkey-rs.git#8394ba8c)
Compiling rustc-serialize v0.2.11
Compiling libc v0.1.1
Compiling bitflags v0.1.0
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.1.1/rust/src/liblibc/lib.rs:19:1: 19:11 error: no_std is experimental
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.1.1/rust/src/liblibc/lib.rs:19 #![no_std]
^~~~~~~~~~
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.1.1/rust/src/liblibc/lib.rs:19:1: 19:11 help: add #![feature(no_std)] to the crate attributes to enable
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.1.1/rust/src/liblibc/lib.rs:19 #![no_std]
^~~~~~~~~~
error: aborting due to previous error
Compiling gcc v0.1.7
Build failed, waiting for other jobs to finish...
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:541:20: 541:37 error: failed to resolve. Could not find `posix` in `std::path`
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:541 impl Encodable for path::posix::Path {
^~~~~~~~~~~~~~~~~
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:541:20: 541:37 error: use of undeclared type name `path::posix::Path`
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:541 impl Encodable for path::posix::Path {
^~~~~~~~~~~~~~~~~
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:547:20: 547:37 error: failed to resolve. Could not find `posix` in `std::path`
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:547 impl Decodable for path::posix::Path {
^~~~~~~~~~~~~~~~~
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:547:20: 547:37 error: use of undeclared type name `path::posix::Path`
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:547 impl Decodable for path::posix::Path {
^~~~~~~~~~~~~~~~~
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:548:48: 548:65 error: failed to resolve. Could not find `posix` in `std::path`
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:548 fn decode<D: Decoder>(d: &mut D) -> Result<path::posix::Path, D::Error> {
^~~~~~~~~~~~~~~~~
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:548:48: 548:65 error: use of undeclared type name `path::posix::Path`
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:548 fn decode<D: Decoder>(d: &mut D) -> Result<path::posix::Path, D::Error> {
^~~~~~~~~~~~~~~~~
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:550:12: 550:34 error: failed to resolve. Could not find `posix` in `std::path`
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:550 Ok(path::posix::Path::new(bytes))
^~~~~~~~~~~~~~~~~~~~~~
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:550:12: 550:34 error: unresolved name `path::posix::Path::new`
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:550 Ok(path::posix::Path::new(bytes))
^~~~~~~~~~~~~~~~~~~~~~
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:554:20: 554:39 error: failed to resolve. Could not find `windows` in `std::path`
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:554 impl Encodable for path::windows::Path {
^~~~~~~~~~~~~~~~~~~
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:554:20: 554:39 error: use of undeclared type name `path::windows::Path`
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:554 impl Encodable for path::windows::Path {
^~~~~~~~~~~~~~~~~~~
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:560:20: 560:39 error: failed to resolve. Could not find `windows` in `std::path`
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:560 impl Decodable for path::windows::Path {
^~~~~~~~~~~~~~~~~~~
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:560:20: 560:39 error: use of undeclared type name `path::windows::Path`
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:560 impl Decodable for path::windows::Path {
^~~~~~~~~~~~~~~~~~~
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:561:48: 561:67 error: failed to resolve. Could not find `windows` in `std::path`
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:561 fn decode<D: Decoder>(d: &mut D) -> Result<path::windows::Path, D::Error> {
^~~~~~~~~~~~~~~~~~~
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:561:48: 561:67 error: use of undeclared type name `path::windows::Path`
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:561 fn decode<D: Decoder>(d: &mut D) -> Result<path::windows::Path, D::Error> {
^~~~~~~~~~~~~~~~~~~
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:563:12: 563:36 error: failed to resolve. Could not find `windows` in `std::path`
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:563 Ok(path::windows::Path::new(bytes))
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:563:12: 563:36 error: unresolved name `path::windows::Path::new`
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:563 Ok(path::windows::Path::new(bytes))
^~~~~~~~~~~~~~~~~~~~~~~~
error: aborting due to 16 previous errors
Could not compile `libc`.
To learn more, run the command again with --verbose.
(expedia)rim(github)$ v .
(expedia)rim(github)$ cargo run --verbose
Fresh gcc v0.1.7
Compiling rustc-serialize v0.2.11
Running `rustc /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/lib.rs --crate-name rustc-serialize --crate-type lib -g -C metadata=285c9bed5802d3eb -C extra-filename=-285c9bed5802d3eb --out-dir /Users/yo1/other-code/code-reading/rim/target/deps --emit=dep-info,link -L dependency=/Users/yo1/other-code/code-reading/rim/target/deps -L dependency=/Users/yo1/other-code/code-reading/rim/target/deps -Awarnings`
Fresh bitflags v0.1.0
Compiling termkey v0.17.5 (git://github.com/mathall/termkey-rs.git#8394ba8c)
Running `/Users/yo1/other-code/code-reading/rim/target/build/termkey-bd5d741c95aaea0b/build-script-build`
Compiling libc v0.1.1
Running `rustc /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.1.1/rust/src/liblibc/lib.rs --crate-name libc --crate-type lib -g --cfg feature="default" --cfg feature="cargo-build" -C metadata=6b537f2898b2a028 -C extra-filename=-6b537f2898b2a028 --out-dir /Users/yo1/other-code/code-reading/rim/target/deps --emit=dep-info,link -L dependency=/Users/yo1/other-code/code-reading/rim/target/deps -L dependency=/Users/yo1/other-code/code-reading/rim/target/deps -Awarnings`
Compiling time v0.1.15
Running `rustc /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/time-0.1.15/build.rs --crate-name build-script-build --crate-type bin -C prefer-dynamic -g --out-dir /Users/yo1/other-code/code-reading/rim/target/build/time-2215e3ac75eaa2c7 --emit=dep-info,link -L dependency=/Users/yo1/other-code/code-reading/rim/target/deps -L dependency=/Users/yo1/other-code/code-reading/rim/target/deps --extern gcc=/Users/yo1/other-code/code-reading/rim/target/deps/libgcc-3361713823cacea0.rlib -Awarnings`
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.1.1/rust/src/liblibc/lib.rs:19:1: 19:11 error: no_std is experimental
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.1.1/rust/src/liblibc/lib.rs:19 #![no_std]
^~~~~~~~~~
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.1.1/rust/src/liblibc/lib.rs:19:1: 19:11 help: add #![feature(no_std)] to the crate attributes to enable
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.1.1/rust/src/liblibc/lib.rs:19 #![no_std]
^~~~~~~~~~
error: aborting due to previous error
Build failed, waiting for other jobs to finish...
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:541:20: 541:37 error: failed to resolve. Could not find `posix` in `std::path`
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:541 impl Encodable for path::posix::Path {
^~~~~~~~~~~~~~~~~
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:541:20: 541:37 error: use of undeclared type name `path::posix::Path`
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:541 impl Encodable for path::posix::Path {
^~~~~~~~~~~~~~~~~
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:547:20: 547:37 error: failed to resolve. Could not find `posix` in `std::path`
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:547 impl Decodable for path::posix::Path {
^~~~~~~~~~~~~~~~~
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:547:20: 547:37 error: use of undeclared type name `path::posix::Path`
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:547 impl Decodable for path::posix::Path {
^~~~~~~~~~~~~~~~~
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:548:48: 548:65 error: failed to resolve. Could not find `posix` in `std::path`
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:548 fn decode<D: Decoder>(d: &mut D) -> Result<path::posix::Path, D::Error> {
^~~~~~~~~~~~~~~~~
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:548:48: 548:65 error: use of undeclared type name `path::posix::Path`
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:548 fn decode<D: Decoder>(d: &mut D) -> Result<path::posix::Path, D::Error> {
^~~~~~~~~~~~~~~~~
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:550:12: 550:34 error: failed to resolve. Could not find `posix` in `std::path`
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:550 Ok(path::posix::Path::new(bytes))
^~~~~~~~~~~~~~~~~~~~~~
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:550:12: 550:34 error: unresolved name `path::posix::Path::new`
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:550 Ok(path::posix::Path::new(bytes))
^~~~~~~~~~~~~~~~~~~~~~
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:554:20: 554:39 error: failed to resolve. Could not find `windows` in `std::path`
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:554 impl Encodable for path::windows::Path {
^~~~~~~~~~~~~~~~~~~
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:554:20: 554:39 error: use of undeclared type name `path::windows::Path`
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:554 impl Encodable for path::windows::Path {
^~~~~~~~~~~~~~~~~~~
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:560:20: 560:39 error: failed to resolve. Could not find `windows` in `std::path`
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:560 impl Decodable for path::windows::Path {
^~~~~~~~~~~~~~~~~~~
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:560:20: 560:39 error: use of undeclared type name `path::windows::Path`
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:560 impl Decodable for path::windows::Path {
^~~~~~~~~~~~~~~~~~~
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:561:48: 561:67 error: failed to resolve. Could not find `windows` in `std::path`
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:561 fn decode<D: Decoder>(d: &mut D) -> Result<path::windows::Path, D::Error> {
^~~~~~~~~~~~~~~~~~~
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:561:48: 561:67 error: use of undeclared type name `path::windows::Path`
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:561 fn decode<D: Decoder>(d: &mut D) -> Result<path::windows::Path, D::Error> {
^~~~~~~~~~~~~~~~~~~
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:563:12: 563:36 error: failed to resolve. Could not find `windows` in `std::path`
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:563 Ok(path::windows::Path::new(bytes))
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:563:12: 563:36 error: unresolved name `path::windows::Path::new`
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:563 Ok(path::windows::Path::new(bytes))
^~~~~~~~~~~~~~~~~~~~~~~~
error: aborting due to 16 previous errors
Could not compile `libc`.
Caused by:
Process didn't exit successfully: `rustc /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.1.1/rust/src/liblibc/lib.rs --crate-name libc --crate-type lib -g --cfg feature="default" --cfg feature="cargo-build" -C metadata=6b537f2898b2a028 -C extra-filename=-6b537f2898b2a028 --out-dir /Users/yo1/other-code/code-reading/rim/target/deps --emit=dep-info,link -L dependency=/Users/yo1/other-code/code-reading/rim/target/deps -L dependency=/Users/yo1/other-code/code-reading/rim/target/deps -Awarnings` (status=101)
Any plans on implementing Neovim's msgpack interface? It would be quite interesting to have plugins that are compatible with both Rim and Neovim.
I see less commit activity... I wish I had contributed but I am still learning rust and new to system programming.
Caused by:
process didn't exit successfully: `/Users/leontepe/sources/.archive/rim/target/debug/build/termkey-rs-0245bc43e5423da8/build-script-build` (exit status: 101)
--- stderr
Cloning into 'termkey-c/v0.17'...
fatal: remote error:
The unauthenticated git protocol on port 9418 is no longer supported.
Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.
make: *** termkey-c/v0.17: No such file or directory. Stop.
thread 'main' panicked at 'assertion failed: Command::new(\"./build_termkey.sh\").arg(git_ref).status().unwrap().success()', /Users/leontepe/.cargo/git/checkouts/termkey-rs-f0bd9c68d915c604/736a015/build.rs:5:5
I already tried changing the termkey-rs
dep from git://
to https://
in the Cargo.toml
, but that didn't fix it?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.