[INFO] fetching crate i3monkit 0.1.2... [INFO] testing i3monkit-0.1.2 against 1.90.0 for beta-1.91-3 [INFO] extracting crate i3monkit 0.1.2 into /workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate i3monkit 0.1.2 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "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" "+1.90.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 50 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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitflags v0.8.2 [INFO] [stderr] Downloaded alsa-sys v0.1.2 [INFO] [stderr] Downloaded alsa v0.1.10 [INFO] [stderr] Downloaded num v0.1.43 [INFO] [stderr] Downloaded curl v0.4.49 [INFO] [stderr] Downloaded chrono v0.3.0 [INFO] [stderr] Downloaded curl-sys v0.4.83+curl-8.15.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 61de421594481fce3a5b3ea5b936b68233ed33046e603897e3b88a50664428a9 [INFO] running `Command { std: "docker" "start" "-a" "61de421594481fce3a5b3ea5b936b68233ed33046e603897e3b88a50664428a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "61de421594481fce3a5b3ea5b936b68233ed33046e603897e3b88a50664428a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61de421594481fce3a5b3ea5b936b68233ed33046e603897e3b88a50664428a9", kill_on_drop: false }` [INFO] [stdout] 61de421594481fce3a5b3ea5b936b68233ed33046e603897e3b88a50664428a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f1edea71c1214532286f98f98385b4e3da1a0588ac99e188b0e35258c958298 [INFO] running `Command { std: "docker" "start" "-a" "9f1edea71c1214532286f98f98385b4e3da1a0588ac99e188b0e35258c958298", kill_on_drop: false }` [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Compiling curl v0.4.49 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling bitflags v0.8.2 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling alsa v0.1.10 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling curl-sys v0.4.83+curl-8.15.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num v0.1.43 [INFO] [stderr] Compiling chrono v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.24s [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 1` [INFO] running `Command { std: "docker" "inspect" "9f1edea71c1214532286f98f98385b4e3da1a0588ac99e188b0e35258c958298", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f1edea71c1214532286f98f98385b4e3da1a0588ac99e188b0e35258c958298", kill_on_drop: false }` [INFO] [stdout] 9f1edea71c1214532286f98f98385b4e3da1a0588ac99e188b0e35258c958298 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32d9b18de71b271a4043da8a4d0a4d0b5cf20cfc60b1f4edd73de1fe42cda6d2 [INFO] running `Command { std: "docker" "start" "-a" "32d9b18de71b271a4043da8a4d0a4d0b5cf20cfc60b1f4edd73de1fe42cda6d2", 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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.82s [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 1` [INFO] running `Command { std: "docker" "inspect" "32d9b18de71b271a4043da8a4d0a4d0b5cf20cfc60b1f4edd73de1fe42cda6d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32d9b18de71b271a4043da8a4d0a4d0b5cf20cfc60b1f4edd73de1fe42cda6d2", kill_on_drop: false }` [INFO] [stdout] 32d9b18de71b271a4043da8a4d0a4d0b5cf20cfc60b1f4edd73de1fe42cda6d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3f5ee5aa249881e38de8c368998d79ed3280785d26cc3f8ca2d32cd458165aee [INFO] running `Command { std: "docker" "start" "-a" "3f5ee5aa249881e38de8c368998d79ed3280785d26cc3f8ca2d32cd458165aee", 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)]` 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.08s [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 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/i3monkit-d1263bb55dbf0db8) [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/widgets/stock.rs - widgets::stock::StockClient (line 26) ... FAILED [INFO] [stdout] test src/widget.rs - widget::WidgetDecorator (line 30) ... 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] 1 | 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/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] 3 | 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] 2 + 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] 5 | 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] 2 + 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/widget.rs - widget::WidgetDecorator (line 30) stdout ---- [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/widget.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 8 | }) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 9 | } _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] 7 | 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] 6 | 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] 2 + use i3monkit::widgets::DateTimeWidget; [INFO] [stdout] | [INFO] [stdout] help: if you import `DateTimeWidget`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 6 - let widget = i3monkit::widget::DateTimeWidget::new().decorate_with(|b| { [INFO] [stdout] 6 + 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] 6 | 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: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0603. [INFO] [stdout] For more information about an 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] 18 | ..... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 18 - ..... [INFO] [stdout] 18 + .... [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 18 - ..... [INFO] [stdout] 18 + ..=.. [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] 16 | let bar = WidgetCollection::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `WidgetCollection` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use i3monkit::WidgetCollection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 15 | fn main() { [INFO] [stdout] | - expected `()` because of default return type [INFO] [stdout] ... [INFO] [stdout] 18 | ..... [INFO] [stdout] | ^^^^^ expected `()`, found `RangeToInclusive` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found struct `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' 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: 0x62afd1616ed2 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x62afd1616ed2 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x62afd1616ed2 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x62afd1616ed2 - ::fmt::hdcfcb6d4c8489523 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x62afd1639043 - core::fmt::rt::Argument::fmt::h2c56b3114963061a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x62afd1639043 - core::fmt::write::h8a494366950f23bb [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x62afd16144a3 - std::io::default_write_fmt::ha27fbccbc65eb6fa [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x62afd16144a3 - std::io::Write::write_fmt::h6556609fca33d0b1 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x62afd1616d22 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x62afd1617e13 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x62afd1617bf5 - std::panicking::default_hook::h2c66fc99e962531d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:327:9 [INFO] [stdout] 11: 0x62afd1618825 - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:833:13 [INFO] [stdout] 12: 0x62afd16185ba - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13 [INFO] [stdout] 13: 0x62afd16173d9 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x62afd161824d - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5 [INFO] [stdout] 15: 0x62afd16373b0 - core::panicking::panic_fmt::h62f63d096dd276af [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14 [INFO] [stdout] 16: 0x62afd1637816 - core::result::unwrap_failed::h95bc3f5a607b2c95 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/result.rs:1765:5 [INFO] [stdout] 17: 0x62afd15ad718 - core::result::Result::unwrap::h8cae02d55a055494 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/result.rs:1167:23 [INFO] [stdout] 18: 0x62afd15ad718 - i3monkit::widgets::network::NetworkSpeedWidget::new::h76df7f9ffd2d86fa [INFO] [stdout] at /opt/rustwide/workdir/src/widgets/network.rs:79:60 [INFO] [stdout] 19: 0x62afd1569ed6 - rust_out::main::h2d10ba762d3f8adf [INFO] [stdout] 20: 0x62afd15639d3 - core::ops::function::FnOnce::call_once::h89333dd4ac8e03fc [INFO] [stdout] 21: 0x62afd15638c6 - std::sys::backtrace::__rust_begin_short_backtrace::h8a10de1e92516da1 [INFO] [stdout] 22: 0x62afd15638a9 - std::rt::lang_start::{{closure}}::h0af3a8cb06b34c3e [INFO] [stdout] 23: 0x62afd16102d0 - core::ops::function::impls:: for &F>::call_once::h638295a043b40957 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:290:21 [INFO] [stdout] 24: 0x62afd16102d0 - std::panicking::catch_unwind::do_call::hbd68098bdea1ca50 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 25: 0x62afd16102d0 - std::panicking::catch_unwind::h50591d85bf847c7c [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 26: 0x62afd16102d0 - std::panic::catch_unwind::h2487b4c4f2ae22c6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 27: 0x62afd16102d0 - std::rt::lang_start_internal::{{closure}}::h61f0945cc6c9a811 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/rt.rs:175:24 [INFO] [stdout] 28: 0x62afd16102d0 - std::panicking::catch_unwind::do_call::h34b9c3722acd6bd1 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x62afd16102d0 - std::panicking::catch_unwind::hf9a822ea043fb0d6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x62afd16102d0 - std::panic::catch_unwind::h5b3cac802237ed89 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x62afd16102d0 - std::rt::lang_start_internal::h34f9328d113fd60a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/rt.rs:171:5 [INFO] [stdout] 32: 0x62afd1563891 - std::rt::lang_start::h8f736fe0a226e45f [INFO] [stdout] 33: 0x62afd156a0c5 - main [INFO] [stdout] 34: 0x74b82c2a81ca - [INFO] [stdout] 35: 0x74b82c2a828b - __libc_start_main [INFO] [stdout] 36: 0x62afd1561875 - _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.43s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "3f5ee5aa249881e38de8c368998d79ed3280785d26cc3f8ca2d32cd458165aee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f5ee5aa249881e38de8c368998d79ed3280785d26cc3f8ca2d32cd458165aee", kill_on_drop: false }` [INFO] [stdout] 3f5ee5aa249881e38de8c368998d79ed3280785d26cc3f8ca2d32cd458165aee