[INFO] fetching crate tokio-test 0.4.5... [INFO] testing tokio-test-0.4.5 against 1.99.0-beta.1 for beta-1.99-5 [INFO] extracting crate tokio-test 0.4.5 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate tokio-test 0.4.5 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate tokio-test 0.4.5 [INFO] tweaked toml for crates.io crate tokio-test 0.4.5 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tokio-test 0.4.5 on toolchain 1.99.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tokio-test 0.4.5 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" "+1.99.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] b430ae30de77cb0c093510b745edb533c7ced228211ef33be562fa222325be3e [INFO] running `Command { std: "docker" "start" "b430ae30de77cb0c093510b745edb533c7ced228211ef33be562fa222325be3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b430ae30de77cb0c093510b745edb533c7ced228211ef33be562fa222325be3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b430ae30de77cb0c093510b745edb533c7ced228211ef33be562fa222325be3e" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b430ae30de77cb0c093510b745edb533c7ced228211ef33be562fa222325be3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b430ae30de77cb0c093510b745edb533c7ced228211ef33be562fa222325be3e" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling tokio-test v0.4.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.16s [INFO] running `Command { std: "docker" "inspect" "b430ae30de77cb0c093510b745edb533c7ced228211ef33be562fa222325be3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b430ae30de77cb0c093510b745edb533c7ced228211ef33be562fa222325be3e" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.82 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling tokio-test v0.4.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> tests/macros.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | assert_ready_err!(poll); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `assert_err` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_non_local_macros)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `assert_err` which comes from the expansion of the macro `assert_ready_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> tests/macros.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | assert_ready_err!(poll); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `assert_err` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `assert_err` which comes from the expansion of the macro `assert_ready_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.81s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: tokio-test v0.4.5 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "b430ae30de77cb0c093510b745edb533c7ced228211ef33be562fa222325be3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b430ae30de77cb0c093510b745edb533c7ced228211ef33be562fa222325be3e" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> tests/macros.rs:80:5 [INFO] [stderr] | [INFO] [stderr] 80 | assert_ready_err!(poll); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: macro invocations at the end of a block are treated as expressions [INFO] [stderr] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `assert_err` [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: `#[warn(semicolon_in_expressions_from_non_local_macros)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stderr] = note: this warning originates in the macro `assert_err` which comes from the expansion of the macro `assert_ready_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> tests/macros.rs:90:5 [INFO] [stderr] | [INFO] [stderr] 90 | assert_ready_err!(poll); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: macro invocations at the end of a block are treated as expressions [INFO] [stderr] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `assert_err` [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `assert_err` which comes from the expansion of the macro `assert_ready_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `tokio-test` (test "macros") generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: tokio-test v0.4.5 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tokio_test-db4053e567270cc3) [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 tests/block_on.rs (/opt/rustwide/target/debug/deps/block_on-afd4a6bd33621fba) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test async_fn ... ok [INFO] [stdout] test async_block ... ok [INFO] [stdout] test test_sleep ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stderr] Running tests/io.rs (/opt/rustwide/target/debug/deps/io-e854ed059141db31) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test read ... ok [INFO] [stdout] test multiple_wait ... ok [INFO] [stdout] test read_with_handle ... ok [INFO] [stdout] test read_error ... ok [INFO] [stdout] test write ... ok [INFO] [stdout] test wait ... ok [INFO] [stdout] test write_error ... ok [INFO] [stdout] test write_with_handle ... ok [INFO] [stdout] test mock_panics_read_data_left - should panic ... ok [INFO] [stdout] test mock_panics_write_data_left - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running tests/macros.rs (/opt/rustwide/target/debug/deps/macros-0df32db60c5bd92d) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test assert_pending ... ok [INFO] [stdout] test assert_ready ... ok [INFO] [stdout] test assert_ready_eq ... ok [INFO] [stdout] test assert_ready_err ... ok [INFO] [stdout] test assert_ready_ok ... ok [INFO] [stdout] test assert_eq_on_not_eq - should panic ... ok [INFO] [stdout] test assert_err_on_ok - should panic ... ok [INFO] [stdout] test assert_ok_on_err - should panic ... ok [INFO] [stdout] test assert_pending_on_ready - should panic ... ok [INFO] [stdout] test assert_ready_on_pending - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running tests/stream_mock.rs (/opt/rustwide/target/debug/deps/stream_mock-5544cd37979061bc) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test test_stream_mock_items ... ok [INFO] [stdout] test test_stream_mock_empty ... ok [INFO] [stdout] test test_stream_mock_drop_without_consuming_all - should panic ... ok [INFO] [stdout] test test_stream_mock_drop_during_panic_doesnt_mask_panic - should panic ... ok [INFO] [stdout] test test_stream_mock_wait ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.30s [INFO] [stdout] [INFO] [stderr] Running tests/task.rs (/opt/rustwide/target/debug/deps/task-291a1c97a118153f) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_spawn_stream_size_hint ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests tokio_test [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test src/macros.rs - macros::assert_err (line 232) ... FAILED [INFO] [stdout] test src/macros.rs - macros::assert_ready_err (line 87) ... FAILED [INFO] [stdout] test src/macros.rs - macros::assert_elapsed (line 265) ... ok [INFO] [stdout] test src/stream_mock.rs - stream_mock (line 15) ... ok [INFO] [stdout] test src/task.rs - task (line 18) ... ok [INFO] [stdout] test src/macros.rs - macros::assert_ready_ok (line 54) ... ok [INFO] [stdout] test src/macros.rs - macros::assert_ready (line 15) ... ok [INFO] [stdout] test src/macros.rs - macros::assert_ok (line 191) ... ok [INFO] [stdout] test src/macros.rs - macros::assert_ready_eq (line 159) ... ok [INFO] [stdout] test src/macros.rs - macros::assert_pending (line 120) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/macros.rs - macros::assert_err (line 232) stdout ---- [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:238:11 [INFO] [stdout] | [INFO] [stdout] 238 | let err = assert_err!(u32::from_str("fail")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/macros.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | #![deny(warnings , rust_2018_idioms)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(semicolon_in_expressions_from_non_local_macros)]` implied by `#[deny(warnings)]` [INFO] [stdout] = note: this error originates in the macro `assert_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros.rs - macros::assert_ready_err (line 87) stdout ---- [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 | assert_ready_err!(fut.poll()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `assert_err` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/macros.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | #![deny(warnings , rust_2018_idioms)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(semicolon_in_expressions_from_non_local_macros)]` implied by `#[deny(warnings)]` [INFO] [stdout] = note: this error originates in the macro `assert_err` which comes from the expansion of the macro `assert_ready_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/macros.rs - macros::assert_err (line 232) [INFO] [stdout] src/macros.rs - macros::assert_ready_err (line 87) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 8 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "b430ae30de77cb0c093510b745edb533c7ced228211ef33be562fa222325be3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b430ae30de77cb0c093510b745edb533c7ced228211ef33be562fa222325be3e", kill_on_drop: false }` [INFO] [stdout] b430ae30de77cb0c093510b745edb533c7ced228211ef33be562fa222325be3e