[INFO] cloning repository https://github.com/MichaelDuPlessis/hades [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MichaelDuPlessis/hades" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMichaelDuPlessis%2Fhades", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMichaelDuPlessis%2Fhades'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c7d2122729396db2ce47f26bbf9174fbc43446f9 [INFO] checking MichaelDuPlessis/hades against master#00bfd6b2734d9c28a147bf237490995731781fdd for pr-117984 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMichaelDuPlessis%2Fhades" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MichaelDuPlessis/hades on toolchain 00bfd6b2734d9c28a147bf237490995731781fdd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+00bfd6b2734d9c28a147bf237490995731781fdd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MichaelDuPlessis/hades [INFO] finished tweaking git repo https://github.com/MichaelDuPlessis/hades [INFO] tweaked toml for git repo https://github.com/MichaelDuPlessis/hades written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/MichaelDuPlessis/hades 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" "+00bfd6b2734d9c28a147bf237490995731781fdd" "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 MichaelDuPlessis/hades against try#aa7c6ba69acce8b10a275eabfe6157ea72c8b599 for pr-117984 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMichaelDuPlessis%2Fhades" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MichaelDuPlessis/hades on toolchain aa7c6ba69acce8b10a275eabfe6157ea72c8b599 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+aa7c6ba69acce8b10a275eabfe6157ea72c8b599" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MichaelDuPlessis/hades [INFO] finished tweaking git repo https://github.com/MichaelDuPlessis/hades [INFO] tweaked toml for git repo https://github.com/MichaelDuPlessis/hades written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/MichaelDuPlessis/hades 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" "+aa7c6ba69acce8b10a275eabfe6157ea72c8b599" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+aa7c6ba69acce8b10a275eabfe6157ea72c8b599" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7e8750e844604d6abe133d04967360e7364c00e871d294b1e53dba4bfdbdf78b [INFO] running `Command { std: "docker" "start" "-a" "7e8750e844604d6abe133d04967360e7364c00e871d294b1e53dba4bfdbdf78b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e8750e844604d6abe133d04967360e7364c00e871d294b1e53dba4bfdbdf78b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e8750e844604d6abe133d04967360e7364c00e871d294b1e53dba4bfdbdf78b", kill_on_drop: false }` [INFO] [stdout] 7e8750e844604d6abe133d04967360e7364c00e871d294b1e53dba4bfdbdf78b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+aa7c6ba69acce8b10a275eabfe6157ea72c8b599" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ebc9d4b2260619c3713e857da039ed2b73e1cf93cde3e3cb743afd5ef08f53bc [INFO] running `Command { std: "docker" "start" "-a" "ebc9d4b2260619c3713e857da039ed2b73e1cf93cde3e3cb743afd5ef08f53bc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Compiling num-derive v0.4.0 [INFO] [stderr] Checking hades v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `parser` [INFO] [stdout] --> src/main.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | mod parser; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `parser`, create file "src/parser.rs" or "src/parser/mod.rs" [INFO] [stdout] = note: if there is a `mod parser` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `parser` [INFO] [stdout] --> src/main.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | mod parser; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `parser`, create file "src/parser.rs" or "src/parser/mod.rs" [INFO] [stdout] = note: if there is a `mod parser` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dissamble_chunk` [INFO] [stdout] --> src/main.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use vm::{chunk::Chunk, dissamble_chunk, VM}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `token::Token` [INFO] [stdout] --> src/compiler.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | token::Token, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dissamble_chunk` [INFO] [stdout] --> src/main.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use vm::{chunk::Chunk, dissamble_chunk, VM}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `token::Token` [INFO] [stdout] --> src/compiler.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | token::Token, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `&Scanner<'_>` is not an iterator [INFO] [stdout] --> src/compiler.rs:18:31 [INFO] [stdout] | [INFO] [stdout] 18 | let scanner = scanner.peekable(); [INFO] [stdout] | ^^^^^^^^ `&Scanner<'_>` is not an iterator [INFO] [stdout] | [INFO] [stdout] ::: src/lexer/scanner.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Scanner<'a> { [INFO] [stdout] | ---------------------- doesn't satisfy `Scanner<'_>: Iterator` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `&Scanner<'_>: Iterator` [INFO] [stdout] which is required by `&mut &Scanner<'_>: Iterator` [INFO] [stdout] `Scanner<'_>: Iterator` [INFO] [stdout] which is required by `&mut Scanner<'_>: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/aa7c6ba69acce8b10a275eabfe6157ea72c8b599/library/core/src/iter/traits/iterator.rs:75:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `peekable`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `&Scanner<'_>` is not an iterator [INFO] [stdout] --> src/compiler.rs:18:31 [INFO] [stdout] | [INFO] [stdout] 18 | let scanner = scanner.peekable(); [INFO] [stdout] | ^^^^^^^^ `&Scanner<'_>` is not an iterator [INFO] [stdout] | [INFO] [stdout] ::: src/lexer/scanner.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Scanner<'a> { [INFO] [stdout] | ---------------------- doesn't satisfy `Scanner<'_>: Iterator` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `&Scanner<'_>: Iterator` [INFO] [stdout] which is required by `&mut &Scanner<'_>: Iterator` [INFO] [stdout] `Scanner<'_>: Iterator` [INFO] [stdout] which is required by `&mut Scanner<'_>: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/aa7c6ba69acce8b10a275eabfe6157ea72c8b599/library/core/src/iter/traits/iterator.rs:75:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `peekable`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `compile` in this scope [INFO] [stdout] --> src/vm.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | if !compile(self.source, self.chunk) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `compile` in this scope [INFO] [stdout] --> src/vm.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | if !compile(self.source, self.chunk) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | let mut vm = VM::new(&chunk); [INFO] [stdout] | ^^^^^^^-------- an argument is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/vm.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(chunk: &'a Chunk, source: impl Into<&'a [u8]>) -> Self { [INFO] [stdout] | ^^^ ---------------- --------------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 21 | let mut vm = VM::new(&chunk, /* source */); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | let mut vm = VM::new(&chunk); [INFO] [stdout] | ^^^^^^^-------- an argument is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/vm.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(chunk: &'a Chunk, source: impl Into<&'a [u8]>) -> Self { [INFO] [stdout] | ^^^ ---------------- --------------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 21 | let mut vm = VM::new(&chunk, /* source */); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0425, E0583, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0425, E0583, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hades` (bin "hades") due to 5 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `hades` (bin "hades" test) due to 5 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ebc9d4b2260619c3713e857da039ed2b73e1cf93cde3e3cb743afd5ef08f53bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebc9d4b2260619c3713e857da039ed2b73e1cf93cde3e3cb743afd5ef08f53bc", kill_on_drop: false }` [INFO] [stdout] ebc9d4b2260619c3713e857da039ed2b73e1cf93cde3e3cb743afd5ef08f53bc