[INFO] cloning repository https://github.com/zanchi/lexer-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zanchi/lexer-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzanchi%2Flexer-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzanchi%2Flexer-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 97b6d1aab00db026b0ca0bc23858b3de734fdca6 [INFO] checking zanchi/lexer-rs against try#ea2bf32540662c61547071aad6cf0851a0b02f58 for pr-96376 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzanchi%2Flexer-rs" "/workspace/builds/worker-114/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-114/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zanchi/lexer-rs on toolchain ea2bf32540662c61547071aad6cf0851a0b02f58 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ea2bf32540662c61547071aad6cf0851a0b02f58" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zanchi/lexer-rs [INFO] finished tweaking git repo https://github.com/zanchi/lexer-rs [INFO] tweaked toml for git repo https://github.com/zanchi/lexer-rs written to /workspace/builds/worker-114/source/Cargo.toml [INFO] crate git repo https://github.com/zanchi/lexer-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ea2bf32540662c61547071aad6cf0851a0b02f58" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+ea2bf32540662c61547071aad6cf0851a0b02f58" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0153ea6c050cefbc4948f7a94324e35b7710f9f1403a7e7f8f44285d22fe991f [INFO] running `Command { std: "docker" "start" "-a" "0153ea6c050cefbc4948f7a94324e35b7710f9f1403a7e7f8f44285d22fe991f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0153ea6c050cefbc4948f7a94324e35b7710f9f1403a7e7f8f44285d22fe991f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0153ea6c050cefbc4948f7a94324e35b7710f9f1403a7e7f8f44285d22fe991f", kill_on_drop: false }` [INFO] [stdout] 0153ea6c050cefbc4948f7a94324e35b7710f9f1403a7e7f8f44285d22fe991f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/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" "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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+ea2bf32540662c61547071aad6cf0851a0b02f58" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa57de45a2109a4477e2d0691bd53bd4f5337b20560cc7238672eb5f7cbbe657 [INFO] running `Command { std: "docker" "start" "-a" "aa57de45a2109a4477e2d0691bd53bd4f5337b20560cc7238672eb5f7cbbe657", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking itertools v0.7.8 [INFO] [stderr] Checking parser-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | '0'...'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | '0'...'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Add` [INFO] [stdout] --> src/main.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | Add, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Op` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Divide` [INFO] [stdout] --> src/main.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | Divide, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Op` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Multiply` [INFO] [stdout] --> src/main.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | Multiply, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Op` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Subtract` [INFO] [stdout] --> src/main.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | Subtract, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Op` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LeftParen` [INFO] [stdout] --> src/main.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | LeftParen, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Number` [INFO] [stdout] --> src/main.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | Number(i32), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Operator` [INFO] [stdout] --> src/main.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 17 | Operator(Op), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RightParen` [INFO] [stdout] --> src/main.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | RightParen, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `lexer` [INFO] [stdout] --> src/main.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn lexer(input: &String) -> Result, String> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.97s [INFO] running `Command { std: "docker" "inspect" "aa57de45a2109a4477e2d0691bd53bd4f5337b20560cc7238672eb5f7cbbe657", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa57de45a2109a4477e2d0691bd53bd4f5337b20560cc7238672eb5f7cbbe657", kill_on_drop: false }` [INFO] [stdout] aa57de45a2109a4477e2d0691bd53bd4f5337b20560cc7238672eb5f7cbbe657