[INFO] fetching crate i3monkit 0.1.2... [INFO] testing i3monkit-0.1.2 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate i3monkit 0.1.2 into /workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate i3monkit 0.1.2 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b92919fe3839c13e46ab2ed80ed9d06a1bc1997e83a6a95dd154c97e982e678c [INFO] running `Command { std: "docker" "start" "-a" "b92919fe3839c13e46ab2ed80ed9d06a1bc1997e83a6a95dd154c97e982e678c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b92919fe3839c13e46ab2ed80ed9d06a1bc1997e83a6a95dd154c97e982e678c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b92919fe3839c13e46ab2ed80ed9d06a1bc1997e83a6a95dd154c97e982e678c", kill_on_drop: false }` [INFO] [stdout] b92919fe3839c13e46ab2ed80ed9d06a1bc1997e83a6a95dd154c97e982e678c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3348c915901172a19965be023fc2bdc368a0bb6a7b5c545ca32fadd001e0445 [INFO] running `Command { std: "docker" "start" "-a" "e3348c915901172a19965be023fc2bdc368a0bb6a7b5c545ca32fadd001e0445", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling curl v0.4.49 [INFO] [stderr] Compiling bitflags v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling serde_json v1.0.145 [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 alsa-sys v0.1.2 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling alsa v0.1.10 [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 8.98s [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" "e3348c915901172a19965be023fc2bdc368a0bb6a7b5c545ca32fadd001e0445", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3348c915901172a19965be023fc2bdc368a0bb6a7b5c545ca32fadd001e0445", kill_on_drop: false }` [INFO] [stdout] e3348c915901172a19965be023fc2bdc368a0bb6a7b5c545ca32fadd001e0445 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e672dfc7c9ee1c74f28dbdcfc1586e5c2a51108947eff0d03ff4997ccebb2d3 [INFO] running `Command { std: "docker" "start" "-a" "1e672dfc7c9ee1c74f28dbdcfc1586e5c2a51108947eff0d03ff4997ccebb2d3", 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.77s [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" "1e672dfc7c9ee1c74f28dbdcfc1586e5c2a51108947eff0d03ff4997ccebb2d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e672dfc7c9ee1c74f28dbdcfc1586e5c2a51108947eff0d03ff4997ccebb2d3", kill_on_drop: false }` [INFO] [stdout] 1e672dfc7c9ee1c74f28dbdcfc1586e5c2a51108947eff0d03ff4997ccebb2d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2cb2439f20b65313a49c250906294cda68d80e957fe282fc1d0aa19702cab325 [INFO] running `Command { std: "docker" "start" "-a" "2cb2439f20b65313a49c250906294cda68d80e957fe282fc1d0aa19702cab325", 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.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-54125ce73facc70c) [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] 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/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/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/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' (76) 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: 0x5bc680f02662 - std::backtrace_rs::backtrace::libunwind::trace::hc4a5f428cfb78751 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5bc680f02662 - std::backtrace_rs::backtrace::trace_unsynchronized::h20e1095684b4c296 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5bc680f02662 - std::sys::backtrace::_print_fmt::h461f2e3a8f6b29e2 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5bc680f02662 - ::fmt::h4ee3a75aa71a2c45 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5bc680f216ff - core::fmt::rt::Argument::fmt::h6f1564705cd089af [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5bc680f216ff - core::fmt::write::h21ca93b65a7c281a [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5bc680ef3c73 - std::io::default_write_fmt::h745a1edf2999cb3b [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5bc680ef3c73 - std::io::Write::write_fmt::hfc56e66d6e189682 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5bc680f02cb2 - std::sys::backtrace::BacktraceLock::print::h58d5d73f9e953cf1 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5bc680ef078c - std::panicking::default_hook::{{closure}}::h1457fbe47c9457d1 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5bc680ef05c6 - std::panicking::default_hook::hccb5e73b206c0830 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x5bc680ef149a - std::panicking::panic_with_hook::h3190ecc6229cdd29 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x5bc680f02aba - std::panicking::panic_handler::{{closure}}::ha1f1b769bc2bb40c [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 13: 0x5bc680f02a19 - std::sys::backtrace::__rust_end_short_backtrace::h5f9cf66f19c2a172 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x5bc680ef11bd - __rustc[a93bd50104b99ad4]::rust_begin_unwind [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x5bc680f298a0 - core::panicking::panic_fmt::hc70c3c83f13c1375 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/panicking.rs:75:14 [INFO] [stdout] 16: 0x5bc680f2b486 - core::result::unwrap_failed::ha809bf80017a514a [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/result.rs:1852:5 [INFO] [stdout] 17: 0x5bc680e95288 - core::result::Result::unwrap::hc96985266876c695 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/result.rs:1223:23 [INFO] [stdout] 18: 0x5bc680e95288 - i3monkit::widgets::network::NetworkSpeedWidget::new::h4f6c551ca1ecde58 [INFO] [stdout] at /opt/rustwide/workdir/src/widgets/network.rs:79:60 [INFO] [stdout] 19: 0x5bc680e556e6 - rust_out::main::h61a73a86de211918 [INFO] [stdout] 20: 0x5bc680e55503 - core::ops::function::FnOnce::call_once::h6c9c00fd6ee79245 [INFO] [stdout] 21: 0x5bc680e56746 - std::sys::backtrace::__rust_begin_short_backtrace::h916f7d6bfb06988c [INFO] [stdout] 22: 0x5bc680e56489 - std::rt::lang_start::{{closure}}::h8b630493ef2474c7 [INFO] [stdout] 23: 0x5bc680f03430 - core::ops::function::impls:: for &F>::call_once::hae16bf8966719858 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/ops/function.rs:290:21 [INFO] [stdout] 24: 0x5bc680f03430 - std::panicking::catch_unwind::do_call::hd4eb7cf01d0f66cd [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 25: 0x5bc680f03430 - std::panicking::catch_unwind::h35b4afc45093edf5 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 26: 0x5bc680f03430 - std::panic::catch_unwind::h5a7ef11ac2fa7980 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panic.rs:359:14 [INFO] [stdout] 27: 0x5bc680f03430 - std::rt::lang_start_internal::{{closure}}::h18f8e059e8eb5f5a [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/rt.rs:175:24 [INFO] [stdout] 28: 0x5bc680f03430 - std::panicking::catch_unwind::do_call::hb4f94f34ea41283f [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5bc680f03430 - std::panicking::catch_unwind::hfbb31091ea806204 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5bc680f03430 - std::panic::catch_unwind::hc88f452387620cfb [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5bc680f03430 - std::rt::lang_start_internal::h23cfb6dcbf9c9010 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/rt.rs:171:5 [INFO] [stdout] 32: 0x5bc680e56471 - std::rt::lang_start::h2676fe224d780b30 [INFO] [stdout] 33: 0x5bc680e56795 - main [INFO] [stdout] 34: 0x723bde9601ca - [INFO] [stdout] 35: 0x723bde96028b - __libc_start_main [INFO] [stdout] 36: 0x5bc680e4df65 - _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.66s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "2cb2439f20b65313a49c250906294cda68d80e957fe282fc1d0aa19702cab325", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cb2439f20b65313a49c250906294cda68d80e957fe282fc1d0aa19702cab325", kill_on_drop: false }` [INFO] [stdout] 2cb2439f20b65313a49c250906294cda68d80e957fe282fc1d0aa19702cab325