[INFO] fetching crate cart-tmp-nga 0.1.0... [INFO] testing cart-tmp-nga-0.1.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate cart-tmp-nga 0.1.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate cart-tmp-nga 0.1.0 [INFO] finished tweaking crates.io crate cart-tmp-nga 0.1.0 [INFO] tweaked toml for crates.io crate cart-tmp-nga 0.1.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cart-tmp-nga 0.1.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cart-tmp-nga 0.1.0 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.114 [INFO] [stderr] Downloaded glsl v4.1.1 [INFO] [stderr] Downloaded hermit-abi v0.1.15 [INFO] [stderr] Downloaded spirv_headers v1.4.2 [INFO] [stderr] Downloaded ron v0.5.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.19 [INFO] [stderr] Downloaded serde v1.0.114 [INFO] [stderr] Downloaded syn v1.0.38 [INFO] [stderr] Downloaded nom v5.1.2 [INFO] [stderr] Downloaded libc v0.2.74 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c53b766cc511d539bc372bc54a9ea2a046fa10c1570a007f929e28e4ca4f8bd [INFO] running `Command { std: "docker" "start" "-a" "6c53b766cc511d539bc372bc54a9ea2a046fa10c1570a007f929e28e4ca4f8bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c53b766cc511d539bc372bc54a9ea2a046fa10c1570a007f929e28e4ca4f8bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c53b766cc511d539bc372bc54a9ea2a046fa10c1570a007f929e28e4ca4f8bd", kill_on_drop: false }` [INFO] [stdout] 6c53b766cc511d539bc372bc54a9ea2a046fa10c1570a007f929e28e4ca4f8bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24500a3d2edee1ad04c76b9879dfea8066dbd155a495b86d086d1cccf9c363cf [INFO] running `Command { std: "docker" "start" "-a" "24500a3d2edee1ad04c76b9879dfea8066dbd155a495b86d086d1cccf9c363cf", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling spirv_headers v1.4.2 [INFO] [stderr] Compiling cart-tmp-nga v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/front/wgsl.rs:85:61 [INFO] [stdout] | [INFO] [stdout] 85 | let (number, rest) = consume_any(input, |c| (c >= '0' && c <= '9' || c == '.')); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 85 - let (number, rest) = consume_any(input, |c| (c >= '0' && c <= '9' || c == '.')); [INFO] [stdout] 85 + let (number, rest) = consume_any(input, |c| c >= '0' && c <= '9' || c == '.' ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `lookup_handle` is never used [INFO] [stdout] --> src/back/spv/writer.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 6 | trait LookupHelper { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 9 | fn lookup_handle(&self, word: Word) -> Option>; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `buffer` is never read [INFO] [stdout] --> src/front/spv.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 130 | struct Block { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 131 | buffer: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Block` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `variable_ids` is never read [INFO] [stdout] --> src/front/spv.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 183 | struct EntryPoint { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 187 | variable_ids: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EntryPoint` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/proc/typifier.rs:206:40 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct UnexpectedConstantTypeError(crate::ConstantInner, crate::TypeInner); [INFO] [stdout] | --------------------------- ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `UnexpectedConstantTypeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/back/msl.rs:244:29 [INFO] [stdout] | [INFO] [stdout] 244 | fn or_index(&self, index: I) -> Name; [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 244 | fn or_index(&self, index: I) -> Name<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/back/msl.rs:247:29 [INFO] [stdout] | [INFO] [stdout] 247 | fn or_index(&self, index: I) -> Name { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 247 | fn or_index(&self, index: I) -> Name<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/back/msl.rs:405:20 [INFO] [stdout] | [INFO] [stdout] 405 | fn borrow_type(&self, handle: Handle) -> MaybeOwned { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 405 | fn borrow_type(&self, handle: Handle) -> MaybeOwned<'_, crate::TypeInner> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/front/wgsl.rs:1471:26 [INFO] [stdout] | [INFO] [stdout] 1471 | pub fn parse_str(source: &str) -> Result { [INFO] [stdout] | ^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1471 | pub fn parse_str(source: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.59s [INFO] running `Command { std: "docker" "inspect" "24500a3d2edee1ad04c76b9879dfea8066dbd155a495b86d086d1cccf9c363cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24500a3d2edee1ad04c76b9879dfea8066dbd155a495b86d086d1cccf9c363cf", kill_on_drop: false }` [INFO] [stdout] 24500a3d2edee1ad04c76b9879dfea8066dbd155a495b86d086d1cccf9c363cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 314fca69b5c7228b16c0972db077c2dbaa47fa70b2fe3f41822cfa0182b370ae [INFO] running `Command { std: "docker" "start" "-a" "314fca69b5c7228b16c0972db077c2dbaa47fa70b2fe3f41822cfa0182b370ae", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/front/wgsl.rs:85:61 [INFO] [stdout] | [INFO] [stdout] 85 | let (number, rest) = consume_any(input, |c| (c >= '0' && c <= '9' || c == '.')); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 85 - let (number, rest) = consume_any(input, |c| (c >= '0' && c <= '9' || c == '.')); [INFO] [stdout] 85 + let (number, rest) = consume_any(input, |c| c >= '0' && c <= '9' || c == '.' ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `lookup_handle` is never used [INFO] [stdout] --> src/back/spv/writer.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 6 | trait LookupHelper { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 9 | fn lookup_handle(&self, word: Word) -> Option>; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `buffer` is never read [INFO] [stdout] --> src/front/spv.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 130 | struct Block { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 131 | buffer: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Block` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `variable_ids` is never read [INFO] [stdout] --> src/front/spv.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 183 | struct EntryPoint { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 187 | variable_ids: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EntryPoint` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/proc/typifier.rs:206:40 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct UnexpectedConstantTypeError(crate::ConstantInner, crate::TypeInner); [INFO] [stdout] | --------------------------- ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `UnexpectedConstantTypeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/back/msl.rs:244:29 [INFO] [stdout] | [INFO] [stdout] 244 | fn or_index(&self, index: I) -> Name; [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 244 | fn or_index(&self, index: I) -> Name<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/back/msl.rs:247:29 [INFO] [stdout] | [INFO] [stdout] 247 | fn or_index(&self, index: I) -> Name { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 247 | fn or_index(&self, index: I) -> Name<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/back/msl.rs:405:20 [INFO] [stdout] | [INFO] [stdout] 405 | fn borrow_type(&self, handle: Handle) -> MaybeOwned { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 405 | fn borrow_type(&self, handle: Handle) -> MaybeOwned<'_, crate::TypeInner> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/front/wgsl.rs:1471:26 [INFO] [stdout] | [INFO] [stdout] 1471 | pub fn parse_str(source: &str) -> Result { [INFO] [stdout] | ^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1471 | pub fn parse_str(source: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling ron v0.5.1 [INFO] [stderr] Compiling cart-tmp-nga v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `naga` [INFO] [stdout] --> tests/convert.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use naga::back::msl; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `naga` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `naga`, use `cargo add naga` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `naga` [INFO] [stdout] --> tests/convert.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | use naga::back::msl; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `naga` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `naga`, use `cargo add naga` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `naga` [INFO] [stdout] --> tests/convert.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | naga::front::wgsl::parse_str(&input).unwrap() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `naga` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `naga`, use `cargo add naga` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use cart_tmp_nga::front::wgsl; [INFO] [stdout] | [INFO] [stdout] help: if you import `wgsl`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 4 - naga::front::wgsl::parse_str(&input).unwrap() [INFO] [stdout] 4 + wgsl::parse_str(&input).unwrap() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `naga` [INFO] [stdout] --> examples/convert.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | use naga::back::msl; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `naga` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `naga`, use `cargo add naga` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `naga` [INFO] [stdout] --> examples/convert.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | use naga::back::spv; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `naga` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `naga`, use `cargo add naga` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `naga` [INFO] [stdout] --> tests/convert.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | fn load_wgsl(name: &str) -> naga::Module { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `naga` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `naga`, use `cargo add naga` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cart-tmp-nga` (test "convert") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/front/wgsl.rs:85:61 [INFO] [stdout] | [INFO] [stdout] 85 | let (number, rest) = consume_any(input, |c| (c >= '0' && c <= '9' || c == '.')); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 85 - let (number, rest) = consume_any(input, |c| (c >= '0' && c <= '9' || c == '.')); [INFO] [stdout] 85 + let (number, rest) = consume_any(input, |c| c >= '0' && c <= '9' || c == '.' ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `naga` [INFO] [stdout] --> examples/convert.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | naga::front::spv::parse_u8_slice(&input).unwrap() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `naga` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `naga`, use `cargo add naga` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use cart_tmp_nga::front::spv; [INFO] [stdout] | [INFO] [stdout] help: if you import `spv`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 40 - naga::front::spv::parse_u8_slice(&input).unwrap() [INFO] [stdout] 40 + spv::parse_u8_slice(&input).unwrap() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `naga` [INFO] [stdout] --> examples/convert.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | naga::front::wgsl::parse_str(&input).unwrap() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `naga` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `naga`, use `cargo add naga` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use cart_tmp_nga::front::wgsl; [INFO] [stdout] | [INFO] [stdout] help: if you import `wgsl`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 44 - naga::front::wgsl::parse_str(&input).unwrap() [INFO] [stdout] 44 + wgsl::parse_str(&input).unwrap() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/convert.rs:123:55 [INFO] [stdout] | [INFO] [stdout] 123 | .fold(Vec::with_capacity(spv.len() * 4), |mut v, w| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] 124 | v.extend_from_slice(&w.to_le_bytes()); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 123 | .fold(Vec::with_capacity(spv.len() * 4), |mut v: /* Type */, w| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/convert.rs:123:62 [INFO] [stdout] | [INFO] [stdout] 123 | .fold(Vec::with_capacity(spv.len() * 4), |mut v, w| { [INFO] [stdout] | ^ [INFO] [stdout] 124 | v.extend_from_slice(&w.to_le_bytes()); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 123 | .fold(Vec::with_capacity(spv.len() * 4), |mut v, w: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `naga` [INFO] [stdout] --> examples/convert.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | metal_bindings: naga::FastHashMap, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `naga` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `naga`, use `cargo add naga` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cart-tmp-nga` (example "convert") due to 7 previous errors [INFO] [stdout] warning: method `lookup_handle` is never used [INFO] [stdout] --> src/back/spv/writer.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 6 | trait LookupHelper { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 9 | fn lookup_handle(&self, word: Word) -> Option>; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `buffer` is never read [INFO] [stdout] --> src/front/spv.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 130 | struct Block { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 131 | buffer: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Block` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `variable_ids` is never read [INFO] [stdout] --> src/front/spv.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 183 | struct EntryPoint { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 187 | variable_ids: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EntryPoint` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/proc/typifier.rs:206:40 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct UnexpectedConstantTypeError(crate::ConstantInner, crate::TypeInner); [INFO] [stdout] | --------------------------- ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `UnexpectedConstantTypeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/back/msl.rs:244:29 [INFO] [stdout] | [INFO] [stdout] 244 | fn or_index(&self, index: I) -> Name; [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 244 | fn or_index(&self, index: I) -> Name<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/back/msl.rs:247:29 [INFO] [stdout] | [INFO] [stdout] 247 | fn or_index(&self, index: I) -> Name { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 247 | fn or_index(&self, index: I) -> Name<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/back/msl.rs:405:20 [INFO] [stdout] | [INFO] [stdout] 405 | fn borrow_type(&self, handle: Handle) -> MaybeOwned { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 405 | fn borrow_type(&self, handle: Handle) -> MaybeOwned<'_, crate::TypeInner> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/front/wgsl.rs:1471:26 [INFO] [stdout] | [INFO] [stdout] 1471 | pub fn parse_str(source: &str) -> Result { [INFO] [stdout] | ^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1471 | pub fn parse_str(source: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "314fca69b5c7228b16c0972db077c2dbaa47fa70b2fe3f41822cfa0182b370ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "314fca69b5c7228b16c0972db077c2dbaa47fa70b2fe3f41822cfa0182b370ae", kill_on_drop: false }` [INFO] [stdout] 314fca69b5c7228b16c0972db077c2dbaa47fa70b2fe3f41822cfa0182b370ae