Comments (2)
The problem was in https://github.com/docopt/docopt.rs, because debug
has been removed (docopt/docopt.rs#29).
And clog has Cargo.lock
checked in, therefore you have to run cargo update
to update the dependencies.
After updating docopt.rs is able to compile but clog itself has some errors:
benny@bennyklotz:~/Web/rust/learn/clog $ cargo update [5/4600]
Updating git repository `https://github.com/docopt/docopt.rs`
benny@bennyklotz:~/Web/rust/learn/clog $ cargo build
Compiling docopt v0.6.5 (https://github.com/docopt/docopt.rs#1c9a63e0)
Compiling docopt_macros v0.6.5 (https://github.com/docopt/docopt.rs#1c9a63e0)
Compiling clog v0.2.0 (file:///home/benny/Web/rust/learn/clog)
/home/benny/Web/rust/learn/clog/src/git.rs:21:21: 21:34 error: type `core::option::Option<std::io::pipe::PipeStream>` does not implement any method in scope named `get_mut_ref`
/home/benny/Web/rust/learn/clog/src/git.rs:21 .stdout.get_mut_ref().read_to_string()
^~~~~~~~~~~~~
/home/benny/Web/rust/learn/clog/src/git.rs:33:21: 33:34 error: type `core::option::Option<std::io::pipe::PipeStream>` does not implement any method in scope named `get_mut_ref`
/home/benny/Web/rust/learn/clog/src/git.rs:33 .stdout.get_mut_ref().read_to_string()
^~~~~~~~~~~~~
/home/benny/Web/rust/learn/clog/src/git.rs:52:21: 52:34 error: type `core::option::Option<std::io::pipe::PipeStream>` does not implement any method in scope named `get_mut_ref`
/home/benny/Web/rust/learn/clog/src/git.rs:52 .stdout.get_mut_ref().read_to_string()
^~~~~~~~~~~~~
/home/benny/Web/rust/learn/clog/src/git.rs:57:30: 57:47 error: the type of this value must be known in this context
/home/benny/Web/rust/learn/clog/src/git.rs:57 .filter(| entry| entry.commit_type != Unknown)
^~~~~~~~~~~~~~~~~
/home/benny/Web/rust/learn/clog/src/section_builder.rs:15:26: 15:77 error: type `std::collections::hashmap::map::HashMap<collections::string::String,c$llections::vec::Vec<common::LogEntry>>` does not implement any method in scope named `find_or_insert`
/home/benny/Web/rust/learn/clog/src/section_builder.rs:15 .find_or_insert(entry.component.clone(), Vec::new())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/benny/Web/rust/learn/clog/src/section_builder.rs:20:26: 20:77 error: type `std::collections::hashmap::map::HashMap<collections::string::String,c$llections::vec::Vec<common::LogEntry>>` does not implement any method in scope named `find_or_insert`
/home/benny/Web/rust/learn/clog/src/section_builder.rs:20 .find_or_insert(entry.component.clone(), Vec::new())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: aborting due to 6 previous errors
Could not compile `clog`.
To learn more, run the command again with --verbose.
from clog-cli.
Exactly, you can run cargo update
to get the latest docopt. But as @bennyklotz noted, there are a couple of issues with clog against latest rust. Anyone cares to look into it?
from clog-cli.
Related Issues (20)
- clog not working... HOT 3
- Define custom sections into .clog.toml file HOT 3
- Feature Request: custom section ordering.
- No default sections, when a config file is used.
- changelog update, but no entries in the changelog itself HOT 7
- No changelog is being generated
- Broken commit hash link generate for GitHub HOT 1
- [Bug] a type named `INT` has already been imported in this module
- Alpine Linux: word unexpected HOT 1
- Allow generation of changelog for specific components HOT 4
- Implement component "aliases" HOT 1
- clog-cli duplicates log entries with every execution HOT 2
- feature request: auto-increment based on changes
- add option to bump Cargo.toml/Cargo.lock
- Support exclamation mark after type/scope of the "conventional commits" convention.
- Does this work with Azure DevOps or only with github??
- Error in an untagged repository HOT 1
- Build and upload binaries with github releases
- `--setversion` flag not working for ubuntu. HOT 9
- No output for basic clog command HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clog-cli.