[INFO] cloning repository https://github.com/magwoo/rqlite-rs-axum-problem-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/magwoo/rqlite-rs-axum-problem-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmagwoo%2Frqlite-rs-axum-problem-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmagwoo%2Frqlite-rs-axum-problem-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7beeb1ccd695e249f7f996f0d7f58ac7074cb022 [INFO] testing magwoo/rqlite-rs-axum-problem-example against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmagwoo%2Frqlite-rs-axum-problem-example" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/magwoo/rqlite-rs-axum-problem-example [INFO] finished tweaking git repo https://github.com/magwoo/rqlite-rs-axum-problem-example [INFO] tweaked toml for git repo https://github.com/magwoo/rqlite-rs-axum-problem-example written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/magwoo/rqlite-rs-axum-problem-example on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/magwoo/rqlite-rs-axum-problem-example 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a492fdd99615122177221a264998e061f2ba3066138f6fded3917e0aef87ad29 [INFO] running `Command { std: "docker" "start" "-a" "a492fdd99615122177221a264998e061f2ba3066138f6fded3917e0aef87ad29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a492fdd99615122177221a264998e061f2ba3066138f6fded3917e0aef87ad29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a492fdd99615122177221a264998e061f2ba3066138f6fded3917e0aef87ad29", kill_on_drop: false }` [INFO] [stdout] a492fdd99615122177221a264998e061f2ba3066138f6fded3917e0aef87ad29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 59f1ba4f979044edc1182e45f541696da663024b935b4dbd4e274965be29c9c5 [INFO] running `Command { std: "docker" "start" "-a" "59f1ba4f979044edc1182e45f541696da663024b935b4dbd4e274965be29c9c5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling cc v1.2.14 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling native-tls v0.2.13 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling axum-core v0.5.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling rqlite-rs-core v0.3.1 [INFO] [stderr] Compiling rqlite-rs-macros v0.3.1 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling axum v0.8.1 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling reqwest v0.12.12 [INFO] [stderr] Compiling rqlite-rs v0.6.0 [INFO] [stderr] Compiling rqlite-rs-axum-problem v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `fn(State) -> impl Future {example_endpoint}: Handler<_, _>` is not satisfied [INFO] [stdout] --> src/main.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | .route("/", get(example_endpoint)) [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(State) -> impl Future {example_endpoint}` [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 `axum::routing::get` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.8.1/src/routing/method_routing.rs:440:1 [INFO] [stdout] | [INFO] [stdout] 440 | top_level_handler_fn!(get, GET); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this function [INFO] [stdout] | required by this bound in `get` [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 `rqlite-rs-axum-problem` (bin "rqlite-rs-axum-problem") due to 3 previous errors [INFO] [stdout] error[E0277]: `(dyn FallbackStrategy + 'static)` cannot be sent between threads safely [INFO] [stdout] --> src/main.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | let router = Router::new() [INFO] [stdout] | ^^^^^^^^^^^^^ `(dyn FallbackStrategy + 'static)` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `Send` is not implemented for `(dyn FallbackStrategy + 'static)` [INFO] [stdout] = note: required for `Unique<(dyn FallbackStrategy + 'static)>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box<(dyn FallbackStrategy + 'static)>` [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] = note: required for `std::sync::RwLock>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `config::RqliteClientConfig` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rqlite-rs-0.6.0/src/config.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | pub(crate) struct RqliteClientConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `rqlite_rs::RqliteClient` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rqlite-rs-0.6.0/src/client.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct RqliteClient { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: required for `Arc` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Database` [INFO] [stdout] --> src/main.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Database(Arc); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: required by a bound in `Router::::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.8.1/src/routing/mod.rs:134:16 [INFO] [stdout] | [INFO] [stdout] 134 | S: Clone + Send + Sync + 'static, [INFO] [stdout] | ^^^^ required by this bound in `Router::::new` [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn new() -> Self { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `(dyn FallbackStrategy + 'static)` cannot be shared between threads safely [INFO] [stdout] --> src/main.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | let router = Router::new() [INFO] [stdout] | ^^^^^^^^^^^^^ `(dyn FallbackStrategy + 'static)` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `(dyn FallbackStrategy + 'static)` [INFO] [stdout] = note: required for `Unique<(dyn FallbackStrategy + 'static)>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `Box<(dyn FallbackStrategy + 'static)>` [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] = note: required for `std::sync::RwLock>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `config::RqliteClientConfig` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rqlite-rs-0.6.0/src/config.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | pub(crate) struct RqliteClientConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `rqlite_rs::RqliteClient` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rqlite-rs-0.6.0/src/client.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct RqliteClient { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: required for `Arc` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Database` [INFO] [stdout] --> src/main.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Database(Arc); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: required by a bound in `Router::::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.8.1/src/routing/mod.rs:134:16 [INFO] [stdout] | [INFO] [stdout] 134 | S: Clone + Send + Sync + 'static, [INFO] [stdout] | ^^^^ required by this bound in `Router::::new` [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn new() -> Self { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "59f1ba4f979044edc1182e45f541696da663024b935b4dbd4e274965be29c9c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59f1ba4f979044edc1182e45f541696da663024b935b4dbd4e274965be29c9c5", kill_on_drop: false }` [INFO] [stdout] 59f1ba4f979044edc1182e45f541696da663024b935b4dbd4e274965be29c9c5