[INFO] cloning repository https://github.com/ViliLipo/mini-pascal-compiler [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ViliLipo/mini-pascal-compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FViliLipo%2Fmini-pascal-compiler"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FViliLipo%2Fmini-pascal-compiler'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 1c898509ccbe7b27cd7e7307b5b48c305b405c08 [INFO] checking ViliLipo/mini-pascal-compiler against master#339f574809bf8e4166b8de3cdbe7df181d37af3d for pr-71896 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FViliLipo%2Fmini-pascal-compiler" "/workspace/builds/worker-7/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ViliLipo/mini-pascal-compiler on toolchain 339f574809bf8e4166b8de3cdbe7df181d37af3d [INFO] running `"/workspace/cargo-home/bin/cargo" "+339f574809bf8e4166b8de3cdbe7df181d37af3d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/ViliLipo/mini-pascal-compiler [INFO] finished tweaking git repo https://github.com/ViliLipo/mini-pascal-compiler [INFO] tweaked toml for git repo https://github.com/ViliLipo/mini-pascal-compiler written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/ViliLipo/mini-pascal-compiler already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+339f574809bf8e4166b8de3cdbe7df181d37af3d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+339f574809bf8e4166b8de3cdbe7df181d37af3d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] ef16d82c8d6317e24e6f03155ecd33589001c9cee0fd14f7c83591a9eaabf3ac [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "ef16d82c8d6317e24e6f03155ecd33589001c9cee0fd14f7c83591a9eaabf3ac"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Checking mini-pascal-compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `crate::symboltable::Entry` [INFO] [stderr] --> src/codegenvisitor.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::symboltable::Entry; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::BufReader` [INFO] [stderr] --> src/codegenvisitor.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use std::io::BufReader; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::symboltable::Entry` [INFO] [stderr] --> src/codegenvisitor.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::symboltable::Entry; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::BufReader` [INFO] [stderr] --> src/codegenvisitor.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use std::io::BufReader; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 22 | let mut ast = parser.program(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 22 | let mut ast = parser.program(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Constants` [INFO] [stderr] --> src/constants.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | pub struct Constants {} [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_predefined_identifiers` [INFO] [stderr] --> src/constants.rs:33:8 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn get_predefined_identifiers<'a>() -> Vec<&'a str> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_visible` [INFO] [stderr] --> src/symboltable.rs:153:5 [INFO] [stderr] | [INFO] [stderr] 153 | pub fn is_visible(&self, name: &String) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Constants` [INFO] [stderr] --> src/constants.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | pub struct Constants {} [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_predefined_identifiers` [INFO] [stderr] --> src/constants.rs:33:8 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn get_predefined_identifiers<'a>() -> Vec<&'a str> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_visible` [INFO] [stderr] --> src/symboltable.rs:153:5 [INFO] [stderr] | [INFO] [stderr] 153 | pub fn is_visible(&self, name: &String) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 6 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: 6 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.28s [INFO] running `"docker" "inspect" "ef16d82c8d6317e24e6f03155ecd33589001c9cee0fd14f7c83591a9eaabf3ac"` [INFO] running `"docker" "rm" "-f" "ef16d82c8d6317e24e6f03155ecd33589001c9cee0fd14f7c83591a9eaabf3ac"` [INFO] [stdout] ef16d82c8d6317e24e6f03155ecd33589001c9cee0fd14f7c83591a9eaabf3ac