[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#d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 for pr-86479 [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 d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "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" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ascii v1.0.0 [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" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 692177fca62ff6833eb4c1b52f01317c07a7aebb19427b199bccbb9dc150cf9e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "692177fca62ff6833eb4c1b52f01317c07a7aebb19427b199bccbb9dc150cf9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "692177fca62ff6833eb4c1b52f01317c07a7aebb19427b199bccbb9dc150cf9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "692177fca62ff6833eb4c1b52f01317c07a7aebb19427b199bccbb9dc150cf9e", kill_on_drop: false }` [INFO] [stdout] 692177fca62ff6833eb4c1b52f01317c07a7aebb19427b199bccbb9dc150cf9e [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" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f57e5e3b492b103258d774f3c5ff81e28be7057b9aff38f7cf516720b0988ba [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1f57e5e3b492b103258d774f3c5ff81e28be7057b9aff38f7cf516720b0988ba", 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 3.39s [INFO] running `Command { std: "docker" "inspect" "1f57e5e3b492b103258d774f3c5ff81e28be7057b9aff38f7cf516720b0988ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f57e5e3b492b103258d774f3c5ff81e28be7057b9aff38f7cf516720b0988ba", kill_on_drop: false }` [INFO] [stdout] 1f57e5e3b492b103258d774f3c5ff81e28be7057b9aff38f7cf516720b0988ba [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" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0381a1fa890164d4575d686dc249fba0461569b8ed2c7577886bda84a0056e35 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0381a1fa890164d4575d686dc249fba0461569b8ed2c7577886bda84a0056e35", 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 3.06s [INFO] running `Command { std: "docker" "inspect" "0381a1fa890164d4575d686dc249fba0461569b8ed2c7577886bda84a0056e35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0381a1fa890164d4575d686dc249fba0461569b8ed2c7577886bda84a0056e35", kill_on_drop: false }` [INFO] [stdout] 0381a1fa890164d4575d686dc249fba0461569b8ed2c7577886bda84a0056e35 [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" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6daf0566cdeb3f2a7123e7daa3bf8b7c1525df13b8ca7a8ed33668068e3f0148 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6daf0566cdeb3f2a7123e7daa3bf8b7c1525df13b8ca7a8ed33668068e3f0148", 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: `monkey_lang` (bin "monkey_lang" test) generated 5 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/monkey_lang-85e09b3eeb58f3a1) [INFO] [stdout] running 25 tests [INFO] [stdout] test evaluator::test::test_bang_operator ... ok [INFO] [stdout] test evaluator::test::test_eval_bool_expr ... ok [INFO] [stdout] test evaluator::test::test_function_application ... ok [INFO] [stdout] test evaluator::test::test_function_obj ... ok [INFO] [stdout] test parser::test::test_call_expr_param_parse ... ok [INFO] [stdout] test parser::test::test_call_expr_parse ... ok [INFO] [stdout] test parser::test::test_function_literal_parse ... ok [INFO] [stdout] test evaluator::test::test_let_stmt ... 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_if_else_expr ... ok [INFO] [stdout] test parser::test::test_function_param_parse ... ok [INFO] [stdout] test evaluator::test::test_closures ... ok [INFO] [stdout] test evaluator::test::test_return_stmt ... ok [INFO] [stdout] test parser::test::test_ident_expr ... ok [INFO] [stdout] test parser::test::test_parse_infix_expr ... ok [INFO] [stdout] test evaluator::test::test_error_handling ... ok [INFO] [stdout] test parser::test::test_if_else_expr ... ok [INFO] [stdout] test parser::test::test_parse_prefix_expr ... ok [INFO] [stdout] test parser::test::test_return_stmt ... ok [INFO] [stdout] test parser::test::test_if_expr ... ok [INFO] [stdout] test parser::test::test_let_stmts ... ok [INFO] [stdout] test parser::test::test_integer_literal_expr ... 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" "6daf0566cdeb3f2a7123e7daa3bf8b7c1525df13b8ca7a8ed33668068e3f0148", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6daf0566cdeb3f2a7123e7daa3bf8b7c1525df13b8ca7a8ed33668068e3f0148", kill_on_drop: false }` [INFO] [stdout] 6daf0566cdeb3f2a7123e7daa3bf8b7c1525df13b8ca7a8ed33668068e3f0148