[INFO] crate prog_rs 0.2.0 is already in cache [INFO] testing prog_rs-0.2.0 against try#41997647ba6a77908f6ef64401414feb00bccf16 for pr-71274 [INFO] extracting crate prog_rs 0.2.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate prog_rs 0.2.0 on toolchain 41997647ba6a77908f6ef64401414feb00bccf16 [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate prog_rs 0.2.0 [INFO] finished tweaking crates.io crate prog_rs 0.2.0 [INFO] tweaked toml for crates.io crate prog_rs 0.2.0 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate crates.io crate prog_rs 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "/opt/rustwide/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 04fef664f297d7a66e4d2f8680278824f6008558732e1e527c3ea5d4178e6743 [INFO] running `"docker" "start" "-a" "04fef664f297d7a66e4d2f8680278824f6008558732e1e527c3ea5d4178e6743"` [INFO] [stderr] Compiling term_size v0.3.1 [INFO] [stderr] Compiling prog_rs v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.22s [INFO] running `"docker" "inspect" "04fef664f297d7a66e4d2f8680278824f6008558732e1e527c3ea5d4178e6743"` [INFO] running `"docker" "rm" "-f" "04fef664f297d7a66e4d2f8680278824f6008558732e1e527c3ea5d4178e6743"` [INFO] [stdout] 04fef664f297d7a66e4d2f8680278824f6008558732e1e527c3ea5d4178e6743 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "/opt/rustwide/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "test" "--frozen" "--no-run"` [INFO] [stdout] 14e01acea4ecc3eaeaf6b3f9e195cf7cd3c54f61cbea34a9fa721d379c17f0d3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "14e01acea4ecc3eaeaf6b3f9e195cf7cd3c54f61cbea34a9fa721d379c17f0d3"` [INFO] [stderr] Compiling prog_rs v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.93s [INFO] running `"docker" "inspect" "14e01acea4ecc3eaeaf6b3f9e195cf7cd3c54f61cbea34a9fa721d379c17f0d3"` [INFO] running `"docker" "rm" "-f" "14e01acea4ecc3eaeaf6b3f9e195cf7cd3c54f61cbea34a9fa721d379c17f0d3"` [INFO] [stdout] 14e01acea4ecc3eaeaf6b3f9e195cf7cd3c54f61cbea34a9fa721d379c17f0d3 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "/opt/rustwide/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ac9299d8c9b1273f3df31e6f6f41cce95dc4f8c730f23f843a324a8ddc76209d [INFO] running `"docker" "start" "-a" "ac9299d8c9b1273f3df31e6f6f41cce95dc4f8c730f23f843a324a8ddc76209d"` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/prog_rs-a27f6ad420c75f31 [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 [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/showcase-ef1e2369651cda18 [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 [INFO] [stdout] [INFO] [stderr] Doc-tests prog_rs [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test src/progress.rs - progress::WithProgress::with_prefix (line 305) ... FAILED [INFO] [stdout] test src/file_progress.rs - file_progress::FileProgress (line 13) ... FAILED [INFO] [stdout] test src/lib.rs - (line 61) ... FAILED [INFO] [stdout] test src/lib.rs - (line 23) ... FAILED [INFO] [stdout] test src/progress.rs - progress::Progress (line 89) ... FAILED [INFO] [stdout] test src/iter_progress.rs - iter_progress::IterProgress (line 9) ... FAILED [INFO] [stdout] test src/lib.rs - (line 43) ... FAILED [INFO] [stdout] test src/progress.rs - progress::WithProgress::with_progress (line 245) ... FAILED [INFO] [stdout] test src/lib.rs - (line 13) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/progress.rs - progress::WithProgress::with_prefix (line 305) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `do_something` in this scope [INFO] [stdout] --> src/progress.rs:312:5 [INFO] [stdout] | [INFO] [stdout] 10 | do_something(i); [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/file_progress.rs - file_progress::FileProgress (line 13) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `File` [INFO] [stdout] --> src/file_progress.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 6 | let f = File::open("../../data/addresses/bano.csv") [INFO] [stdout] | ^^^^ use of undeclared type or module `File` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `BarPosition` [INFO] [stdout] --> src/file_progress.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 10 | .with_bar_position(BarPosition::Right); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `BarPosition` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `BufReader` [INFO] [stdout] --> src/file_progress.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 11 | let f = BufReader::new(f); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `BufReader` [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 - (line 61) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `File` [INFO] [stdout] --> src/lib.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 6 | let f = File::open("../../data/addresses/bano.csv") [INFO] [stdout] | ^^^^ use of undeclared type or module `File` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `BarPosition` [INFO] [stdout] --> src/lib.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 10 | .with_bar_position(BarPosition::Right); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `BarPosition` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `BufReader` [INFO] [stdout] --> src/lib.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 11 | let f = BufReader::new(f); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `BufReader` [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 - (line 23) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `do_something` in this scope [INFO] [stdout] --> src/lib.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 12 | do_something(); [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/progress.rs - progress::Progress (line 89) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Progress` [INFO] [stdout] --> src/progress.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 3 | let mut progress = Progress::new() [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `Progress` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Duration` [INFO] [stdout] --> src/progress.rs:93:25 [INFO] [stdout] | [INFO] [stdout] 6 | .with_refresh_delay(Duration::from_millis(100)) [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `Duration` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `OutputStream` [INFO] [stdout] --> src/progress.rs:94:25 [INFO] [stdout] | [INFO] [stdout] 7 | .with_output_stream(OutputStream::StdErr); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type or module `OutputStream` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Duration` [INFO] [stdout] --> src/progress.rs:100:11 [INFO] [stdout] | [INFO] [stdout] 13 | sleep(Duration::from_nanos(110)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `Duration` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sleep` in this scope [INFO] [stdout] --> src/progress.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 13 | sleep(Duration::from_nanos(110)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidate is found in another module, you can import it into scope [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread::sleep; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 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/iter_progress.rs - iter_progress::IterProgress (line 9) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `do_something` in this scope [INFO] [stdout] --> src/iter_progress.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 12 | do_something(); [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 - (line 43) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Progress` [INFO] [stdout] --> src/lib.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 3 | let mut progress = Progress::new() [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `Progress` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Duration` [INFO] [stdout] --> src/lib.rs:47:25 [INFO] [stdout] | [INFO] [stdout] 6 | .with_refresh_delay(Duration::from_millis(100)) [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `Duration` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `OutputStream` [INFO] [stdout] --> src/lib.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 7 | .with_output_stream(OutputStream::StdErr); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type or module `OutputStream` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Duration` [INFO] [stdout] --> src/lib.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 13 | sleep(Duration::from_nanos(110)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `Duration` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sleep` in this scope [INFO] [stdout] --> src/lib.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 13 | sleep(Duration::from_nanos(110)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidate is found in another module, you can import it into scope [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread::sleep; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 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/progress.rs - progress::WithProgress::with_progress (line 245) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `do_something` in this scope [INFO] [stdout] --> src/progress.rs:254:5 [INFO] [stdout] | [INFO] [stdout] 12 | do_something(i); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `do_something` in this scope [INFO] [stdout] --> src/progress.rs:258:5 [INFO] [stdout] | [INFO] [stdout] 16 | do_something(i); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/file_progress.rs - file_progress::FileProgress (line 13) [INFO] [stdout] src/iter_progress.rs - iter_progress::IterProgress (line 9) [INFO] [stdout] src/lib.rs - (line 23) [INFO] [stdout] src/lib.rs - (line 43) [INFO] [stdout] src/lib.rs - (line 61) [INFO] [stdout] src/progress.rs - progress::Progress (line 89) [INFO] [stdout] src/progress.rs - progress::WithProgress::with_prefix (line 305) [INFO] [stdout] src/progress.rs - progress::WithProgress::with_progress (line 245) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "ac9299d8c9b1273f3df31e6f6f41cce95dc4f8c730f23f843a324a8ddc76209d"` [INFO] running `"docker" "rm" "-f" "ac9299d8c9b1273f3df31e6f6f41cce95dc4f8c730f23f843a324a8ddc76209d"` [INFO] [stdout] ac9299d8c9b1273f3df31e6f6f41cce95dc4f8c730f23f843a324a8ddc76209d