[INFO] cloning repository https://github.com/NicholasLYang/saber [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NicholasLYang/saber" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNicholasLYang%2Fsaber", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNicholasLYang%2Fsaber'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c8f2e583d48a8b88a10285edff1e8ab978f83685 [INFO] checking NicholasLYang/saber against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNicholasLYang%2Fsaber" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/NicholasLYang/saber 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/NicholasLYang/saber [INFO] finished tweaking git repo https://github.com/NicholasLYang/saber [INFO] tweaked toml for git repo https://github.com/NicholasLYang/saber written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/NicholasLYang/saber 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] 783e0b6535d125e94756e1345cf3cf1c361168012ecabab9b10c55502e49cc3b [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" "783e0b6535d125e94756e1345cf3cf1c361168012ecabab9b10c55502e49cc3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "783e0b6535d125e94756e1345cf3cf1c361168012ecabab9b10c55502e49cc3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "783e0b6535d125e94756e1345cf3cf1c361168012ecabab9b10c55502e49cc3b", kill_on_drop: false }` [INFO] [stdout] 783e0b6535d125e94756e1345cf3cf1c361168012ecabab9b10c55502e49cc3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] 78a49eeef5de8f573a8a3406c5f0d841babf5b9aa45d3784d05459f765666978 [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" "78a49eeef5de8f573a8a3406c5f0d841babf5b9aa45d3784d05459f765666978", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling cc v1.0.22 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking os_str_bytes v2.3.2 [INFO] [stderr] Checking strum v0.13.0 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [INFO] [stderr] Checking bimap v0.4.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking itertools v0.8.0 [INFO] [stderr] Compiling proc-macro2 v0.4.13 [INFO] [stderr] Checking codespan-reporting v0.9.5 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling im v13.0.0 [INFO] [stderr] Checking sized-chunks v0.3.1 [INFO] [stderr] Checking indexmap v1.6.0 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling syn v0.15.15 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling strum_macros v0.13.0 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.1 [INFO] [stderr] Checking clap v3.0.0-beta.1 [INFO] [stderr] Checking serde_json v1.0.51 [INFO] [stderr] Checking saber v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `ast` [INFO] [stdout] --> src/parser.rs:1183:9 [INFO] [stdout] | [INFO] [stdout] 1183 | use ast::{Expr, Loc, Op, Pat, Stmt, TypeSig, Value}; [INFO] [stdout] | ^^^ help: a similar path exists: `crate::ast` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `lexer` [INFO] [stdout] --> src/parser.rs:1184:9 [INFO] [stdout] | [INFO] [stdout] 1184 | use lexer::{Lexer, Location, LocationRange}; [INFO] [stdout] | ^^^^^ help: a similar path exists: `crate::lexer` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `parser` [INFO] [stdout] --> src/parser.rs:1185:9 [INFO] [stdout] | [INFO] [stdout] 1185 | use parser::{ParseError, Parser}; [INFO] [stdout] | ^^^^^^ help: a similar path exists: `crate::parser` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PRINT_HEAP_INDEX`, `PRINT_INT_INDEX`, `PRINT_STRING_INDEX` [INFO] [stdout] --> src/code_generator.rs:4:110 [INFO] [stdout] | [INFO] [stdout] 4 | ... DEALLOC_INDEX, PRINT_CHAR_INDEX, PRINT_INT_INDEX, PRINT_STRING_INDEX, STREQ_INDEX, PRINT_HEAP_INDEX}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PRINT_HEAP_INDEX`, `PRINT_INT_INDEX`, `PRINT_STRING_INDEX` [INFO] [stdout] --> src/code_generator.rs:4:110 [INFO] [stdout] | [INFO] [stdout] 4 | ... DEALLOC_INDEX, PRINT_CHAR_INDEX, PRINT_INT_INDEX, PRINT_STRING_INDEX, STREQ_INDEX, PRINT_HEAP_INDEX}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `saber` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: associated function is never used: `function` [INFO] [stdout] --> src/parser.rs:589:8 [INFO] [stdout] | [INFO] [stdout] 589 | fn function(&mut self, left: LocationRange) -> Result, Loc> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `PRINT_HEAP_INDEX` [INFO] [stdout] --> src/symbol_table.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub static PRINT_HEAP_INDEX: u32 = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "78a49eeef5de8f573a8a3406c5f0d841babf5b9aa45d3784d05459f765666978", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78a49eeef5de8f573a8a3406c5f0d841babf5b9aa45d3784d05459f765666978", kill_on_drop: false }` [INFO] [stdout] 78a49eeef5de8f573a8a3406c5f0d841babf5b9aa45d3784d05459f765666978