[INFO] cloning repository https://github.com/coderFeedForwardAlg/test_axum [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/coderFeedForwardAlg/test_axum" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FcoderFeedForwardAlg%2Ftest_axum", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FcoderFeedForwardAlg%2Ftest_axum'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 11be2c648ccef4480eb848915ad4170946eb9920 [INFO] checking coderFeedForwardAlg/test_axum/11be2c648ccef4480eb848915ad4170946eb9920 against master#55b9b4d1e1bb5b46c04237a2fb2f8a85f39ef97d for pr-146300 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FcoderFeedForwardAlg%2Ftest_axum" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/coderFeedForwardAlg/test_axum [INFO] finished tweaking git repo https://github.com/coderFeedForwardAlg/test_axum [INFO] tweaked toml for git repo https://github.com/coderFeedForwardAlg/test_axum written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/coderFeedForwardAlg/test_axum on toolchain 55b9b4d1e1bb5b46c04237a2fb2f8a85f39ef97d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+55b9b4d1e1bb5b46c04237a2fb2f8a85f39ef97d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/coderFeedForwardAlg/test_axum 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" "+55b9b4d1e1bb5b46c04237a2fb2f8a85f39ef97d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+55b9b4d1e1bb5b46c04237a2fb2f8a85f39ef97d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e4fa8022d6feea69e4422ada4e8de78fce9ac3ff1a808aaec52adf3d6db07ff1 [INFO] running `Command { std: "docker" "start" "-a" "e4fa8022d6feea69e4422ada4e8de78fce9ac3ff1a808aaec52adf3d6db07ff1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4fa8022d6feea69e4422ada4e8de78fce9ac3ff1a808aaec52adf3d6db07ff1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4fa8022d6feea69e4422ada4e8de78fce9ac3ff1a808aaec52adf3d6db07ff1", kill_on_drop: false }` [INFO] [stdout] e4fa8022d6feea69e4422ada4e8de78fce9ac3ff1a808aaec52adf3d6db07ff1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+55b9b4d1e1bb5b46c04237a2fb2f8a85f39ef97d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c475f17e890009453739d0dae88aeb954c4941133e5d6c35efbe22f118ea45ba [INFO] running `Command { std: "docker" "start" "-a" "c475f17e890009453739d0dae88aeb954c4941133e5d6c35efbe22f118ea45ba", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling cc v1.2.20 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking litemap v0.7.5 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking axum-core v0.5.2 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking hyper-util v0.1.11 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking sqlx-core v0.7.4 [INFO] [stderr] Checking axum v0.8.3 [INFO] [stderr] Checking sqlx-postgres v0.7.4 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking test_axum v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/main.rs:42:36 [INFO] [stdout] | [INFO] [stdout] 42 | let query = "INSERT INTO work " [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 43 | } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/main.rs:42:36 [INFO] [stdout] | [INFO] [stdout] 42 | let query = "INSERT INTO work " [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 43 | } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Extension` [INFO] [stdout] --> src/main.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | extract::{self, Extension, Path}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::SocketAddr` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/main.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | Path(user_id): Path, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Extension` [INFO] [stdout] --> src/main.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | extract::{self, Extension, Path}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::SocketAddr` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:41:6 [INFO] [stdout] | [INFO] [stdout] 38 | fn add_tolearn( [INFO] [stdout] | ----------- implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] ... [INFO] [stdout] 41 | ) -> Json { [INFO] [stdout] | ^^^^^^^^^^^ expected `Json`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `axum::Json` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/main.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | Path(user_id): Path, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(State>, ...) -> ... {add_tolearn}: Handler<_, _>` is not satisfied [INFO] [stdout] --> src/main.rs:97:37 [INFO] [stdout] | [INFO] [stdout] 97 | .route("/add_tolearn", post(add_tolearn)) [INFO] [stdout] | ---- ^^^^^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(State>, Json) -> Json {add_tolearn}` [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.3/src/routing/method_routing.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | 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/test_axum-f1c53baeb8e8cc6d.long-type-15181466902896396737.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 `test_axum` (bin "test_axum") due to 3 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:41:6 [INFO] [stdout] | [INFO] [stdout] 38 | fn add_tolearn( [INFO] [stdout] | ----------- implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] ... [INFO] [stdout] 41 | ) -> Json { [INFO] [stdout] | ^^^^^^^^^^^ expected `Json`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `axum::Json` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(State>, ...) -> ... {add_tolearn}: Handler<_, _>` is not satisfied [INFO] [stdout] --> src/main.rs:97:37 [INFO] [stdout] | [INFO] [stdout] 97 | .route("/add_tolearn", post(add_tolearn)) [INFO] [stdout] | ---- ^^^^^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(State>, Json) -> Json {add_tolearn}` [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.3/src/routing/method_routing.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | 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/test_axum-dceeb3e77ca1f935.long-type-10908344536716490417.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: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `test_axum` (bin "test_axum" test) due to 3 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c475f17e890009453739d0dae88aeb954c4941133e5d6c35efbe22f118ea45ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c475f17e890009453739d0dae88aeb954c4941133e5d6c35efbe22f118ea45ba", kill_on_drop: false }` [INFO] [stdout] c475f17e890009453739d0dae88aeb954c4941133e5d6c35efbe22f118ea45ba