[INFO] fetching crate tqdm 0.8.0... [INFO] testing tqdm-0.8.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate tqdm 0.8.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate tqdm 0.8.0 [INFO] finished tweaking crates.io crate tqdm 0.8.0 [INFO] tweaked toml for crates.io crate tqdm 0.8.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tqdm 0.8.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tqdm 0.8.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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio v1.46.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5032ecbfcc9a4b0811266e60740f086b2e1b923c8dbbaa6f35f98293989cf1a0 [INFO] running `Command { std: "docker" "start" "-a" "5032ecbfcc9a4b0811266e60740f086b2e1b923c8dbbaa6f35f98293989cf1a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5032ecbfcc9a4b0811266e60740f086b2e1b923c8dbbaa6f35f98293989cf1a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5032ecbfcc9a4b0811266e60740f086b2e1b923c8dbbaa6f35f98293989cf1a0", kill_on_drop: false }` [INFO] [stdout] 5032ecbfcc9a4b0811266e60740f086b2e1b923c8dbbaa6f35f98293989cf1a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b38f1fe18f42359bfd151a68e9c1307ae5dc8e8f5dfaf020307c4d502990a5f3 [INFO] running `Command { std: "docker" "start" "-a" "b38f1fe18f42359bfd151a68e9c1307ae5dc8e8f5dfaf020307c4d502990a5f3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling crossterm v0.25.0 [INFO] [stderr] Compiling tqdm v0.8.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.05s [INFO] running `Command { std: "docker" "inspect" "b38f1fe18f42359bfd151a68e9c1307ae5dc8e8f5dfaf020307c4d502990a5f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b38f1fe18f42359bfd151a68e9c1307ae5dc8e8f5dfaf020307c4d502990a5f3", kill_on_drop: false }` [INFO] [stdout] b38f1fe18f42359bfd151a68e9c1307ae5dc8e8f5dfaf020307c4d502990a5f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a72dbc7cf3cc9757b092f597532e7633e2982fa2d07e399ec9eafcd40c446669 [INFO] running `Command { std: "docker" "start" "-a" "a72dbc7cf3cc9757b092f597532e7633e2982fa2d07e399ec9eafcd40c446669", kill_on_drop: false }` [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tokio v1.46.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tqdm v0.8.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 10.27s [INFO] running `Command { std: "docker" "inspect" "a72dbc7cf3cc9757b092f597532e7633e2982fa2d07e399ec9eafcd40c446669", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a72dbc7cf3cc9757b092f597532e7633e2982fa2d07e399ec9eafcd40c446669", kill_on_drop: false }` [INFO] [stdout] a72dbc7cf3cc9757b092f597532e7633e2982fa2d07e399ec9eafcd40c446669 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 07887699a0e2d4cfc915766b3e601fc9a65e2ba5a272d8d19f0f5ad7b174ba00 [INFO] running `Command { std: "docker" "start" "-a" "07887699a0e2d4cfc915766b3e601fc9a65e2ba5a272d8d19f0f5ad7b174ba00", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tqdm-d298c9ac2f86c8d1) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test test::infinite ... ignored [INFO] [stdout] test test::very_slow ... ignored [INFO] [stdout] test test::empty ... ok [INFO] [stderr] [?25l 0%| | 0/100 [00:00::style (line 270) ... FAILED [INFO] [stdout] test src/lib.rs - Tqdm::clear (line 314) ... FAILED [INFO] [stdout] test src/lib.rs - Tqdm::width (line 249) ... FAILED [INFO] [stdout] test src/lib.rs - Tqdm::total (line 226) ... FAILED [INFO] [stdout] test src/lib.rs - Tqdm::desc (line 210) ... FAILED [INFO] [stdout] test src/lib.rs - Tqdm::smoothing (line 291) ... FAILED [INFO] [stdout] test src/lib.rs - Tqdm (line 161) ... FAILED [INFO] [stdout] test src/lib.rs - Tqdm (line 154) ... FAILED [INFO] [stdout] test src/lib.rs - Tqdm (line 168) ... FAILED [INFO] [stdout] test src/lib.rs - pbar (line 134) ... ok [INFO] [stdout] test src/lib.rs - tqdm (line 117) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - Iter (line 439) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:442:1 [INFO] [stdout] | [INFO] [stdout] 6 | (0..).take(1000).tqdm() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `Tqdm>>` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found struct `Tqdm>>` [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 6 | (0..).take(1000).tqdm(); [INFO] [stdout] | + [INFO] [stdout] help: try adding a return type [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_439_0() -> Tqdm>> { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Tqdm::style (line 270) stdout ---- [INFO] [stdout] error[E0423]: expected function, found crate `tqdm` [INFO] [stdout] --> src/lib.rs:272:1 [INFO] [stdout] | [INFO] [stdout] 5 | tqdm(0..100).style(tqdm::Style::Balloon) [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 2 + use tqdm::tqdm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Tqdm::clear (line 314) stdout ---- [INFO] [stdout] error[E0423]: expected function, found crate `tqdm` [INFO] [stdout] --> src/lib.rs:316:1 [INFO] [stdout] | [INFO] [stdout] 5 | tqdm(0..100).clear(true) [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 2 + use tqdm::tqdm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Tqdm::width (line 249) stdout ---- [INFO] [stdout] error[E0423]: expected function, found crate `tqdm` [INFO] [stdout] --> src/lib.rs:251:1 [INFO] [stdout] | [INFO] [stdout] 5 | tqdm(0..100).width(Some(100)) [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 2 + use tqdm::tqdm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Tqdm::total (line 226) stdout ---- [INFO] [stdout] error[E0423]: expected function, found crate `tqdm` [INFO] [stdout] --> src/lib.rs:228:1 [INFO] [stdout] | [INFO] [stdout] 5 | tqdm(0..100).total(Some(50)) [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 2 + use tqdm::tqdm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Tqdm::desc (line 210) stdout ---- [INFO] [stdout] error[E0423]: expected function, found crate `tqdm` [INFO] [stdout] --> src/lib.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 5 | tqdm(0..100).desc(Some("Bar1")) [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 2 + use tqdm::tqdm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Tqdm::smoothing (line 291) stdout ---- [INFO] [stdout] error[E0423]: expected function, found crate `tqdm` [INFO] [stdout] --> src/lib.rs:293:1 [INFO] [stdout] | [INFO] [stdout] 5 | tqdm(0..100).smoothing(0.9999) [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 2 + use tqdm::tqdm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Tqdm (line 161) stdout ---- [INFO] [stdout] error[E0423]: expected function, found crate `tqdm` [INFO] [stdout] --> src/lib.rs:163:10 [INFO] [stdout] | [INFO] [stdout] 5 | for _ in tqdm(tqdm(0..100).take(50)) { [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 2 + use tqdm::tqdm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found crate `tqdm` [INFO] [stdout] --> src/lib.rs:163:15 [INFO] [stdout] | [INFO] [stdout] 5 | for _ in tqdm(tqdm(0..100).take(50)) { [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 2 + use tqdm::tqdm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `thread` [INFO] [stdout] --> src/lib.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 6 | thread::sleep(Duration::from_millis(10)); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `thread` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `thread`, use `cargo add thread` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use std::thread; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/lib.rs:164:19 [INFO] [stdout] | [INFO] [stdout] 6 | thread::sleep(Duration::from_millis(10)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 2 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Tqdm (line 154) stdout ---- [INFO] [stdout] error[E0423]: expected function, found crate `tqdm` [INFO] [stdout] --> src/lib.rs:156:10 [INFO] [stdout] | [INFO] [stdout] 5 | for _ in tqdm(0..100) { [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 2 + use tqdm::tqdm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `thread` [INFO] [stdout] --> src/lib.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 6 | thread::sleep(Duration::from_millis(10)); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `thread` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `thread`, use `cargo add thread` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use std::thread; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/lib.rs:157:19 [INFO] [stdout] | [INFO] [stdout] 6 | thread::sleep(Duration::from_millis(10)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 2 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Tqdm (line 168) stdout ---- [INFO] [stdout] error[E0423]: expected function, found crate `tqdm` [INFO] [stdout] --> src/lib.rs:172:22 [INFO] [stdout] | [INFO] [stdout] 7 | for _ in tqdm(0..*its) { [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 2 + use tqdm::tqdm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `thread` [INFO] [stdout] --> src/lib.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 8 | thread::sleep(Duration::from_millis(10)); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `thread` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `thread`, use `cargo add thread` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use std::thread; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/lib.rs:173:31 [INFO] [stdout] | [INFO] [stdout] 8 | thread::sleep(Duration::from_millis(10)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 2 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - Iter (line 439) [INFO] [stdout] src/lib.rs - Tqdm (line 154) [INFO] [stdout] src/lib.rs - Tqdm (line 161) [INFO] [stdout] src/lib.rs - Tqdm (line 168) [INFO] [stdout] src/lib.rs - Tqdm::clear (line 314) [INFO] [stdout] src/lib.rs - Tqdm::desc (line 210) [INFO] [stdout] src/lib.rs - Tqdm::smoothing (line 291) [INFO] [stdout] src/lib.rs - Tqdm::style (line 270) [INFO] [stdout] src/lib.rs - Tqdm::total (line 226) [INFO] [stdout] src/lib.rs - Tqdm::width (line 249) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 10 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.40s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "07887699a0e2d4cfc915766b3e601fc9a65e2ba5a272d8d19f0f5ad7b174ba00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07887699a0e2d4cfc915766b3e601fc9a65e2ba5a272d8d19f0f5ad7b174ba00", kill_on_drop: false }` [INFO] [stdout] 07887699a0e2d4cfc915766b3e601fc9a65e2ba5a272d8d19f0f5ad7b174ba00