[INFO] fetching crate vibecode 0.1.3... [INFO] testing vibecode-0.1.3 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate vibecode 0.1.3 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate vibecode 0.1.3 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate vibecode 0.1.3 [INFO] tweaked toml for crates.io crate vibecode 0.1.3 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate vibecode 0.1.3 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate vibecode 0.1.3 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 757d3d795dd77229a5fea646e52e23837d1f90c6cc7abc8e0335fd9fdd6e9c0b [INFO] running `Command { std: "docker" "start" "-a" "757d3d795dd77229a5fea646e52e23837d1f90c6cc7abc8e0335fd9fdd6e9c0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "757d3d795dd77229a5fea646e52e23837d1f90c6cc7abc8e0335fd9fdd6e9c0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "757d3d795dd77229a5fea646e52e23837d1f90c6cc7abc8e0335fd9fdd6e9c0b", kill_on_drop: false }` [INFO] [stdout] 757d3d795dd77229a5fea646e52e23837d1f90c6cc7abc8e0335fd9fdd6e9c0b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91f738031eb4667a3632199d1d897a4fb4c9fe433da0b77a6a7903577fdd70bb [INFO] running `Command { std: "docker" "start" "-a" "91f738031eb4667a3632199d1d897a4fb4c9fe433da0b77a6a7903577fdd70bb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.105 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Compiling find-msvc-tools v0.1.6 [INFO] [stderr] Compiling libc v0.2.179 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling zmij v1.0.12 [INFO] [stderr] Compiling cc v1.2.51 [INFO] [stderr] Compiling rustls-pki-types v1.13.2 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling simd-adler32 v0.3.8 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Compiling serde_json v1.0.148 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling webpki-roots v1.0.5 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling ureq-proto v0.5.3 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling darling_core v0.23.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Compiling rustls-webpki v0.103.8 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Compiling ureq v3.1.4 [INFO] [stderr] Compiling vibecode-macros v0.1.3 [INFO] [stderr] Compiling vibecode v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.58s [INFO] running `Command { std: "docker" "inspect" "91f738031eb4667a3632199d1d897a4fb4c9fe433da0b77a6a7903577fdd70bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91f738031eb4667a3632199d1d897a4fb4c9fe433da0b77a6a7903577fdd70bb", kill_on_drop: false }` [INFO] [stdout] 91f738031eb4667a3632199d1d897a4fb4c9fe433da0b77a6a7903577fdd70bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a908cafef7d1d1afa5b94ea8626475bf098bba8b209b4321c3cee3e839579df [INFO] running `Command { std: "docker" "start" "-a" "0a908cafef7d1d1afa5b94ea8626475bf098bba8b209b4321c3cee3e839579df", kill_on_drop: false }` [INFO] [stderr] Compiling zmij v1.0.12 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling serde_json v1.0.148 [INFO] [stderr] Compiling toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Compiling serde_spanned v1.0.4 [INFO] [stderr] Compiling toml_writer v1.0.6+spec-1.1.0 [INFO] [stderr] Compiling ureq-proto v0.5.3 [INFO] [stderr] Compiling ureq v3.1.4 [INFO] [stderr] Compiling toml_parser v1.0.6+spec-1.1.0 [INFO] [stderr] Compiling toml v0.9.10+spec-1.1.0 [INFO] [stderr] Compiling vibecode-macros v0.1.3 [INFO] [stderr] Compiling trybuild v1.0.114 [INFO] [stderr] Compiling vibecode v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] error: Failed to initialize OpenAI client: Failed to read OPENAI_API_KEY from environment: environment variable not found [INFO] [stdout] --> tests/test_attribute.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | #[vibecode] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `vibecode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Failed to initialize OpenAI client: Failed to read OPENAI_API_KEY from environment: environment variable not found [INFO] [stdout] --> tests/test_attribute.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | #[vibecode(prompt = "Sort in descending order")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Failed to initialize OpenAI client: Failed to read OPENAI_API_KEY from environment: environment variable not found [INFO] [stdout] --> tests/test_attribute.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | / prompt = "Compute all prime numbers up to the given limit", [INFO] [stdout] 38 | | complexity = "medium" [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Failed to initialize OpenAI client: Failed to read OPENAI_API_KEY from environment: environment variable not found [INFO] [stdout] --> tests/test_function.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | let result = viberun!("Multiply 3 and 4"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Failed to initialize OpenAI client: Failed to read OPENAI_API_KEY from environment: environment variable not found [INFO] [stdout] --> tests/test_function.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | / "Sort an input vec of numbers in descending order", [INFO] [stdout] 21 | | vec![9, 1, 5, 6] [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sort` in this scope [INFO] [stdout] --> tests/test_attribute.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | let result = sort(vec![3, 1, 4, 2]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `vibecode` (test "test_function") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: cannot find function `add` in this scope [INFO] [stdout] --> tests/test_attribute.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | let result = add(2, 2); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: use the `.` operator to call the method `Add::add` on `{integer}` [INFO] [stdout] | [INFO] [stdout] 14 - let result = add(2, 2); [INFO] [stdout] 14 + let result = 2.add(2); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `primes` in this scope [INFO] [stdout] --> tests/test_attribute.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | let result = primes(20); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `vibecode` (test "test_attribute") due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "0a908cafef7d1d1afa5b94ea8626475bf098bba8b209b4321c3cee3e839579df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a908cafef7d1d1afa5b94ea8626475bf098bba8b209b4321c3cee3e839579df", kill_on_drop: false }` [INFO] [stdout] 0a908cafef7d1d1afa5b94ea8626475bf098bba8b209b4321c3cee3e839579df