[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#c3758fdc4730d7700b25a13cccff296a08f42c00 for pr-91743 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Friku179%2Fmonkey-lang-rust" "/workspace/builds/worker-25/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-25/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/riku179/monkey-lang-rust on toolchain c3758fdc4730d7700b25a13cccff296a08f42c00 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-25/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-25/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" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "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-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f78775ea2b9af57b0e126c072d16ccbf820c9997f63349b718cd28603488840 [INFO] running `Command { std: "docker" "start" "-a" "1f78775ea2b9af57b0e126c072d16ccbf820c9997f63349b718cd28603488840", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f78775ea2b9af57b0e126c072d16ccbf820c9997f63349b718cd28603488840", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f78775ea2b9af57b0e126c072d16ccbf820c9997f63349b718cd28603488840", kill_on_drop: false }` [INFO] [stdout] 1f78775ea2b9af57b0e126c072d16ccbf820c9997f63349b718cd28603488840 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a282e19c08aa05776628cdad95a098b3c38d45559c75a4afd4e7920752666764 [INFO] running `Command { std: "docker" "start" "-a" "a282e19c08aa05776628cdad95a098b3c38d45559c75a4afd4e7920752666764", 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 6.93s [INFO] running `Command { std: "docker" "inspect" "a282e19c08aa05776628cdad95a098b3c38d45559c75a4afd4e7920752666764", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a282e19c08aa05776628cdad95a098b3c38d45559c75a4afd4e7920752666764", kill_on_drop: false }` [INFO] [stdout] a282e19c08aa05776628cdad95a098b3c38d45559c75a4afd4e7920752666764 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f594a1306f2b6e783c7684c87025106702435d0da49f1d3d6dbf062fdad94805 [INFO] running `Command { std: "docker" "start" "-a" "f594a1306f2b6e783c7684c87025106702435d0da49f1d3d6dbf062fdad94805", 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!(format!("this stmt is not include expr. got {:?}", stmt)); [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!(format!("this expr is not 'infix'. got {}", expr)); [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!(format!("this stmt is not expr. got {}", stmt)); [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!(format!("this stmt is not 'let'. got {}", stmt)); [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.64s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/monkey_lang-096f6795e0f3eee8) [INFO] running `Command { std: "docker" "inspect" "f594a1306f2b6e783c7684c87025106702435d0da49f1d3d6dbf062fdad94805", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f594a1306f2b6e783c7684c87025106702435d0da49f1d3d6dbf062fdad94805", kill_on_drop: false }` [INFO] [stdout] f594a1306f2b6e783c7684c87025106702435d0da49f1d3d6dbf062fdad94805 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b71ab5b1f50534dc27434f1e74d8069504e23500345c548865833f7cdd247cdf [INFO] running `Command { std: "docker" "start" "-a" "b71ab5b1f50534dc27434f1e74d8069504e23500345c548865833f7cdd247cdf", 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!(format!("this stmt is not include expr. got {:?}", stmt)); [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!(format!("this expr is not 'infix'. got {}", expr)); [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!(format!("this stmt is not expr. got {}", stmt)); [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!(format!("this stmt is not 'let'. got {}", stmt)); [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/monkey_lang-096f6795e0f3eee8) [INFO] [stdout] [INFO] [stdout] running 25 tests [INFO] [stdout] test evaluator::test::test_bang_operator ... ok [INFO] [stdout] test evaluator::test::test_closures ... ok [INFO] [stdout] test evaluator::test::test_error_handling ... ok [INFO] [stdout] test parser::test::test_boolean_literal_expr ... 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_function_application ... ok [INFO] [stdout] test evaluator::test::test_let_stmt ... ok [INFO] [stdout] test evaluator::test::test_if_else_expr ... ok [INFO] [stdout] test evaluator::test::test_eval_bool_expr ... ok [INFO] [stdout] test evaluator::test::test_function_obj ... ok [INFO] [stdout] test parser::test::test_function_param_parse ... ok [INFO] [stdout] test parser::test::test_ident_expr ... ok [INFO] [stdout] test evaluator::test::test_eval_int_expr ... ok [INFO] [stdout] test parser::test::test_if_else_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_if_expr ... ok [INFO] [stdout] test parser::test::test_parse_infix_expr ... ok [INFO] [stdout] test evaluator::test::test_return_stmt ... ok [INFO] [stdout] test parser::test::test_operator_precedence_parsing ... ok [INFO] [stdout] test parser::test::test_parse_prefix_expr ... ok [INFO] [stdout] test parser::test::test_return_stmt ... 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.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b71ab5b1f50534dc27434f1e74d8069504e23500345c548865833f7cdd247cdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b71ab5b1f50534dc27434f1e74d8069504e23500345c548865833f7cdd247cdf", kill_on_drop: false }` [INFO] [stdout] b71ab5b1f50534dc27434f1e74d8069504e23500345c548865833f7cdd247cdf