[INFO] crate progress_string 0.1.1 is already in cache [INFO] testing progress_string-0.1.1 against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] extracting crate progress_string 0.1.1 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate progress_string 0.1.1 on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate progress_string 0.1.1 [INFO] finished tweaking crates.io crate progress_string 0.1.1 [INFO] tweaked toml for crates.io crate progress_string 0.1.1 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e16a45293849728579d891c00012ea5c15cbe8a2f046c98c30ea51c9f5d34e86 [INFO] running `Command { std: "docker" "start" "-a" "e16a45293849728579d891c00012ea5c15cbe8a2f046c98c30ea51c9f5d34e86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e16a45293849728579d891c00012ea5c15cbe8a2f046c98c30ea51c9f5d34e86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e16a45293849728579d891c00012ea5c15cbe8a2f046c98c30ea51c9f5d34e86", kill_on_drop: false }` [INFO] [stdout] e16a45293849728579d891c00012ea5c15cbe8a2f046c98c30ea51c9f5d34e86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba4724a8dca1d716796e34dddb963626aa5223c8801cea21b2b6535eed75e264 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ba4724a8dca1d716796e34dddb963626aa5223c8801cea21b2b6535eed75e264", kill_on_drop: false }` [INFO] [stderr] Compiling progress_string v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/lib.rs:313:9 [INFO] [stdout] | [INFO] [stdout] 313 | (self.current_partial as f32 / self.total as f32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.47s [INFO] running `Command { std: "docker" "inspect" "ba4724a8dca1d716796e34dddb963626aa5223c8801cea21b2b6535eed75e264", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba4724a8dca1d716796e34dddb963626aa5223c8801cea21b2b6535eed75e264", kill_on_drop: false }` [INFO] [stdout] ba4724a8dca1d716796e34dddb963626aa5223c8801cea21b2b6535eed75e264 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] da94796f6dfbc69988d9a3e0e5fd6796fc801981e72a2d3f16b0f29c4baa3b6d [INFO] running `Command { std: "docker" "start" "-a" "da94796f6dfbc69988d9a3e0e5fd6796fc801981e72a2d3f16b0f29c4baa3b6d", kill_on_drop: false }` [INFO] [stderr] Compiling progress_string v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/lib.rs:313:9 [INFO] [stdout] | [INFO] [stdout] 313 | (self.current_partial as f32 / self.total as f32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/lib.rs:313:9 [INFO] [stdout] | [INFO] [stdout] 313 | (self.current_partial as f32 / self.total as f32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.64s [INFO] running `Command { std: "docker" "inspect" "da94796f6dfbc69988d9a3e0e5fd6796fc801981e72a2d3f16b0f29c4baa3b6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da94796f6dfbc69988d9a3e0e5fd6796fc801981e72a2d3f16b0f29c4baa3b6d", kill_on_drop: false }` [INFO] [stdout] da94796f6dfbc69988d9a3e0e5fd6796fc801981e72a2d3f16b0f29c4baa3b6d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ba3ad537d07f6789f828b01735957a48e56a591d02a5af8477deda4061e190b9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ba3ad537d07f6789f828b01735957a48e56a591d02a5af8477deda4061e190b9", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stdout] running 5 tests [INFO] [stderr] --> src/lib.rs:313:9 [INFO] [stdout] test tests::include_percent_test ... ok [INFO] [stderr] | [INFO] [stdout] test tests::replace_test ... ok [INFO] [stderr] 313 | (self.current_partial as f32 / self.total as f32) [INFO] [stdout] test tests::include_numbers_test ... ok [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] test tests::to_string_test ... ok [INFO] [stderr] | [INFO] [stdout] test tests::update_test ... ok [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stderr] warning: 1 warning emitted [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/lib.rs:313:9 [INFO] [stderr] | [INFO] [stderr] 313 | (self.current_partial as f32 / self.total as f32) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/progress_string-aa27f82407e448b7 [INFO] [stderr] Doc-tests progress_string [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:313:9 [INFO] [stderr] | [INFO] [stderr] 313 | (self.current_partial as f32 / self.total as f32) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test src/lib.rs - Bar::default (line 168) ... FAILED [INFO] [stdout] test src/lib.rs - BarBuilder::include_percent (line 127) ... FAILED [INFO] [stdout] test src/lib.rs - BarBuilder::full_char (line 112) ... FAILED [INFO] [stdout] test src/lib.rs - Bar::update (line 199) ... FAILED [INFO] [stdout] test src/lib.rs - BarBuilder::include_numbers (line 141) ... FAILED [INFO] [stdout] test src/lib.rs - BarBuilder::get_bar (line 157) ... FAILED [INFO] [stdout] test src/lib.rs - BarBuilder::total (line 78) ... FAILED [INFO] [stdout] test src/lib.rs - BarBuilder::width (line 87) ... FAILED [INFO] [stdout] test src/lib.rs - Bar::to_string (line 232) ... FAILED [INFO] [stdout] test src/lib.rs - (line 6) ... FAILED [INFO] [stdout] test src/lib.rs - Bar::replace (line 212) ... FAILED [INFO] [stdout] test src/lib.rs - BarBuilder (line 52) ... FAILED [INFO] [stdout] test src/lib.rs - BarBuilder::empty_char (line 99) ... FAILED [INFO] [stdout] test src/lib.rs - Bar::get_width (line 269) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - Bar::default (line 168) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Bar` in this scope [INFO] [stdout] --> src/lib.rs:169:1 [INFO] [stdout] | [INFO] [stdout] 3 | Bar { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - BarBuilder::include_percent (line 127) stdout ---- [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/lib.rs:130:31 [INFO] [stdout] | [INFO] [stdout] 5 | let with_p = BarBuilder::new() [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 6 | //yeilds [██████████ ] [INFO] [stdout] 7 | } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `BarBuilder` [INFO] [stdout] --> src/lib.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 3 | let no_p = BarBuilder::new().include_percent().get_bar(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `BarBuilder` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `BarBuilder` [INFO] [stdout] --> src/lib.rs:130:14 [INFO] [stdout] | [INFO] [stdout] 5 | let with_p = BarBuilder::new() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `BarBuilder` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - BarBuilder::full_char (line 112) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `BarBuilder` [INFO] [stdout] --> src/lib.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 3 | let x_bar = BarBuilder::new().full_char('X').get_bar(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `BarBuilder` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `BarBuilder` [INFO] [stdout] --> src/lib.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 5 | let y_bar = BarBuilder::new().full_char('Y').get_bar(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `BarBuilder` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Bar::update (line 199) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Bar` [INFO] [stdout] --> src/lib.rs:200:15 [INFO] [stdout] | [INFO] [stdout] 3 | let mut bar = Bar::default(); [INFO] [stdout] | ^^^ use of undeclared type or module `Bar` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - BarBuilder::include_numbers (line 141) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `BarBuilder` [INFO] [stdout] --> src/lib.rs:142:16 [INFO] [stdout] | [INFO] [stdout] 3 | let mut no_n = BarBuilder::new().get_bar(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `BarBuilder` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `BarBuilder` [INFO] [stdout] --> src/lib.rs:145:18 [INFO] [stdout] | [INFO] [stdout] 6 | let mut with_n = BarBuilder::new().include_numbers().get_bar(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `BarBuilder` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - BarBuilder::get_bar (line 157) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `BarBuilder` [INFO] [stdout] --> src/lib.rs:158:11 [INFO] [stdout] | [INFO] [stdout] 3 | let bar = BarBuilder::new().get_bar(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `BarBuilder` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - BarBuilder::total (line 78) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `thousand` in this scope [INFO] [stdout] --> src/lib.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 3 | thousand.update(200); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - BarBuilder::width (line 87) stdout ---- [INFO] [stdout] error[E0585]: found a documentation comment that doesn't document anything [INFO] [stdout] --> src/lib.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 4 | ///yeids [ ] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: doc comments must come before what they document, maybe a comment was intended with `//`? [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `BarBuilder` [INFO] [stdout] --> src/lib.rs:88:11 [INFO] [stdout] | [INFO] [stdout] 3 | let bar = BarBuilder::new().width(10); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `BarBuilder` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0585. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Bar::to_string (line 232) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `BarBuilder` [INFO] [stdout] --> src/lib.rs:233:24 [INFO] [stdout] | [INFO] [stdout] 3 | let mut with_percent = BarBuilder::new().include_percent() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `BarBuilder` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `BarBuilder` [INFO] [stdout] --> src/lib.rs:238:22 [INFO] [stdout] | [INFO] [stdout] 8 | let mut no_percent = BarBuilder::new().get_bar(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `BarBuilder` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 6) stdout ---- [INFO] [stdout] error: expected one of `;` or `as`, found keyword `extern` [INFO] [stdout] --> src/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate progress_string [INFO] [stdout] | - expected one of `;` or `as` [INFO] [stdout] 4 | [INFO] [stdout] 5 | extern crate progress_string; [INFO] [stdout] | ^^^^^^ unexpected token [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Bar::replace (line 212) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Bar` [INFO] [stdout] --> src/lib.rs:213:15 [INFO] [stdout] | [INFO] [stdout] 3 | let mut bar = Bar::default(); [INFO] [stdout] | ^^^ use of undeclared type or module `Bar` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - BarBuilder (line 52) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `BarBuilder` [INFO] [stdout] --> src/lib.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 3 | let bar = BarBuilder::new() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `BarBuilder` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - BarBuilder::empty_char (line 99) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `BarBuilder` [INFO] [stdout] --> src/lib.rs:100:16 [INFO] [stdout] | [INFO] [stdout] 3 | let zero_emp = BarBuilder::new().empty_char('0').get_bar(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `BarBuilder` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `yeilds` in this scope [INFO] [stdout] --> src/lib.rs:101:1 [INFO] [stdout] | [INFO] [stdout] 4 | yeilds [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Bar::get_width (line 269) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Bar` [INFO] [stdout] --> src/lib.rs:270:11 [INFO] [stdout] | [INFO] [stdout] 3 | let bar = Bar::default(); [INFO] [stdout] | ^^^ use of undeclared type or module `Bar` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BarBuilder` in this scope [INFO] [stdout] --> src/lib.rs:273:24 [INFO] [stdout] | [INFO] [stdout] 6 | let mut with_percent = BarBuilder;;new().include_precent(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new` in this scope [INFO] [stdout] --> src/lib.rs:273:36 [INFO] [stdout] | [INFO] [stdout] 6 | let mut with_percent = BarBuilder;;new().include_precent(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 6) [INFO] [stdout] src/lib.rs - Bar::default (line 168) [INFO] [stdout] src/lib.rs - Bar::get_width (line 269) [INFO] [stdout] src/lib.rs - Bar::replace (line 212) [INFO] [stdout] src/lib.rs - Bar::to_string (line 232) [INFO] [stdout] src/lib.rs - Bar::update (line 199) [INFO] [stdout] src/lib.rs - BarBuilder (line 52) [INFO] [stdout] src/lib.rs - BarBuilder::empty_char (line 99) [INFO] [stdout] src/lib.rs - BarBuilder::full_char (line 112) [INFO] [stdout] src/lib.rs - BarBuilder::get_bar (line 157) [INFO] [stdout] src/lib.rs - BarBuilder::include_numbers (line 141) [INFO] [stdout] src/lib.rs - BarBuilder::include_percent (line 127) [INFO] [stdout] src/lib.rs - BarBuilder::total (line 78) [INFO] [stdout] src/lib.rs - BarBuilder::width (line 87) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 14 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "ba3ad537d07f6789f828b01735957a48e56a591d02a5af8477deda4061e190b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba3ad537d07f6789f828b01735957a48e56a591d02a5af8477deda4061e190b9", kill_on_drop: false }` [INFO] [stdout] ba3ad537d07f6789f828b01735957a48e56a591d02a5af8477deda4061e190b9