[INFO] cloning repository https://github.com/rohanbojja/monkey-lang-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rohanbojja/monkey-lang-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frohanbojja%2Fmonkey-lang-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frohanbojja%2Fmonkey-lang-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5e9eb0e574cce0363aaf6745e87339be90883b46 [INFO] testing rohanbojja/monkey-lang-rs against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frohanbojja%2Fmonkey-lang-rs" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rohanbojja/monkey-lang-rs on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rohanbojja/monkey-lang-rs [INFO] finished tweaking git repo https://github.com/rohanbojja/monkey-lang-rs [INFO] tweaked toml for git repo https://github.com/rohanbojja/monkey-lang-rs written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/rohanbojja/monkey-lang-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] bcb0da3510a4ff7609c59ad380c1b24cfa630ef714c379580d2ab94dd7f64a93 [INFO] running `Command { std: "docker" "start" "-a" "bcb0da3510a4ff7609c59ad380c1b24cfa630ef714c379580d2ab94dd7f64a93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bcb0da3510a4ff7609c59ad380c1b24cfa630ef714c379580d2ab94dd7f64a93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcb0da3510a4ff7609c59ad380c1b24cfa630ef714c379580d2ab94dd7f64a93", kill_on_drop: false }` [INFO] [stdout] bcb0da3510a4ff7609c59ad380c1b24cfa630ef714c379580d2ab94dd7f64a93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b7f9242656470069be0182fdf8fe865fd20cbfcf140c6b1ccd32d68e026ad4b [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" "8b7f9242656470069be0182fdf8fe865fd20cbfcf140c6b1ccd32d68e026ad4b", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.78 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.78 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.78 [INFO] [stderr] Compiling wasm-bindgen v0.2.78 [INFO] [stderr] Compiling monkey_lang_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `monkey_lang_rs` [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate monkey_lang_rs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `evaluator` [INFO] [stdout] --> src/main.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | let mut evaluator = evaluator::Evaluator::new(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `evaluator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `lexer` [INFO] [stdout] --> src/main.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | let mut lexer = lexer::Lexer::new(&input); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `lexer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `parser` [INFO] [stdout] --> src/main.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | let mut p = parser::Parser::new(lexer); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `monkey_lang_rs` due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `ast::BlockStatement` [INFO] [stdout] --> src/evaluator/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ast::BlockStatement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/evaluator/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/evaluator/mod.rs:46:32 [INFO] [stdout] | [INFO] [stdout] 46 | Object::Return(x) => return res, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let mut lexer = lexer::Lexer::new(&input); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ReturnValue` [INFO] [stdout] --> src/object.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct ReturnValue { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8b7f9242656470069be0182fdf8fe865fd20cbfcf140c6b1ccd32d68e026ad4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b7f9242656470069be0182fdf8fe865fd20cbfcf140c6b1ccd32d68e026ad4b", kill_on_drop: false }` [INFO] [stdout] 8b7f9242656470069be0182fdf8fe865fd20cbfcf140c6b1ccd32d68e026ad4b