[INFO] crate progress 0.2.0 is already in cache [INFO] testing progress-0.2.0 against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] extracting crate progress 0.2.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate progress 0.2.0 on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate progress 0.2.0 [INFO] finished tweaking crates.io crate progress 0.2.0 [INFO] tweaked toml for crates.io crate progress 0.2.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 676ba65b629934656bfc95ec13585947cf6efa2d932d4bdf4920b3b7b8e5858a [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" "676ba65b629934656bfc95ec13585947cf6efa2d932d4bdf4920b3b7b8e5858a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "676ba65b629934656bfc95ec13585947cf6efa2d932d4bdf4920b3b7b8e5858a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "676ba65b629934656bfc95ec13585947cf6efa2d932d4bdf4920b3b7b8e5858a", kill_on_drop: false }` [INFO] [stdout] 676ba65b629934656bfc95ec13585947cf6efa2d932d4bdf4920b3b7b8e5858a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 89aded9c148e38a2b6bc205e9fbe5c5e433c97621431fae2252d8a7393c4fa0f [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" "89aded9c148e38a2b6bc205e9fbe5c5e433c97621431fae2252d8a7393c4fa0f", kill_on_drop: false }` [INFO] [stderr] Compiling terminal_size v0.1.13 [INFO] [stderr] Compiling progress v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.68s [INFO] running `Command { std: "docker" "inspect" "89aded9c148e38a2b6bc205e9fbe5c5e433c97621431fae2252d8a7393c4fa0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89aded9c148e38a2b6bc205e9fbe5c5e433c97621431fae2252d8a7393c4fa0f", kill_on_drop: false }` [INFO] [stdout] 89aded9c148e38a2b6bc205e9fbe5c5e433c97621431fae2252d8a7393c4fa0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 84abf78d9dcd44230ddf707401d0c3b719a4bab85a7d7406864fed6bd3657e9f [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" "84abf78d9dcd44230ddf707401d0c3b719a4bab85a7d7406864fed6bd3657e9f", kill_on_drop: false }` [INFO] [stderr] Compiling progress v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item 'std::thread::sleep_ms': replaced by `std::thread::sleep` [INFO] [stdout] --> examples/simple_examples.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | thread::sleep_ms(1000); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::thread::sleep_ms': replaced by `std::thread::sleep` [INFO] [stdout] --> examples/simple_examples.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | thread::sleep_ms(1000); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::thread::sleep_ms': replaced by `std::thread::sleep` [INFO] [stdout] --> examples/simple_examples.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | thread::sleep_ms(1000); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::thread::sleep_ms': replaced by `std::thread::sleep` [INFO] [stdout] --> examples/simple_examples.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | thread::sleep_ms(1000); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::thread::sleep_ms': replaced by `std::thread::sleep` [INFO] [stdout] --> examples/simple_examples.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | thread::sleep_ms(1000); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::thread::sleep_ms': replaced by `std::thread::sleep` [INFO] [stdout] --> examples/simple_examples.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | thread::sleep_ms(30); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::thread::sleep_ms': replaced by `std::thread::sleep` [INFO] [stdout] --> examples/simple_examples.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | thread::sleep_ms(5); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.81s [INFO] running `Command { std: "docker" "inspect" "84abf78d9dcd44230ddf707401d0c3b719a4bab85a7d7406864fed6bd3657e9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84abf78d9dcd44230ddf707401d0c3b719a4bab85a7d7406864fed6bd3657e9f", kill_on_drop: false }` [INFO] [stdout] 84abf78d9dcd44230ddf707401d0c3b719a4bab85a7d7406864fed6bd3657e9f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fea8bb44e93aeb20c353712f025783374bb8cfb4888249284d1738a40420fd6a [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" "fea8bb44e93aeb20c353712f025783374bb8cfb4888249284d1738a40420fd6a", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated item 'std::thread::sleep_ms': replaced by `std::thread::sleep` [INFO] [stderr] --> examples/simple_examples.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 12 | thread::sleep_ms(1000); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::thread::sleep_ms': replaced by `std::thread::sleep` [INFO] [stderr] --> examples/simple_examples.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 16 | thread::sleep_ms(1000); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::thread::sleep_ms': replaced by `std::thread::sleep` [INFO] [stderr] --> examples/simple_examples.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 20 | thread::sleep_ms(1000); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::thread::sleep_ms': replaced by `std::thread::sleep` [INFO] [stderr] --> examples/simple_examples.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 24 | thread::sleep_ms(1000); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::thread::sleep_ms': replaced by `std::thread::sleep` [INFO] [stderr] --> examples/simple_examples.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | thread::sleep_ms(1000); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::thread::sleep_ms': replaced by `std::thread::sleep` [INFO] [stderr] --> examples/simple_examples.rs:35:9 [INFO] [stderr] | [INFO] [stderr] 35 | thread::sleep_ms(30); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::thread::sleep_ms': replaced by `std::thread::sleep` [INFO] [stderr] --> examples/simple_examples.rs:43:9 [INFO] [stderr] | [INFO] [stderr] 43 | thread::sleep_ms(5); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 7 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/progress-d1c70fd16dd7b581 [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests progress [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - Bar (line 167) ... FAILED [INFO] [stdout] test src/lib.rs - (line 14) ... FAILED [INFO] [stdout] test src/lib.rs - Text (line 282) ... ok [INFO] [stdout] test src/lib.rs - BarBuilder (line 60) ... ok [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] [stdout] test src/lib.rs - SpinningCircle (line 352) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - Bar (line 167) stdout ---- [INFO] [stdout] warning: use of deprecated item 'std::thread::sleep_ms': replaced by `std::thread::sleep` [INFO] [stdout] --> src/lib.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 12 | thread::sleep_ms(100); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `bar` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/lib.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 7 | let bar = progress::Bar::new(); [INFO] [stdout] | --- help: consider changing this to be mutable: `mut bar` [INFO] [stdout] 8 | [INFO] [stdout] 9 | bar.set_job_title("Working..."); [INFO] [stdout] | ^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `bar` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/lib.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 7 | let bar = progress::Bar::new(); [INFO] [stdout] | --- help: consider changing this to be mutable: `mut bar` [INFO] [stdout] ... [INFO] [stdout] 13 | bar.reach_percent(i * 10); [INFO] [stdout] | ^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0596`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 14) stdout ---- [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `progress` [INFO] [stdout] --> src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 4 | [dependencies] [INFO] [stdout] | - expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] 5 | progress = "0.1.0" [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] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 14) [INFO] [stdout] src/lib.rs - Bar (line 167) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fea8bb44e93aeb20c353712f025783374bb8cfb4888249284d1738a40420fd6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fea8bb44e93aeb20c353712f025783374bb8cfb4888249284d1738a40420fd6a", kill_on_drop: false }` [INFO] [stdout] fea8bb44e93aeb20c353712f025783374bb8cfb4888249284d1738a40420fd6a