Crates.io | buildlog-consultant |
lib.rs | buildlog-consultant |
version | |
source | src |
created_at | 2023-05-23 17:13:01.408258 |
updated_at | 2024-11-06 02:02:12.202556 |
description | buildlog parser and analyser |
homepage | https://github.com/jelmer/buildlog-consultant |
repository | https://github.com/jelmer/buildlog-consultant.git |
max_upload_size | |
id | 872169 |
Cargo.toml error: | TOML parse error at line 25, column 1 | 25 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
The build log consultant can parse and analyse build log files.
Currently supported container formats:
For a longer introduction, see the blog post.
$ analyze-sbuild-log < build.log
Error: unsatisfied apt dependencies: librust-breezyshim+dirty-tracker-dev:amd64 (>= 0.1.138-\~\~)
Issue found at lines 105-120:
(I)Dose_deb: Parsing Packages file -...
(I)Dose_common: total packages 71128
(I)Dose_applications: Cudf Universe: 71128 packages
(I)Dose_applications: --checkonly specified, consider all packages as background packages
(I)Dose_applications: Solving...
> output-version: 1.2
> native-architecture: amd64
> report:
> -
> package: sbuild-build-depends-main-dummy
> version: 0.invalid.0
> architecture: amd64
> status: broken
> reasons:
> -
> missing:
> pkg:
> package: sbuild-build-depends-main-dummy
> version: 0.invalid.0
> architecture: amd64
> unsat-dependency: librust-breezyshim+dirty-tracker-dev:amd64 (>= 0.1.138-~~)
background-packages: 71127
foreground-packages: 1
total-packages: 71128
broken-packages: 1
Identified issue: unsatisfied apt dependencies: librust-breezyshim+dirty-tracker-dev:amd64 (>= 0.1.138-\~\~)
Or using the JSON output:
$ analyze-sbuild-log --json < build.log
{
"details": {
"relations": "librust-breezyshim+dirty-tracker-dev:amd64 (>= 0.1.138-\~\~)"
},
"line": " unsat-dependency: librust-breezyshim+dirty-tracker-dev:amd64 (>= 0.1.138-\~\~)\n",
"lineno": 120,
"problem": "unsatisfied-apt-dependencies"
}