[INFO] fetching crate wgsl-includes 0.0.2... [INFO] testing wgsl-includes-0.0.2 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate wgsl-includes 0.0.2 into /workspace/builds/worker-5-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate wgsl-includes 0.0.2 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 58e77febad7ab66483ecc963cdb884fbc9c1622bb1068c32281f269df173d9f5 [INFO] running `Command { std: "docker" "start" "-a" "58e77febad7ab66483ecc963cdb884fbc9c1622bb1068c32281f269df173d9f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58e77febad7ab66483ecc963cdb884fbc9c1622bb1068c32281f269df173d9f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58e77febad7ab66483ecc963cdb884fbc9c1622bb1068c32281f269df173d9f5", kill_on_drop: false }` [INFO] [stdout] 58e77febad7ab66483ecc963cdb884fbc9c1622bb1068c32281f269df173d9f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 10360e43092496740180c689d04c0131c2627d0564327e5ebfd43d02a315c703 [INFO] running `Command { std: "docker" "start" "-a" "10360e43092496740180c689d04c0131c2627d0564327e5ebfd43d02a315c703", 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 rustc-hash v1.1.0 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling naga v24.0.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling indexmap v2.8.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 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 16.08s [INFO] running `Command { std: "docker" "inspect" "10360e43092496740180c689d04c0131c2627d0564327e5ebfd43d02a315c703", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10360e43092496740180c689d04c0131c2627d0564327e5ebfd43d02a315c703", kill_on_drop: false }` [INFO] [stdout] 10360e43092496740180c689d04c0131c2627d0564327e5ebfd43d02a315c703 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24238f01d8503d18c632bb5751f9714c633ced46f808f16addfc1f0ef0cb46d0 [INFO] running `Command { std: "docker" "start" "-a" "24238f01d8503d18c632bb5751f9714c633ced46f808f16addfc1f0ef0cb46d0", kill_on_drop: false }` [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [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 thiserror-impl v2.0.12 [INFO] [stderr] Compiling strum_macros v0.26.4 [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 19.09s [INFO] running `Command { std: "docker" "inspect" "24238f01d8503d18c632bb5751f9714c633ced46f808f16addfc1f0ef0cb46d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24238f01d8503d18c632bb5751f9714c633ced46f808f16addfc1f0ef0cb46d0", kill_on_drop: false }` [INFO] [stdout] 24238f01d8503d18c632bb5751f9714c633ced46f808f16addfc1f0ef0cb46d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 36ffb0add0a863d8bca72fd592c588f85b20f71236c92cba4eecbe5f0d6b584b [INFO] running `Command { std: "docker" "start" "-a" "36ffb0add0a863d8bca72fd592c588f85b20f71236c92cba4eecbe5f0d6b584b", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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.20s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "36ffb0add0a863d8bca72fd592c588f85b20f71236c92cba4eecbe5f0d6b584b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36ffb0add0a863d8bca72fd592c588f85b20f71236c92cba4eecbe5f0d6b584b", kill_on_drop: false }` [INFO] [stdout] 36ffb0add0a863d8bca72fd592c588f85b20f71236c92cba4eecbe5f0d6b584b