[INFO] cloning repository https://github.com/khanosama783/axumRust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/khanosama783/axumRust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkhanosama783%2FaxumRust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkhanosama783%2FaxumRust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b7fdb2b506ed3dce8d0c1c852713b792f4d64560 [INFO] testing khanosama783/axumRust against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkhanosama783%2FaxumRust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/khanosama783/axumRust [INFO] finished tweaking git repo https://github.com/khanosama783/axumRust [INFO] tweaked toml for git repo https://github.com/khanosama783/axumRust written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/khanosama783/axumRust on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/khanosama783/axumRust 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 247482fff8c9090b7dae9e79eaf0e386bdb17532eadd2f1096b692c769089e25 [INFO] running `Command { std: "docker" "start" "-a" "247482fff8c9090b7dae9e79eaf0e386bdb17532eadd2f1096b692c769089e25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "247482fff8c9090b7dae9e79eaf0e386bdb17532eadd2f1096b692c769089e25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "247482fff8c9090b7dae9e79eaf0e386bdb17532eadd2f1096b692c769089e25", kill_on_drop: false }` [INFO] [stdout] 247482fff8c9090b7dae9e79eaf0e386bdb17532eadd2f1096b692c769089e25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f473f22ea0dee2a486d8460e7e22824bffde0eb6922463bb73b542ff4cdd3885 [INFO] running `Command { std: "docker" "start" "-a" "f473f22ea0dee2a486d8460e7e22824bffde0eb6922463bb73b542ff4cdd3885", kill_on_drop: false }` [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling syn v2.0.70 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling http-range-header v0.4.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling tower-cookies v0.10.0 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling hyper-util v0.1.6 [INFO] [stderr] Compiling axum_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find type `Ctx` in this scope [INFO] [stdout] --> src/web/routes_tickets.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | ctx: Ctx, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/web/routes_tickets.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | let ticket = mc.create_ticket(ctx, ticket_fc).await?; [INFO] [stdout] | ^^^^^^^^^^^^^ --- unexpected argument #1 [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/model.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | pub async fn create_ticket(&self, ticket_fc: TicketForCreate) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 21 - let ticket = mc.create_ticket(ctx, ticket_fc).await?; [INFO] [stdout] 21 + let ticket = mc.create_ticket(ticket_fc).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(State<...>, ..., ...) -> ... {create_ticket}: Handler<_, _>` is not satisfied [INFO] [stdout] --> src/web/routes_tickets.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | .route("/tickets", post(create_ticket).get(list_tickets)) [INFO] [stdout] | ---- ^^^^^^^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(State, {type error}, ...) -> ... {create_ticket}` [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.7.5/src/routing/method_routing.rs:1216:1 [INFO] [stdout] | [INFO] [stdout] 1216 | / impl Handler<(), S> for MethodRouter [INFO] [stdout] 1217 | | where [INFO] [stdout] 1218 | | S: Clone + 'static, [INFO] [stdout] | |_______________________^ `MethodRouter` implements `Handler<(), S>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/handler/mod.rs:303:1 [INFO] [stdout] | [INFO] [stdout] 303 | / impl Handler for Layered [INFO] [stdout] 304 | | where [INFO] [stdout] 305 | | L: Layer> + Clone + Send + 'static, [INFO] [stdout] 306 | | H: Handler, [INFO] [stdout] ... | [INFO] [stdout] 310 | | T: 'static, [INFO] [stdout] 311 | | S: 'static, [INFO] [stdout] | |_______________^ `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.7.5/src/routing/method_routing.rs:140:16 [INFO] [stdout] | [INFO] [stdout] 140 | H: Handler, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `post` [INFO] [stdout] ... [INFO] [stdout] 389 | 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/axum_rust-46726853bd5feba9.long-type-6830708961534824632.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] Some errors have detailed explanations: E0061, E0277, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `axum_rust` (bin "axum_rust") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "f473f22ea0dee2a486d8460e7e22824bffde0eb6922463bb73b542ff4cdd3885", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f473f22ea0dee2a486d8460e7e22824bffde0eb6922463bb73b542ff4cdd3885", kill_on_drop: false }` [INFO] [stdout] f473f22ea0dee2a486d8460e7e22824bffde0eb6922463bb73b542ff4cdd3885