[INFO] cloning repository https://github.com/sepiropht/tiny-compiler-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sepiropht/tiny-compiler-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsepiropht%2Ftiny-compiler-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsepiropht%2Ftiny-compiler-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cffdeba793bfd5ee872f179367d2b92f72e33fb7 [INFO] checking sepiropht/tiny-compiler-rs against master#f2d69d5a7c04617d122facd0a7a5bdde0af928ae for pr-138363 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsepiropht%2Ftiny-compiler-rs" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sepiropht/tiny-compiler-rs on toolchain f2d69d5a7c04617d122facd0a7a5bdde0af928ae [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f2d69d5a7c04617d122facd0a7a5bdde0af928ae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sepiropht/tiny-compiler-rs [INFO] finished tweaking git repo https://github.com/sepiropht/tiny-compiler-rs [INFO] tweaked toml for git repo https://github.com/sepiropht/tiny-compiler-rs written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/sepiropht/tiny-compiler-rs 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" "+f2d69d5a7c04617d122facd0a7a5bdde0af928ae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+f2d69d5a7c04617d122facd0a7a5bdde0af928ae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d33e1a14b5cdfd31bd7371e287f3666c03fa7853b38e0cb1b60e5163a7ca8790 [INFO] running `Command { std: "docker" "start" "-a" "d33e1a14b5cdfd31bd7371e287f3666c03fa7853b38e0cb1b60e5163a7ca8790", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d33e1a14b5cdfd31bd7371e287f3666c03fa7853b38e0cb1b60e5163a7ca8790", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d33e1a14b5cdfd31bd7371e287f3666c03fa7853b38e0cb1b60e5163a7ca8790", kill_on_drop: false }` [INFO] [stdout] d33e1a14b5cdfd31bd7371e287f3666c03fa7853b38e0cb1b60e5163a7ca8790 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+f2d69d5a7c04617d122facd0a7a5bdde0af928ae" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5daba97a26d70afab102b75d304f9b8ebf61b31758f7f413daae9abbea95dfde [INFO] running `Command { std: "docker" "start" "-a" "5daba97a26d70afab102b75d304f9b8ebf61b31758f7f413daae9abbea95dfde", kill_on_drop: false }` [INFO] [stderr] Checking tiny-compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/tokenizer.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | n @ '0'...'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/tokenizer.rs:33:33 [INFO] [stdout] | [INFO] [stdout] 33 | Some('0'...'9') => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/tokenizer.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | i @ 'a'...'z' | i @ 'A'...'Z' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/tokenizer.rs:60:36 [INFO] [stdout] | [INFO] [stdout] 60 | i @ 'a'...'z' | i @ 'A'...'Z' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/tokenizer.rs:66:33 [INFO] [stdout] | [INFO] [stdout] 66 | Some('a'...'z') | Some('A'...'Z') | Some('_') => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/tokenizer.rs:66:51 [INFO] [stdout] | [INFO] [stdout] 66 | Some('a'...'z') | Some('A'...'Z') | Some('_') => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/tokenizer.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | n @ '0'...'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/tokenizer.rs:33:33 [INFO] [stdout] | [INFO] [stdout] 33 | Some('0'...'9') => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/tokenizer.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | i @ 'a'...'z' | i @ 'A'...'Z' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/tokenizer.rs:60:36 [INFO] [stdout] | [INFO] [stdout] 60 | i @ 'a'...'z' | i @ 'A'...'Z' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/tokenizer.rs:66:33 [INFO] [stdout] | [INFO] [stdout] 66 | Some('a'...'z') | Some('A'...'Z') | Some('_') => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/tokenizer.rs:66:51 [INFO] [stdout] | [INFO] [stdout] 66 | Some('a'...'z') | Some('A'...'Z') | Some('_') => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/code_generator.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 16 | Node::Fun(name, args) => { [INFO] [stdout] | --------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 60 | Node::Fun(name, args) if name == "NumberLiteral" => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/code_generator.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 16 | Node::Fun(name, args) => { [INFO] [stdout] | --------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 69 | Node::Fun(name, args) if name == "StringLiteral" => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/code_generator.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | _ => Err(format!("Unrecognized node type in code generator")), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/code_generator.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 6 | Node::ExpressionStatement(body) => { [INFO] [stdout] | ------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 16 | Node::Fun(name, args) => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 78 | Node::Number(value) => Ok(value.to_string()), [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 81 | Node::String(value) => Ok(format!("\"{}\"", value)), [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 84 | _ => Err(format!("Unrecognized node type in code generator")), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/code_generator.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 16 | Node::Fun(name, args) => { [INFO] [stdout] | --------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 60 | Node::Fun(name, args) if name == "NumberLiteral" => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/code_generator.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 16 | Node::Fun(name, args) => { [INFO] [stdout] | --------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 69 | Node::Fun(name, args) if name == "StringLiteral" => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/code_generator.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | _ => Err(format!("Unrecognized node type in code generator")), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/code_generator.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 6 | Node::ExpressionStatement(body) => { [INFO] [stdout] | ------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 16 | Node::Fun(name, args) => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 78 | Node::Number(value) => Ok(value.to_string()), [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 81 | Node::String(value) => Ok(format!("\"{}\"", value)), [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 84 | _ => Err(format!("Unrecognized node type in code generator")), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] running `Command { std: "docker" "inspect" "5daba97a26d70afab102b75d304f9b8ebf61b31758f7f413daae9abbea95dfde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5daba97a26d70afab102b75d304f9b8ebf61b31758f7f413daae9abbea95dfde", kill_on_drop: false }` [INFO] [stdout] 5daba97a26d70afab102b75d304f9b8ebf61b31758f7f413daae9abbea95dfde