[INFO] fetching crate ffetch 0.6.0... [INFO] testing ffetch-0.6.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate ffetch 0.6.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate ffetch 0.6.0 [INFO] finished tweaking crates.io crate ffetch 0.6.0 [INFO] tweaked toml for crates.io crate ffetch 0.6.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ffetch 0.6.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ffetch 0.6.0 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f30f5af6a8339ba5a615fbd797efecd296985dffc205cf9268b4a77ad0077d8a [INFO] running `Command { std: "docker" "start" "-a" "f30f5af6a8339ba5a615fbd797efecd296985dffc205cf9268b4a77ad0077d8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f30f5af6a8339ba5a615fbd797efecd296985dffc205cf9268b4a77ad0077d8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f30f5af6a8339ba5a615fbd797efecd296985dffc205cf9268b4a77ad0077d8a", kill_on_drop: false }` [INFO] [stdout] f30f5af6a8339ba5a615fbd797efecd296985dffc205cf9268b4a77ad0077d8a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 121af178ac1b464ae89eef5bcc7f8884c2042d425fa0654c579a5f2985c360c6 [INFO] running `Command { std: "docker" "start" "-a" "121af178ac1b464ae89eef5bcc7f8884c2042d425fa0654c579a5f2985c360c6", kill_on_drop: false }` [INFO] [stderr] Compiling ffetch v0.6.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.18s [INFO] running `Command { std: "docker" "inspect" "121af178ac1b464ae89eef5bcc7f8884c2042d425fa0654c579a5f2985c360c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "121af178ac1b464ae89eef5bcc7f8884c2042d425fa0654c579a5f2985c360c6", kill_on_drop: false }` [INFO] [stdout] 121af178ac1b464ae89eef5bcc7f8884c2042d425fa0654c579a5f2985c360c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd6d3d44af47d1f4d1234370c1bd9bd7df356a85cf301e26c306c1365ca1dd60 [INFO] running `Command { std: "docker" "start" "-a" "cd6d3d44af47d1f4d1234370c1bd9bd7df356a85cf301e26c306c1365ca1dd60", kill_on_drop: false }` [INFO] [stderr] Compiling ffetch v0.6.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.61s [INFO] running `Command { std: "docker" "inspect" "cd6d3d44af47d1f4d1234370c1bd9bd7df356a85cf301e26c306c1365ca1dd60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd6d3d44af47d1f4d1234370c1bd9bd7df356a85cf301e26c306c1365ca1dd60", kill_on_drop: false }` [INFO] [stdout] cd6d3d44af47d1f4d1234370c1bd9bd7df356a85cf301e26c306c1365ca1dd60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8dd51a55114b2d339191b094a300d49d440d984dc4bbbc00bd935eb9d64459a0 [INFO] running `Command { std: "docker" "start" "-a" "8dd51a55114b2d339191b094a300d49d440d984dc4bbbc00bd935eb9d64459a0", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ffetch-c0d80c1728b4a0b6) [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] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ffetch-6a474db0a42acae7) [INFO] [stderr] Doc-tests ffetch [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_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_hostname (line 484) ... FAILED [INFO] [stdout] test src/ffetch.rs - ffetch::get_board_vendor (line 73) ... FAILED [INFO] [stdout] test src/ffetch.rs - ffetch::get_desktop_env (line 518) ... ok [INFO] [stdout] test src/ffetch.rs - ffetch::get_board_ver (line 155) ... FAILED [INFO] [stdout] test src/ffetch.rs - ffetch::get_cpu_name (line 314) ... FAILED [INFO] [stdout] test src/ffetch.rs - ffetch::get_board_name (line 112) ... FAILED [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/ffetch.rs - ffetch::get_os_name (line 436) ... FAILED [INFO] [stdout] test src/ffetch.rs - ffetch::get_monitor (line 1104) ... FAILED [INFO] [stdout] test src/ffetch.rs - ffetch::get_cpu_arch (line 563) ... FAILED [INFO] [stdout] test src/lib.rs - (line 51) ... FAILED [INFO] [stdout] test src/lib.rs - (line 34) ... FAILED [INFO] [stdout] test src/ffetch.rs - ffetch::get_m_gpu (line 922) ... ok [INFO] [stdout] test src/ffetch.rs - ffetch::get_disks (line 1422) ... ok [INFO] [stdout] test src/ffetch.rs - ffetch::get_shell (line 1077) ... ok [INFO] [stdout] test src/ffetch.rs - ffetch::get_kernel_version (line 24) ... FAILED [INFO] [stdout] test src/ffetch.rs - ffetch::get_uptime (line 626) ... FAILED [INFO] [stdout] test src/ffetch.rs - ffetch::get_username (line 248) ... ok [INFO] [stdout] test src/ffetch.rs - ffetch::get_packages (line 669) ... FAILED [INFO] [stdout] test src/lib.rs - (line 18) ... FAILED [INFO] [stdout] test src/ffetch.rs - ffetch::gtk_theme (line 269) ... ok [INFO] [stdout] test src/ffetch.rs - ffetch::get_compositor (line 540) ... ok [INFO] [stdout] test src/ffetch.rs - ffetch::get_platform (line 603) ... ok [INFO] [stdout] test src/ffetch.rs - ffetch::qt_theme (line 288) ... ok [INFO] [stdout] test src/ffetch.rs - ffetch::get_terminal (line 1354) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] 189 | 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] 366 | 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] [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] 489 | 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] [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] 78 | 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] [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_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] 160 | 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] [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] 319 | 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] [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] 117 | 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] [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] 441 | 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] [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' (293) 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: 0x5cedea3c15da - std[e72de78501789eb0]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5cedea3c15da - std[e72de78501789eb0]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5cedea3c15da - std[e72de78501789eb0]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x5cedea3c15da - <::print::DisplayBacktrace as core[6aaeda2c7ad07a48]::fmt::Display>::fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x5cedea3d435a - ::fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x5cedea3d435a - core[6aaeda2c7ad07a48]::fmt::write [INFO] [stdout] 6: 0x5cedea3c58d2 - std[e72de78501789eb0]::io::default_write_fmt:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5cedea3c58d2 - ::write_fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x5cedea3a673f - ::print [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x5cedea3a673f - std[e72de78501789eb0]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x5cedea3bca61 - std[e72de78501789eb0]::panicking::default_hook [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:319:9 [INFO] [stdout] 11: 0x5cedea3bcc1b - std[e72de78501789eb0]::panicking::panic_with_hook [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:825:13 [INFO] [stdout] 12: 0x5cedea3a67f8 - std[e72de78501789eb0]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:698:13 [INFO] [stdout] 13: 0x5cedea39e1c9 - std[e72de78501789eb0]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 14: 0x5cedea3a705d - __rustc[78a4cf188af856fc]::rust_begin_unwind [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:689:5 [INFO] [stdout] 15: 0x5cedea3d4aac - core[6aaeda2c7ad07a48]::panicking::panic_fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/panicking.rs:80:14 [INFO] [stdout] 16: 0x5cedea3d489c - core[6aaeda2c7ad07a48]::panicking::panic_bounds_check [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/panicking.rs:271:5 [INFO] [stdout] 17: 0x5cedea389564 - >::index [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/slice/index.rs:272:10 [INFO] [stdout] 18: 0x5cedea38e454 - <[alloc[28d2dab30c1dc666]::string::String] as core[6aaeda2c7ad07a48]::ops::index::Index>::index [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/slice/index.rs:19:15 [INFO] [stdout] 19: 0x5cedea38e454 - as core[6aaeda2c7ad07a48]::ops::index::Index>::index [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/alloc/src/vec/mod.rs:3823:9 [INFO] [stdout] 20: 0x5cedea37c839 - ffetch[ad82a0df9548ef78]::ffetch::get_monitor [INFO] [stdout] at /opt/rustwide/workdir/src/ffetch.rs:1336:18 [INFO] [stdout] 21: 0x5cedea37c34b - rust_out[992bb7df40d5d539]::main::_doctest_main_src_ffetch_rs_1104_0 [INFO] [stdout] 22: 0x5cedea37c326 - rust_out[992bb7df40d5d539]::main [INFO] [stdout] 23: 0x5cedea37c3f3 - >::call_once [INFO] [stdout] 24: 0x5cedea37c2e6 - std[e72de78501789eb0]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 25: 0x5cedea37c2f9 - std[e72de78501789eb0]::rt::lang_start::<()>::{closure#0} [INFO] [stdout] 26: 0x5cedea3bbde4 - <&dyn core[6aaeda2c7ad07a48]::ops::function::Fn<(), Output = i32> + core[6aaeda2c7ad07a48]::marker::Sync + core[6aaeda2c7ad07a48]::panic::unwind_safe::RefUnwindSafe as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 27: 0x5cedea3bbde4 - std[e72de78501789eb0]::panicking::catch_unwind::do_call::<&dyn core[6aaeda2c7ad07a48]::ops::function::Fn<(), Output = i32> + core[6aaeda2c7ad07a48]::marker::Sync + core[6aaeda2c7ad07a48]::panic::unwind_safe::RefUnwindSafe, i32> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:581:40 [INFO] [stdout] 28: 0x5cedea3bbde4 - std[e72de78501789eb0]::panicking::catch_unwind:: + core[6aaeda2c7ad07a48]::marker::Sync + core[6aaeda2c7ad07a48]::panic::unwind_safe::RefUnwindSafe> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:544:19 [INFO] [stdout] 29: 0x5cedea3bbde4 - std[e72de78501789eb0]::panic::catch_unwind::<&dyn core[6aaeda2c7ad07a48]::ops::function::Fn<(), Output = i32> + core[6aaeda2c7ad07a48]::marker::Sync + core[6aaeda2c7ad07a48]::panic::unwind_safe::RefUnwindSafe, i32> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x5cedea3bbde4 - std[e72de78501789eb0]::rt::lang_start_internal::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/rt.rs:175:24 [INFO] [stdout] 31: 0x5cedea3bbde4 - std[e72de78501789eb0]::panicking::catch_unwind::do_call:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:581:40 [INFO] [stdout] 32: 0x5cedea3bbde4 - std[e72de78501789eb0]::panicking::catch_unwind:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:544:19 [INFO] [stdout] 33: 0x5cedea3bbde4 - std[e72de78501789eb0]::panic::catch_unwind:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panic.rs:359:14 [INFO] [stdout] 34: 0x5cedea3bbde4 - std[e72de78501789eb0]::rt::lang_start_internal [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/rt.rs:171:5 [INFO] [stdout] 35: 0x5cedea37c2d1 - std[e72de78501789eb0]::rt::lang_start::<()> [INFO] [stdout] 36: 0x5cedea37c455 - main [INFO] [stdout] 37: 0x7e88edaf91ca - [INFO] [stdout] 38: 0x7e88edaf928b - __libc_start_main [INFO] [stdout] 39: 0x5cedea37c1d5 - _start [INFO] [stdout] 40: 0x0 - [INFO] [stdout] [INFO] [stdout] [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] 568 | 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] [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 51) stdout ---- [INFO] [stdout] error[E0659]: `ffetch` is ambiguous [INFO] [stdout] --> src/lib.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | 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] 53 | 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] 51 | 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] ---- src/lib.rs - (line 34) stdout ---- [INFO] [stdout] error[E0659]: `ffetch` is ambiguous [INFO] [stdout] --> src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | 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] 36 | 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] 34 | 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] 44 | 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] [INFO] [stdout] error[E0277]: `Result` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/lib.rs:46:24 [INFO] [stdout] | [INFO] [stdout] 46 | 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] [INFO] [stdout] error[E0277]: `Result` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/lib.rs:47:30 [INFO] [stdout] | [INFO] [stdout] 47 | 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] [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_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] 29 | 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] [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_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] 631 | 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] [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] 674 | 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] [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] 20 | 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] 20 | 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] 18 | 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] 28 | 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] [INFO] [stdout] error[E0277]: `Result` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/lib.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | 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] [INFO] [stdout] error[E0277]: `Result` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/lib.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | 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] [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] [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.88s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "8dd51a55114b2d339191b094a300d49d440d984dc4bbbc00bd935eb9d64459a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8dd51a55114b2d339191b094a300d49d440d984dc4bbbc00bd935eb9d64459a0", kill_on_drop: false }` [INFO] [stdout] 8dd51a55114b2d339191b094a300d49d440d984dc4bbbc00bd935eb9d64459a0