[INFO] cloning repository https://github.com/rahularya50/mylang-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rahularya50/mylang-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frahularya50%2Fmylang-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frahularya50%2Fmylang-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 21d5576df8205f3300d133745f603854b38b56ed [INFO] checking rahularya50/mylang-rs against try#b10dae361a61486cfbdcd3aae3877ee17e00d192 for pr-153912 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frahularya50%2Fmylang-rs" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/rahularya50/mylang-rs [INFO] finished tweaking git repo https://github.com/rahularya50/mylang-rs [INFO] tweaked toml for git repo https://github.com/rahularya50/mylang-rs written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rahularya50/mylang-rs on toolchain b10dae361a61486cfbdcd3aae3877ee17e00d192 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b10dae361a61486cfbdcd3aae3877ee17e00d192" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rahularya50/mylang-rs 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" "+b10dae361a61486cfbdcd3aae3877ee17e00d192" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap_derive v3.0.0 [INFO] [stderr] Downloaded os_str_bytes v6.0.0 [INFO] [stderr] Downloaded anyhow v1.0.52 [INFO] [stderr] Downloaded clap v3.0.0 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b10dae361a61486cfbdcd3aae3877ee17e00d192" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7c92b48117df72573150e3f118a1a45bd518b7db63e25b1651366cecdebab8e2 [INFO] running `Command { std: "docker" "start" "-a" "7c92b48117df72573150e3f118a1a45bd518b7db63e25b1651366cecdebab8e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c92b48117df72573150e3f118a1a45bd518b7db63e25b1651366cecdebab8e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c92b48117df72573150e3f118a1a45bd518b7db63e25b1651366cecdebab8e2", kill_on_drop: false }` [INFO] [stdout] 7c92b48117df72573150e3f118a1a45bd518b7db63e25b1651366cecdebab8e2 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b10dae361a61486cfbdcd3aae3877ee17e00d192" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25d6e67bf228e0e2701f454e39599b85855c7a6a87133eb7963bc87a434c0f72 [INFO] running `Command { std: "docker" "start" "-a" "25d6e67bf228e0e2701f454e39599b85855c7a6a87133eb7963bc87a434c0f72", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.84 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling anyhow v1.0.52 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap_derive v3.0.0 [INFO] [stderr] Checking clap v3.0.0 [INFO] [stderr] Checking mylang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Ref` [INFO] [stdout] --> src/backend/microcode/mod.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::{Ref, RefCell}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::Discriminant` [INFO] [stdout] --> src/backend/microcode/instructions.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::mem::Discriminant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CfgConfig` [INFO] [stdout] --> src/backend/microcode/instructions.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | CfgConfig, Function, Instruction, SSABlock, SSAInstruction, SSAInstructionRHS, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Instruction` [INFO] [stdout] --> src/ir/ssa_forms.rs:5:95 [INFO] [stdout] | [INFO] [stdout] 5 | use super::{FullBlock, RegisterLValue, VirtualRegister, VirtualRegisterLValue, WithRegisters, Instruction}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ref` [INFO] [stdout] --> src/backend/microcode/mod.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::{Ref, RefCell}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::Discriminant` [INFO] [stdout] --> src/backend/microcode/instructions.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::mem::Discriminant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CfgConfig` [INFO] [stdout] --> src/backend/microcode/instructions.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | CfgConfig, Function, Instruction, SSABlock, SSAInstruction, SSAInstructionRHS, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Instruction` [INFO] [stdout] --> src/ir/ssa_forms.rs:5:95 [INFO] [stdout] | [INFO] [stdout] 5 | use super::{FullBlock, RegisterLValue, VirtualRegister, VirtualRegisterLValue, WithRegisters, Instruction}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `let_else` has been stable since 1.65.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(let_else)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `let_else` has been stable since 1.65.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(let_else)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `drain_filter` [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(drain_filter)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a feature with a similar name: `option_filter` [INFO] [stdout] | [INFO] [stdout] 1 - #![feature(drain_filter)] [INFO] [stdout] 1 + #![feature(option_filter)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `drain_filter` [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(drain_filter)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a feature with a similar name: `option_filter` [INFO] [stdout] | [INFO] [stdout] 1 - #![feature(drain_filter)] [INFO] [stdout] 1 + #![feature(option_filter)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `drain_filter` found for struct `Vec>` in the current scope [INFO] [stdout] --> src/ir/ssa_transform.rs:178:50 [INFO] [stdout] | [INFO] [stdout] 178 | dest_ssa_block.borrow_mut().phis.drain_filter(|phi| { [INFO] [stdout] | ---------------------------------^^^^^^^^^^^^ method not found in `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `drain_filter` found for struct `Vec>` in the current scope [INFO] [stdout] --> src/ir/ssa_transform.rs:178:50 [INFO] [stdout] | [INFO] [stdout] 178 | dest_ssa_block.borrow_mut().phis.drain_filter(|phi| { [INFO] [stdout] | ---------------------------------^^^^^^^^^^^^ method not found in `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ir/ssa_transform.rs:184:30 [INFO] [stdout] | [INFO] [stdout] 184 | .get(dest) [INFO] [stdout] | --- ^^^^ expected `&VirtualRegister`, found `VirtualRegister` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/b10dae361a61486cfbdcd3aae3877ee17e00d192/library/std/src/collections/hash/map.rs:1001:11 [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 184 | .get(&dest) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ir/ssa_transform.rs:184:30 [INFO] [stdout] | [INFO] [stdout] 184 | .get(dest) [INFO] [stdout] | --- ^^^^ expected `&VirtualRegister`, found `VirtualRegister` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/b10dae361a61486cfbdcd3aae3877ee17e00d192/library/std/src/collections/hash/map.rs:1001:11 [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 184 | .get(&dest) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `drain_filter` found for struct `Vec::BlockType>>>` in the current scope [INFO] [stdout] --> src/ir/structs.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 64 | / self.blocks [INFO] [stdout] 65 | | .drain_filter(|block| block.upgrade().is_none()) [INFO] [stdout] | | -^^^^^^^^^^^^ method not found in `Vec::BlockType>>>` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `drain_filter` found for struct `Vec::BlockType>>>` in the current scope [INFO] [stdout] --> src/ir/structs.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 64 | / self.blocks [INFO] [stdout] 65 | | .drain_filter(|block| block.upgrade().is_none()) [INFO] [stdout] | | -^^^^^^^^^^^^ method not found in `Vec::BlockType>>>` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `drain_filter` found for struct `Vec>` in the current scope [INFO] [stdout] --> src/optimizations/constant_folding.rs:151:14 [INFO] [stdout] | [INFO] [stdout] 149 | / block [INFO] [stdout] 150 | | .phis [INFO] [stdout] 151 | | .drain_filter(|phi| { [INFO] [stdout] | | -^^^^^^^^^^^^ method not found in `Vec>` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `drain_filter` found for struct `Vec>` in the current scope [INFO] [stdout] --> src/optimizations/constant_folding.rs:151:14 [INFO] [stdout] | [INFO] [stdout] 149 | / block [INFO] [stdout] 150 | | .phis [INFO] [stdout] 151 | | .drain_filter(|phi| { [INFO] [stdout] | | -^^^^^^^^^^^^ method not found in `Vec>` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `drain_filter` found for struct `Vec>` in the current scope [INFO] [stdout] --> src/optimizations/copy_propagation.rs:33:31 [INFO] [stdout] | [INFO] [stdout] 33 | for phi in block.phis.drain_filter(|phi| phi.srcs.values().all_equal()) { [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `drain_filter` found for struct `Vec>` in the current scope [INFO] [stdout] --> src/optimizations/copy_propagation.rs:33:31 [INFO] [stdout] | [INFO] [stdout] 33 | for phi in block.phis.drain_filter(|phi| phi.srcs.values().all_equal()) { [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mylang` (bin "mylang") due to 6 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `mylang` (bin "mylang" test) due to 6 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "25d6e67bf228e0e2701f454e39599b85855c7a6a87133eb7963bc87a434c0f72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25d6e67bf228e0e2701f454e39599b85855c7a6a87133eb7963bc87a434c0f72", kill_on_drop: false }` [INFO] [stdout] 25d6e67bf228e0e2701f454e39599b85855c7a6a87133eb7963bc87a434c0f72