[INFO] cloning repository https://github.com/mostafa-khaled775/ccr [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mostafa-khaled775/ccr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmostafa-khaled775%2Fccr", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmostafa-khaled775%2Fccr'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a6acbe7420ccc1fa4552a1949592a6a977cbed02 [INFO] checking mostafa-khaled775/ccr against master#bd71213cf0a765705e7d72a099151bd4eb465ccb for pr-123864 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmostafa-khaled775%2Fccr" "/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/mostafa-khaled775/ccr on toolchain bd71213cf0a765705e7d72a099151bd4eb465ccb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd71213cf0a765705e7d72a099151bd4eb465ccb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mostafa-khaled775/ccr [INFO] finished tweaking git repo https://github.com/mostafa-khaled775/ccr [INFO] tweaked toml for git repo https://github.com/mostafa-khaled775/ccr written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mostafa-khaled775/ccr 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" "+bd71213cf0a765705e7d72a099151bd4eb465ccb" "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 mostafa-khaled775/ccr against try#c0f799aeda763fc507814da0dc46c2dde7ca9133 for pr-123864 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmostafa-khaled775%2Fccr" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mostafa-khaled775/ccr on toolchain c0f799aeda763fc507814da0dc46c2dde7ca9133 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c0f799aeda763fc507814da0dc46c2dde7ca9133" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mostafa-khaled775/ccr [INFO] finished tweaking git repo https://github.com/mostafa-khaled775/ccr [INFO] tweaked toml for git repo https://github.com/mostafa-khaled775/ccr written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mostafa-khaled775/ccr 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" "+c0f799aeda763fc507814da0dc46c2dde7ca9133" "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-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+c0f799aeda763fc507814da0dc46c2dde7ca9133" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f949e202c42581c77b3f272c0e37a0b573ba5b0d3e2180a76920ea56a872907c [INFO] running `Command { std: "docker" "start" "-a" "f949e202c42581c77b3f272c0e37a0b573ba5b0d3e2180a76920ea56a872907c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f949e202c42581c77b3f272c0e37a0b573ba5b0d3e2180a76920ea56a872907c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f949e202c42581c77b3f272c0e37a0b573ba5b0d3e2180a76920ea56a872907c", kill_on_drop: false }` [INFO] [stdout] f949e202c42581c77b3f272c0e37a0b573ba5b0d3e2180a76920ea56a872907c [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+c0f799aeda763fc507814da0dc46c2dde7ca9133" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52e50e3714a424f0c7bb74e972fd904a5ee90ad9ea0c9e12f1fb42a916f8ecef [INFO] running `Command { std: "docker" "start" "-a" "52e50e3714a424f0c7bb74e972fd904a5ee90ad9ea0c9e12f1fb42a916f8ecef", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling logos-codegen v0.13.0 [INFO] [stderr] Compiling logos-derive v0.13.0 [INFO] [stderr] Checking logos v0.13.0 [INFO] [stderr] Checking ccr v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `test` [INFO] [stdout] --> src/lexer/mod.rs:183:1 [INFO] [stdout] | [INFO] [stdout] 183 | mod test; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `test`, create file "src/lexer/test.rs" or "src/lexer/test/mod.rs" [INFO] [stdout] = note: if there is a `mod test` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0583`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ccr` (bin "ccr" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: type `TokenKind` is more private than the item `lexer::::lex` [INFO] [stdout] --> src/lexer/mod.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn lex(self) -> Lexer<'static, TokenKind> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `lexer::::lex` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `TokenKind` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/lexer/mod.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | enum TokenKind { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Token` is more private than the item `lexer::::tokenize` [INFO] [stdout] --> src/lexer/mod.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn tokenize(self) -> impl Iterator> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `lexer::::tokenize` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Token` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/lexer/mod.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | struct Token { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CoolDoc` is never constructed [INFO] [stdout] --> src/common/mod.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct CoolDoc(&'static str); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CoolDoc` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `slice`, `text`, `from_path`, `new`, and `from_string` are never used [INFO] [stdout] --> src/common/mod.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl CoolDoc { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn slice(self, range: Range) -> &'static str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn text(self) -> &'static str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn from_path(path: impl AsRef) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn new(text: &'static str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn from_string(text: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Location` is never constructed [INFO] [stdout] --> src/common/mod.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | struct Location { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Span` is never constructed [INFO] [stdout] --> src/common/mod.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | struct Span { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Token` is never constructed [INFO] [stdout] --> src/lexer/mod.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | struct Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `lex` and `tokenize` are never used [INFO] [stdout] --> src/lexer/mod.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 156 | impl CoolDoc { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 157 | pub fn lex(self) -> Lexer<'static, TokenKind> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn tokenize(self) -> impl Iterator> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "52e50e3714a424f0c7bb74e972fd904a5ee90ad9ea0c9e12f1fb42a916f8ecef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52e50e3714a424f0c7bb74e972fd904a5ee90ad9ea0c9e12f1fb42a916f8ecef", kill_on_drop: false }` [INFO] [stdout] 52e50e3714a424f0c7bb74e972fd904a5ee90ad9ea0c9e12f1fb42a916f8ecef