[INFO] cloning repository https://github.com/gbrls/rust-microc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gbrls/rust-microc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgbrls%2Frust-microc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgbrls%2Frust-microc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4ca9a7ad4c5b893a2bd58f0a4585b4c719109f15 [INFO] checking gbrls/rust-microc against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgbrls%2Frust-microc" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gbrls/rust-microc on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gbrls/rust-microc [INFO] finished tweaking git repo https://github.com/gbrls/rust-microc [INFO] tweaked toml for git repo https://github.com/gbrls/rust-microc written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/gbrls/rust-microc already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] acfcc8b46635025daa7f1713220dc64842690f26dfd9be200e23427cac6667e1 [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" "acfcc8b46635025daa7f1713220dc64842690f26dfd9be200e23427cac6667e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "acfcc8b46635025daa7f1713220dc64842690f26dfd9be200e23427cac6667e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acfcc8b46635025daa7f1713220dc64842690f26dfd9be200e23427cac6667e1", kill_on_drop: false }` [INFO] [stdout] acfcc8b46635025daa7f1713220dc64842690f26dfd9be200e23427cac6667e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4939d19c1017b7598c6818fd7c29f57d720ec0f6c25f93836fbb883312c735ba [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" "4939d19c1017b7598c6818fd7c29f57d720ec0f6c25f93836fbb883312c735ba", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking smallvec v1.5.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling syn v1.0.56 [INFO] [stderr] Compiling lexical-core v0.7.4 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking strum v0.20.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling nom v6.0.1 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking bitvec v0.19.4 [INFO] [stderr] Checking signal-hook v0.1.17 [INFO] [stderr] Checking crossterm v0.16.0 [INFO] [stderr] Checking colour v0.5.0 [INFO] [stderr] Compiling strum_macros v0.20.1 [INFO] [stderr] Checking tinyc-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ast::Type` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ast::Type; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ast::Type` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ast::Type; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser` [INFO] [stdout] --> src/compiler.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::parser; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/output.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | let output = Command::new("rm") [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/output.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | let output = Command::new("rm") [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `eval` [INFO] [stdout] --> src/ast.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn eval(&self) -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `build_and_run` [INFO] [stdout] --> src/output.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn build_and_run(program: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `delete` [INFO] [stdout] --> src/output.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | fn delete(fname: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `program_new` [INFO] [stdout] --> src/parser.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn program_new(i: &str) -> IResult<&str, AST> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `program_new` [INFO] [stdout] --> src/parser.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn program_new(i: &str) -> IResult<&str, AST> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_newline` [INFO] [stdout] --> src/parser.rs:248:8 [INFO] [stdout] | [INFO] [stdout] 248 | fn test_newline(i: &str) -> IResult<&str, Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 29.95s [INFO] running `Command { std: "docker" "inspect" "4939d19c1017b7598c6818fd7c29f57d720ec0f6c25f93836fbb883312c735ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4939d19c1017b7598c6818fd7c29f57d720ec0f6c25f93836fbb883312c735ba", kill_on_drop: false }` [INFO] [stdout] 4939d19c1017b7598c6818fd7c29f57d720ec0f6c25f93836fbb883312c735ba