[INFO] cloning repository https://github.com/inda20plusplus/gestsson-compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/inda20plusplus/gestsson-compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finda20plusplus%2Fgestsson-compiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finda20plusplus%2Fgestsson-compiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4c684db9106519894747403d88139cd237c156e1 [INFO] building inda20plusplus/gestsson-compiler against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finda20plusplus%2Fgestsson-compiler" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/inda20plusplus/gestsson-compiler on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/inda20plusplus/gestsson-compiler [INFO] finished tweaking git repo https://github.com/inda20plusplus/gestsson-compiler [INFO] tweaked toml for git repo https://github.com/inda20plusplus/gestsson-compiler written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/inda20plusplus/gestsson-compiler already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded getch v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 00723a92731e2c732aaa08bc5efbc4873926e3c803f4bbb7449993ef63d15d6a [INFO] running `Command { std: "docker" "start" "-a" "00723a92731e2c732aaa08bc5efbc4873926e3c803f4bbb7449993ef63d15d6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "00723a92731e2c732aaa08bc5efbc4873926e3c803f4bbb7449993ef63d15d6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00723a92731e2c732aaa08bc5efbc4873926e3c803f4bbb7449993ef63d15d6a", kill_on_drop: false }` [INFO] [stdout] 00723a92731e2c732aaa08bc5efbc4873926e3c803f4bbb7449993ef63d15d6a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f0b5dd23f39cac2d32d6077156e2a173414a4ff143a9eac50def5c3c24f792e [INFO] running `Command { std: "docker" "start" "-a" "6f0b5dd23f39cac2d32d6077156e2a173414a4ff143a9eac50def5c3c24f792e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling g2bfc v0.1.0 (/opt/rustwide/workdir/g2bfc) [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> g2bfc/src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func_name` [INFO] [stdout] --> g2bfc/src/main.rs:324:32 [INFO] [stdout] | [INFO] [stdout] 324 | NodeType::Function(func_name) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_func_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> g2bfc/src/main.rs:347:44 [INFO] [stdout] | [INFO] [stdout] 347 | NodeType::Function(s) => true, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> g2bfc/src/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | write("./output.asm", pgrm.compile()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 30 | let _ = write("./output.asm", pgrm.compile()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling termios v0.2.2 [INFO] [stderr] Compiling getch v0.2.1 [INFO] [stderr] Compiling g2bfint v0.1.0 (/opt/rustwide/workdir/g2bfint) [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> g2bfint/src/main.rs:29:41 [INFO] [stdout] | [INFO] [stdout] 29 | fn lines_from_file(filename: impl AsRef) -> Vec { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File` [INFO] [stdout] --> g2bfint/src/main.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | let file = File::open(filename).expect("no such file"); [INFO] [stdout] | ^^^^ use of undeclared type `File` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BufReader` [INFO] [stdout] --> g2bfint/src/main.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | let buf = BufReader::new(file); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BufReader` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::BufReader; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> g2bfint/src/main.rs:175:58 [INFO] [stdout] | [INFO] [stdout] 175 | fn scan_bracket(&self, opener : char, closer : char, dir : Direction) -> Vec2 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `g2bfint` (bin "g2bfint") due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "6f0b5dd23f39cac2d32d6077156e2a173414a4ff143a9eac50def5c3c24f792e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f0b5dd23f39cac2d32d6077156e2a173414a4ff143a9eac50def5c3c24f792e", kill_on_drop: false }` [INFO] [stdout] 6f0b5dd23f39cac2d32d6077156e2a173414a4ff143a9eac50def5c3c24f792e