1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//! What Ruby tools print on standard error that never says why they failed, read: a backtrace's
//! frames (Vagrant prints its error, then dozens of them) and the warnings of fog, the library
//! vagrant-libvirt calls through. A tool's tail (`process::tail`) leaves them out.
/// Whether `line` is a frame of a Ruby backtrace (`\tfrom /…/builder.rb:180:in 'call'`), which
/// never counts among a failure's last lines: Vagrant prints its error, then dozens of frames.
pub
/// What a tool's library prints on standard error that never says why the tool failed: fog's
/// warnings, which vagrant-libvirt's every call prints (`[fog][WARNING] Unrecognized arguments:
/// libvirt_ip_command`, once per machine), and which otherwise stood in for the error Vagrant
/// printed on its standard output with `--machine-readable`.
const HARMLESS_WARNINGS: = ;
/// Whether `line` is a warning [`HARMLESS_WARNINGS`] lists, which never counts among a failure's
/// last lines.
pub