[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#899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13 for pr-127827-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrostPrice%2Frust-async-router" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/FrostPrice/rust-async-router on toolchain 899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13" "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-2-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" "+899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded slab v0.4.6 [INFO] [stderr] Downloaded futures-macro v0.3.21 [INFO] [stderr] Downloaded futures-executor v0.3.21 [INFO] [stderr] Downloaded tokio v1.19.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6a0de13ea4dcbc1fd013951d21e0b1ce65d90a3f090f06cbb53b29d75c196cda [INFO] running `Command { std: "docker" "start" "-a" "6a0de13ea4dcbc1fd013951d21e0b1ce65d90a3f090f06cbb53b29d75c196cda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a0de13ea4dcbc1fd013951d21e0b1ce65d90a3f090f06cbb53b29d75c196cda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a0de13ea4dcbc1fd013951d21e0b1ce65d90a3f090f06cbb53b29d75c196cda", kill_on_drop: false }` [INFO] [stdout] 6a0de13ea4dcbc1fd013951d21e0b1ce65d90a3f090f06cbb53b29d75c196cda [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ef0771f5f2c9b12eeb940b829b8dae795234e128020085cff90ce10021457f4 [INFO] running `Command { std: "docker" "start" "-a" "7ef0771f5f2c9b12eeb940b829b8dae795234e128020085cff90ce10021457f4", 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 memchr v2.5.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [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 13.32s [INFO] running `Command { std: "docker" "inspect" "7ef0771f5f2c9b12eeb940b829b8dae795234e128020085cff90ce10021457f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ef0771f5f2c9b12eeb940b829b8dae795234e128020085cff90ce10021457f4", kill_on_drop: false }` [INFO] [stdout] 7ef0771f5f2c9b12eeb940b829b8dae795234e128020085cff90ce10021457f4 [INFO] checking FrostPrice/rust-async-router against try#71e0d7ccb3d54cfc766c826c50c8d523223fcc5c for pr-127827-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrostPrice%2Frust-async-router" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/FrostPrice/rust-async-router on toolchain 71e0d7ccb3d54cfc766c826c50c8d523223fcc5c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+71e0d7ccb3d54cfc766c826c50c8d523223fcc5c" "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-2-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" "+71e0d7ccb3d54cfc766c826c50c8d523223fcc5c" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+71e0d7ccb3d54cfc766c826c50c8d523223fcc5c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 72f0ee4a2e8cd11b4aa1be3f51709f809794e1926619fb12af65d668b94d17d9 [INFO] running `Command { std: "docker" "start" "-a" "72f0ee4a2e8cd11b4aa1be3f51709f809794e1926619fb12af65d668b94d17d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "72f0ee4a2e8cd11b4aa1be3f51709f809794e1926619fb12af65d668b94d17d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72f0ee4a2e8cd11b4aa1be3f51709f809794e1926619fb12af65d668b94d17d9", kill_on_drop: false }` [INFO] [stdout] 72f0ee4a2e8cd11b4aa1be3f51709f809794e1926619fb12af65d668b94d17d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+71e0d7ccb3d54cfc766c826c50c8d523223fcc5c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c6368823f523e91ad6c7576f724a110aaad0260bb5134674d1411bbb143cbbc [INFO] running `Command { std: "docker" "start" "-a" "6c6368823f523e91ad6c7576f724a110aaad0260bb5134674d1411bbb143cbbc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.1 [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 memchr v2.5.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking pin-project-lite v0.2.9 [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 smallvec v1.9.0 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [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] [stderr] error: could not compile `async-router` (bin "async-router" test) due to 2 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] running `Command { std: "docker" "inspect" "6c6368823f523e91ad6c7576f724a110aaad0260bb5134674d1411bbb143cbbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c6368823f523e91ad6c7576f724a110aaad0260bb5134674d1411bbb143cbbc", kill_on_drop: false }` [INFO] [stdout] 6c6368823f523e91ad6c7576f724a110aaad0260bb5134674d1411bbb143cbbc