[INFO] cloning repository https://github.com/Laegel/js-compiler
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Laegel/js-compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLaegel%2Fjs-compiler", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLaegel%2Fjs-compiler'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b2d6ec515d49b2cfb4de0219003d320b38880bb7
[INFO] checking Laegel/js-compiler against try#ad93f57d532978d6739002a21bc66b45ed22f998 for pr-155418-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLaegel%2Fjs-compiler" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Laegel/js-compiler
[INFO] finished tweaking git repo https://github.com/Laegel/js-compiler
[INFO] tweaked toml for git repo https://github.com/Laegel/js-compiler written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Laegel/js-compiler on toolchain ad93f57d532978d6739002a21bc66b45ed22f998
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad93f57d532978d6739002a21bc66b45ed22f998" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Laegel/js-compiler 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" "+ad93f57d532978d6739002a21bc66b45ed22f998" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ad93f57d532978d6739002a21bc66b45ed22f998" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e129119feee15ba6bdd39ffaa1f1b862fdc7b9b20be054ee91203537e3fd5bcb
[INFO] running `Command { std: "docker" "start" "-a" "e129119feee15ba6bdd39ffaa1f1b862fdc7b9b20be054ee91203537e3fd5bcb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e129119feee15ba6bdd39ffaa1f1b862fdc7b9b20be054ee91203537e3fd5bcb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e129119feee15ba6bdd39ffaa1f1b862fdc7b9b20be054ee91203537e3fd5bcb", kill_on_drop: false }`
[INFO] [stdout] e129119feee15ba6bdd39ffaa1f1b862fdc7b9b20be054ee91203537e3fd5bcb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ad93f57d532978d6739002a21bc66b45ed22f998" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 98f1190cd46382701551f6d27d4fec99145dd7124c799f5f50ce21626f1ca312
[INFO] running `Command { std: "docker" "start" "-a" "98f1190cd46382701551f6d27d4fec99145dd7124c799f5f50ce21626f1ca312", kill_on_drop: false }`
[INFO] [stderr]     Checking regex-syntax v0.6.18
[INFO] [stderr]     Checking regex v1.3.9
[INFO] [stderr]     Checking js-compiler v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Token::*`
[INFO] [stdout]   --> src/lexer.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use Token::*;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lexer.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let mut result = Vec::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: unused variable: `cap`
[INFO] [stdout]   --> src/lexer.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     for cap in token_re.captures_iter(input) {
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_cap`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]   --> src/lexer.rs:3:5
[INFO] [stdout]    |
[INFO] [stdout]  2 | pub enum Token {
[INFO] [stdout]    |          ----- variants in this enum
[INFO] [stdout]  3 |     Def,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]  4 |     Extern,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]  5 |     If,
[INFO] [stdout]    |     ^^
[INFO] [stdout]  6 |     Then,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]  7 |     Else,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]  8 |     For,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]  9 |     In,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 10 |     Binary,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 11 |     Unary,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 12 |     Const,
[INFO] [stdout] 13 |     Delimiter,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 14 |     OpeningParenthesis,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 15 |     ClosingParenthesis,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 16 |     Comma,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Token` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Token::*`
[INFO] [stdout]   --> src/lexer.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use Token::*;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lexer.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let mut result = Vec::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: unused variable: `cap`
[INFO] [stdout]   --> src/lexer.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     for cap in token_re.captures_iter(input) {
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_cap`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Token` is never used
[INFO] [stdout]  --> src/lexer.rs:2:10
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub enum Token {
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `tokenize` is never used
[INFO] [stdout]   --> src/lexer.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn tokenize(input: &str) -> Vec<Token> {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.80s
[INFO] running `Command { std: "docker" "inspect" "98f1190cd46382701551f6d27d4fec99145dd7124c799f5f50ce21626f1ca312", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "98f1190cd46382701551f6d27d4fec99145dd7124c799f5f50ce21626f1ca312", kill_on_drop: false }`
[INFO] [stdout] 98f1190cd46382701551f6d27d4fec99145dd7124c799f5f50ce21626f1ca312
