[INFO] fetching crate wgsl-includes 0.0.2... [INFO] testing wgsl-includes-0.0.2 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate wgsl-includes 0.0.2 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate wgsl-includes 0.0.2 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate wgsl-includes 0.0.2 [INFO] tweaked toml for crates.io crate wgsl-includes 0.0.2 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate wgsl-includes 0.0.2 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 crates.io crate wgsl-includes 0.0.2 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 699de0d5f2d7df1b9ab96dbf2cc4091867d43e4cbfda1b8bf11e1200f11b8813 [INFO] running `Command { std: "docker" "start" "-a" "699de0d5f2d7df1b9ab96dbf2cc4091867d43e4cbfda1b8bf11e1200f11b8813", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "699de0d5f2d7df1b9ab96dbf2cc4091867d43e4cbfda1b8bf11e1200f11b8813", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "699de0d5f2d7df1b9ab96dbf2cc4091867d43e4cbfda1b8bf11e1200f11b8813", kill_on_drop: false }` [INFO] [stdout] 699de0d5f2d7df1b9ab96dbf2cc4091867d43e4cbfda1b8bf11e1200f11b8813 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 040779900b80f1a34e4af85aeeb59c07cd2798e56e686b3ac2087b247a2cde01 [INFO] running `Command { std: "docker" "start" "-a" "040779900b80f1a34e4af85aeeb59c07cd2798e56e686b3ac2087b247a2cde01", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling naga v24.0.0 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling wgsl-includes v0.0.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.94s [INFO] running `Command { std: "docker" "inspect" "040779900b80f1a34e4af85aeeb59c07cd2798e56e686b3ac2087b247a2cde01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "040779900b80f1a34e4af85aeeb59c07cd2798e56e686b3ac2087b247a2cde01", kill_on_drop: false }` [INFO] [stdout] 040779900b80f1a34e4af85aeeb59c07cd2798e56e686b3ac2087b247a2cde01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8aac71693d7e4103c3f06169ceaa1c44ff598d93ddcdcce8a6c1f82b25661431 [INFO] running `Command { std: "docker" "start" "-a" "8aac71693d7e4103c3f06169ceaa1c44ff598d93ddcdcce8a6c1f82b25661431", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling naga v24.0.0 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling wgsl-includes v0.0.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 18.84s [INFO] running `Command { std: "docker" "inspect" "8aac71693d7e4103c3f06169ceaa1c44ff598d93ddcdcce8a6c1f82b25661431", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8aac71693d7e4103c3f06169ceaa1c44ff598d93ddcdcce8a6c1f82b25661431", kill_on_drop: false }` [INFO] [stdout] 8aac71693d7e4103c3f06169ceaa1c44ff598d93ddcdcce8a6c1f82b25661431 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] aa8a1030190f454224d427ead1495fdb5ffe46b44055c33dde92be73dd30d67e [INFO] running `Command { std: "docker" "start" "-a" "aa8a1030190f454224d427ead1495fdb5ffe46b44055c33dde92be73dd30d67e", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wgsl_includes-d741f19aac22be4a) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/tests.rs (/opt/rustwide/target/debug/deps/tests-2014e6993dc75c45) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::include_wgsl ... ok [INFO] [stdout] test tests::include_wgsl_resolve ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests wgsl_includes [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - include_wgsl (line 76) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - include_wgsl (line 76) stdout ---- [INFO] [stdout] error: cannot find macro `include_wgsl` in this scope [INFO] [stdout] --> src/lib.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 3 | let shader_str = include_wgsl!("src/shader.wgsl"); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/macros/mod.rs:1314:5 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `include_str` defined here [INFO] [stdout] | [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let shader_str = include_wgsl!("src/shader.wgsl"); [INFO] [stdout] 3 + let shader_str = include_str!("src/shader.wgsl"); [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use wgsl_includes::include_wgsl; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `device` in this scope [INFO] [stdout] --> src/lib.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 4 | device.create_shader_module(&ShaderModuleDescriptor { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ShaderModuleDescriptor` in this scope [INFO] [stdout] --> src/lib.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 4 | device.create_shader_module(&ShaderModuleDescriptor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cow` [INFO] [stdout] --> src/lib.rs:79:32 [INFO] [stdout] | [INFO] [stdout] 5 | source: ShaderSource::Wgsl(Cow::Borrowed(&shader_str)), [INFO] [stdout] | ^^^ use of undeclared type `Cow` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use std::borrow::Cow; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ShaderSource` [INFO] [stdout] --> src/lib.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 5 | source: ShaderSource::Wgsl(Cow::Borrowed(&shader_str)), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ShaderSource` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ShaderFlags` [INFO] [stdout] --> src/lib.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 6 | flags: ShaderFlags::default(), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ShaderFlags` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - include_wgsl (line 76) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "aa8a1030190f454224d427ead1495fdb5ffe46b44055c33dde92be73dd30d67e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa8a1030190f454224d427ead1495fdb5ffe46b44055c33dde92be73dd30d67e", kill_on_drop: false }` [INFO] [stdout] aa8a1030190f454224d427ead1495fdb5ffe46b44055c33dde92be73dd30d67e