Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Bert-Proesmans/a1ac0d1c87926a06bd228c006f10f765 to your computer and use it in GitHub Desktop.
Save Bert-Proesmans/a1ac0d1c87926a06bd228c006f10f765 to your computer and use it in GitHub Desktop.
PS C:\Users\Bert\Desktop\repros> cargo new --lib slog-test
Created library `slog-test` project
PS C:\Users\Bert\Desktop\repros> cd .\slog-test\
PS C:\Users\Bert\Desktop\repros\slog-test> cargo build
Updating registry `https://github.com/rust-lang/crates.io-index`
Compiling cfg-if v0.1.4
Compiling slog v2.2.3
Compiling crossbeam v0.2.12
Compiling lazy_static v0.2.11
Compiling log v0.4.2
Compiling log v0.3.9
Compiling slog-scope v3.0.0
error: a macro named `error` has already been exported
--> C:\Users\Bert\.cargo\registry\src\github.com-1ecc6299db9ec823\slog-scope-3.0.0\lib.rs:67:1
|
67 | / macro_rules! error( ($($args:tt)+) => {
68 | | $crate::with_logger(|logger| slog_error![logger, $($args)+])
69 | | };);
| |____^ `error` already exported
|
note: previous macro export here
--> C:\Users\Bert\.cargo\registry\src\github.com-1ecc6299db9ec823\slog-scope-3.0.0\lib.rs:54:5
|
54 | use slog::*;
| ^^^^^^^
error: a macro named `info` has already been exported
--> C:\Users\Bert\.cargo\registry\src\github.com-1ecc6299db9ec823\slog-scope-3.0.0\lib.rs:77:1
|
77 | / macro_rules! info( ($($args:tt)+) => {
78 | | $crate::with_logger(|logger| slog_info![logger, $($args)+])
79 | | };);
| |____^ `info` already exported
|
note: previous macro export here
--> C:\Users\Bert\.cargo\registry\src\github.com-1ecc6299db9ec823\slog-scope-3.0.0\lib.rs:54:5
|
54 | use slog::*;
| ^^^^^^^
error: a macro named `trace` has already been exported
--> C:\Users\Bert\.cargo\registry\src\github.com-1ecc6299db9ec823\slog-scope-3.0.0\lib.rs:87:1
|
87 | / macro_rules! trace( ($($args:tt)+) => {
88 | | $crate::with_logger(|logger| slog_trace![logger, $($args)+])
89 | | };);
| |____^ `trace` already exported
|
note: previous macro export here
--> C:\Users\Bert\.cargo\registry\src\github.com-1ecc6299db9ec823\slog-scope-3.0.0\lib.rs:54:5
|
54 | use slog::*;
| ^^^^^^^
error: a macro named `debug` has already been exported
--> C:\Users\Bert\.cargo\registry\src\github.com-1ecc6299db9ec823\slog-scope-3.0.0\lib.rs:82:1
|
82 | / macro_rules! debug( ($($args:tt)+) => {
83 | | $crate::with_logger(|logger| slog_debug![logger, $($args)+])
84 | | };);
| |____^ `debug` already exported
|
note: previous macro export here
--> C:\Users\Bert\.cargo\registry\src\github.com-1ecc6299db9ec823\slog-scope-3.0.0\lib.rs:54:5
|
54 | use slog::*;
| ^^^^^^^
error: a macro named `warn` has already been exported
--> C:\Users\Bert\.cargo\registry\src\github.com-1ecc6299db9ec823\slog-scope-3.0.0\lib.rs:72:1
|
72 | / macro_rules! warn( ($($args:tt)+) => {
73 | | $crate::with_logger(|logger| slog_warn![logger, $($args)+])
74 | | };);
| |____^ `warn` already exported
|
note: previous macro export here
--> C:\Users\Bert\.cargo\registry\src\github.com-1ecc6299db9ec823\slog-scope-3.0.0\lib.rs:54:5
|
54 | use slog::*;
| ^^^^^^^
error: a macro named `crit` has already been exported
--> C:\Users\Bert\.cargo\registry\src\github.com-1ecc6299db9ec823\slog-scope-3.0.0\lib.rs:62:1
|
62 | / macro_rules! crit( ($($args:tt)+) => {
63 | | $crate::with_logger(|logger| slog_crit![logger, $($args)+])
64 | | };);
| |____^ `crit` already exported
|
note: previous macro export here
--> C:\Users\Bert\.cargo\registry\src\github.com-1ecc6299db9ec823\slog-scope-3.0.0\lib.rs:54:5
|
54 | use slog::*;
| ^^^^^^^
error: aborting due to 6 previous errors
error: Could not compile `slog-scope`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment