[INFO] cloning repository https://github.com/slbsh/mas [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/slbsh/mas" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fslbsh%2Fmas", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fslbsh%2Fmas'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ecabb3729045c237b2df82b778558a10ee258894 [INFO] checking slbsh/mas against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fslbsh%2Fmas" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/slbsh/mas [INFO] finished tweaking git repo https://github.com/slbsh/mas [INFO] tweaked toml for git repo https://github.com/slbsh/mas written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/slbsh/mas on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/slbsh/mas 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 361917c139095af69815ba1a047a09dabedfb435eccaae45dbc13ee71cfa5062 [INFO] running `Command { std: "docker" "start" "-a" "361917c139095af69815ba1a047a09dabedfb435eccaae45dbc13ee71cfa5062", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "361917c139095af69815ba1a047a09dabedfb435eccaae45dbc13ee71cfa5062", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "361917c139095af69815ba1a047a09dabedfb435eccaae45dbc13ee71cfa5062", kill_on_drop: false }` [INFO] [stdout] 361917c139095af69815ba1a047a09dabedfb435eccaae45dbc13ee71cfa5062 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8febd4a70d87715f5a6bdc3d956b70ad2351a610c95cda8c550c3d850be71320 [INFO] running `Command { std: "docker" "start" "-a" "8febd4a70d87715f5a6bdc3d956b70ad2351a610c95cda8c550c3d850be71320", kill_on_drop: false }` [INFO] [stderr] Checking iterlist v0.5.0 [INFO] [stderr] Checking avrvm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `dir` in this scope [INFO] [stdout] --> src/preproc/mod.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | match dir { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Level` and `Pos` [INFO] [stdout] --> src/parser/mod.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::report::{Report, Level, Pos, Error}; [INFO] [stdout] | ^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `Level`, and `Pos` [INFO] [stdout] --> src/preproc/mod.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::report::{Report, Level, Pos, Error}; [INFO] [stdout] | ^^^^^ ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::preproc::Preproc` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::preproc::Preproc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `dir` in this scope [INFO] [stdout] --> src/preproc/mod.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | match dir { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Level` and `Pos` [INFO] [stdout] --> src/parser/mod.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::report::{Report, Level, Pos, Error}; [INFO] [stdout] | ^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `Level`, and `Pos` [INFO] [stdout] --> src/preproc/mod.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::report::{Report, Level, Pos, Error}; [INFO] [stdout] | ^^^^^ ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::preproc::Preproc` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::preproc::Preproc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/preproc/mod.rs:20:45 [INFO] [stdout] | [INFO] [stdout] 20 | Stmt::Dir(d) => preproc.parse_directive(stmt), [INFO] [stdout] | --------------- ^^^^ expected `&Dir<'_>`, found `&Stmt<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Dir<'_>` [INFO] [stdout] found reference `&Stmt<'_>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/preproc/mod.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn parse_directive(&self, stmt: &Dir<'source>) -> Result<(), Report> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ ------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/preproc/mod.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 19 | / match stmt { [INFO] [stdout] 20 | | Stmt::Dir(d) => preproc.parse_directive(stmt), [INFO] [stdout] | | ----------------------------- this is found to be of type `Result<(), report::Report>` [INFO] [stdout] 21 | | _ => {}, [INFO] [stdout] | | ^^ expected `Result<(), Report>`, found `()` [INFO] [stdout] 22 | | } [INFO] [stdout] | |_____________- `match` arms have incompatible types [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), report::Report>` [INFO] [stdout] found unit type `()` [INFO] [stdout] help: try wrapping the expression in `Ok` [INFO] [stdout] | [INFO] [stdout] 21 | _ => Ok({}), [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/preproc/mod.rs:20:45 [INFO] [stdout] | [INFO] [stdout] 20 | Stmt::Dir(d) => preproc.parse_directive(stmt), [INFO] [stdout] | --------------- ^^^^ expected `&Dir<'_>`, found `&Stmt<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Dir<'_>` [INFO] [stdout] found reference `&Stmt<'_>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/preproc/mod.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn parse_directive(&self, stmt: &Dir<'source>) -> Result<(), Report> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ ------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/preproc/mod.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 19 | / match stmt { [INFO] [stdout] 20 | | Stmt::Dir(d) => preproc.parse_directive(stmt), [INFO] [stdout] | | ----------------------------- this is found to be of type `Result<(), report::Report>` [INFO] [stdout] 21 | | _ => {}, [INFO] [stdout] | | ^^ expected `Result<(), Report>`, found `()` [INFO] [stdout] 22 | | } [INFO] [stdout] | |_____________- `match` arms have incompatible types [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), report::Report>` [INFO] [stdout] found unit type `()` [INFO] [stdout] help: try wrapping the expression in `Ok` [INFO] [stdout] | [INFO] [stdout] 21 | _ => Ok({}), [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/preproc/mod.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn parse_directive(&self, stmt: &Dir<'source>) -> Result<(), Report> { [INFO] [stdout] | ------------------ expected `Result<(), report::Report>` because of return type [INFO] [stdout] 30 | match dir { [INFO] [stdout] 31 | Dir::Dreg(r, i) => self.reg_defs.insert(r, i), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<(), Report>`, found `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), report::Report>` [INFO] [stdout] found enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/preproc/mod.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn parse_directive(&self, stmt: &Dir<'source>) -> Result<(), Report> { [INFO] [stdout] | ------------------ expected `Result<(), report::Report>` because of return type [INFO] [stdout] 30 | match dir { [INFO] [stdout] 31 | Dir::Dreg(r, i) => self.reg_defs.insert(r, i), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<(), Report>`, found `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), report::Report>` [INFO] [stdout] found enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `avrvm` (bin "avrvm") due to 4 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `avrvm` (bin "avrvm" test) due to 4 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8febd4a70d87715f5a6bdc3d956b70ad2351a610c95cda8c550c3d850be71320", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8febd4a70d87715f5a6bdc3d956b70ad2351a610c95cda8c550c3d850be71320", kill_on_drop: false }` [INFO] [stdout] 8febd4a70d87715f5a6bdc3d956b70ad2351a610c95cda8c550c3d850be71320