[INFO] fetching crate ffetch 0.5.7... [INFO] testing ffetch-0.5.7 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate ffetch 0.5.7 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate ffetch 0.5.7 [INFO] finished tweaking crates.io crate ffetch 0.5.7 [INFO] tweaked toml for crates.io crate ffetch 0.5.7 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ffetch 0.5.7 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ffetch 0.5.7 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9bd8418a737fac77c51c0c26b0977b240dd4c9e8aba8c097b0d4aa12c5d8e00a [INFO] running `Command { std: "docker" "start" "-a" "9bd8418a737fac77c51c0c26b0977b240dd4c9e8aba8c097b0d4aa12c5d8e00a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9bd8418a737fac77c51c0c26b0977b240dd4c9e8aba8c097b0d4aa12c5d8e00a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bd8418a737fac77c51c0c26b0977b240dd4c9e8aba8c097b0d4aa12c5d8e00a", kill_on_drop: false }` [INFO] [stdout] 9bd8418a737fac77c51c0c26b0977b240dd4c9e8aba8c097b0d4aa12c5d8e00a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6dad49e8b6fc407b8b2a90d887b1564bc64f2654ccd42a5774a13d7ff407039c [INFO] running `Command { std: "docker" "start" "-a" "6dad49e8b6fc407b8b2a90d887b1564bc64f2654ccd42a5774a13d7ff407039c", kill_on_drop: false }` [INFO] [stderr] Compiling ffetch v0.5.7 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.41s [INFO] running `Command { std: "docker" "inspect" "6dad49e8b6fc407b8b2a90d887b1564bc64f2654ccd42a5774a13d7ff407039c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6dad49e8b6fc407b8b2a90d887b1564bc64f2654ccd42a5774a13d7ff407039c", kill_on_drop: false }` [INFO] [stdout] 6dad49e8b6fc407b8b2a90d887b1564bc64f2654ccd42a5774a13d7ff407039c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39792fbfab4267d6972523c2ea0581e73c0ed5b7e1846faa099264ad2f5bb50c [INFO] running `Command { std: "docker" "start" "-a" "39792fbfab4267d6972523c2ea0581e73c0ed5b7e1846faa099264ad2f5bb50c", kill_on_drop: false }` [INFO] [stderr] Compiling ffetch v0.5.7 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.57s [INFO] running `Command { std: "docker" "inspect" "39792fbfab4267d6972523c2ea0581e73c0ed5b7e1846faa099264ad2f5bb50c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39792fbfab4267d6972523c2ea0581e73c0ed5b7e1846faa099264ad2f5bb50c", kill_on_drop: false }` [INFO] [stdout] 39792fbfab4267d6972523c2ea0581e73c0ed5b7e1846faa099264ad2f5bb50c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] eb7031e738f765417ed367304383c5cbe2f0daa53280e5d27229df7c68f625fd [INFO] running `Command { std: "docker" "start" "-a" "eb7031e738f765417ed367304383c5cbe2f0daa53280e5d27229df7c68f625fd", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ffetch-07a0863c5ea2e782) [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ffetch-07340328ba8914ca) [INFO] [stdout] [INFO] [stderr] Doc-tests ffetch [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [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] [stdout] [INFO] [stdout] running 28 tests [INFO] [stdout] test src/ffetch.rs - ffetch::get_board_ver (line 155) ... FAILED [INFO] [stdout] test src/ffetch.rs - ffetch::get_init_system (line 188) ... FAILED [INFO] [stdout] test src/ffetch.rs - ffetch::get_memory (line 361) ... FAILED [INFO] [stdout] test src/ffetch.rs - ffetch::get_kernel_version (line 24) ... FAILED [INFO] [stdout] test src/ffetch.rs - ffetch::get_board_vendor (line 73) ... FAILED [INFO] [stdout] test src/ffetch.rs - ffetch::get_cpu_name (line 314) ... FAILED [INFO] [stdout] test src/ffetch.rs - ffetch::get_hostname (line 484) ... FAILED [INFO] [stdout] test src/ffetch.rs - ffetch::get_board_name (line 112) ... FAILED [INFO] [stdout] test src/ffetch.rs - ffetch::get_cpu_arch (line 563) ... FAILED [INFO] [stdout] test src/ffetch.rs - ffetch::get_os_name (line 436) ... FAILED [INFO] [stdout] test src/ffetch.rs - ffetch::get_packages (line 669) ... FAILED [INFO] [stdout] test src/ffetch.rs - ffetch::get_disks (line 1422) ... ok [INFO] [stdout] test src/lib.rs - (line 18) ... FAILED [INFO] [stdout] test src/ffetch.rs - ffetch::get_uptime (line 626) ... FAILED [INFO] [stdout] test src/ffetch.rs - ffetch::get_m_gpu (line 922) ... ok [INFO] [stdout] test src/ffetch.rs - ffetch::get_compositor (line 540) ... ok [INFO] [stdout] test src/ffetch.rs - ffetch::get_monitor (line 1104) ... FAILED [INFO] [stdout] test src/lib.rs - (line 34) ... FAILED [INFO] [stdout] test src/ffetch.rs - ffetch::qt_theme (line 288) ... ok [INFO] [stdout] test src/ffetch.rs - ffetch::get_gpu (line 835) ... ok [INFO] [stdout] test src/ffetch.rs - ffetch::get_locale (line 225) ... ok [INFO] [stdout] test src/lib.rs - (line 51) ... FAILED [INFO] [stdout] test src/ffetch.rs - ffetch::get_shell (line 1077) ... ok [INFO] [stdout] test src/ffetch.rs - ffetch::gtk_theme (line 269) ... ok [INFO] [stdout] test src/ffetch.rs - ffetch::get_username (line 248) ... ok [INFO] [stdout] test src/ffetch.rs - ffetch::get_desktop_env (line 518) ... ok [INFO] [stdout] test src/ffetch.rs - ffetch::get_terminal (line 1354) ... ok [INFO] [stdout] test src/ffetch.rs - ffetch::get_platform (line 603) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/ffetch.rs - ffetch::get_board_ver (line 155) stdout ---- [INFO] [stdout] error[E0277]: `Result` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/ffetch.rs:160:37 [INFO] [stdout] | [INFO] [stdout] 8 | println!("Motherboard version: {}", version); [INFO] [stdout] | -- ^^^^^^^ `Result` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Result` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ffetch.rs - ffetch::get_init_system (line 188) stdout ---- [INFO] [stdout] error: expected one of `::`, `;`, or `as`, found `(` [INFO] [stdout] --> src/ffetch.rs:189:28 [INFO] [stdout] | [INFO] [stdout] 1 | use ffetch::get_init_system(); [INFO] [stdout] | ^ expected one of `::`, `;`, or `as` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ffetch.rs - ffetch::get_memory (line 361) stdout ---- [INFO] [stdout] error[E0277]: `Result` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/ffetch.rs:366:27 [INFO] [stdout] | [INFO] [stdout] 8 | println!("Memory: {} MB", memory); [INFO] [stdout] | -- ^^^^^^ `Result` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Result` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ffetch.rs - ffetch::get_kernel_version (line 24) stdout ---- [INFO] [stdout] error[E0277]: `Result` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/ffetch.rs:29:32 [INFO] [stdout] | [INFO] [stdout] 8 | println!("Kernel version: {}", kernel); [INFO] [stdout] | -- ^^^^^^ `Result` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Result` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ffetch.rs - ffetch::get_board_vendor (line 73) stdout ---- [INFO] [stdout] error[E0277]: `Result` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/ffetch.rs:78:36 [INFO] [stdout] | [INFO] [stdout] 8 | println!("Motherboard vendor: {}", vendor); [INFO] [stdout] | -- ^^^^^^ `Result` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Result` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ffetch.rs - ffetch::get_cpu_name (line 314) stdout ---- [INFO] [stdout] error[E0277]: `Result` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/ffetch.rs:319:21 [INFO] [stdout] | [INFO] [stdout] 8 | println!("CPU: {}", cpu); [INFO] [stdout] | -- ^^^ `Result` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Result` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ffetch.rs - ffetch::get_hostname (line 484) stdout ---- [INFO] [stdout] error[E0277]: `Result` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/ffetch.rs:489:26 [INFO] [stdout] | [INFO] [stdout] 8 | println!("Hostname: {}", hostname); [INFO] [stdout] | -- ^^^^^^^^ `Result` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Result` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ffetch.rs - ffetch::get_board_name (line 112) stdout ---- [INFO] [stdout] error[E0277]: `Result` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/ffetch.rs:117:34 [INFO] [stdout] | [INFO] [stdout] 8 | println!("Motherboard name: {}", name); [INFO] [stdout] | -- ^^^^ `Result` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Result` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ffetch.rs - ffetch::get_cpu_arch (line 563) stdout ---- [INFO] [stdout] error[E0277]: `Result` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/ffetch.rs:568:30 [INFO] [stdout] | [INFO] [stdout] 8 | println!("Architecture: {}", arch); [INFO] [stdout] | -- ^^^^ `Result` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Result` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ffetch.rs - ffetch::get_os_name (line 436) stdout ---- [INFO] [stdout] error[E0277]: `Result` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/ffetch.rs:441:20 [INFO] [stdout] | [INFO] [stdout] 8 | println!("OS: {}", os); [INFO] [stdout] | -- ^^ `Result` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Result` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ffetch.rs - ffetch::get_packages (line 669) stdout ---- [INFO] [stdout] error[E0277]: `Result` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/ffetch.rs:674:26 [INFO] [stdout] | [INFO] [stdout] 8 | println!("Packages: {}", packages); [INFO] [stdout] | -- ^^^^^^^^ `Result` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Result` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 18) stdout ---- [INFO] [stdout] error[E0659]: `ffetch` is ambiguous [INFO] [stdout] --> src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 5 | use ffetch::*; [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a conflict between a name from a glob import and an outer scope during import or macro resolution [INFO] [stdout] note: `ffetch` could refer to the module imported here [INFO] [stdout] --> src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 5 | use ffetch::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `ffetch` to disambiguate [INFO] [stdout] note: `ffetch` could also refer to the crate imported here [INFO] [stdout] --> src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate r#ffetch; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: use `::ffetch` to refer to this crate unambiguously [INFO] [stdout] = help: or use `crate::ffetch` to refer to this crate unambiguously [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/lib.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 13 | println!("{}@{}", username, hostname); [INFO] [stdout] | -- ^^^^^^^^ `Result` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Result` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/lib.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 14 | println!("OS: {}", os_name); [INFO] [stdout] | -- ^^^^^^^ `Result` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Result` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/lib.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 15 | println!("Kernel: {}", kernel); [INFO] [stdout] | -- ^^^^^^ `Result` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Result` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0659. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ffetch.rs - ffetch::get_uptime (line 626) stdout ---- [INFO] [stdout] error[E0277]: `Result` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/ffetch.rs:631:24 [INFO] [stdout] | [INFO] [stdout] 8 | println!("Uptime: {}", uptime); [INFO] [stdout] | -- ^^^^^^ `Result` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Result` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ffetch.rs - ffetch::get_monitor (line 1104) stdout ---- [INFO] [stdout] Test executable failed (exit status: 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] [INFO] [stdout] thread 'main' (303) panicked at src/ffetch.rs:1336:18: [INFO] [stdout] index out of bounds: the len is 0 but the index is 0 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5f5bb797c882 - std::backtrace_rs::backtrace::libunwind::trace::h0fb8082ca5562a61 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5f5bb797c882 - std::backtrace_rs::backtrace::trace_unsynchronized::hfaa258994374a3cd [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5f5bb797c882 - std::sys::backtrace::_print_fmt::h11496fe34963a885 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5f5bb797c882 - ::fmt::hff1a9408d012ee89 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5f5bb799bf5f - core::fmt::rt::Argument::fmt::hf11195b61445f5d1 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5f5bb799bf5f - core::fmt::write::h2f1fc679f228cc52 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5f5bb796e023 - std::io::default_write_fmt::hdd5e6d67566e664d [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5f5bb796e023 - std::io::Write::write_fmt::haa2231cbd9aebf95 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5f5bb797c6d2 - std::sys::backtrace::BacktraceLock::print::h28bfdbcac6d3828b [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5f5bb796b5ac - std::panicking::default_hook::{{closure}}::h1f968e3a24b0e3b4 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5f5bb796b3f3 - std::panicking::default_hook::h43da101644971931 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x5f5bb796baea - std::panicking::panic_with_hook::hb4e916c3e65eccec [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x5f5bb797c25a - std::panicking::panic_handler::{{closure}}::hbff715d0475cf1bd [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:707:13 [INFO] [stdout] 13: 0x5f5bb797c1b9 - std::sys::backtrace::__rust_end_short_backtrace::hd6f43484e45a4955 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x5f5bb796bedd - __rustc[b29d3319de9a3146]::rust_begin_unwind [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x5f5bb79a3430 - core::panicking::panic_fmt::h5f8d281875be5ff1 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/panicking.rs:75:14 [INFO] [stdout] 16: 0x5f5bb79a3343 - core::panicking::panic_bounds_check::haf10d69563164bc0 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/panicking.rs:280:5 [INFO] [stdout] 17: 0x5f5bb7950054 - >::index::hd28b598c8a854a8e [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/slice/index.rs:274:10 [INFO] [stdout] 18: 0x5f5bb79528f8 - core::slice::index:: for [T]>::index::h6bb23530ad150cc5 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/slice/index.rs:18:15 [INFO] [stdout] 19: 0x5f5bb79528f8 - as core::ops::index::Index>::index::h4e3547a30f4d334a [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/alloc/src/vec/mod.rs:3621:9 [INFO] [stdout] 20: 0x5f5bb7942409 - ffetch::ffetch::get_monitor::hc87e428397c0c8f6 [INFO] [stdout] at /opt/rustwide/workdir/src/ffetch.rs:1336:18 [INFO] [stdout] 21: 0x5f5bb793fd6d - rust_out::main::_doctest_main_src_ffetch_rs_1104_0::h2f537748d3bc2234 [INFO] [stdout] 22: 0x5f5bb793fe06 - rust_out::main::h7e777e61203ca549 [INFO] [stdout] 23: 0x5f5bb793fe63 - core::ops::function::FnOnce::call_once::h894b479a9b16664c [INFO] [stdout] 24: 0x5f5bb793fe16 - std::sys::backtrace::__rust_begin_short_backtrace::hcbf029d2da904189 [INFO] [stdout] 25: 0x5f5bb793fd39 - std::rt::lang_start::{{closure}}::h3a05cfdeea429f55 [INFO] [stdout] 26: 0x5f5bb797ce50 - core::ops::function::impls:: for &F>::call_once::h32dc2b2f49a48277 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/ops/function.rs:290:21 [INFO] [stdout] 27: 0x5f5bb797ce50 - std::panicking::catch_unwind::do_call::h3353546a38525559 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:590:40 [INFO] [stdout] 28: 0x5f5bb797ce50 - std::panicking::catch_unwind::h57fb70202d1ae368 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:553:19 [INFO] [stdout] 29: 0x5f5bb797ce50 - std::panic::catch_unwind::h4b724a52bb5803b4 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x5f5bb797ce50 - std::rt::lang_start_internal::{{closure}}::h3724b3072c80532a [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/rt.rs:175:24 [INFO] [stdout] 31: 0x5f5bb797ce50 - std::panicking::catch_unwind::do_call::h4f6e90f858bd1c3f [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:590:40 [INFO] [stdout] 32: 0x5f5bb797ce50 - std::panicking::catch_unwind::h81c085c0d350991c [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:553:19 [INFO] [stdout] 33: 0x5f5bb797ce50 - std::panic::catch_unwind::h289049af1176d82a [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panic.rs:359:14 [INFO] [stdout] 34: 0x5f5bb797ce50 - std::rt::lang_start_internal::h3c37ebeb799b11e1 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/rt.rs:171:5 [INFO] [stdout] 35: 0x5f5bb793fd21 - std::rt::lang_start::h5b53c8738ceaa0f6 [INFO] [stdout] 36: 0x5f5bb793fea5 - main [INFO] [stdout] 37: 0x712df819d1ca - [INFO] [stdout] 38: 0x712df819d28b - __libc_start_main [INFO] [stdout] 39: 0x5f5bb793fc35 - _start [INFO] [stdout] 40: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 34) stdout ---- [INFO] [stdout] error[E0659]: `ffetch` is ambiguous [INFO] [stdout] --> src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 5 | use ffetch::*; [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a conflict between a name from a glob import and an outer scope during import or macro resolution [INFO] [stdout] note: `ffetch` could refer to the module imported here [INFO] [stdout] --> src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 5 | use ffetch::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `ffetch` to disambiguate [INFO] [stdout] note: `ffetch` could also refer to the crate imported here [INFO] [stdout] --> src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate r#ffetch; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: use `::ffetch` to refer to this crate unambiguously [INFO] [stdout] = help: or use `crate::ffetch` to refer to this crate unambiguously [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/lib.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 13 | println!("CPU: {}", cpu); [INFO] [stdout] | -- ^^^ `Result` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Result` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/lib.rs:46:24 [INFO] [stdout] | [INFO] [stdout] 15 | println!("Memory: {}", memory); [INFO] [stdout] | -- ^^^^^^ `Result` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Result` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/lib.rs:47:30 [INFO] [stdout] | [INFO] [stdout] 16 | println!("Architecture: {}", arch); [INFO] [stdout] | -- ^^^^ `Result` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Result` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0659. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 51) stdout ---- [INFO] [stdout] error[E0659]: `ffetch` is ambiguous [INFO] [stdout] --> src/lib.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 5 | use ffetch::*; [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a conflict between a name from a glob import and an outer scope during import or macro resolution [INFO] [stdout] note: `ffetch` could refer to the module imported here [INFO] [stdout] --> src/lib.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 5 | use ffetch::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `ffetch` to disambiguate [INFO] [stdout] note: `ffetch` could also refer to the crate imported here [INFO] [stdout] --> src/lib.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate r#ffetch; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: use `::ffetch` to refer to this crate unambiguously [INFO] [stdout] = help: or use `crate::ffetch` to refer to this crate unambiguously [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0659`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/ffetch.rs - ffetch::get_board_name (line 112) [INFO] [stdout] src/ffetch.rs - ffetch::get_board_vendor (line 73) [INFO] [stdout] src/ffetch.rs - ffetch::get_board_ver (line 155) [INFO] [stdout] src/ffetch.rs - ffetch::get_cpu_arch (line 563) [INFO] [stdout] src/ffetch.rs - ffetch::get_cpu_name (line 314) [INFO] [stdout] src/ffetch.rs - ffetch::get_hostname (line 484) [INFO] [stdout] src/ffetch.rs - ffetch::get_init_system (line 188) [INFO] [stdout] src/ffetch.rs - ffetch::get_kernel_version (line 24) [INFO] [stdout] src/ffetch.rs - ffetch::get_memory (line 361) [INFO] [stdout] src/ffetch.rs - ffetch::get_monitor (line 1104) [INFO] [stdout] src/ffetch.rs - ffetch::get_os_name (line 436) [INFO] [stdout] src/ffetch.rs - ffetch::get_packages (line 669) [INFO] [stdout] src/ffetch.rs - ffetch::get_uptime (line 626) [INFO] [stdout] src/lib.rs - (line 18) [INFO] [stdout] src/lib.rs - (line 34) [INFO] [stdout] src/lib.rs - (line 51) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 12 passed; 16 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.79s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "eb7031e738f765417ed367304383c5cbe2f0daa53280e5d27229df7c68f625fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb7031e738f765417ed367304383c5cbe2f0daa53280e5d27229df7c68f625fd", kill_on_drop: false }` [INFO] [stdout] eb7031e738f765417ed367304383c5cbe2f0daa53280e5d27229df7c68f625fd