[INFO] cloning repository https://github.com/DCubix/ToyLang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DCubix/ToyLang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDCubix%2FToyLang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDCubix%2FToyLang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9ca21919f17f4f26b897118cf59ea7ece3479061 [INFO] building DCubix/ToyLang against master#461e8078010433ff7de2db2aaae8a3cfb0847215 for pr-94962 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDCubix%2FToyLang" "/workspace/builds/worker-101/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-101/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DCubix/ToyLang on toolchain 461e8078010433ff7de2db2aaae8a3cfb0847215 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DCubix/ToyLang [INFO] finished tweaking git repo https://github.com/DCubix/ToyLang [INFO] tweaked toml for git repo https://github.com/DCubix/ToyLang written to /workspace/builds/worker-101/source/Cargo.toml [INFO] crate git repo https://github.com/DCubix/ToyLang already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "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-101/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/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:1ede1414886370302e694df474b9877c02906499f04c196936ce0973d30c5eaa" "/opt/rustwide/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1002d99bad61e1522b903b0e5535c0b444ec6753e28c9ae219f083d85d8ef6bd [INFO] running `Command { std: "docker" "start" "-a" "1002d99bad61e1522b903b0e5535c0b444ec6753e28c9ae219f083d85d8ef6bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1002d99bad61e1522b903b0e5535c0b444ec6753e28c9ae219f083d85d8ef6bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1002d99bad61e1522b903b0e5535c0b444ec6753e28c9ae219f083d85d8ef6bd", kill_on_drop: false }` [INFO] [stdout] 1002d99bad61e1522b903b0e5535c0b444ec6753e28c9ae219f083d85d8ef6bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/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:1ede1414886370302e694df474b9877c02906499f04c196936ce0973d30c5eaa" "/opt/rustwide/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9c201ab6a94f0c266a69d98f7a239bcf0db59bf45d90cf7f1ed6a74d3f28c22 [INFO] running `Command { std: "docker" "start" "-a" "a9c201ab6a94f0c266a69d98f7a239bcf0db59bf45d90cf7f1ed6a74d3f28c22", kill_on_drop: false }` [INFO] [stderr] Compiling maplit v1.0.1 [INFO] [stderr] Compiling lang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | '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 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/lexer.rs:77:11 [INFO] [stdout] | [INFO] [stdout] 77 | ... 'a'...'f' | 'A'...'F' => false, [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/lexer.rs:77:23 [INFO] [stdout] | [INFO] [stdout] 77 | ... 'a'...'f' | 'A'...'F' => false, [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/lexer.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | 'a'...'z' | '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/lexer.rs:96:20 [INFO] [stdout] | [INFO] [stdout] 96 | 'a'...'z' | '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: unused import: `crate::scanner::Scanner` [INFO] [stdout] --> src/interp.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::scanner::Scanner; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `prev` is assigned to, but never used [INFO] [stdout] --> src/lexer.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | let mut prev = '\0'; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_prev` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `prev` is never read [INFO] [stdout] --> src/lexer.rs:157:4 [INFO] [stdout] | [INFO] [stdout] 157 | prev = c; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> src/scanner.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn next(&self) -> char { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `prev` [INFO] [stdout] --> src/scanner.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn prev(&self) -> char { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `eat_until_any` [INFO] [stdout] --> src/scanner.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn eat_until_any(&mut self, value: Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Boolean` [INFO] [stdout] --> src/interp.rs:17:2 [INFO] [stdout] | [INFO] [stdout] 17 | Boolean(bool), [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] --> src/interp.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug)] [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: associated function is never used: `step_back` [INFO] [stdout] --> src/interp.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | fn step_back(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `arg_list` [INFO] [stdout] --> src/interp.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | fn arg_list(&mut self) -> Result>, String> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `KEYWORDS` should have a snake case name [INFO] [stdout] --> src/lexer.rs:48:7 [INFO] [stdout] | [INFO] [stdout] 48 | let KEYWORDS: HashMap<&str, BuiltinKeyword> = hashmap!{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `keywords` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.98s [INFO] running `Command { std: "docker" "inspect" "a9c201ab6a94f0c266a69d98f7a239bcf0db59bf45d90cf7f1ed6a74d3f28c22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9c201ab6a94f0c266a69d98f7a239bcf0db59bf45d90cf7f1ed6a74d3f28c22", kill_on_drop: false }` [INFO] [stdout] a9c201ab6a94f0c266a69d98f7a239bcf0db59bf45d90cf7f1ed6a74d3f28c22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/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:1ede1414886370302e694df474b9877c02906499f04c196936ce0973d30c5eaa" "/opt/rustwide/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d116e541758a7803c604b7312411ac4a684e899451912786b5b65fd40ec92f5f [INFO] running `Command { std: "docker" "start" "-a" "d116e541758a7803c604b7312411ac4a684e899451912786b5b65fd40ec92f5f", kill_on_drop: false }` [INFO] [stderr] Compiling lang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | '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 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/lexer.rs:77:11 [INFO] [stdout] | [INFO] [stdout] 77 | ... 'a'...'f' | 'A'...'F' => false, [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/lexer.rs:77:23 [INFO] [stdout] | [INFO] [stdout] 77 | ... 'a'...'f' | 'A'...'F' => false, [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/lexer.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | 'a'...'z' | '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/lexer.rs:96:20 [INFO] [stdout] | [INFO] [stdout] 96 | 'a'...'z' | '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: unused import: `crate::scanner::Scanner` [INFO] [stdout] --> src/interp.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::scanner::Scanner; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `prev` is assigned to, but never used [INFO] [stdout] --> src/lexer.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | let mut prev = '\0'; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_prev` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `prev` is never read [INFO] [stdout] --> src/lexer.rs:157:4 [INFO] [stdout] | [INFO] [stdout] 157 | prev = c; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> src/scanner.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn next(&self) -> char { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `prev` [INFO] [stdout] --> src/scanner.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn prev(&self) -> char { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `eat_until_any` [INFO] [stdout] --> src/scanner.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn eat_until_any(&mut self, value: Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Boolean` [INFO] [stdout] --> src/interp.rs:17:2 [INFO] [stdout] | [INFO] [stdout] 17 | Boolean(bool), [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] --> src/interp.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug)] [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: associated function is never used: `step_back` [INFO] [stdout] --> src/interp.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | fn step_back(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `arg_list` [INFO] [stdout] --> src/interp.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | fn arg_list(&mut self) -> Result>, String> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `KEYWORDS` should have a snake case name [INFO] [stdout] --> src/lexer.rs:48:7 [INFO] [stdout] | [INFO] [stdout] 48 | let KEYWORDS: HashMap<&str, BuiltinKeyword> = hashmap!{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `keywords` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 19.72s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/lang-efa4cd015e1fb1f2) [INFO] running `Command { std: "docker" "inspect" "d116e541758a7803c604b7312411ac4a684e899451912786b5b65fd40ec92f5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d116e541758a7803c604b7312411ac4a684e899451912786b5b65fd40ec92f5f", kill_on_drop: false }` [INFO] [stdout] d116e541758a7803c604b7312411ac4a684e899451912786b5b65fd40ec92f5f