[INFO] fetching crate i3monkit 0.1.2... [INFO] testing i3monkit-0.1.2 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate i3monkit 0.1.2 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate i3monkit 0.1.2 [INFO] removed 1 missing examples [INFO] finished tweaking crates.io crate i3monkit 0.1.2 [INFO] tweaked toml for crates.io crate i3monkit 0.1.2 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate i3monkit 0.1.2 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 60 packages to latest compatible versions [INFO] [stderr] Adding alsa v0.1.10 (available: v0.10.0) [INFO] [stderr] Adding chrono v0.3.0 (available: v0.4.42) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded alsa-sys v0.1.2 [INFO] [stderr] Downloaded bitflags v0.8.2 [INFO] [stderr] Downloaded alsa v0.1.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9bbfb19e6b843fd2fdbb25e70bc48319f8aa842b0c51a13f3ecc591bdc0c86b0 [INFO] running `Command { std: "docker" "start" "-a" "9bbfb19e6b843fd2fdbb25e70bc48319f8aa842b0c51a13f3ecc591bdc0c86b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9bbfb19e6b843fd2fdbb25e70bc48319f8aa842b0c51a13f3ecc591bdc0c86b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bbfb19e6b843fd2fdbb25e70bc48319f8aa842b0c51a13f3ecc591bdc0c86b0", kill_on_drop: false }` [INFO] [stdout] 9bbfb19e6b843fd2fdbb25e70bc48319f8aa842b0c51a13f3ecc591bdc0c86b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6753b25d0c2e35993d7b5e3b892ac6689fe94ea2f574bef72018621b4a0f049 [INFO] running `Command { std: "docker" "start" "-a" "b6753b25d0c2e35993d7b5e3b892ac6689fe94ea2f574bef72018621b4a0f049", kill_on_drop: false }` [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Compiling curl v0.4.49 [INFO] [stderr] Compiling bitflags v0.8.2 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling curl-sys v0.4.84+curl-8.17.0 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling alsa v0.1.10 [INFO] [stderr] Compiling num v0.1.43 [INFO] [stderr] Compiling chrono v0.3.0 [INFO] [stderr] Compiling i3monkit v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `open`, `high`, `low`, and `volume` are never read [INFO] [stdout] --> src/widgets/stock.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 61 | struct StockPrice { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 62 | previous_close:f32, [INFO] [stdout] 63 | open : f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 64 | high : f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 65 | low : f32, [INFO] [stdout] | ^^^ [INFO] [stdout] 66 | close: f32, [INFO] [stdout] 67 | volume: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StockPrice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.07s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.8.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "b6753b25d0c2e35993d7b5e3b892ac6689fe94ea2f574bef72018621b4a0f049", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6753b25d0c2e35993d7b5e3b892ac6689fe94ea2f574bef72018621b4a0f049", kill_on_drop: false }` [INFO] [stdout] b6753b25d0c2e35993d7b5e3b892ac6689fe94ea2f574bef72018621b4a0f049 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b50717a4ffef156b04e4ee3f1ce37c0822de986d8007d1b821d7b02501087e55 [INFO] running `Command { std: "docker" "start" "-a" "b50717a4ffef156b04e4ee3f1ce37c0822de986d8007d1b821d7b02501087e55", kill_on_drop: false }` [INFO] [stdout] warning: fields `open`, `high`, `low`, and `volume` are never read [INFO] [stdout] --> src/widgets/stock.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 61 | struct StockPrice { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 62 | previous_close:f32, [INFO] [stdout] 63 | open : f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 64 | high : f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 65 | low : f32, [INFO] [stdout] | ^^^ [INFO] [stdout] 66 | close: f32, [INFO] [stdout] 67 | volume: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StockPrice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling i3monkit v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `open`, `high`, `low`, and `volume` are never read [INFO] [stdout] --> src/widgets/stock.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 61 | struct StockPrice { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 62 | previous_close:f32, [INFO] [stdout] 63 | open : f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 64 | high : f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 65 | low : f32, [INFO] [stdout] | ^^^ [INFO] [stdout] 66 | close: f32, [INFO] [stdout] 67 | volume: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StockPrice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.66s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.8.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "b50717a4ffef156b04e4ee3f1ce37c0822de986d8007d1b821d7b02501087e55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b50717a4ffef156b04e4ee3f1ce37c0822de986d8007d1b821d7b02501087e55", kill_on_drop: false }` [INFO] [stdout] b50717a4ffef156b04e4ee3f1ce37c0822de986d8007d1b821d7b02501087e55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a8acebd4b7ba18793f9c39acecf7faf69d375605c0b28c077a96ad823bfc4a54 [INFO] running `Command { std: "docker" "start" "-a" "a8acebd4b7ba18793f9c39acecf7faf69d375605c0b28c077a96ad823bfc4a54", kill_on_drop: false }` [INFO] [stderr] warning: fields `open`, `high`, `low`, and `volume` are never read [INFO] [stderr] --> src/widgets/stock.rs:63:5 [INFO] [stderr] | [INFO] [stderr] 61 | struct StockPrice { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 62 | previous_close:f32, [INFO] [stderr] 63 | open : f32, [INFO] [stderr] | ^^^^ [INFO] [stderr] 64 | high : f32, [INFO] [stderr] | ^^^^ [INFO] [stderr] 65 | low : f32, [INFO] [stderr] | ^^^ [INFO] [stderr] 66 | close: f32, [INFO] [stderr] 67 | volume: f32, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `StockPrice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `i3monkit` (lib) generated 1 warning [INFO] [stderr] warning: `i3monkit` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.8.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/i3monkit-5f882c1bd63bd8ce) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests i3monkit [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/widget.rs - widget::WidgetCollection (line 105) ... FAILED [INFO] [stdout] test src/widget.rs - widget::WidgetDecorator (line 30) ... FAILED [INFO] [stdout] test src/widgets/stock.rs - widgets::stock::StockClient (line 26) ... FAILED [INFO] [stdout] test src/lib.rs - (line 85) ... FAILED [INFO] [stdout] test src/lib.rs - (line 27) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/widget.rs - widget::WidgetCollection (line 105) stdout ---- [INFO] [stdout] error: expected item, found keyword `let` [INFO] [stdout] --> src/widget.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | let bar = WidgetUpdate::new(); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | `let` cannot be used for global variables [INFO] [stdout] | help: consider using `static` or `const` instead of `let` [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/widget.rs - widget::WidgetDecorator (line 30) stdout ---- [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/widget.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | }) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 36 | } _doctest_main_src_widget_rs_30_0() } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `protcol` in `i3monkit` [INFO] [stdout] --> src/widget.rs:34:27 [INFO] [stdout] | [INFO] [stdout] 34 | b.color(i3monkit::protcol::ColorRGB::red()); [INFO] [stdout] | ^^^^^^^ could not find `protcol` in `i3monkit` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DateTimeWidget` in `widget` [INFO] [stdout] --> src/widget.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | let widget = i3monkit::widget::DateTimeWidget::new().decorate_with(|b| { [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `DateTimeWidget` in `widget` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 29 + use i3monkit::widgets::DateTimeWidget; [INFO] [stdout] | [INFO] [stdout] help: if you import `DateTimeWidget`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 33 - let widget = i3monkit::widget::DateTimeWidget::new().decorate_with(|b| { [INFO] [stdout] 33 + let widget = DateTimeWidget::new().decorate_with(|b| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0603]: module `widget` is private [INFO] [stdout] --> src/widget.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | let widget = i3monkit::widget::DateTimeWidget::new().decorate_with(|b| { [INFO] [stdout] | ^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `widget` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | mod widget; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/widget.rs:33:73 [INFO] [stdout] | [INFO] [stdout] 33 | let widget = i3monkit::widget::DateTimeWidget::new().decorate_with(|b| { [INFO] [stdout] | ^ [INFO] [stdout] 34 | b.color(i3monkit::protcol::ColorRGB::red()); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 33 | let widget = i3monkit::widget::DateTimeWidget::new().decorate_with(|b: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433, E0603. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/widgets/stock.rs - widgets::stock::StockClient (line 26) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StockClient` [INFO] [stdout] --> src/widgets/stock.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | let client = StockClient::new("your-api-key"); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `StockClient` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 26 + use i3monkit::widgets::StockClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StockClient` [INFO] [stdout] --> src/widgets/stock.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | let msft_price_widget = StockClient::create_widget("MSFT"); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `StockClient` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 26 + use i3monkit::widgets::StockClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 85) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | ..... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 101 - ..... [INFO] [stdout] 101 + .... [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 101 - ..... [INFO] [stdout] 101 + ..=.. [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WidgetCollection` [INFO] [stdout] --> src/lib.rs:99:15 [INFO] [stdout] | [INFO] [stdout] 99 | let bar = WidgetCollection::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `WidgetCollection` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 87 + use i3monkit::WidgetCollection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 98 | fn main() { [INFO] [stdout] | - expected `()` because of default return type [INFO] [stdout] ... [INFO] [stdout] 101 | ..... [INFO] [stdout] | ^^^^^ expected `()`, found `RangeToInclusive` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found struct `std::ops::RangeToInclusive` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 27) stdout ---- [INFO] [stdout] Test executable failed (exit status: 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] [INFO] [stdout] thread 'main' (75) panicked at src/widgets/network.rs:79:60: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x63b8403528a2 - std::backtrace_rs::backtrace::libunwind::trace::ha50a1f28c7a10cf8 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x63b8403528a2 - std::backtrace_rs::backtrace::trace_unsynchronized::h34f8c4ec82a320bc [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x63b8403528a2 - std::sys::backtrace::_print_fmt::h2d23e84e13d343bc [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x63b8403528a2 - ::fmt::hde21067283f7e82e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x63b8403636af - core::fmt::rt::Argument::fmt::he65307037dca33c6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x63b8403636af - core::fmt::write::h24186904251c31cb [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x63b84032d833 - std::io::default_write_fmt::hdc5d19b6df666f61 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x63b84032d833 - std::io::Write::write_fmt::h3ab9f1f4d8d19b72 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x63b840333b52 - std::sys::backtrace::BacktraceLock::print::he038489aba5894a6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x63b84033675f - std::panicking::default_hook::{{closure}}::h80a26d916c49679b [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x63b8403365b9 - std::panicking::default_hook::he2e9efee79b3dce9 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x63b840336de5 - std::panicking::panic_with_hook::hf5648b7cec6bc73e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x63b840336bca - std::panicking::panic_handler::{{closure}}::h1b2ed3864ba94359 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:707:13 [INFO] [stdout] 13: 0x63b840333c99 - std::sys::backtrace::__rust_end_short_backtrace::hd0186b2b27f5aaa7 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x63b84032224d - __rustc[f7dae8b92efe1d7a]::rust_begin_unwind [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x63b84036c730 - core::panicking::panic_fmt::hb5d6b83773432920 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panicking.rs:80:14 [INFO] [stdout] 16: 0x63b84036bcb6 - core::result::unwrap_failed::h427ee4a8bb06d8af [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/result.rs:1862:5 [INFO] [stdout] 17: 0x63b8402bd8e8 - core::result::Result::unwrap::hbf5f469183c4cafd [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/result.rs:1233:23 [INFO] [stdout] 18: 0x63b8402bd8e8 - i3monkit::widgets::network::NetworkSpeedWidget::new::h92519a009e31a367 [INFO] [stdout] at /opt/rustwide/workdir/src/widgets/network.rs:79:60 [INFO] [stdout] 19: 0x63b84029dc46 - rust_out::main::hbdf05be24bd65ee6 [INFO] [stdout] 20: 0x63b840297c63 - core::ops::function::FnOnce::call_once::h1e8c751e4a62d14e [INFO] [stdout] 21: 0x63b840297b56 - std::sys::backtrace::__rust_begin_short_backtrace::h6f205b09ee900b2a [INFO] [stdout] 22: 0x63b840297b39 - std::rt::lang_start::{{closure}}::h374dad1e7f5efc95 [INFO] [stdout] 23: 0x63b84032ef70 - core::ops::function::impls:: for &F>::call_once::h8434f550918e723f [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 24: 0x63b84032ef70 - std::panicking::catch_unwind::do_call::h7f7a838f33db43be [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:590:40 [INFO] [stdout] 25: 0x63b84032ef70 - std::panicking::catch_unwind::hf345702047129f6d [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:553:19 [INFO] [stdout] 26: 0x63b84032ef70 - std::panic::catch_unwind::h42f92c278294a3a0 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panic.rs:359:14 [INFO] [stdout] 27: 0x63b84032ef70 - std::rt::lang_start_internal::{{closure}}::ha6834eab5ce60f45 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/rt.rs:175:24 [INFO] [stdout] 28: 0x63b84032ef70 - std::panicking::catch_unwind::do_call::hf4afda32c60c9e55 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x63b84032ef70 - std::panicking::catch_unwind::hbfda5503aab4db1e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x63b84032ef70 - std::panic::catch_unwind::h1a1ed11560d244f4 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x63b84032ef70 - std::rt::lang_start_internal::h1f713c0146d469ad [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/rt.rs:171:5 [INFO] [stdout] 32: 0x63b840297b21 - std::rt::lang_start::h25a068bab729a087 [INFO] [stdout] 33: 0x63b84029e065 - main [INFO] [stdout] 34: 0x796dc451e1ca - [INFO] [stdout] 35: 0x796dc451e28b - __libc_start_main [INFO] [stdout] 36: 0x63b840295b05 - _start [INFO] [stdout] 37: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 27) [INFO] [stdout] src/lib.rs - (line 85) [INFO] [stdout] src/widget.rs - widget::WidgetCollection (line 105) [INFO] [stdout] src/widget.rs - widget::WidgetDecorator (line 30) [INFO] [stdout] src/widgets/stock.rs - widgets::stock::StockClient (line 26) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.34s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "a8acebd4b7ba18793f9c39acecf7faf69d375605c0b28c077a96ad823bfc4a54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8acebd4b7ba18793f9c39acecf7faf69d375605c0b28c077a96ad823bfc4a54", kill_on_drop: false }` [INFO] [stdout] a8acebd4b7ba18793f9c39acecf7faf69d375605c0b28c077a96ad823bfc4a54