[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#8262275854dc0e5381c9d42d56257d94932c5a87 for pr-90799 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Friku179%2Fmonkey-lang-rust" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/riku179/monkey-lang-rust on toolchain 8262275854dc0e5381c9d42d56257d94932c5a87 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-14/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-14/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" "+8262275854dc0e5381c9d42d56257d94932c5a87" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 39defc4529ed34c09ead76e49a661ab0785f2b614cfb5156584593aec139330a [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" "39defc4529ed34c09ead76e49a661ab0785f2b614cfb5156584593aec139330a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39defc4529ed34c09ead76e49a661ab0785f2b614cfb5156584593aec139330a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39defc4529ed34c09ead76e49a661ab0785f2b614cfb5156584593aec139330a", kill_on_drop: false }` [INFO] [stdout] 39defc4529ed34c09ead76e49a661ab0785f2b614cfb5156584593aec139330a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 435acc95789845dca95f5cabee0357e41d9af6e634e9554287d8f524e62a975b [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" "435acc95789845dca95f5cabee0357e41d9af6e634e9554287d8f524e62a975b", 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.94s [INFO] running `Command { std: "docker" "inspect" "435acc95789845dca95f5cabee0357e41d9af6e634e9554287d8f524e62a975b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "435acc95789845dca95f5cabee0357e41d9af6e634e9554287d8f524e62a975b", kill_on_drop: false }` [INFO] [stdout] 435acc95789845dca95f5cabee0357e41d9af6e634e9554287d8f524e62a975b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6cb979f7aa3aa4b4929dcb45d346e7cdfba999dfcf2eed5baad8baacbb475bd8 [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" "6cb979f7aa3aa4b4929dcb45d346e7cdfba999dfcf2eed5baad8baacbb475bd8", 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] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.35s [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6cb979f7aa3aa4b4929dcb45d346e7cdfba999dfcf2eed5baad8baacbb475bd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cb979f7aa3aa4b4929dcb45d346e7cdfba999dfcf2eed5baad8baacbb475bd8", kill_on_drop: false }` [INFO] [stdout] 6cb979f7aa3aa4b4929dcb45d346e7cdfba999dfcf2eed5baad8baacbb475bd8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3ea13fb8d714152bded1605344e17116cbc2cf135074ee9674b4969aadb8a97d [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" "3ea13fb8d714152bded1605344e17116cbc2cf135074ee9674b4969aadb8a97d", 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] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/monkey_lang-096f6795e0f3eee8) [INFO] [stdout] running 25 tests [INFO] [stdout] test evaluator::test::test_if_else_expr ... ok [INFO] [stdout] test evaluator::test::test_let_stmt ... ok [INFO] [stdout] test evaluator::test::test_return_stmt ... 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_function_literal_parse ... ok [INFO] [stdout] test evaluator::test::test_eval_int_expr ... ok [INFO] [stdout] test parser::test::test_function_param_parse ... ok [INFO] [stdout] test evaluator::test::test_eval_bool_expr ... ok [INFO] [stdout] test parser::test::test_if_expr ... 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_integer_literal_expr ... ok [INFO] [stdout] test evaluator::test::test_function_obj ... ok [INFO] [stdout] test parser::test::test_call_expr_parse ... ok [INFO] [stdout] test parser::test::test_let_stmts ... ok [INFO] [stdout] test parser::test::test_operator_precedence_parsing ... ok [INFO] [stdout] test parser::test::test_parse_infix_expr ... ok [INFO] [stdout] test parser::test::test_return_stmt ... ok [INFO] [stdout] test lexer::test::test_next_token ... ok [INFO] [stdout] test parser::test::test_parse_prefix_expr ... ok [INFO] [stdout] test evaluator::test::test_function_application ... ok [INFO] [stdout] test evaluator::test::test_bang_operator ... ok [INFO] [stdout] test evaluator::test::test_error_handling ... ok [INFO] [stdout] test evaluator::test::test_closures ... 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" "3ea13fb8d714152bded1605344e17116cbc2cf135074ee9674b4969aadb8a97d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ea13fb8d714152bded1605344e17116cbc2cf135074ee9674b4969aadb8a97d", kill_on_drop: false }` [INFO] [stdout] 3ea13fb8d714152bded1605344e17116cbc2cf135074ee9674b4969aadb8a97d