[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] f611d2366b5d61ebb5a0a0b99eefb6c7628523b3 [INFO] checking sepiropht/tiny-compiler-rs against try#f17e3a389e192f83fe27a581774a9d1dbb8e565b for pr-137394 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsepiropht%2Ftiny-compiler-rs" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sepiropht/tiny-compiler-rs on toolchain f17e3a389e192f83fe27a581774a9d1dbb8e565b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "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-0-tc2/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" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4393aeb83401fc4f89e8524c58acdc821955204efd01b94c162edfe3051558b7 [INFO] running `Command { std: "docker" "start" "-a" "4393aeb83401fc4f89e8524c58acdc821955204efd01b94c162edfe3051558b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4393aeb83401fc4f89e8524c58acdc821955204efd01b94c162edfe3051558b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4393aeb83401fc4f89e8524c58acdc821955204efd01b94c162edfe3051558b7", kill_on_drop: false }` [INFO] [stdout] 4393aeb83401fc4f89e8524c58acdc821955204efd01b94c162edfe3051558b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49d3b8ea3af2e5bdaf64e08cb7cb1024e820975dc05ef7bc01e017fd2482b9c4 [INFO] running `Command { std: "docker" "start" "-a" "49d3b8ea3af2e5bdaf64e08cb7cb1024e820975dc05ef7bc01e017fd2482b9c4", 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: variants `Number`, `Identifier`, `String`, `OpenParen`, and `CloseParen` are never constructed [INFO] [stdout] --> src/tokenizer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Token { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 3 | Number(i32), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 4 | Identifier(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | String(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | OpenParen, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | CloseParen, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tokenizer` is never used [INFO] [stdout] --> src/tokenizer.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn tokenizer(input: &str) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Fun`, `Number`, `String`, and `ExpressionStatement` are never constructed [INFO] [stdout] --> src/parser.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Node { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 5 | Fun(String, Vec), [INFO] [stdout] | ^^^ [INFO] [stdout] 6 | Number(i32), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | String(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | ExpressionStatement(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parser` is never used [INFO] [stdout] --> src/parser.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn parser(tokens: Vec) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `walk` is never used [INFO] [stdout] --> src/parser.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn walk(iter: &mut I, token: Token) -> Result [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `transformer` is never used [INFO] [stdout] --> src/transformer.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn transformer(ast: Node) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `transform_nodes` is never used [INFO] [stdout] --> src/transformer.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn transform_nodes(nodes: Vec) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `transform_node` is never used [INFO] [stdout] --> src/transformer.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn transform_node(node: Node) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] running `Command { std: "docker" "inspect" "49d3b8ea3af2e5bdaf64e08cb7cb1024e820975dc05ef7bc01e017fd2482b9c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49d3b8ea3af2e5bdaf64e08cb7cb1024e820975dc05ef7bc01e017fd2482b9c4", kill_on_drop: false }` [INFO] [stdout] 49d3b8ea3af2e5bdaf64e08cb7cb1024e820975dc05ef7bc01e017fd2482b9c4