[INFO] cloning repository https://github.com/phieulong/blog [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/phieulong/blog" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphieulong%2Fblog", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphieulong%2Fblog'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b78fd009ea9cf1a7c9adb7ecc710afcfb332d9ea [INFO] checking phieulong/blog against try#5ec4d3b0c83717313176eefa7d71e9d36dc83355 for pr-155501 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphieulong%2Fblog" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/phieulong/blog [INFO] finished tweaking git repo https://github.com/phieulong/blog [INFO] tweaked toml for git repo https://github.com/phieulong/blog written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/phieulong/blog on toolchain 5ec4d3b0c83717313176eefa7d71e9d36dc83355 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5ec4d3b0c83717313176eefa7d71e9d36dc83355" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/phieulong/blog 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" "+5ec4d3b0c83717313176eefa7d71e9d36dc83355" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+5ec4d3b0c83717313176eefa7d71e9d36dc83355" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e839bb62b177c2b0aaf194433c2141e9d247535e741ec77c3ecb623c86217a81 [INFO] running `Command { std: "docker" "start" "-a" "e839bb62b177c2b0aaf194433c2141e9d247535e741ec77c3ecb623c86217a81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e839bb62b177c2b0aaf194433c2141e9d247535e741ec77c3ecb623c86217a81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e839bb62b177c2b0aaf194433c2141e9d247535e741ec77c3ecb623c86217a81", kill_on_drop: false }` [INFO] [stdout] e839bb62b177c2b0aaf194433c2141e9d247535e741ec77c3ecb623c86217a81 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+5ec4d3b0c83717313176eefa7d71e9d36dc83355" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 45bf7be4a5efa4a41377b3ed8bcf4b6c737fe0ca8516aa6923f91d7f0e130806 [INFO] running `Command { std: "docker" "start" "-a" "45bf7be4a5efa4a41377b3ed8bcf4b6c737fe0ca8516aa6923f91d7f0e130806", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Compiling libm v0.2.7 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling memchr v2.6.3 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking regex-syntax v0.7.5 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking sharded-slab v0.1.6 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking askama_escape v0.10.3 [INFO] [stderr] Checking anyhow v1.0.75 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Checking parking_lot_core v0.9.8 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.4 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking regex-automata v0.3.9 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling askama_parser v0.1.0 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking regex v1.9.6 [INFO] [stderr] Checking serde_path_to_error v0.1.14 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking tracing-subscriber v0.3.17 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking tokio-util v0.7.9 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tower-http v0.4.4 [INFO] [stderr] Compiling basic-toml v0.1.4 [INFO] [stderr] Compiling askama_derive v0.12.2 [INFO] [stderr] Checking askama v0.12.1 [INFO] [stderr] Checking blog v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `fn(State>, ...) -> ... {add_todo}: Handler<_, _, _>` is not satisfied [INFO] [stdout] --> src/main.rs:40:35 [INFO] [stdout] | [INFO] [stdout] 40 | .route("/todo_list", post(add_todo)) [INFO] [stdout] | ---- ^^^^^^^^ the trait `Handler<_, _, _>` is not implemented for fn item `fn(State>, Form) -> ... {add_todo}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: Consider using `#[axum::debug_handler]` to improve the error message [INFO] [stdout] help: the following other types implement trait `Handler` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.6.20/src/routing/method_routing.rs:1263:1 [INFO] [stdout] | [INFO] [stdout] 1263 | / impl Handler<(), S, B> for MethodRouter [INFO] [stdout] 1264 | | where [INFO] [stdout] 1265 | | S: Clone + 'static, [INFO] [stdout] 1266 | | B: HttpBody + Send + 'static, [INFO] [stdout] | |_________________________________^ `MethodRouter` implements `Handler<(), S, B>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.6.20/src/handler/mod.rs:311:1 [INFO] [stdout] | [INFO] [stdout] 311 | / impl Handler for Layered [INFO] [stdout] 312 | | where [INFO] [stdout] 313 | | L: Layer> + Clone + Send + 'static, [INFO] [stdout] 314 | | H: Handler, [INFO] [stdout] ... | [INFO] [stdout] 320 | | B: Send + 'static, [INFO] [stdout] 321 | | B2: Send + 'static, [INFO] [stdout] | |_______________________^ `axum::handler::Layered` implements `Handler` [INFO] [stdout] note: required by a bound in `post` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.6.20/src/routing/method_routing.rs:145:16 [INFO] [stdout] | [INFO] [stdout] 145 | H: Handler, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `post` [INFO] [stdout] ... [INFO] [stdout] 407 | top_level_handler_fn!(post, POST); [INFO] [stdout] | --------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this function [INFO] [stdout] | in this macro invocation [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blog-546749baa9df3fd2.long-type-5774459166912779870.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(State>, ...) -> ... {add_todo}: Handler<_, _, _>` is not satisfied [INFO] [stdout] --> src/main.rs:40:35 [INFO] [stdout] | [INFO] [stdout] 40 | .route("/todo_list", post(add_todo)) [INFO] [stdout] | ---- ^^^^^^^^ the trait `Handler<_, _, _>` is not implemented for fn item `fn(State>, Form) -> ... {add_todo}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: Consider using `#[axum::debug_handler]` to improve the error message [INFO] [stdout] help: the following other types implement trait `Handler` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.6.20/src/routing/method_routing.rs:1263:1 [INFO] [stdout] | [INFO] [stdout] 1263 | / impl Handler<(), S, B> for MethodRouter [INFO] [stdout] 1264 | | where [INFO] [stdout] 1265 | | S: Clone + 'static, [INFO] [stdout] 1266 | | B: HttpBody + Send + 'static, [INFO] [stdout] | |_________________________________^ `MethodRouter` implements `Handler<(), S, B>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.6.20/src/handler/mod.rs:311:1 [INFO] [stdout] | [INFO] [stdout] 311 | / impl Handler for Layered [INFO] [stdout] 312 | | where [INFO] [stdout] 313 | | L: Layer> + Clone + Send + 'static, [INFO] [stdout] 314 | | H: Handler, [INFO] [stdout] ... | [INFO] [stdout] 320 | | B: Send + 'static, [INFO] [stdout] 321 | | B2: Send + 'static, [INFO] [stdout] | |_______________________^ `axum::handler::Layered` implements `Handler` [INFO] [stdout] note: required by a bound in `post` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.6.20/src/routing/method_routing.rs:145:16 [INFO] [stdout] | [INFO] [stdout] 145 | H: Handler, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `post` [INFO] [stdout] ... [INFO] [stdout] 407 | top_level_handler_fn!(post, POST); [INFO] [stdout] | --------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this function [INFO] [stdout] | in this macro invocation [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blog-ac954d3b94f40c0f.long-type-17411479871940971986.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `blog` (bin "blog") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `blog` (bin "blog" test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "45bf7be4a5efa4a41377b3ed8bcf4b6c737fe0ca8516aa6923f91d7f0e130806", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45bf7be4a5efa4a41377b3ed8bcf4b6c737fe0ca8516aa6923f91d7f0e130806", kill_on_drop: false }` [INFO] [stdout] 45bf7be4a5efa4a41377b3ed8bcf4b6c737fe0ca8516aa6923f91d7f0e130806