generated from PlexSheep/rs-base
bug: cargo install hedu
does not compile (v0.1.1) #5
PlexSheep
commented 2024-05-23 14:28:01 +02:00
Owner
No description provided.
PlexSheep
added the 2024-05-23 14:28:09 +02:00
Kind/Bug
Reviewed
Confirmed
Priority
Critical
labels
PlexSheep
commented 2024-05-23 14:29:06 +02:00
Author
Owner
```
error[E0599]: no function or associated item named `init` found for struct `libpt::libpt_log::Logger` in the current scope
--> /home/plex/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hedu-0.1.1/src/main.rs:133:17
|
133 | Logger::init(None, Some(ll), false).expect("could not initialize Logger");
| ^^^^ function or associated item not found in `Logger`
|
note: if you're trying to build a new `libpt::libpt_log::Logger` consider using one of the following associated functions:
libpt::libpt_log::Logger::build
libpt::libpt_log::Logger::build_mini
libpt::libpt_log::Logger::build_customized
--> /home/plex/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libpt-log-0.3.12/src/lib.rs:53:5
|
53 | pub fn build(log_dir: Option<PathBuf>, max_level: Option<Level>, uptime: bool) -> Result<Self> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
77 | pub fn build_mini(max_level: Option<Level>) -> Result<Self> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
100 | / pub fn build_customized(
101 | | log_to_file: bool,
102 | | log_dir: PathBuf,
103 | | ansi: bool,
... |
113 | | uptime: bool, // uptime instead of system time
114 | | ) -> Result<Self> {
| |_____________________^
error[E0599]: no function or associated item named `init_mini` found for struct `libpt::libpt_log::Logger` in the current scope
--> /home/plex/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hedu-0.1.1/src/main.rs:136:17
|
136 | Logger::init_mini(Some(ll)).expect("could not initialize Logger");
| ^^^^^^^^^ function or associated item not found in `Logger`
|
note: if you're trying to build a new `libpt::libpt_log::Logger` consider using one of the following associated functions:
libpt::libpt_log::Logger::build
libpt::libpt_log::Logger::build_mini
libpt::libpt_log::Logger::build_customized
--> /home/plex/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libpt-log-0.3.12/src/lib.rs:53:5
|
53 | pub fn build(log_dir: Option<PathBuf>, max_level: Option<Level>, uptime: bool) -> Result<Self> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
77 | pub fn build_mini(max_level: Option<Level>) -> Result<Self> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
100 | / pub fn build_customized(
101 | | log_to_file: bool,
102 | | log_dir: PathBuf,
103 | | ansi: bool,
... |
113 | | uptime: bool, // uptime instead of system time
114 | | ) -> Result<Self> {
| |_____________________^
For more information about this error, try `rustc --explain E0599`.
error: could not compile `hedu` (bin "hedu") due to 2 previous errors
error: failed to compile `hedu v0.1.1`, intermediate artifacts can be found at `/tmp/cargo-installCRW799`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.
```
PlexSheep
referenced this issue from a commit 2024-05-23 14:41:37 +02:00
chore: update libpt and adjust to breaking changes #5
PlexSheep
closed this issue 2024-05-23 14:42:02 +02:00
PlexSheep
referenced this issue from a commit 2024-05-23 14:57:21 +02:00
chore: fix regression from #5, don't show time if not in meta logging mode
PlexSheep
referenced this issue from a commit 2024-05-24 09:25:12 +02:00
chore: fix regression from #5, don't show time if not in meta logging mode
Labels
No Label
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: PlexSheep/hedu#5
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?