[INFO] cloning repository https://github.com/FrostPrice/rust-async-router [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FrostPrice/rust-async-router" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrostPrice%2Frust-async-router", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrostPrice%2Frust-async-router'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0cb7857dcff9713c5433606d1f2c501ba262f19f [INFO] checking FrostPrice/rust-async-router against master#eb10639928a2781cf0a12440007fbcc1e3a6888f for pr-127827-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrostPrice%2Frust-async-router" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/FrostPrice/rust-async-router on toolchain eb10639928a2781cf0a12440007fbcc1e3a6888f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eb10639928a2781cf0a12440007fbcc1e3a6888f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/FrostPrice/rust-async-router [INFO] finished tweaking git repo https://github.com/FrostPrice/rust-async-router [INFO] tweaked toml for git repo https://github.com/FrostPrice/rust-async-router written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/FrostPrice/rust-async-router 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" "+eb10639928a2781cf0a12440007fbcc1e3a6888f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.126 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+eb10639928a2781cf0a12440007fbcc1e3a6888f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76244eb289ea3bdad70ed0ae954d89226cefb60b7df46bf1ec18de4774baa039 [INFO] running `Command { std: "docker" "start" "-a" "76244eb289ea3bdad70ed0ae954d89226cefb60b7df46bf1ec18de4774baa039", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76244eb289ea3bdad70ed0ae954d89226cefb60b7df46bf1ec18de4774baa039", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76244eb289ea3bdad70ed0ae954d89226cefb60b7df46bf1ec18de4774baa039", kill_on_drop: false }` [INFO] [stdout] 76244eb289ea3bdad70ed0ae954d89226cefb60b7df46bf1ec18de4774baa039 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+eb10639928a2781cf0a12440007fbcc1e3a6888f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 239b64e7f647f232f1e2ab45bd3c4667d199672e765a15bfb27659cb51563b74 [INFO] running `Command { std: "docker" "start" "-a" "239b64e7f647f232f1e2ab45bd3c4667d199672e765a15bfb27659cb51563b74", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Checking tokio v1.19.2 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking async-router v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.32s [INFO] running `Command { std: "docker" "inspect" "239b64e7f647f232f1e2ab45bd3c4667d199672e765a15bfb27659cb51563b74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "239b64e7f647f232f1e2ab45bd3c4667d199672e765a15bfb27659cb51563b74", kill_on_drop: false }` [INFO] [stdout] 239b64e7f647f232f1e2ab45bd3c4667d199672e765a15bfb27659cb51563b74 [INFO] checking FrostPrice/rust-async-router against try#357cc345f0a672ac4bee347eb89b7552541416c1 for pr-127827-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrostPrice%2Frust-async-router" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/FrostPrice/rust-async-router on toolchain 357cc345f0a672ac4bee347eb89b7552541416c1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+357cc345f0a672ac4bee347eb89b7552541416c1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/FrostPrice/rust-async-router [INFO] finished tweaking git repo https://github.com/FrostPrice/rust-async-router [INFO] tweaked toml for git repo https://github.com/FrostPrice/rust-async-router written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/FrostPrice/rust-async-router 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" "+357cc345f0a672ac4bee347eb89b7552541416c1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+357cc345f0a672ac4bee347eb89b7552541416c1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f66b07fd25f814dde877e53bab078c7ce10ed40abb76f3ece0df4927703c3c3 [INFO] running `Command { std: "docker" "start" "-a" "0f66b07fd25f814dde877e53bab078c7ce10ed40abb76f3ece0df4927703c3c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f66b07fd25f814dde877e53bab078c7ce10ed40abb76f3ece0df4927703c3c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f66b07fd25f814dde877e53bab078c7ce10ed40abb76f3ece0df4927703c3c3", kill_on_drop: false }` [INFO] [stdout] 0f66b07fd25f814dde877e53bab078c7ce10ed40abb76f3ece0df4927703c3c3 [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+357cc345f0a672ac4bee347eb89b7552541416c1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c1e525768556dd936f0f9917e519323e7a8e9e5374bf6efc659a357769cc177 [INFO] running `Command { std: "docker" "start" "-a" "3c1e525768556dd936f0f9917e519323e7a8e9e5374bf6efc659a357769cc177", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Checking tokio v1.19.2 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking async-router v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | .add_handler("multiply", |a: i32, b: i32| async move { [INFO] [stdout] | __________-----------_____________^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this method are incorrect [INFO] [stdout] 16 | | Ok(format!("{a} * {b} = {}", a * b)) [INFO] [stdout] 17 | | }); [INFO] [stdout] | |_________^ expected fn pointer, found `{async closure@main.rs:15:34}` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(i32, i32) -> _` [INFO] [stdout] found closure `{async closure@src/main.rs:15:34: 15:50}` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/router.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn add_handler
(mut self, name: &str, fun: fn(i32, i32) -> P) -> Self [INFO] [stdout] | ^^^^^^^^^^^ ---------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | .add_handler("multiply", |a: i32, b: i32| async move { [INFO] [stdout] | __________-----------_____________^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this method are incorrect [INFO] [stdout] 16 | | Ok(format!("{a} * {b} = {}", a * b)) [INFO] [stdout] 17 | | }); [INFO] [stdout] | |_________^ expected fn pointer, found `{async closure@main.rs:15:34}` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(i32, i32) -> _` [INFO] [stdout] found closure `{async closure@src/main.rs:15:34: 15:50}` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/router.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn add_handler
(mut self, name: &str, fun: fn(i32, i32) -> P) -> Self [INFO] [stdout] | ^^^^^^^^^^^ ---------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `async-router` (bin "async-router") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `async-router` (bin "async-router" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "3c1e525768556dd936f0f9917e519323e7a8e9e5374bf6efc659a357769cc177", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c1e525768556dd936f0f9917e519323e7a8e9e5374bf6efc659a357769cc177", kill_on_drop: false }` [INFO] [stdout] 3c1e525768556dd936f0f9917e519323e7a8e9e5374bf6efc659a357769cc177