[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 try#8d46be77cd48fdbcced888d027457e2c9cf2aa16 for pr-142723 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftamaroning%2Fmini-rustc" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tamaroning/mini-rustc on toolchain 8d46be77cd48fdbcced888d027457e2c9cf2aa16 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-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-2-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" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a58db441bdcef25f5126b257227b08ee362a4af4749d371dea7c7389c195668 [INFO] running `Command { std: "docker" "start" "-a" "3a58db441bdcef25f5126b257227b08ee362a4af4749d371dea7c7389c195668", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a58db441bdcef25f5126b257227b08ee362a4af4749d371dea7c7389c195668", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a58db441bdcef25f5126b257227b08ee362a4af4749d371dea7c7389c195668", kill_on_drop: false }` [INFO] [stdout] 3a58db441bdcef25f5126b257227b08ee362a4af4749d371dea7c7389c195668 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 820bbab789a40c25ae8d365c383e1c1e4c5f71dcb4932346a5f8c7f9f3c6e9ec [INFO] running `Command { std: "docker" "start" "-a" "820bbab789a40c25ae8d365c383e1c1e4c5f71dcb4932346a5f8c7f9f3c6e9ec", 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/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[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] [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] [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] [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] running `Command { std: "docker" "inspect" "820bbab789a40c25ae8d365c383e1c1e4c5f71dcb4932346a5f8c7f9f3c6e9ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "820bbab789a40c25ae8d365c383e1c1e4c5f71dcb4932346a5f8c7f9f3c6e9ec", kill_on_drop: false }` [INFO] [stdout] 820bbab789a40c25ae8d365c383e1c1e4c5f71dcb4932346a5f8c7f9f3c6e9ec