[INFO] cloning repository https://github.com/dxenonb/xenovisor_shaderc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dxenonb/xenovisor_shaderc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdxenonb%2Fxenovisor_shaderc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdxenonb%2Fxenovisor_shaderc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7bb463deee9b73549a808e8971c2585241889025 [INFO] testing dxenonb/xenovisor_shaderc against beta-2022-07-16 for beta-1.63-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdxenonb%2Fxenovisor_shaderc" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dxenonb/xenovisor_shaderc on toolchain beta-2022-07-16 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dxenonb/xenovisor_shaderc [INFO] finished tweaking git repo https://github.com/dxenonb/xenovisor_shaderc [INFO] tweaked toml for git repo https://github.com/dxenonb/xenovisor_shaderc written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/dxenonb/xenovisor_shaderc already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e5e4d3c6f62f5e74ef569792bb82f094ab9038914b9b051df6452b7f4922dece [INFO] running `Command { std: "docker" "start" "-a" "e5e4d3c6f62f5e74ef569792bb82f094ab9038914b9b051df6452b7f4922dece", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5e4d3c6f62f5e74ef569792bb82f094ab9038914b9b051df6452b7f4922dece", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5e4d3c6f62f5e74ef569792bb82f094ab9038914b9b051df6452b7f4922dece", kill_on_drop: false }` [INFO] [stdout] e5e4d3c6f62f5e74ef569792bb82f094ab9038914b9b051df6452b7f4922dece [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ae8bc37c7461ad1e0a8285f58940d7b773cf3fae74df12d1f6769cc8b5daa10 [INFO] running `Command { std: "docker" "start" "-a" "7ae8bc37c7461ad1e0a8285f58940d7b773cf3fae74df12d1f6769cc8b5daa10", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.30 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling beef v0.5.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling logos-derive v0.12.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling logos v0.12.0 [INFO] [stderr] Compiling xenovisor_shaderc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `function` [INFO] [stdout] --> src/linker.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn deps(&self, function: &hir::Function) -> Deps { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fields` is never read [INFO] [stdout] --> src/syntax.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 141 | pub struct Struct { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 142 | fields: Vec<(Identifier, TypeName)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `Struct` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `qualifier`, `identifier` and `definition` are never read [INFO] [stdout] --> src/syntax.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 146 | pub struct Global { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 147 | qualifier: GlobalQualifier, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 148 | identifier: Identifier, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 149 | definition: TypeName, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Global` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `return_type` and `body` are never read [INFO] [stdout] --> src/syntax.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 176 | pub struct Function { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 177 | name: Identifier, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 178 | return_type: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 179 | // arguments, [INFO] [stdout] 180 | body: Block, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Function` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `statements` is never read [INFO] [stdout] --> src/syntax.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 184 | pub struct Block { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 185 | statements: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Block` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `binding` and `expression` are never read [INFO] [stdout] --> src/syntax.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 196 | pub struct Assignment { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 197 | binding: Identifier, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 198 | expression: Expr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Assignment` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `nodes` is never read [INFO] [stdout] --> src/hir.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Hir { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 4 | nodes: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `items` is never read [INFO] [stdout] --> src/hir.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Module { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 24 | items: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `type_identifier` is never used [INFO] [stdout] --> src/hir.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | fn type_identifier(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `unique_identifier` is never used [INFO] [stdout] --> src/hir.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | fn unique_identifier(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.45s [INFO] running `Command { std: "docker" "inspect" "7ae8bc37c7461ad1e0a8285f58940d7b773cf3fae74df12d1f6769cc8b5daa10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ae8bc37c7461ad1e0a8285f58940d7b773cf3fae74df12d1f6769cc8b5daa10", kill_on_drop: false }` [INFO] [stdout] 7ae8bc37c7461ad1e0a8285f58940d7b773cf3fae74df12d1f6769cc8b5daa10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 030737d1cd4ecd6ea175abe5c1579ef10f051e9e347914e1e041a3ec16c8268e [INFO] running `Command { std: "docker" "start" "-a" "030737d1cd4ecd6ea175abe5c1579ef10f051e9e347914e1e041a3ec16c8268e", kill_on_drop: false }` [INFO] [stdout] warning: unused variable: `function` [INFO] [stdout] --> src/linker.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn deps(&self, function: &hir::Function) -> Deps { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fields` is never read [INFO] [stdout] --> src/syntax.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 141 | pub struct Struct { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 142 | fields: Vec<(Identifier, TypeName)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `Struct` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `qualifier`, `identifier` and `definition` are never read [INFO] [stdout] --> src/syntax.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 146 | pub struct Global { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 147 | qualifier: GlobalQualifier, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 148 | identifier: Identifier, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 149 | definition: TypeName, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Global` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `return_type` and `body` are never read [INFO] [stdout] --> src/syntax.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 176 | pub struct Function { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 177 | name: Identifier, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 178 | return_type: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 179 | // arguments, [INFO] [stdout] 180 | body: Block, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Function` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `statements` is never read [INFO] [stdout] --> src/syntax.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 184 | pub struct Block { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 185 | statements: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Block` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling xenovisor_shaderc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `binding` and `expression` are never read [INFO] [stdout] --> src/syntax.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 196 | pub struct Assignment { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 197 | binding: Identifier, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 198 | expression: Expr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Assignment` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `nodes` is never read [INFO] [stdout] --> src/hir.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Hir { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 4 | nodes: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `items` is never read [INFO] [stdout] --> src/hir.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Module { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 24 | items: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `type_identifier` is never used [INFO] [stdout] --> src/hir.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | fn type_identifier(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `unique_identifier` is never used [INFO] [stdout] --> src/hir.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | fn unique_identifier(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function` [INFO] [stdout] --> src/linker.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn deps(&self, function: &hir::Function) -> Deps { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fields` is never read [INFO] [stdout] --> src/syntax.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 141 | pub struct Struct { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 142 | fields: Vec<(Identifier, TypeName)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `Struct` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `qualifier`, `identifier` and `definition` are never read [INFO] [stdout] --> src/syntax.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 146 | pub struct Global { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 147 | qualifier: GlobalQualifier, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 148 | identifier: Identifier, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 149 | definition: TypeName, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Global` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `return_type` and `body` are never read [INFO] [stdout] --> src/syntax.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 176 | pub struct Function { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 177 | name: Identifier, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 178 | return_type: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 179 | // arguments, [INFO] [stdout] 180 | body: Block, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Function` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `statements` is never read [INFO] [stdout] --> src/syntax.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 184 | pub struct Block { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 185 | statements: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Block` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `binding` and `expression` are never read [INFO] [stdout] --> src/syntax.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 196 | pub struct Assignment { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 197 | binding: Identifier, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 198 | expression: Expr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Assignment` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `nodes` is never read [INFO] [stdout] --> src/hir.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Hir { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 4 | nodes: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `items` is never read [INFO] [stdout] --> src/hir.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Module { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 24 | items: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `type_identifier` is never used [INFO] [stdout] --> src/hir.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | fn type_identifier(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `unique_identifier` is never used [INFO] [stdout] --> src/hir.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | fn unique_identifier(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.91s [INFO] running `Command { std: "docker" "inspect" "030737d1cd4ecd6ea175abe5c1579ef10f051e9e347914e1e041a3ec16c8268e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "030737d1cd4ecd6ea175abe5c1579ef10f051e9e347914e1e041a3ec16c8268e", kill_on_drop: false }` [INFO] [stdout] 030737d1cd4ecd6ea175abe5c1579ef10f051e9e347914e1e041a3ec16c8268e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9745d41a5729a6235e6e6310afd476654c394fd8dc325904b62b5f4a3d0bf072 [INFO] running `Command { std: "docker" "start" "-a" "9745d41a5729a6235e6e6310afd476654c394fd8dc325904b62b5f4a3d0bf072", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `function` [INFO] [stderr] --> src/linker.rs:8:24 [INFO] [stderr] | [INFO] [stderr] 8 | pub fn deps(&self, function: &hir::Function) -> Deps { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `fields` is never read [INFO] [stderr] --> src/syntax.rs:142:5 [INFO] [stderr] | [INFO] [stderr] 141 | pub struct Struct { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 142 | fields: Vec<(Identifier, TypeName)>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] = note: `Struct` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `qualifier`, `identifier` and `definition` are never read [INFO] [stderr] --> src/syntax.rs:147:5 [INFO] [stderr] | [INFO] [stderr] 146 | pub struct Global { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 147 | qualifier: GlobalQualifier, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 148 | identifier: Identifier, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 149 | definition: TypeName, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Global` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `name`, `return_type` and `body` are never read [INFO] [stderr] --> src/syntax.rs:177:5 [INFO] [stderr] | [INFO] [stderr] 176 | pub struct Function { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 177 | name: Identifier, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 178 | return_type: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 179 | // arguments, [INFO] [stderr] 180 | body: Block, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Function` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `statements` is never read [INFO] [stderr] --> src/syntax.rs:185:5 [INFO] [stderr] | [INFO] [stderr] 184 | pub struct Block { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 185 | statements: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Block` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `binding` and `expression` are never read [INFO] [stderr] --> src/syntax.rs:197:5 [INFO] [stderr] | [INFO] [stderr] 196 | pub struct Assignment { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 197 | binding: Identifier, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 198 | expression: Expr, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Assignment` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `nodes` is never read [INFO] [stderr] --> src/hir.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 3 | pub struct Hir { [INFO] [stderr] | --- field in this struct [INFO] [stderr] 4 | nodes: HashMap>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `items` is never read [INFO] [stderr] --> src/hir.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 23 | pub struct Module { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 24 | items: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `type_identifier` is never used [INFO] [stderr] --> src/hir.rs:40:8 [INFO] [stderr] | [INFO] [stderr] 40 | fn type_identifier(&self) -> &str { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `unique_identifier` is never used [INFO] [stderr] --> src/hir.rs:45:8 [INFO] [stderr] | [INFO] [stderr] 45 | fn unique_identifier(&self) -> &str { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `xenovisor_shaderc` (lib) generated 10 warnings [INFO] [stderr] warning: `xenovisor_shaderc` (lib test) generated 10 warnings (10 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/xenovisor_shaderc-c99d8e83c9f1c8fd) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test ast::path::test::path_compare ... ok [INFO] [stdout] test ast::path::test::path_compare_modified ... ok [INFO] [stdout] test token::test::peek_skips_comments ... ok [INFO] [stdout] test token::test::eof_comment_aware ... ok [INFO] [stdout] test token::test::parses_tokens ... ok [INFO] [stdout] test token::test::skips_sequential_block_comments ... ignored, sequential comments not supported yet [INFO] [stdout] test token::test::skips_line_comments ... ok [INFO] [stdout] test token::test::skips_nested_block_comments ... ok [INFO] [stdout] test token::test::skips_block_comments ... ok [INFO] [stdout] test token::test::eof_aware ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/xenovisor_shaderc-1fa92c5d28b6f293) [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.01s [INFO] [stderr] Doc-tests xenovisor_shaderc [INFO] [stdout] [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] running `Command { std: "docker" "inspect" "9745d41a5729a6235e6e6310afd476654c394fd8dc325904b62b5f4a3d0bf072", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9745d41a5729a6235e6e6310afd476654c394fd8dc325904b62b5f4a3d0bf072", kill_on_drop: false }` [INFO] [stdout] 9745d41a5729a6235e6e6310afd476654c394fd8dc325904b62b5f4a3d0bf072