[INFO] cloning repository https://github.com/Ladvien/rust_lookml_parser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ladvien/rust_lookml_parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLadvien%2Frust_lookml_parser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLadvien%2Frust_lookml_parser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a99a9663f2e0ccd0e7eff0fb6ec4f4496032265c [INFO] checking Ladvien/rust_lookml_parser against master#c3def263a44e07e09ae6d57abfc8650227fb4972 for pr-118916 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLadvien%2Frust_lookml_parser" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Ladvien/rust_lookml_parser on toolchain c3def263a44e07e09ae6d57abfc8650227fb4972 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c3def263a44e07e09ae6d57abfc8650227fb4972" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Ladvien/rust_lookml_parser [INFO] finished tweaking git repo https://github.com/Ladvien/rust_lookml_parser [INFO] tweaked toml for git repo https://github.com/Ladvien/rust_lookml_parser written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Ladvien/rust_lookml_parser 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" "+c3def263a44e07e09ae6d57abfc8650227fb4972" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking Ladvien/rust_lookml_parser against try#3d5258f568a4b4970d455e4e29f39fd691b5a41a for pr-118916 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLadvien%2Frust_lookml_parser" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Ladvien/rust_lookml_parser on toolchain 3d5258f568a4b4970d455e4e29f39fd691b5a41a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3d5258f568a4b4970d455e4e29f39fd691b5a41a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Ladvien/rust_lookml_parser [INFO] finished tweaking git repo https://github.com/Ladvien/rust_lookml_parser [INFO] tweaked toml for git repo https://github.com/Ladvien/rust_lookml_parser written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Ladvien/rust_lookml_parser 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" "+3d5258f568a4b4970d455e4e29f39fd691b5a41a" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3d5258f568a4b4970d455e4e29f39fd691b5a41a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3f28373fcaa4128acffdf4ff7ea8ed3ec6f27c706cda3dcdbc9e91512e41b498 [INFO] running `Command { std: "docker" "start" "-a" "3f28373fcaa4128acffdf4ff7ea8ed3ec6f27c706cda3dcdbc9e91512e41b498", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f28373fcaa4128acffdf4ff7ea8ed3ec6f27c706cda3dcdbc9e91512e41b498", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f28373fcaa4128acffdf4ff7ea8ed3ec6f27c706cda3dcdbc9e91512e41b498", kill_on_drop: false }` [INFO] [stdout] 3f28373fcaa4128acffdf4ff7ea8ed3ec6f27c706cda3dcdbc9e91512e41b498 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3d5258f568a4b4970d455e4e29f39fd691b5a41a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36f631908aef4d360181bd462c1819a110a978b6294fa0a244ebf63110c801ac [INFO] running `Command { std: "docker" "start" "-a" "36f631908aef4d360181bd462c1819a110a978b6294fa0a244ebf63110c801ac", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.7 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking siphasher v0.3.9 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.6.0 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking ansi_term v0.9.0 [INFO] [stderr] Checking yaml-rust v0.3.5 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking textwrap v0.9.0 [INFO] [stderr] Checking phf_shared v0.10.0 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Checking crossbeam-channel v0.5.2 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.27.1 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking rusty_looker v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::process::exit` [INFO] [stdout] --> src/lexer/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::process::exit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LKMLFile` [INFO] [stdout] --> src/lexer/token.rs:1:63 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::lkml_objects::{Dimension, DimensionGroup, Include, LKMLFile, View}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer::token::Token::*` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::lexer::token::Token::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `COLON` in this scope [INFO] [stdout] --> src/lexer/mod.rs:311:46 [INFO] [stdout] | [INFO] [stdout] 311 | let expected_output = vec![BOF, DIM, COLON, TEST, LCURLY]; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::exit` [INFO] [stdout] --> src/lexer/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::process::exit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LKMLFile` [INFO] [stdout] --> src/lexer/token.rs:1:63 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::lkml_objects::{Dimension, DimensionGroup, Include, LKMLFile, View}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer::token::Token::*` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::lexer::token::Token::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `DIM` and `SYMB` are never constructed [INFO] [stdout] --> src/lexer/token.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Token { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 22 | DIM(Dimension), [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | SYMB(Vec), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lexer/mod.rs:311:41 [INFO] [stdout] | [INFO] [stdout] 311 | let expected_output = vec![BOF, DIM, COLON, TEST, LCURLY]; [INFO] [stdout] | ^^^ expected `Token`, found enum constructor [INFO] [stdout] | [INFO] [stdout] ::: src/lexer/token.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | DIM(Dimension), [INFO] [stdout] | --- `DIM` defines an enum variant constructor here, which should be called [INFO] [stdout] | [INFO] [stdout] = note: expected enum `token::Token` [INFO] [stdout] found enum constructor `fn(Dimension) -> token::Token {token::Token::DIM}` [INFO] [stdout] help: use parentheses to construct this tuple variant [INFO] [stdout] | [INFO] [stdout] 311 | let expected_output = vec![BOF, DIM(/* Dimension */), COLON, TEST, LCURLY]; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [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] [stderr] error: could not compile `rusty_looker` (bin "rusty_looker" test) due to 3 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "36f631908aef4d360181bd462c1819a110a978b6294fa0a244ebf63110c801ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36f631908aef4d360181bd462c1819a110a978b6294fa0a244ebf63110c801ac", kill_on_drop: false }` [INFO] [stdout] 36f631908aef4d360181bd462c1819a110a978b6294fa0a244ebf63110c801ac