[INFO] fetching crate cart-tmp-nga 0.1.0... [INFO] testing cart-tmp-nga-0.1.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate cart-tmp-nga 0.1.0 into /workspace/builds/worker-4-tc2/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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cart-tmp-nga 0.1.0 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 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 4ae3ed43abbf9a8d1b71b75d9f768d035225cad1f1166d4357142b56b105d8dd [INFO] running `Command { std: "docker" "start" "-a" "4ae3ed43abbf9a8d1b71b75d9f768d035225cad1f1166d4357142b56b105d8dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ae3ed43abbf9a8d1b71b75d9f768d035225cad1f1166d4357142b56b105d8dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ae3ed43abbf9a8d1b71b75d9f768d035225cad1f1166d4357142b56b105d8dd", kill_on_drop: false }` [INFO] [stdout] 4ae3ed43abbf9a8d1b71b75d9f768d035225cad1f1166d4357142b56b105d8dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] f4f132841ef35230a72d9346afe992c40c162a9e41f26742b90c763b3631126a [INFO] running `Command { std: "docker" "start" "-a" "f4f132841ef35230a72d9346afe992c40c162a9e41f26742b90c763b3631126a", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling fxhash v0.2.1 [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 3.80s [INFO] running `Command { std: "docker" "inspect" "f4f132841ef35230a72d9346afe992c40c162a9e41f26742b90c763b3631126a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4f132841ef35230a72d9346afe992c40c162a9e41f26742b90c763b3631126a", kill_on_drop: false }` [INFO] [stdout] f4f132841ef35230a72d9346afe992c40c162a9e41f26742b90c763b3631126a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 7a094570ffbe027f4163fcf968934b10e92c0ccf802e0c6ad0aa2b8d5153ac3f [INFO] running `Command { std: "docker" "start" "-a" "7a094570ffbe027f4163fcf968934b10e92c0ccf802e0c6ad0aa2b8d5153ac3f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [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 quick-error v1.2.3 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling thread_local v1.0.1 [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 aho-corasick v0.7.13 [INFO] [stderr] Compiling quote v1.0.7 [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] --> 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: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] --> 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[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] --> 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] 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] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cart-tmp-nga` (example "convert") due to 5 previous errors [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] running `Command { std: "docker" "inspect" "7a094570ffbe027f4163fcf968934b10e92c0ccf802e0c6ad0aa2b8d5153ac3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a094570ffbe027f4163fcf968934b10e92c0ccf802e0c6ad0aa2b8d5153ac3f", kill_on_drop: false }` [INFO] [stdout] 7a094570ffbe027f4163fcf968934b10e92c0ccf802e0c6ad0aa2b8d5153ac3f