[INFO] cloning repository https://github.com/foldu/aiswitch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/foldu/aiswitch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffoldu%2Faiswitch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffoldu%2Faiswitch'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 987a000c23b50afdb11d987ed5a9abe2c84f2c66 [INFO] checking foldu/aiswitch against try#fa4dd1f19bfeb3fd235dc7f1406c42404436bef5 for pr-145108-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffoldu%2Faiswitch" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/foldu/aiswitch [INFO] finished tweaking git repo https://github.com/foldu/aiswitch [INFO] tweaked toml for git repo https://github.com/foldu/aiswitch written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/foldu/aiswitch on toolchain fa4dd1f19bfeb3fd235dc7f1406c42404436bef5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/foldu/aiswitch 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" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5303f0963a518f342759a474c1f82c1b86a1ad1e90b6d4feda99e69f793a802f [INFO] running `Command { std: "docker" "start" "-a" "5303f0963a518f342759a474c1f82c1b86a1ad1e90b6d4feda99e69f793a802f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5303f0963a518f342759a474c1f82c1b86a1ad1e90b6d4feda99e69f793a802f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5303f0963a518f342759a474c1f82c1b86a1ad1e90b6d4feda99e69f793a802f", kill_on_drop: false }` [INFO] [stdout] 5303f0963a518f342759a474c1f82c1b86a1ad1e90b6d4feda99e69f793a802f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 888d1f96e18858552b3a0cc1807380bd574d7a95a8f4c12f03a8f927596b63bc [INFO] running `Command { std: "docker" "start" "-a" "888d1f96e18858552b3a0cc1807380bd574d7a95a8f4c12f03a8f927596b63bc", kill_on_drop: false }` [INFO] [stderr] Checking log v0.4.26 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking indexmap v2.8.0 [INFO] [stderr] Compiling rustls v0.23.25 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Checking rustls-native-certs v0.8.1 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Checking winnow v0.7.4 [INFO] [stderr] Checking tokio v1.44.1 [INFO] [stderr] Compiling rustix v1.0.3 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Checking clap_builder v4.5.32 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking bitflags v2.8.0 [INFO] [stderr] Checking linux-raw-sys v0.9.3 [INFO] [stderr] Compiling rust-embed-utils v8.6.0 [INFO] [stderr] Compiling rust-embed-impl v8.6.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking rust-embed v8.6.0 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Checking toml_edit v0.22.24 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Checking clap v4.5.32 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Checking tempfile v3.19.1 [INFO] [stderr] Checking axum-core v0.5.0 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking toml v0.8.20 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Checking rustls-webpki v0.103.0 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-util v0.7.13 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Compiling utoipa-gen v5.3.1 [INFO] [stderr] Checking axum v0.8.1 [INFO] [stderr] Checking tokio-rustls v0.26.2 [INFO] [stderr] Checking hyper-rustls v0.27.5 [INFO] [stderr] Checking reqwest v0.12.15 [INFO] [stderr] Checking utoipa v5.3.1 [INFO] [stderr] Checking utoipa-redoc v6.0.0 [INFO] [stderr] Checking utoipa-axum v0.2.0 [INFO] [stderr] Checking aiswitch v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find derive macro `Embed` in this scope [INFO] [stdout] --> src/spa.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Embed)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Embed` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/spa.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rust_embed::Embed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `folder` in this scope [INFO] [stdout] --> src/spa.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[folder = "frontend/dist"] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `folder` is an attribute that can be used by the derive macro `RustEmbed`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 11 + #[derive(RustEmbed)] [INFO] [stdout] 12 | struct Assets; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `folder` in this scope [INFO] [stdout] --> src/main.rs:157:3 [INFO] [stdout] | [INFO] [stdout] 157 | #[folder = "frontend/dist/"] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `folder` is an attribute that can be used by the derive macro `RustEmbed`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 158 + #[derive(RustEmbed)] [INFO] [stdout] 159 | struct Assets; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: derive macro `Embed` is private [INFO] [stdout] --> src/main.rs:156:22 [INFO] [stdout] | [INFO] [stdout] 156 | #[derive(rust_embed::Embed)] [INFO] [stdout] | ^^^^^ private derive macro [INFO] [stdout] | [INFO] [stdout] note: the derive macro `Embed` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rust-embed-8.6.0/src/lib.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub use RustEmbed as Embed; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: import `Embed` directly [INFO] [stdout] | [INFO] [stdout] 156 - #[derive(rust_embed::Embed)] [INFO] [stdout] 156 + #[derive(rust_embed_impl::RustEmbed)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Embed` in this scope [INFO] [stdout] --> src/spa.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Embed)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Embed` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/spa.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rust_embed::Embed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `folder` in this scope [INFO] [stdout] --> src/spa.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[folder = "frontend/dist"] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `folder` is an attribute that can be used by the derive macro `RustEmbed`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 11 + #[derive(RustEmbed)] [INFO] [stdout] 12 | struct Assets; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `folder` in this scope [INFO] [stdout] --> src/main.rs:157:3 [INFO] [stdout] | [INFO] [stdout] 157 | #[folder = "frontend/dist/"] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `folder` is an attribute that can be used by the derive macro `RustEmbed`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 158 + #[derive(RustEmbed)] [INFO] [stdout] 159 | struct Assets; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: derive macro `Embed` is private [INFO] [stdout] --> src/main.rs:156:22 [INFO] [stdout] | [INFO] [stdout] 156 | #[derive(rust_embed::Embed)] [INFO] [stdout] | ^^^^^ private derive macro [INFO] [stdout] | [INFO] [stdout] note: the derive macro `Embed` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rust-embed-8.6.0/src/lib.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub use RustEmbed as Embed; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: import `Embed` directly [INFO] [stdout] | [INFO] [stdout] 156 - #[derive(rust_embed::Embed)] [INFO] [stdout] 156 + #[derive(rust_embed_impl::RustEmbed)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `spa::Assets` in the current scope [INFO] [stdout] --> src/spa.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 11 | struct Assets; [INFO] [stdout] | ------------- function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 20 | match Assets::get(path) { [INFO] [stdout] | ^^^ function or associated item not found in `spa::Assets` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `rustls::server::server_conn::StoresServerSessions` [INFO] [stdout] candidate #4: `toml_edit::table::TableLike` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `spa::Assets` in the current scope [INFO] [stdout] --> src/spa.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 11 | struct Assets; [INFO] [stdout] | ------------- function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 20 | match Assets::get(path) { [INFO] [stdout] | ^^^ function or associated item not found in `spa::Assets` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `rustls::server::server_conn::StoresServerSessions` [INFO] [stdout] candidate #4: `toml_edit::table::TableLike` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `spa::Assets` in the current scope [INFO] [stdout] --> src/spa.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 11 | struct Assets; [INFO] [stdout] | ------------- function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 31 | match Assets::get(INDEX_HTML) { [INFO] [stdout] | ^^^ function or associated item not found in `spa::Assets` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `rustls::server::server_conn::StoresServerSessions` [INFO] [stdout] candidate #4: `toml_edit::table::TableLike` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `spa::Assets` in the current scope [INFO] [stdout] --> src/spa.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 11 | struct Assets; [INFO] [stdout] | ------------- function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 31 | match Assets::get(INDEX_HTML) { [INFO] [stdout] | ^^^ function or associated item not found in `spa::Assets` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `rustls::server::server_conn::StoresServerSessions` [INFO] [stdout] candidate #4: `toml_edit::table::TableLike` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aiswitch` (bin "aiswitch") due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `aiswitch` (bin "aiswitch" test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "888d1f96e18858552b3a0cc1807380bd574d7a95a8f4c12f03a8f927596b63bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "888d1f96e18858552b3a0cc1807380bd574d7a95a8f4c12f03a8f927596b63bc", kill_on_drop: false }` [INFO] [stdout] 888d1f96e18858552b3a0cc1807380bd574d7a95a8f4c12f03a8f927596b63bc