[INFO] cloning repository https://github.com/krs85/88383987070 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/krs85/88383987070" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrs85%2F88383987070", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrs85%2F88383987070'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 185d91c33a6a86aaa7cb4f5e562de4e52f24dc16 [INFO] checking krs85/88383987070 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrs85%2F88383987070" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/krs85/88383987070 [INFO] finished tweaking git repo https://github.com/krs85/88383987070 [INFO] tweaked toml for git repo https://github.com/krs85/88383987070 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/krs85/88383987070 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/krs85/88383987070 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hyper-util v0.1.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f36bd1775fa00b6758f40d03f8278b62ad3c74a4b337567dad9158c2a679fb20 [INFO] running `Command { std: "docker" "start" "-a" "f36bd1775fa00b6758f40d03f8278b62ad3c74a4b337567dad9158c2a679fb20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f36bd1775fa00b6758f40d03f8278b62ad3c74a4b337567dad9158c2a679fb20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f36bd1775fa00b6758f40d03f8278b62ad3c74a4b337567dad9158c2a679fb20", kill_on_drop: false }` [INFO] [stdout] f36bd1775fa00b6758f40d03f8278b62ad3c74a4b337567dad9158c2a679fb20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c09c00d65c3e4c2dade946a0324440bb0f8d0e022fe8d027a08de01e10fe3687 [INFO] running `Command { std: "docker" "start" "-a" "c09c00d65c3e4c2dade946a0324440bb0f8d0e022fe8d027a08de01e10fe3687", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking axum-core v0.5.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Checking tokio v1.45.0 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking hyper-util v0.1.12 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking axum v0.8.4 [INFO] [stderr] Checking syndica v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `Json<_>` consumes the request body and thus must be the last argument to the handler function [INFO] [stdout] --> src/main.rs:42:37 [INFO] [stdout] | [INFO] [stdout] 42 | async fn store_movie(Json(payload): Json, State(state): State>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Json<_>` consumes the request body and thus must be the last argument to the handler function [INFO] [stdout] --> src/main.rs:42:37 [INFO] [stdout] | [INFO] [stdout] 42 | async fn store_movie(Json(payload): Json, State(state): State>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let mut s = Arc::clone(&state); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in an `Arc` as mutable [INFO] [stdout] --> src/main.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | s.db.movies.insert(movie_name, payload); [INFO] [stdout] | ^^^^^^^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let mut s = Arc::clone(&state); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in an `Arc` as mutable [INFO] [stdout] --> src/main.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | s.db.movies.insert(movie_name, payload); [INFO] [stdout] | ^^^^^^^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `App` in the current scope [INFO] [stdout] --> src/main.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | let db = Arc::new(App::new()); [INFO] [stdout] | ^^^ function or associated item not found in `App` [INFO] [stdout] ... [INFO] [stdout] 18 | struct App { [INFO] [stdout] | ---------- function or associated item `new` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `App` in the current scope [INFO] [stdout] --> src/main.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | let db = Arc::new(App::new()); [INFO] [stdout] | ^^^ function or associated item not found in `App` [INFO] [stdout] ... [INFO] [stdout] 18 | struct App { [INFO] [stdout] | ---------- function or associated item `new` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(Json, State>) -> ... {store_movie}: Handler<_, _>` is not satisfied [INFO] [stdout] --> src/main.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | .route("/movie", post(store_movie)) [INFO] [stdout] | ---- ^^^^^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(axum::Json, State>) -> impl Future {store_movie}` [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] `Layered` implements `Handler` [INFO] [stdout] `MethodRouter` implements `Handler<(), S>` [INFO] [stdout] note: required by a bound in `post` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.8.4/src/routing/method_routing.rs:445:1 [INFO] [stdout] | [INFO] [stdout] 445 | top_level_handler_fn!(post, POST); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^----^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this function [INFO] [stdout] | required by this bound in `post` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/syndica-0413b5564b610ba9.long-type-6716085373235687431.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(Json, State>) -> impl Future {store_movie}: Handler<_, _>` is not satisfied [INFO] [stdout] --> src/main.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | .route("/movie", post(store_movie)) [INFO] [stdout] | ---- ^^^^^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(Json, State>) -> impl Future {store_movie}` [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] `Layered` implements `Handler` [INFO] [stdout] `MethodRouter` implements `Handler<(), S>` [INFO] [stdout] note: required by a bound in `post` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.8.4/src/routing/method_routing.rs:445:1 [INFO] [stdout] | [INFO] [stdout] 445 | top_level_handler_fn!(post, POST); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^----^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this function [INFO] [stdout] | required by this bound in `post` [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: E0277, E0596, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0596, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `syndica` (bin "syndica") due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `syndica` (bin "syndica" test) due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "c09c00d65c3e4c2dade946a0324440bb0f8d0e022fe8d027a08de01e10fe3687", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c09c00d65c3e4c2dade946a0324440bb0f8d0e022fe8d027a08de01e10fe3687", kill_on_drop: false }` [INFO] [stdout] c09c00d65c3e4c2dade946a0324440bb0f8d0e022fe8d027a08de01e10fe3687