[INFO] fetching crate i3monkit 0.1.2... [INFO] testing i3monkit-0.1.2 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate i3monkit 0.1.2 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate i3monkit 0.1.2 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded chrono v0.3.0 [INFO] [stderr] Downloaded alsa v0.1.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a4372230d312df045d28f9283544c8abfd0b88ffb890653bbacf6c667176e6dd [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a4372230d312df045d28f9283544c8abfd0b88ffb890653bbacf6c667176e6dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a4372230d312df045d28f9283544c8abfd0b88ffb890653bbacf6c667176e6dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4372230d312df045d28f9283544c8abfd0b88ffb890653bbacf6c667176e6dd", kill_on_drop: false }` [INFO] [stdout] a4372230d312df045d28f9283544c8abfd0b88ffb890653bbacf6c667176e6dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ebc5d83cd523dab49c6845b0f7c15e737ac889aa56f06bf7cd4417a46db6de4 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1ebc5d83cd523dab49c6845b0f7c15e737ac889aa56f06bf7cd4417a46db6de4", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v0.8.2 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Compiling curl-sys v0.4.52+curl-7.81.0 [INFO] [stderr] Compiling chrono v0.3.0 [INFO] [stderr] Compiling alsa v0.1.10 [INFO] [stderr] Compiling curl v0.4.42 [INFO] [stderr] Compiling i3monkit v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `open` [INFO] [stdout] --> src/widgets/stock.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | open : f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `StockPrice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/widgets/stock.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `high` [INFO] [stdout] --> src/widgets/stock.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | high : 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] --> src/widgets/stock.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `low` [INFO] [stdout] --> src/widgets/stock.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | low : 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] --> src/widgets/stock.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `volume` [INFO] [stdout] --> src/widgets/stock.rs:67:5 [INFO] [stdout] | [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] --> src/widgets/stock.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 27.84s [INFO] running `Command { std: "docker" "inspect" "1ebc5d83cd523dab49c6845b0f7c15e737ac889aa56f06bf7cd4417a46db6de4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ebc5d83cd523dab49c6845b0f7c15e737ac889aa56f06bf7cd4417a46db6de4", kill_on_drop: false }` [INFO] [stdout] 1ebc5d83cd523dab49c6845b0f7c15e737ac889aa56f06bf7cd4417a46db6de4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c416106f42049eae402b4334b65b1774935d3a0dc6eea2920a71d3d5807aded1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c416106f42049eae402b4334b65b1774935d3a0dc6eea2920a71d3d5807aded1", kill_on_drop: false }` [INFO] [stdout] warning: field is never read: `open` [INFO] [stdout] --> src/widgets/stock.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | open : f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `StockPrice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/widgets/stock.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `high` [INFO] [stdout] --> src/widgets/stock.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | high : 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] --> src/widgets/stock.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `low` [INFO] [stdout] --> src/widgets/stock.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | low : 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] --> src/widgets/stock.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `volume` [INFO] [stdout] --> src/widgets/stock.rs:67:5 [INFO] [stdout] | [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] --> src/widgets/stock.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling i3monkit v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `open` [INFO] [stdout] --> src/widgets/stock.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | open : f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `StockPrice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/widgets/stock.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `high` [INFO] [stdout] --> src/widgets/stock.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | high : 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] --> src/widgets/stock.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `low` [INFO] [stdout] --> src/widgets/stock.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | low : 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] --> src/widgets/stock.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `volume` [INFO] [stdout] --> src/widgets/stock.rs:67:5 [INFO] [stdout] | [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] --> src/widgets/stock.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.18s [INFO] running `Command { std: "docker" "inspect" "c416106f42049eae402b4334b65b1774935d3a0dc6eea2920a71d3d5807aded1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c416106f42049eae402b4334b65b1774935d3a0dc6eea2920a71d3d5807aded1", kill_on_drop: false }` [INFO] [stdout] c416106f42049eae402b4334b65b1774935d3a0dc6eea2920a71d3d5807aded1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 439840230eb9e2ffdc99d640b103cb0fda632f812d97ea0b467019c6dd22c083 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "439840230eb9e2ffdc99d640b103cb0fda632f812d97ea0b467019c6dd22c083", kill_on_drop: false }` [INFO] [stderr] warning: field is never read: `open` [INFO] [stderr] --> src/widgets/stock.rs:63:5 [INFO] [stderr] | [INFO] [stderr] 63 | open : f32, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `StockPrice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/widgets/stock.rs:60:10 [INFO] [stderr] | [INFO] [stderr] 60 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `high` [INFO] [stderr] --> src/widgets/stock.rs:64:5 [INFO] [stderr] | [INFO] [stderr] 64 | high : 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] --> src/widgets/stock.rs:60:10 [INFO] [stderr] | [INFO] [stderr] 60 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `low` [INFO] [stderr] --> src/widgets/stock.rs:65:5 [INFO] [stderr] | [INFO] [stderr] 65 | low : 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] --> src/widgets/stock.rs:60:10 [INFO] [stderr] | [INFO] [stderr] 60 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `volume` [INFO] [stderr] --> src/widgets/stock.rs:67:5 [INFO] [stderr] | [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] --> src/widgets/stock.rs:60:10 [INFO] [stderr] | [INFO] [stderr] 60 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `i3monkit` (lib) generated 4 warnings [INFO] [stderr] warning: `i3monkit` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/i3monkit-0de296402598ae5b) [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/widgets/stock.rs - widgets::stock::StockClient (line 26) ... FAILED [INFO] [stdout] test src/widget.rs - widget::WidgetDecorator (line 30) ... FAILED [INFO] [stdout] test src/widget.rs - widget::WidgetCollection (line 105) ... 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/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] | ^^^^^^^^^^^ not found in this scope [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] | ^^^^^^^^^^^ not found in this scope [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:34:7 [INFO] [stdout] | [INFO] [stdout] 7 | }) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 8 | } _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:33:27 [INFO] [stdout] | [INFO] [stdout] 6 | 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:32:36 [INFO] [stdout] | [INFO] [stdout] 5 | let widget = i3monkit::widget::DateTimeWidget::new().decorate_with(|b| { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `i3monkit::widget` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use i3monkit::widgets::DateTimeWidget; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0603]: module `widget` is private [INFO] [stdout] --> src/widget.rs:32:28 [INFO] [stdout] | [INFO] [stdout] 5 | 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/widget.rs - widget::WidgetCollection (line 105) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/widget.rs:109:14 [INFO] [stdout] | [INFO] [stdout] 6 | bar.push(...); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 6 | bar.push(..); [INFO] [stdout] | ~~ [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 6 | bar.push(..=); [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/widget.rs:109:14 [INFO] [stdout] | [INFO] [stdout] 6 | bar.push(...); [INFO] [stdout] | ^^^ help: use `..` instead [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/widget.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 7 | .... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 7 | ... [INFO] [stdout] | ~~ [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 7 | ..=. [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/widget.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 7 | .... [INFO] [stdout] | ^^^ help: use `..` instead [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] [INFO] [stdout] error: expected one of `;` or `}`, found `.` [INFO] [stdout] --> src/widget.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 7 | .... [INFO] [stdout] | ^ expected one of `;` or `}` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WidgetUpdate` [INFO] [stdout] --> src/widget.rs:106:11 [INFO] [stdout] | [INFO] [stdout] 3 | let bar = WidgetUpdate::new(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use i3monkit::WidgetUpdate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0586. [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:100:5 [INFO] [stdout] | [INFO] [stdout] 17 | ..... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 17 | .... [INFO] [stdout] | ~~ [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 17 | ..=.. [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WidgetCollection` [INFO] [stdout] --> src/lib.rs:98:15 [INFO] [stdout] | [INFO] [stdout] 15 | let bar = WidgetCollection::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use i3monkit::WidgetCollection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 14 | fn main() { [INFO] [stdout] | - expected `()` because of default return type [INFO] [stdout] ... [INFO] [stdout] 17 | ..... [INFO] [stdout] | ^^^^^ expected `()`, found struct `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 code 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/widgets/network.rs:79:60 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x563b3d0dce9c - std::backtrace_rs::backtrace::libunwind::trace::h02555d7ca8aa068a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x563b3d0dce9c - std::backtrace_rs::backtrace::trace_unsynchronized::h8555a46024147da8 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x563b3d0dce9c - std::sys_common::backtrace::_print_fmt::h4c7f50b4f105da1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x563b3d0dce9c - ::fmt::ha305a40dbc030444 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x563b3d0ff42c - core::fmt::write::hadd15acf4d6ce273 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x563b3d0d9898 - std::io::Write::write_fmt::h0f87f6c0c21ec48a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x563b3d0dea17 - std::sys_common::backtrace::_print::h0dd5c0810675bd8c [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x563b3d0dea17 - std::sys_common::backtrace::print::h20a2155fa0a22ca6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x563b3d0dea17 - std::panicking::default_hook::{{closure}}::habb3b6f3ccdfe00a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x563b3d0de6df - std::panicking::default_hook::h1c5cf4d5063a38e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:314:9 [INFO] [stdout] 10: 0x563b3d0df16a - std::panicking::rust_panic_with_hook::hb5de7a3072d2cf59 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x563b3d0dee57 - std::panicking::begin_panic_handler::{{closure}}::h5106de2f55f1a411 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x563b3d0dd364 - std::sys_common::backtrace::__rust_end_short_backtrace::h5ad5c2a8a003ca72 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x563b3d0deb69 - rust_begin_unwind [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x563b3cfcf593 - core::panicking::panic_fmt::hfb4b8460cd493e74 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x563b3cfcf683 - core::result::unwrap_failed::hf9b34e307f812de0 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/result.rs:1749:5 [INFO] [stdout] 16: 0x563b3cfe820b - core::result::Result::unwrap::h6cbae937974f6a01 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/result.rs:1065:23 [INFO] [stdout] 17: 0x563b3d01635b - i3monkit::widgets::network::NetworkSpeedWidget::new::hbceeca9d9b874b77 [INFO] [stdout] at /opt/rustwide/workdir/src/widgets/network.rs:79:25 [INFO] [stdout] 18: 0x563b3cfd0493 - rust_out::main::h940ba7c731c6ef76 [INFO] [stdout] 19: 0x563b3cfcff13 - core::ops::function::FnOnce::call_once::h0f76b491d02b5d6f [INFO] [stdout] 20: 0x563b3cfda179 - std::sys_common::backtrace::__rust_begin_short_backtrace::h6e6af801be12e787 [INFO] [stdout] 21: 0x563b3cfda129 - std::rt::lang_start::{{closure}}::hd6727c319f121475 [INFO] [stdout] 22: 0x563b3d0dc581 - core::ops::function::impls:: for &F>::call_once::h9e134bb161d17658 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:259:13 [INFO] [stdout] 23: 0x563b3d0dc581 - std::panicking::try::do_call::h7f361d911648db1a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 24: 0x563b3d0dc581 - std::panicking::try::hbe441b12f8ff00e7 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 25: 0x563b3d0dc581 - std::panic::catch_unwind::h12066b7ab56d7459 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 26: 0x563b3d0dc581 - std::rt::lang_start_internal::{{closure}}::h901c86e61467dcde [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/rt.rs:128:48 [INFO] [stdout] 27: 0x563b3d0dc581 - std::panicking::try::do_call::h1817b5f028d90a8c [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 28: 0x563b3d0dc581 - std::panicking::try::hd5afeaf2f0454960 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 29: 0x563b3d0dc581 - std::panic::catch_unwind::h13348562ae6426ca [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 30: 0x563b3d0dc581 - std::rt::lang_start_internal::hf194c7db73fedcb2 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/rt.rs:128:20 [INFO] [stdout] 31: 0x563b3cfda111 - std::rt::lang_start::habdff3dd8e305ff9 [INFO] [stdout] 32: 0x563b3cfdb833 - main [INFO] [stdout] 33: 0x7f33eefa70b3 - __libc_start_main [INFO] [stdout] 34: 0x563b3cfcfe2e - _start [INFO] [stdout] 35: 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 2.32s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "439840230eb9e2ffdc99d640b103cb0fda632f812d97ea0b467019c6dd22c083", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "439840230eb9e2ffdc99d640b103cb0fda632f812d97ea0b467019c6dd22c083", kill_on_drop: false }` [INFO] [stdout] 439840230eb9e2ffdc99d640b103cb0fda632f812d97ea0b467019c6dd22c083