[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#cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3 for pr-135841 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftamaroning%2Fmini-rustc" "/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/tamaroning/mini-rustc on toolchain cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-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-5-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" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f722c9604a61aecff4751144e38e377239eb3c9f9290453e6dcac8285735e491 [INFO] running `Command { std: "docker" "start" "-a" "f722c9604a61aecff4751144e38e377239eb3c9f9290453e6dcac8285735e491", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f722c9604a61aecff4751144e38e377239eb3c9f9290453e6dcac8285735e491", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f722c9604a61aecff4751144e38e377239eb3c9f9290453e6dcac8285735e491", kill_on_drop: false }` [INFO] [stdout] f722c9604a61aecff4751144e38e377239eb3c9f9290453e6dcac8285735e491 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fca2e30d28bf4717117bb43058e77c1236910db3341cd54c895d2b748c891077 [INFO] running `Command { std: "docker" "start" "-a" "fca2e30d28bf4717117bb43058e77c1236910db3341cd54c895d2b748c891077", 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] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mini-rustc` (example "struct") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mini-rustc` (example "fibonacci") due to 1 previous error [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[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[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] 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 4 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] [stderr] error: could not compile `mini-rustc` (bin "mini-rustc" test); 1 warning emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] No space left on device (os error 28) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] failed to parse process output: `/opt/rustwide/rustup-home/toolchains/cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3/bin/rustc --crate-name mini_rustc --edition=2021 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --test --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=3eb5ce8c8b00cdd4 -C extra-filename=-37b29236e41a417f --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --cap-lints=forbid` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "fca2e30d28bf4717117bb43058e77c1236910db3341cd54c895d2b748c891077", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fca2e30d28bf4717117bb43058e77c1236910db3341cd54c895d2b748c891077", kill_on_drop: false }` [INFO] [stdout] fca2e30d28bf4717117bb43058e77c1236910db3341cd54c895d2b748c891077