[INFO] fetching crate tokiotest-httpserver 0.2.1... [INFO] testing tokiotest-httpserver-0.2.1 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate tokiotest-httpserver 0.2.1 into /workspace/builds/worker-5-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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tokiotest-httpserver 0.2.1 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 105 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 819cfa6e1dc5a48a89df271c59a6924b10bae2aed0316e3f0e2f591aa381fda0 [INFO] running `Command { std: "docker" "start" "-a" "819cfa6e1dc5a48a89df271c59a6924b10bae2aed0316e3f0e2f591aa381fda0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "819cfa6e1dc5a48a89df271c59a6924b10bae2aed0316e3f0e2f591aa381fda0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "819cfa6e1dc5a48a89df271c59a6924b10bae2aed0316e3f0e2f591aa381fda0", kill_on_drop: false }` [INFO] [stdout] 819cfa6e1dc5a48a89df271c59a6924b10bae2aed0316e3f0e2f591aa381fda0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8bc0a624a2abc376342c9b353cff352a269ee1e287f0af40122aed875d9c34d [INFO] running `Command { std: "docker" "start" "-a" "a8bc0a624a2abc376342c9b353cff352a269ee1e287f0af40122aed875d9c34d", kill_on_drop: false }` [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_core v1.0.228 [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] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling http-range-header v0.3.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling queues v1.1.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling tower-http v0.2.5 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling test-context v0.1.6 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling tokiotest-httpserver v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.08s [INFO] running `Command { std: "docker" "inspect" "a8bc0a624a2abc376342c9b353cff352a269ee1e287f0af40122aed875d9c34d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8bc0a624a2abc376342c9b353cff352a269ee1e287f0af40122aed875d9c34d", kill_on_drop: false }` [INFO] [stdout] a8bc0a624a2abc376342c9b353cff352a269ee1e287f0af40122aed875d9c34d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 96bcd3e7c0fc7a5c3e833f01a6734bf416f5c44717d93e2968bce7ecf96c1e10 [INFO] running `Command { std: "docker" "start" "-a" "96bcd3e7c0fc7a5c3e833f01a6734bf416f5c44717d93e2968bce7ecf96c1e10", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling serial_test_derive v0.6.0 [INFO] [stderr] Compiling serial_test v0.6.0 [INFO] [stderr] Compiling 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" "96bcd3e7c0fc7a5c3e833f01a6734bf416f5c44717d93e2968bce7ecf96c1e10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96bcd3e7c0fc7a5c3e833f01a6734bf416f5c44717d93e2968bce7ecf96c1e10", kill_on_drop: false }` [INFO] [stdout] 96bcd3e7c0fc7a5c3e833f01a6734bf416f5c44717d93e2968bce7ecf96c1e10