[INFO] fetching crate tokiotest-httpserver 0.2.1... [INFO] checking tokiotest-httpserver-0.2.1 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate tokiotest-httpserver 0.2.1 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate tokiotest-httpserver 0.2.1 [INFO] finished tweaking crates.io crate tokiotest-httpserver 0.2.1 [INFO] tweaked toml for crates.io crate tokiotest-httpserver 0.2.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tokiotest-httpserver 0.2.1 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 103 packages to latest compatible versions [INFO] [stderr] Adding hyper v0.14.32 (available: v1.7.0) [INFO] [stderr] Adding serial_test v0.6.0 (available: v3.2.0) [INFO] [stderr] Adding test-context v0.1.6 (available: v0.4.1) [INFO] [stderr] Adding tower-http v0.2.5 (available: v0.6.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 068555d60a995d233f55645c5b5ecfc36bb2db29776ca652f2dea1fce2d68cf3 [INFO] running `Command { std: "docker" "start" "-a" "068555d60a995d233f55645c5b5ecfc36bb2db29776ca652f2dea1fce2d68cf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "068555d60a995d233f55645c5b5ecfc36bb2db29776ca652f2dea1fce2d68cf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "068555d60a995d233f55645c5b5ecfc36bb2db29776ca652f2dea1fce2d68cf3", kill_on_drop: false }` [INFO] [stdout] 068555d60a995d233f55645c5b5ecfc36bb2db29776ca652f2dea1fce2d68cf3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b54a05bde7731e45f455c1266a8c631797e54079c6ed59b1247559664fbe5e5b [INFO] running `Command { std: "docker" "start" "-a" "b54a05bde7731e45f455c1266a8c631797e54079c6ed59b1247559664fbe5e5b", kill_on_drop: false }` [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking http-range-header v0.3.1 [INFO] [stderr] Checking serde_json v1.0.143 [INFO] [stderr] Checking queues v1.1.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling serial_test_derive v0.6.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling test-context-macros v0.1.6 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking serial_test v0.6.0 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking tower-http v0.2.5 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking test-context v0.1.6 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking tokiotest-httpserver v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/test_serial.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 11 | async fn test_get_respond_200(&mut ctx: PortContext) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `PortContext`, found `&mut _` [INFO] [stdout] | help: to declare a mutable variable use: `mut ctx` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `PortContext` [INFO] [stdout] found mutable reference `&mut _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/test_serial.rs:22:31 [INFO] [stdout] | [INFO] [stdout] 22 | async fn test_get_respond_404(&mut ctx: PortContext) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `PortContext`, found `&mut _` [INFO] [stdout] | help: to declare a mutable variable use: `mut ctx` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `PortContext` [INFO] [stdout] found mutable reference `&mut _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/test_serial.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[test_context(PortContext)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `PortContext`, found `&mut PortContext` [INFO] [stdout] ... [INFO] [stdout] 11 | async fn test_get_respond_200(&mut ctx: PortContext) { [INFO] [stdout] | -------------------- arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> tests/test_serial.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | async fn test_get_respond_200(&mut ctx: PortContext) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ --------------------- [INFO] [stdout] = note: this error originates in the attribute macro `test_context` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/test_serial.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[test_context(PortContext)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `PortContext`, found `&mut PortContext` [INFO] [stdout] ... [INFO] [stdout] 22 | async fn test_get_respond_404(&mut ctx: PortContext) { [INFO] [stdout] | -------------------- arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> tests/test_serial.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | async fn test_get_respond_404(&mut ctx: PortContext) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ --------------------- [INFO] [stdout] = note: this error originates in the attribute macro `test_context` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tokiotest-httpserver` (test "test_serial") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "b54a05bde7731e45f455c1266a8c631797e54079c6ed59b1247559664fbe5e5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b54a05bde7731e45f455c1266a8c631797e54079c6ed59b1247559664fbe5e5b", kill_on_drop: false }` [INFO] [stdout] b54a05bde7731e45f455c1266a8c631797e54079c6ed59b1247559664fbe5e5b