[INFO] cloning repository https://github.com/tamaroning/mini-rustc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tamaroning/mini-rustc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftamaroning%2Fmini-rustc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftamaroning%2Fmini-rustc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a97bcef5befa1746ed1cc405be69a3f4d8a14c6c [INFO] checking tamaroning/mini-rustc against master#aa067fb984d36462548bb785da221bfaf38253f0 for pr-122470 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftamaroning%2Fmini-rustc" "/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/tamaroning/mini-rustc on toolchain aa067fb984d36462548bb785da221bfaf38253f0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+aa067fb984d36462548bb785da221bfaf38253f0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/tamaroning/mini-rustc [INFO] finished tweaking git repo https://github.com/tamaroning/mini-rustc [INFO] tweaked toml for git repo https://github.com/tamaroning/mini-rustc written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/tamaroning/mini-rustc 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" "+aa067fb984d36462548bb785da221bfaf38253f0" "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 tamaroning/mini-rustc against try#707d6562f55b55a7aab4ab3a904997116b358314 for pr-122470 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftamaroning%2Fmini-rustc" "/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/tamaroning/mini-rustc on toolchain 707d6562f55b55a7aab4ab3a904997116b358314 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+707d6562f55b55a7aab4ab3a904997116b358314" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/tamaroning/mini-rustc [INFO] finished tweaking git repo https://github.com/tamaroning/mini-rustc [INFO] tweaked toml for git repo https://github.com/tamaroning/mini-rustc written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/tamaroning/mini-rustc 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" "+707d6562f55b55a7aab4ab3a904997116b358314" "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" "+707d6562f55b55a7aab4ab3a904997116b358314" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 47703af0d1e6e893e19695bc8e092abafafea6a5f183c3b4b3f433d9bcc1d2cc [INFO] running `Command { std: "docker" "start" "-a" "47703af0d1e6e893e19695bc8e092abafafea6a5f183c3b4b3f433d9bcc1d2cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "47703af0d1e6e893e19695bc8e092abafafea6a5f183c3b4b3f433d9bcc1d2cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47703af0d1e6e893e19695bc8e092abafafea6a5f183c3b4b3f433d9bcc1d2cc", kill_on_drop: false }` [INFO] [stdout] 47703af0d1e6e893e19695bc8e092abafafea6a5f183c3b4b3f433d9bcc1d2cc [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" "+707d6562f55b55a7aab4ab3a904997116b358314" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 357629a1a73bdacb70a3f42a806b86b01c91c8e2b473edb8e0ba3f715ffcefe7 [INFO] running `Command { std: "docker" "start" "-a" "357629a1a73bdacb70a3f42a806b86b01c91c8e2b473edb8e0ba3f715ffcefe7", kill_on_drop: false }` [INFO] [stderr] Checking mini-rustc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: `main` has invalid return type `i32` [INFO] [stdout] --> examples/struct.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | fn main() -> i32 { [INFO] [stdout] | ^^^ `main` can only return types that implement `Termination` [INFO] [stdout] | [INFO] [stdout] = help: consider using `()`, or a `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `main` has invalid return type `i32` [INFO] [stdout] --> examples/fibonacci.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | fn main() -> i32 { [INFO] [stdout] | ^^^ `main` can only return types that implement `Termination` [INFO] [stdout] | [INFO] [stdout] = help: consider using `()`, or a `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Inner` is private [INFO] [stdout] --> examples/module.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | inner: a::Inner, [INFO] [stdout] | ^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Inner` is defined here [INFO] [stdout] --> examples/module.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | struct Inner { [INFO] [stdout] | ^^^^^^^^^^^^ [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 E0277`. [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Inner` is private [INFO] [stdout] --> examples/module.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | inner: a::Inner { x: 0 }, [INFO] [stdout] | ^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Inner` is defined here [INFO] [stdout] --> examples/module.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | struct Inner { [INFO] [stdout] | ^^^^^^^^^^^^ [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 E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mini-rustc` (example "struct") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `mini-rustc` (example "fibonacci") due to 2 previous errors [INFO] [stdout] error[E0277]: `main` has invalid return type `i32` [INFO] [stdout] --> examples/module.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | fn main() -> i32 { [INFO] [stdout] | ^^^ `main` can only return types that implement `Termination` [INFO] [stdout] | [INFO] [stdout] = help: consider using `()`, or a `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `x` of struct `Inner` is private [INFO] [stdout] --> examples/module.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | l.inner.x [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0603, E0616. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mini-rustc` (example "module") due to 5 previous errors [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/ast/mod.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Crate { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 24 | pub items: Vec, [INFO] [stdout] 25 | pub id: NodeId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Crate` has a derived impl for the trait `Debug`, 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: field `id` is never read [INFO] [stdout] --> src/ast/mod.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Module { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 45 | pub id: NodeId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Module` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/ast/mod.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct StructItem { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 57 | pub id: NodeId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `StructItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ext` and `id` are never read [INFO] [stdout] --> src/ast/mod.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct Func { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 66 | pub ext: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 67 | pub body: Option, [INFO] [stdout] 68 | pub id: NodeId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Func` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/ast/mod.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Crate { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 24 | pub items: Vec, [INFO] [stdout] 25 | pub id: NodeId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Crate` has a derived impl for the trait `Debug`, 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: field `id` is never read [INFO] [stdout] --> src/ast/mod.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Module { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 45 | pub id: NodeId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Module` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/ast/mod.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct StructItem { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 57 | pub id: NodeId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `StructItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ext` and `id` are never read [INFO] [stdout] --> src/ast/mod.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct Func { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 66 | pub ext: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 67 | pub body: Option, [INFO] [stdout] 68 | pub id: NodeId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Func` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "357629a1a73bdacb70a3f42a806b86b01c91c8e2b473edb8e0ba3f715ffcefe7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "357629a1a73bdacb70a3f42a806b86b01c91c8e2b473edb8e0ba3f715ffcefe7", kill_on_drop: false }` [INFO] [stdout] 357629a1a73bdacb70a3f42a806b86b01c91c8e2b473edb8e0ba3f715ffcefe7