[INFO] cloning repository https://github.com/KungFuDonkey/rust_hlsl_parser
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KungFuDonkey/rust_hlsl_parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKungFuDonkey%2Frust_hlsl_parser", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKungFuDonkey%2Frust_hlsl_parser'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ffefa01b5d45d5638d3470675cc42f37f918f697
[INFO] checking KungFuDonkey/rust_hlsl_parser against master#507271bc119683008ec719ecee48814e8ac86c65 for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKungFuDonkey%2Frust_hlsl_parser" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/KungFuDonkey/rust_hlsl_parser
[INFO] finished tweaking git repo https://github.com/KungFuDonkey/rust_hlsl_parser
[INFO] tweaked toml for git repo https://github.com/KungFuDonkey/rust_hlsl_parser written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/KungFuDonkey/rust_hlsl_parser on toolchain 507271bc119683008ec719ecee48814e8ac86c65
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/KungFuDonkey/rust_hlsl_parser 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" "+507271bc119683008ec719ecee48814e8ac86c65" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9efe733ee4e5c6ec3f3d18a3b2cd54a92410959e59a15bff498920be2b2c13db
[INFO] running `Command { std: "docker" "start" "-a" "9efe733ee4e5c6ec3f3d18a3b2cd54a92410959e59a15bff498920be2b2c13db", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9efe733ee4e5c6ec3f3d18a3b2cd54a92410959e59a15bff498920be2b2c13db", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9efe733ee4e5c6ec3f3d18a3b2cd54a92410959e59a15bff498920be2b2c13db", kill_on_drop: false }`
[INFO] [stdout] 9efe733ee4e5c6ec3f3d18a3b2cd54a92410959e59a15bff498920be2b2c13db
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cc68689dd1360ce379f7e1cd970899495ce36856d3c23ccf6148c7a8a869361a
[INFO] running `Command { std: "docker" "start" "-a" "cc68689dd1360ce379f7e1cd970899495ce36856d3c23ccf6148c7a8a869361a", kill_on_drop: false }`
[INFO] [stderr]     Checking hlsl_parser v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `preprocessor_vars`
[INFO] [stdout]   --> src/parser/lexer.rs:22:64
[INFO] [stdout]    |
[INFO] [stdout] 22 | ...ut SourceText, preprocessor_vars: &mut HashMap<String, SyntaxTokenType>, preprocessor_if_stack: &mut Vec<SyntaxTokenType>) -> Syn...
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_preprocessor_vars`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `preprocessor_if_stack`
[INFO] [stdout]   --> src/parser/lexer.rs:22:122
[INFO] [stdout]    |
[INFO] [stdout] 22 | ...okenType>, preprocessor_if_stack: &mut Vec<SyntaxTokenType>) -> SyntaxTokenType
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_preprocessor_if_stack`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/parser/lexer.rs:425:13
[INFO] [stdout]     |
[INFO] [stdout] 425 |         let mut preprocessor_vars: HashMap<String, SyntaxTokenType> = HashMap::new();
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/parser/lexer.rs:426:13
[INFO] [stdout]     |
[INFO] [stdout] 426 |         let mut preprocessor_if_stack: Vec<SyntaxTokenType> = Vec::new();
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `preprocessor_vars`
[INFO] [stdout]    --> src/parser/lexer.rs:425:13
[INFO] [stdout]     |
[INFO] [stdout] 425 |         let mut preprocessor_vars: HashMap<String, SyntaxTokenType> = HashMap::new();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_preprocessor_vars`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `preprocessor_if_stack`
[INFO] [stdout]    --> src/parser/lexer.rs:426:13
[INFO] [stdout]     |
[INFO] [stdout] 426 |         let mut preprocessor_if_stack: Vec<SyntaxTokenType> = Vec::new();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_preprocessor_if_stack`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `end_index`
[INFO] [stdout]    --> src/parser/lexer.rs:483:21
[INFO] [stdout]     |
[INFO] [stdout] 483 |                 let end_index = source.get_char_index();
[INFO] [stdout]     |                     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `preprocessor_vars`
[INFO] [stdout]   --> src/parser/lexer.rs:22:64
[INFO] [stdout]    |
[INFO] [stdout] 22 | ...ut SourceText, preprocessor_vars: &mut HashMap<String, SyntaxTokenType>, preprocessor_if_stack: &mut Vec<SyntaxTokenType>) -> Syn...
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_preprocessor_vars`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `preprocessor_if_stack`
[INFO] [stdout]   --> src/parser/lexer.rs:22:122
[INFO] [stdout]    |
[INFO] [stdout] 22 | ...okenType>, preprocessor_if_stack: &mut Vec<SyntaxTokenType>) -> SyntaxTokenType
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_preprocessor_if_stack`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/parser/lexer.rs:425:13
[INFO] [stdout]     |
[INFO] [stdout] 425 |         let mut preprocessor_vars: HashMap<String, SyntaxTokenType> = HashMap::new();
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/parser/lexer.rs:426:13
[INFO] [stdout]     |
[INFO] [stdout] 426 |         let mut preprocessor_if_stack: Vec<SyntaxTokenType> = Vec::new();
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `preprocessor_vars`
[INFO] [stdout]    --> src/parser/lexer.rs:425:13
[INFO] [stdout]     |
[INFO] [stdout] 425 |         let mut preprocessor_vars: HashMap<String, SyntaxTokenType> = HashMap::new();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_preprocessor_vars`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `preprocessor_if_stack`
[INFO] [stdout]    --> src/parser/lexer.rs:426:13
[INFO] [stdout]     |
[INFO] [stdout] 426 |         let mut preprocessor_if_stack: Vec<SyntaxTokenType> = Vec::new();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_preprocessor_if_stack`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `end_index`
[INFO] [stdout]    --> src/parser/lexer.rs:483:21
[INFO] [stdout]     |
[INFO] [stdout] 483 |                 let end_index = source.get_char_index();
[INFO] [stdout]     |                     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/parser/lexer.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |             directive.write_char(source.current_char());
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 31 |             let _ = directive.write_char(source.current_char());
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/parser/lexer.rs:81:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |             value.write_char(source.current_char());
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 81 |             let _ = value.write_char(source.current_char());
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/parser/lexer.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |             directive.write_char(source.current_char());
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 31 |             let _ = directive.write_char(source.current_char());
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/parser/lexer.rs:81:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |             value.write_char(source.current_char());
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 81 |             let _ = value.write_char(source.current_char());
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.38s
[INFO] running `Command { std: "docker" "inspect" "cc68689dd1360ce379f7e1cd970899495ce36856d3c23ccf6148c7a8a869361a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cc68689dd1360ce379f7e1cd970899495ce36856d3c23ccf6148c7a8a869361a", kill_on_drop: false }`
[INFO] [stdout] cc68689dd1360ce379f7e1cd970899495ce36856d3c23ccf6148c7a8a869361a
