[INFO] cloning repository https://github.com/TheExiledCat/UnixSoft-Basic [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TheExiledCat/UnixSoft-Basic" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheExiledCat%2FUnixSoft-Basic", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheExiledCat%2FUnixSoft-Basic'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] daf547c898bdaf9382f5f1bed8ada5e95afd17c7 [INFO] testing TheExiledCat/UnixSoft-Basic against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheExiledCat%2FUnixSoft-Basic" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/TheExiledCat/UnixSoft-Basic [INFO] finished tweaking git repo https://github.com/TheExiledCat/UnixSoft-Basic [INFO] tweaked toml for git repo https://github.com/TheExiledCat/UnixSoft-Basic written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/TheExiledCat/UnixSoft-Basic on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/TheExiledCat/UnixSoft-Basic 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9b4886d2954d5d2b96bb4d06253509ccbffb990550ff984e983083d093c4402e [INFO] running `Command { std: "docker" "start" "-a" "9b4886d2954d5d2b96bb4d06253509ccbffb990550ff984e983083d093c4402e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b4886d2954d5d2b96bb4d06253509ccbffb990550ff984e983083d093c4402e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b4886d2954d5d2b96bb4d06253509ccbffb990550ff984e983083d093c4402e", kill_on_drop: false }` [INFO] [stdout] 9b4886d2954d5d2b96bb4d06253509ccbffb990550ff984e983083d093c4402e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf78facfb78535f9b7f9fc4f20317c4a89e02bad7d3fe007fe619a7837d3f3ac [INFO] running `Command { std: "docker" "start" "-a" "bf78facfb78535f9b7f9fc4f20317c4a89e02bad7d3fe007fe619a7837d3f3ac", kill_on_drop: false }` [INFO] [stderr] Compiling usbasic v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> build.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::{self, File}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mini-internal v0.1.42 [INFO] [stderr] Compiling miniserde v0.1.42 [INFO] [stdout] warning: unused imports: `collections::hash_map::Keys` and `error::Error` [INFO] [stdout] --> src/cliutils.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::hash_map::Keys, env, error::Error, fs, path::PathBuf}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/cliutils.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | usbcompiler::compiler::{self, compiler::Compiler}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ENC_FUNCTIONS` and `POS_FUNCTIONS` [INFO] [stdout] --> src/usbcompiler/tokenizer/lexer.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::stdlib::{ENC_FUNCTIONS, POS_FUNCTIONS}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this enum variant takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/usbcompiler/tokenizer/lexer.rs:490:23 [INFO] [stdout] | [INFO] [stdout] 490 | kind: TokenKind::Identifier(t.2), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^----- argument #2 of type `bool` is missing [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/usbcompiler/tokenizer/lexer.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | Identifier(String, bool), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 490 | kind: TokenKind::Identifier(t.2, /* bool */), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry` [INFO] [stdout] --> src/cliutils.rs:65:28 [INFO] [stdout] | [INFO] [stdout] 65 | Command::Run { entry } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `entry: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root_ast` [INFO] [stdout] --> src/usbcompiler/compiler/compiler.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | let mut root_ast = parser.parse(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_root_ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/usbcompiler/compiler/compiler.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let mut root_ast = parser.parse(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/usbcompiler/parser/parser.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | let val: i64 = num.parse().unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `character` [INFO] [stdout] --> src/usbcompiler/tokenizer/lexer.rs:436:35 [INFO] [stdout] | [INFO] [stdout] 436 | fn handle_operator(&mut self, character: char) -> Result, LexerError> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_character` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `usbasic` (bin "usbasic") due to 1 previous error; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "bf78facfb78535f9b7f9fc4f20317c4a89e02bad7d3fe007fe619a7837d3f3ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf78facfb78535f9b7f9fc4f20317c4a89e02bad7d3fe007fe619a7837d3f3ac", kill_on_drop: false }` [INFO] [stdout] bf78facfb78535f9b7f9fc4f20317c4a89e02bad7d3fe007fe619a7837d3f3ac