[INFO] cloning repository https://github.com/riku179/monkey-lang-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/riku179/monkey-lang-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Friku179%2Fmonkey-lang-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Friku179%2Fmonkey-lang-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5913fabb859023f60454e50b31ab0299e4aaff75 [INFO] testing riku179/monkey-lang-rust against try#ecabaf78506b7a4668d42dc20268c086b93f0fad for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Friku179%2Fmonkey-lang-rust" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/riku179/monkey-lang-rust on toolchain ecabaf78506b7a4668d42dc20268c086b93f0fad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7/source/rust-toolchain [INFO] started tweaking git repo https://github.com/riku179/monkey-lang-rust [INFO] finished tweaking git repo https://github.com/riku179/monkey-lang-rust [INFO] tweaked toml for git repo https://github.com/riku179/monkey-lang-rust written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/riku179/monkey-lang-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 26db492e58bb1efe5071e51e9d411667266301432d4ee28c0fc0a6391de5fa37 [INFO] running `Command { std: "docker" "start" "-a" "26db492e58bb1efe5071e51e9d411667266301432d4ee28c0fc0a6391de5fa37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "26db492e58bb1efe5071e51e9d411667266301432d4ee28c0fc0a6391de5fa37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26db492e58bb1efe5071e51e9d411667266301432d4ee28c0fc0a6391de5fa37", kill_on_drop: false }` [INFO] [stdout] 26db492e58bb1efe5071e51e9d411667266301432d4ee28c0fc0a6391de5fa37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd36740fff42578bf5db8fef8e400729a8638ede2940207b33f9fe7ade41d313 [INFO] running `Command { std: "docker" "start" "-a" "fd36740fff42578bf5db8fef8e400729a8638ede2940207b33f9fe7ade41d313", kill_on_drop: false }` [INFO] [stderr] Compiling ascii v1.0.0 [INFO] [stderr] Compiling monkey_lang v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.14s [INFO] running `Command { std: "docker" "inspect" "fd36740fff42578bf5db8fef8e400729a8638ede2940207b33f9fe7ade41d313", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd36740fff42578bf5db8fef8e400729a8638ede2940207b33f9fe7ade41d313", kill_on_drop: false }` [INFO] [stdout] fd36740fff42578bf5db8fef8e400729a8638ede2940207b33f9fe7ade41d313 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 60bbc8b4e5f681ad029b7eca4fde693ab5ca6e3afe6a2e77bf951d3ba4147ad3 [INFO] running `Command { std: "docker" "start" "-a" "60bbc8b4e5f681ad029b7eca4fde693ab5ca6e3afe6a2e77bf951d3ba4147ad3", kill_on_drop: false }` [INFO] [stderr] Compiling monkey_lang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function is never used: `check_let_stmt` [INFO] [stdout] --> src/parser/test_util.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn check_let_stmt(stmt: &Stmt, expected_name: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/test_util.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | panic!(format!("this stmt is not include expr. got {:?}", stmt)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 10 | panic!("this stmt is not include expr. got {:?}", stmt); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/test_util.rs:52:16 [INFO] [stdout] | [INFO] [stdout] 52 | panic!(format!("this expr is not 'infix'. got {}", expr)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 52 | panic!("this expr is not 'infix'. got {}", expr); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/test_util.rs:65:16 [INFO] [stdout] | [INFO] [stdout] 65 | panic!(format!("this stmt is not expr. got {}", stmt)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 65 | panic!("this stmt is not expr. got {}", stmt); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/test_util.rs:73:16 [INFO] [stdout] | [INFO] [stdout] 73 | panic!(format!("this stmt is not 'let'. got {}", stmt)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 73 | panic!("this stmt is not 'let'. got {}", stmt); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.77s [INFO] running `Command { std: "docker" "inspect" "60bbc8b4e5f681ad029b7eca4fde693ab5ca6e3afe6a2e77bf951d3ba4147ad3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60bbc8b4e5f681ad029b7eca4fde693ab5ca6e3afe6a2e77bf951d3ba4147ad3", kill_on_drop: false }` [INFO] [stdout] 60bbc8b4e5f681ad029b7eca4fde693ab5ca6e3afe6a2e77bf951d3ba4147ad3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2da15b92151811e9e847908d3d898947324bd672ede6b221436444ac3688a88f [INFO] running `Command { std: "docker" "start" "-a" "2da15b92151811e9e847908d3d898947324bd672ede6b221436444ac3688a88f", kill_on_drop: false }` [INFO] [stderr] warning: function is never used: `check_let_stmt` [INFO] [stderr] --> src/parser/test_util.rs:69:8 [INFO] [stderr] | [INFO] [stderr] 69 | pub fn check_let_stmt(stmt: &Stmt, expected_name: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/parser/test_util.rs:10:20 [INFO] [stderr] | [INFO] [stderr] 10 | panic!(format!("this stmt is not include expr. got {:?}", stmt)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 10 | panic!("this stmt is not include expr. got {:?}", stmt); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/parser/test_util.rs:52:16 [INFO] [stderr] | [INFO] [stderr] 52 | panic!(format!("this expr is not 'infix'. got {}", expr)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 52 | panic!("this expr is not 'infix'. got {}", expr); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/parser/test_util.rs:65:16 [INFO] [stderr] | [INFO] [stderr] 65 | panic!(format!("this stmt is not expr. got {}", stmt)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 65 | panic!("this stmt is not expr. got {}", stmt); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/parser/test_util.rs:73:16 [INFO] [stderr] | [INFO] [stderr] 73 | panic!(format!("this stmt is not 'let'. got {}", stmt)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 73 | panic!("this stmt is not 'let'. got {}", stmt); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: 5 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/monkey_lang-85e09b3eeb58f3a1) [INFO] [stdout] [INFO] [stdout] running 25 tests [INFO] [stdout] test evaluator::test::test_bang_operator ... ok [INFO] [stdout] test evaluator::test::test_function_obj ... ok [INFO] [stdout] test evaluator::test::test_closures ... ok [INFO] [stdout] test evaluator::test::test_eval_bool_expr ... ok [INFO] [stdout] test evaluator::test::test_eval_int_expr ... ok [INFO] [stdout] test parser::test::test_boolean_literal_expr ... ok [INFO] [stdout] test evaluator::test::test_let_stmt ... ok [INFO] [stdout] test parser::test::test_call_expr_param_parse ... ok [INFO] [stdout] test evaluator::test::test_if_else_expr ... ok [INFO] [stdout] test evaluator::test::test_error_handling ... ok [INFO] [stdout] test evaluator::test::test_return_stmt ... ok [INFO] [stdout] test parser::test::test_function_literal_parse ... ok [INFO] [stdout] test parser::test::test_function_param_parse ... ok [INFO] [stdout] test parser::test::test_call_expr_parse ... ok [INFO] [stdout] test parser::test::test_ident_expr ... ok [INFO] [stdout] test parser::test::test_if_else_expr ... ok [INFO] [stdout] test parser::test::test_if_expr ... ok [INFO] [stdout] test parser::test::test_integer_literal_expr ... ok [INFO] [stdout] test parser::test::test_let_stmts ... ok [INFO] [stdout] test parser::test::test_parse_prefix_expr ... ok [INFO] [stdout] test parser::test::test_parse_infix_expr ... ok [INFO] [stdout] test parser::test::test_return_stmt ... ok [INFO] [stdout] test evaluator::test::test_function_application ... ok [INFO] [stdout] test parser::test::test_operator_precedence_parsing ... ok [INFO] [stdout] test lexer::test::test_next_token ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 25 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2da15b92151811e9e847908d3d898947324bd672ede6b221436444ac3688a88f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2da15b92151811e9e847908d3d898947324bd672ede6b221436444ac3688a88f", kill_on_drop: false }` [INFO] [stdout] 2da15b92151811e9e847908d3d898947324bd672ede6b221436444ac3688a88f