[INFO] updating cached repository https://github.com/Lapz/loki [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d15792f0372ca67d61f4e9c6188a1c8ee29428be [INFO] checking Lapz/loki/d15792f0372ca67d61f4e9c6188a1c8ee29428be against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLapz%2Floki" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Lapz/loki on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/Lapz/loki [INFO] finished tweaking git repo https://github.com/Lapz/loki [INFO] tweaked toml for git repo https://github.com/Lapz/loki written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Lapz/loki 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5f855ab05c373483597b9e95ff5861ad4a62ce8329a0ee167f954774ae8e303f [INFO] running `Command { std: "docker" "start" "-a" "5f855ab05c373483597b9e95ff5861ad4a62ce8329a0ee167f954774ae8e303f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f855ab05c373483597b9e95ff5861ad4a62ce8329a0ee167f954774ae8e303f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f855ab05c373483597b9e95ff5861ad4a62ce8329a0ee167f954774ae8e303f", kill_on_drop: false }` [INFO] [stdout] 5f855ab05c373483597b9e95ff5861ad4a62ce8329a0ee167f954774ae8e303f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 68a4f57fbdeee8f51f5e0d36f185590d5eca5c140344638f678920c139a9ab89 [INFO] running `Command { std: "docker" "start" "-a" "68a4f57fbdeee8f51f5e0d36f185590d5eca5c140344638f678920c139a9ab89", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling cc v1.0.46 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking unicode-segmentation v1.3.0 [INFO] [stderr] Compiling ucd-trie v0.1.2 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling pest v2.1.2 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Compiling pest_meta v2.1.2 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking unic-char-range v0.7.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking unic-common v0.7.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking unic-ucd-version v0.7.0 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking unic-char-property v0.7.0 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Checking backtrace v0.3.40 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Checking unicode-normalization v0.1.8 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking unic-ucd-segment v0.7.0 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking codespan v0.4.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking deunicode v0.4.3 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking termcolor v1.0.5 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking lock_api v0.3.1 [INFO] [stderr] Checking codespan-reporting v0.4.1 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Checking itertools v0.8.0 [INFO] [stderr] Checking slug v0.1.4 [INFO] [stderr] Checking unic-segment v0.7.0 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking humansize v1.1.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking yaml-rust v0.4.3 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking clicolors-control v1.0.1 [INFO] [stderr] Checking termios v0.3.1 [INFO] [stderr] Checking dtoa v0.4.4 [INFO] [stderr] Checking console v0.7.7 [INFO] [stderr] Checking loki-errors v0.1.0 (/opt/rustwide/workdir/loki-errors) [INFO] [stderr] Checking ci_info v0.3.1 [INFO] [stderr] Checking pretty_assertions v0.6.1 [INFO] [stderr] Checking loki-syntax v0.1.0 (/opt/rustwide/workdir/loki-syntax) [INFO] [stdout] warning: unused import: `TokenKind::*` [INFO] [stdout] --> loki-syntax/src/ast.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use TokenKind::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParserResult` [INFO] [stdout] --> loki-syntax/src/lexer.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{Parser, ParserResult}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Files` and `Reporter` [INFO] [stdout] --> loki-syntax/src/lexer.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Files, Reporter, [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Token` [INFO] [stdout] --> loki-syntax/src/parser/pratt.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | Span, Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Span`, `TokenKind::*`, and `Token` [INFO] [stdout] --> loki-syntax/src/parser/visibility.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{Span, Token, TokenKind::*}; [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Files` [INFO] [stdout] --> loki-syntax/src/lib.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | FileId, Files, Reporter, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> loki-syntax/src/parser/types.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) fn parse_type(&mut self) -> ParserResult { [INFO] [stdout] | --------------------- expected `Result` because of return type [INFO] [stdout] 7 | match self.current() { [INFO] [stdout] 8 | IDENT | T![self] => self.parse_ident_type(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `Result`, found `TypeRef` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `ast::TypeRef` [INFO] [stdout] help: try wrapping the expression in `Ok` [INFO] [stdout] | [INFO] [stdout] 8 | IDENT | T![self] => Ok(self.parse_ident_type()), [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visibility` [INFO] [stdout] --> loki-syntax/src/parser/type_alias.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | let visibility = if has_visibility { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visibility` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ident` [INFO] [stdout] --> loki-syntax/src/parser/type_alias.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | let ident = self.ident(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_params` [INFO] [stdout] --> loki-syntax/src/parser/type_alias.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let type_params = if self.token_is_ahead(|t| t == L_ANGLE) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> loki-syntax/src/parser/type_params.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | let mut type_param_list: Vec = Vec::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `loki-syntax` (lib) due to 2 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "68a4f57fbdeee8f51f5e0d36f185590d5eca5c140344638f678920c139a9ab89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68a4f57fbdeee8f51f5e0d36f185590d5eca5c140344638f678920c139a9ab89", kill_on_drop: false }` [INFO] [stdout] 68a4f57fbdeee8f51f5e0d36f185590d5eca5c140344638f678920c139a9ab89