[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] testing foldu/aiswitch against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffoldu%2Faiswitch" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/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-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/foldu/aiswitch on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows-targets v0.53.0 [INFO] [stderr] Downloaded indenter v0.3.3 [INFO] [stderr] Downloaded rust-embed-utils v8.6.0 [INFO] [stderr] Downloaded utoipa-redoc v6.0.0 [INFO] [stderr] Downloaded windows-strings v0.3.1 [INFO] [stderr] Downloaded utoipa-axum v0.2.0 [INFO] [stderr] Downloaded windows-registry v0.4.0 [INFO] [stderr] Downloaded rust-embed-impl v8.6.0 [INFO] [stderr] Downloaded axum-core v0.5.0 [INFO] [stderr] Downloaded once_cell v1.21.1 [INFO] [stderr] Downloaded redox_syscall v0.5.9 [INFO] [stderr] Downloaded tempfile v3.19.1 [INFO] [stderr] Downloaded log v0.4.26 [INFO] [stderr] Downloaded quinn-udp v0.5.10 [INFO] [stderr] Downloaded toml v0.8.20 [INFO] [stderr] Downloaded clap v4.5.32 [INFO] [stderr] Downloaded security-framework v3.2.0 [INFO] [stderr] Downloaded utoipa v5.3.1 [INFO] [stderr] Downloaded indexmap v2.8.0 [INFO] [stderr] Downloaded quinn v0.11.7 [INFO] [stderr] Downloaded axum v0.8.1 [INFO] [stderr] Downloaded clap_builder v4.5.32 [INFO] [stderr] Downloaded utoipa-gen v5.3.1 [INFO] [stderr] Downloaded rustls-webpki v0.103.0 [INFO] [stderr] Downloaded quinn-proto v0.11.10 [INFO] [stderr] Downloaded reqwest v0.12.15 [INFO] [stderr] Downloaded rustls v0.23.25 [INFO] [stderr] Downloaded rustix v1.0.3 [INFO] [stderr] Downloaded rust-embed v8.6.0 [INFO] [stderr] Downloaded linux-raw-sys v0.9.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8cea7126af24432646d0c73537bb956844960479b56cb7fa35b27fb5ea05af95 [INFO] running `Command { std: "docker" "start" "-a" "8cea7126af24432646d0c73537bb956844960479b56cb7fa35b27fb5ea05af95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8cea7126af24432646d0c73537bb956844960479b56cb7fa35b27fb5ea05af95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cea7126af24432646d0c73537bb956844960479b56cb7fa35b27fb5ea05af95", kill_on_drop: false }` [INFO] [stdout] 8cea7126af24432646d0c73537bb956844960479b56cb7fa35b27fb5ea05af95 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d575c4d27457a70310043267ede48088a8348ce677dc567ab4b1df36de61f300 [INFO] running `Command { std: "docker" "start" "-a" "d575c4d27457a70310043267ede48088a8348ce677dc567ab4b1df36de61f300", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling rustls v0.23.25 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling winnow v0.7.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling clap_builder v4.5.32 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling rust-embed-utils v8.6.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.1 [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 tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling rust-embed-impl v8.6.0 [INFO] [stderr] Compiling rustls-webpki v0.103.0 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling rust-embed v8.6.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling axum-core v0.5.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling clap v4.5.32 [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 indexmap v2.8.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-stream v0.1.17 [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 hyper-util v0.1.10 [INFO] [stderr] Compiling utoipa-gen v5.3.1 [INFO] [stderr] Compiling toml v0.8.20 [INFO] [stderr] Compiling axum v0.8.1 [INFO] [stderr] Compiling hyper-rustls v0.27.5 [INFO] [stderr] Compiling reqwest v0.12.15 [INFO] [stderr] Compiling utoipa v5.3.1 [INFO] [stderr] Compiling utoipa-axum v0.2.0 [INFO] [stderr] Compiling utoipa-redoc v6.0.0 [INFO] [stderr] Compiling aiswitch v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Assets` is never constructed [INFO] [stdout] --> src/main.rs:158:8 [INFO] [stdout] | [INFO] [stdout] 158 | struct Assets; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 38.93s [INFO] running `Command { std: "docker" "inspect" "d575c4d27457a70310043267ede48088a8348ce677dc567ab4b1df36de61f300", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d575c4d27457a70310043267ede48088a8348ce677dc567ab4b1df36de61f300", kill_on_drop: false }` [INFO] [stdout] d575c4d27457a70310043267ede48088a8348ce677dc567ab4b1df36de61f300 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3ee5abd277a780e0dc349385995d6176163a5761d20645410464e535ee13698 [INFO] running `Command { std: "docker" "start" "-a" "a3ee5abd277a780e0dc349385995d6176163a5761d20645410464e535ee13698", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v1.0.3 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling linux-raw-sys v0.9.3 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling aiswitch v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Assets` is never constructed [INFO] [stdout] --> src/main.rs:158:8 [INFO] [stdout] | [INFO] [stdout] 158 | struct Assets; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.60s [INFO] running `Command { std: "docker" "inspect" "a3ee5abd277a780e0dc349385995d6176163a5761d20645410464e535ee13698", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3ee5abd277a780e0dc349385995d6176163a5761d20645410464e535ee13698", kill_on_drop: false }` [INFO] [stdout] a3ee5abd277a780e0dc349385995d6176163a5761d20645410464e535ee13698 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d2031e53111ad07a61e934f8d30084684d3dce4949d68730370767858ced9779 [INFO] running `Command { std: "docker" "start" "-a" "d2031e53111ad07a61e934f8d30084684d3dce4949d68730370767858ced9779", kill_on_drop: false }` [INFO] [stderr] warning: struct `Assets` is never constructed [INFO] [stderr] --> src/main.rs:158:8 [INFO] [stderr] | [INFO] [stderr] 158 | struct Assets; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `aiswitch` (bin "aiswitch" test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/aiswitch-cbad0386217b4327) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test serve_config::tests::example_config_deserializes ... ok [INFO] [stdout] test runner::tests::shell_script_env_works ... ok [INFO] [stdout] test runner::tests::running_shell_scripts_works ... ok [INFO] [stdout] test runner::tests::running_shell_scripts_allows_bad_output ... ok [INFO] [stdout] test runner::tests::correct_scripts_get_run ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d2031e53111ad07a61e934f8d30084684d3dce4949d68730370767858ced9779", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2031e53111ad07a61e934f8d30084684d3dce4949d68730370767858ced9779", kill_on_drop: false }` [INFO] [stdout] d2031e53111ad07a61e934f8d30084684d3dce4949d68730370767858ced9779