[INFO] cloning repository https://github.com/ajprabhu09/compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ajprabhu09/compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fajprabhu09%2Fcompiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fajprabhu09%2Fcompiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ab00ec976d5dac3c26dfe4c58250d2a0a7bdf44d [INFO] checking ajprabhu09/compiler against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fajprabhu09%2Fcompiler" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ajprabhu09/compiler on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ajprabhu09/compiler [INFO] finished tweaking git repo https://github.com/ajprabhu09/compiler [INFO] tweaked toml for git repo https://github.com/ajprabhu09/compiler written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ajprabhu09/compiler 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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Updating git repository `https://github.com/maciejhirsz/logos/` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd39f88b54ee3c553552300ab531365d05123d73d87d9546d796fbb823ec6745 [INFO] running `Command { std: "docker" "start" "-a" "fd39f88b54ee3c553552300ab531365d05123d73d87d9546d796fbb823ec6745", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd39f88b54ee3c553552300ab531365d05123d73d87d9546d796fbb823ec6745", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd39f88b54ee3c553552300ab531365d05123d73d87d9546d796fbb823ec6745", kill_on_drop: false }` [INFO] [stdout] fd39f88b54ee3c553552300ab531365d05123d73d87d9546d796fbb823ec6745 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65e4b4c4ed34c09d05bce7ed685113e168f91a7968c445ec227cf4a35846af1e [INFO] running `Command { std: "docker" "start" "-a" "65e4b4c4ed34c09d05bce7ed685113e168f91a7968c445ec227cf4a35846af1e", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling frontend v0.1.0 (/opt/rustwide/workdir/frontend) [INFO] [stderr] Compiling libc v0.2.141 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking compiler v0.1.0 (/opt/rustwide/workdir/compiler) [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling logos-codegen v0.13.0 (https://github.com/maciejhirsz/logos/#291a6249) [INFO] [stderr] Compiling logos-derive v0.13.0 (https://github.com/maciejhirsz/logos/#291a6249) [INFO] [stderr] Checking logos v0.13.0 (https://github.com/maciejhirsz/logos/#291a6249) [INFO] [stderr] Checking middle v0.1.0 (/opt/rustwide/workdir/middle) [INFO] [stdout] error[E0658]: use of unstable library feature 'panic_internals': internal details of the implementation of the `panic!` and related macros [INFO] [stdout] --> middle/src/typechecking.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::panicking::panic; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(panic_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-05-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'panic_internals': internal details of the implementation of the `panic!` and related macros [INFO] [stdout] --> middle/src/typechecking.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::panicking::panic; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(panic_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-05-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> middle/src/typechecking.rs:74:24 [INFO] [stdout] | [INFO] [stdout] 74 | return ty; [INFO] [stdout] | ^^ expected `Type<'_>`, found `Option>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `frontend::ast::Type<'_>` [INFO] [stdout] found enum `Option>` [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 74 | return ty.expect("REASON"); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> middle/src/typechecking.rs:74:24 [INFO] [stdout] | [INFO] [stdout] 74 | return ty; [INFO] [stdout] | ^^ expected `Type<'_>`, found `Option>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `frontend::ast::Type<'_>` [INFO] [stdout] found enum `Option>` [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 74 | return ty.expect("REASON"); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `middle` (lib test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `middle` (lib) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "65e4b4c4ed34c09d05bce7ed685113e168f91a7968c445ec227cf4a35846af1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65e4b4c4ed34c09d05bce7ed685113e168f91a7968c445ec227cf4a35846af1e", kill_on_drop: false }` [INFO] [stdout] 65e4b4c4ed34c09d05bce7ed685113e168f91a7968c445ec227cf4a35846af1e